OSDN Git Service
Peter Qiu [Wed, 26 Oct 2016 22:28:55 +0000 (22:28 +0000)]
wifi: hotspot2: omadm: add XML parser for parsing OMA-DM XML string
am:
bae4becf69
Change-Id: I2b8510cc8dc6fad443f0507a86f960ce1ae9a0d6
Peter Qiu [Wed, 26 Oct 2016 22:27:56 +0000 (22:27 +0000)]
wifi: hotspot2: initial implementation of PasspointConfiguration
am:
e557c35d95
Change-Id: I0ece2aef3408de46c2c92b311c78e711c09c99b9
Dimitry Ivanov [Wed, 26 Oct 2016 20:11:33 +0000 (20:11 +0000)]
Merge "Always call into native loader when load a native library"
am:
e266c37559
Change-Id: I4d220cde19ac85b16396070f493395227a85d82c
Dimitry Ivanov [Wed, 26 Oct 2016 20:11:01 +0000 (20:11 +0000)]
Always call into native loader when load a native library
am:
569834d861
Change-Id: I35ce58423aefceb541542e0ef9408e0b7ef9b104
Jordan Liu [Wed, 26 Oct 2016 18:24:54 +0000 (11:24 -0700)]
resolve merge conflicts of
ab00546 to stage-aosp-master
Change-Id: Ief51ceeeae7a11e26dd2c53411ce67e6d0e6bd49
Peter Qiu [Fri, 14 Oct 2016 21:26:46 +0000 (14:26 -0700)]
wifi: hotspot2: omadm: add XML parser for parsing OMA-DM XML string
The XML parser will parse an XML string into a tree-like structure
represented by XMLNode, which will be used by an object specific parser
(e.g. PerProviderSubscription Management Object tree parser) for further
processing.
Bug:
32129686
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I69c1931b2e8a6f3551e4eba5cffa3d2d0877872a
Dimitry Ivanov [Wed, 26 Oct 2016 18:27:37 +0000 (18:27 +0000)]
Merge "Always call into native loader when load a native library"
Jordan Liu [Wed, 26 Oct 2016 17:50:44 +0000 (17:50 +0000)]
Merge "Add key to CarrierConfigManager"
Jorim Jaggi [Wed, 26 Oct 2016 17:32:54 +0000 (17:32 +0000)]
Merge "Fix animation sequence for upload tasks"
am:
7f2676a3d9
Change-Id: Id281265f87e4670ec322d33384422b02ca7fd50b
Jorim Jaggi [Wed, 26 Oct 2016 17:25:02 +0000 (17:25 +0000)]
Merge "Fix animation sequence for upload tasks"
Peter Qiu [Thu, 29 Sep 2016 17:44:15 +0000 (10:44 -0700)]
wifi: hotspot2: initial implementation of PasspointConfiguration
Only support nodes under HomeSP and Credential subtree that are used
by Hotspot 2.0 Release 1.
These classes are used for data exchanges between the app and the system
service (WifiService). All the business logics and validations will be
done on the service side (WifiService).
Bug:
31813706
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I6b08f52dd7b1a7b337899ab80f11d062c8e2f532
Brad Ebinger [Wed, 26 Oct 2016 16:42:15 +0000 (16:42 +0000)]
Merge "Add support for starting external Sessions"
am:
4ce60695f9
Change-Id: I6957c8e2846d216f77f5f6337388e1fc296511de
Brad Ebinger [Wed, 26 Oct 2016 16:34:31 +0000 (16:34 +0000)]
Merge "Add support for starting external Sessions"
Andreas Huber [Wed, 26 Oct 2016 15:49:52 +0000 (15:49 +0000)]
Merge "Adds support for specifying the version of a service to register/lookup."
am:
c3d8550cf3
Change-Id: I6b12021c6100f33de7f4b4702bdb4bf1a48c0259
Andreas Huber [Wed, 26 Oct 2016 15:38:44 +0000 (15:38 +0000)]
Merge "Adds support for specifying the version of a service to register/lookup."
Zhao Wei Liew [Mon, 14 Sep 2015 13:41:57 +0000 (21:41 +0800)]
Fix animation sequence for upload tasks
stat_sys_upload_anim2 and stat_sys_upload_anim1 are reversed,
resulting in an animation that jumps from one frame to the
following frame and back again.
Change-Id: Ibb9c6c4ff992895dce26a283f1ee9a81f7cdee15
Christopher Wiley [Tue, 25 Oct 2016 23:06:51 +0000 (23:06 +0000)]
Merge "Add script to expedite running passing tests"
am:
4d1c2922f0
Change-Id: I1b85b8ffd3f6de26d3226f5b1e1475ad87e8def6
Treehugger Robot [Tue, 25 Oct 2016 22:58:55 +0000 (22:58 +0000)]
Merge "Add script to expedite running passing tests"
Jakub Pawlowski [Tue, 25 Oct 2016 21:47:35 +0000 (21:47 +0000)]
Merge "Add helper method to convert Bluetooth UUID to bytes"
am:
8a0a58b218
Change-Id: I829135e559a9c3cf3c942258a16acee62c37c3ac
Jakub Pawlowski [Tue, 25 Oct 2016 21:36:38 +0000 (21:36 +0000)]
Merge "Add helper method to convert Bluetooth UUID to bytes"
Brad Ebinger [Fri, 21 Oct 2016 16:41:29 +0000 (09:41 -0700)]
Add support for starting external Sessions
This change adds support for parceling Session Information to be
transmitted over AIDLs and starting an external session in the external
process.
Test: Telecom Unit tests and new SessionManager Tests.
Bug:
26571395
Change-Id: Ie27ed88d4a8c344b34568025ddcf150fdcb38d62
Christopher Wiley [Thu, 20 Oct 2016 19:33:31 +0000 (12:33 -0700)]
Add script to expedite running passing tests
Developers can run this script from within a shell where they have
source'd build/envsetup.sh and lunched a target. It builds, installs,
and runs whitelisted test packages.
Bug: None
Test: This script is useful for iterating rapidly on unittests.
Change-Id: I44c32a0f75da1be2c69a8b1a67c0080a68def738
Andreas Huber [Tue, 25 Oct 2016 20:29:30 +0000 (13:29 -0700)]
Adds support for specifying the version of a service to register/lookup.
Bug:
32405011
Test: hidl_test_java
Change-Id: I91a31cafa68d570c67f9a1aa7efb9d3dcb35e591
Jakub Pawlowski [Mon, 24 Oct 2016 20:56:54 +0000 (13:56 -0700)]
Add helper method to convert Bluetooth UUID to bytes
Bug:
30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I7f646d1d357c51b82efc504a0e65d868ad363ddb
Christopher Wiley [Tue, 25 Oct 2016 18:23:02 +0000 (18:23 +0000)]
Merge "Add unit tests for Tethering.isTetherProvisioningRequired"
am:
836ffa6e1c
Change-Id: I1dab386e3891c01a2917c32847d2aecdbfa10102
Treehugger Robot [Tue, 25 Oct 2016 18:12:42 +0000 (18:12 +0000)]
Merge "Add unit tests for Tethering.isTetherProvisioningRequired"
nharold [Tue, 25 Oct 2016 00:57:36 +0000 (00:57 +0000)]
Merge "Update the docstring on getAllCellInfo() for unreported values"
am:
88d0a95c74
Change-Id: Ib482a5398776473ccb97c4df96115fc3763c782f
nharold [Tue, 25 Oct 2016 00:48:40 +0000 (00:48 +0000)]
Merge "Update the docstring on getAllCellInfo() for unreported values"
Christopher Wiley [Tue, 11 Oct 2016 20:26:03 +0000 (13:26 -0700)]
Add unit tests for Tethering.isTetherProvisioningRequired
Check that we tolerate various dependencies not being available.
Bug:
31946071
Test: These are tests
Change-Id: Ic0a9cd6f255ba9ff4c774dee640df1a0bdf8dc39
Nathan Harold [Mon, 24 Oct 2016 18:24:16 +0000 (11:24 -0700)]
Update the docstring on getAllCellInfo() for unreported values
In the event that not all fields are available for a particular
cell information report, those values are set to
Integer.MAX_VALUE. In addition, this docstring clarifies the
minimum expectation for what will be reported in all cases.
Bug:
32364031
Test: none
Change-Id: Ic5df72f69e5917eb495d349a380ced53a80408fa
Yoshinori Hirano [Mon, 24 Oct 2016 18:32:14 +0000 (18:32 +0000)]
Merge "Allow operator/manufacturer setting to use priority"
am:
aef1a557aa
Change-Id: I81ccdc0910ab5298d5b54f3b8e390262d02225ea
Treehugger Robot [Mon, 24 Oct 2016 18:21:06 +0000 (18:21 +0000)]
Merge "Allow operator/manufacturer setting to use priority"
Mark Salyzyn [Mon, 24 Oct 2016 15:53:30 +0000 (15:53 +0000)]
Merge "PdfEditor: define LOG_TAG"
am:
a3bb8e3cc7
Change-Id: Ide63ebe4228d7b7af05e20202baafdebf9699150
Treehugger Robot [Mon, 24 Oct 2016 15:47:32 +0000 (15:47 +0000)]
Merge "PdfEditor: define LOG_TAG"
Shigeki Yokomichi [Mon, 24 Oct 2016 14:21:25 +0000 (14:21 +0000)]
Merge "Avoid NPE around mReusedTask of ActivityStarter"
am:
f741f88284
Change-Id: I64701d06c2e15b0ad11018c233fce32dce1caa52
Treehugger Robot [Mon, 24 Oct 2016 14:09:35 +0000 (14:09 +0000)]
Merge "Avoid NPE around mReusedTask of ActivityStarter"
Shigeki Yokomichi [Wed, 12 Oct 2016 09:35:17 +0000 (18:35 +0900)]
Avoid NPE around mReusedTask of ActivityStarter
Symptom:
System crash by NPE is observed on ActivityStarter
during phone boot-up.
Detail and sample:
ActivityStarter has possibility to be called itself recursively
by calling TaskRecord$performClearTaskLocked().
Then class variable of mReusedTask is initialized to null
after the call, because the recursive call isn't guarded by
synchronized block.
Then NPE crash occurs on next statement.
Solutions:
Avoid to use the class variable on null possibility statement.
Bug:
32361138
Change-Id: Iaea3e066a6f7134fcae4338ff864bb236241194c
Robert Sesek [Sat, 22 Oct 2016 03:12:18 +0000 (03:12 +0000)]
Merge "Create the WebViewZygote and implement WebViewZygoteInit."
am:
8be2850546
Change-Id: I608ea53be52cb91f0e8cf73998de4578b39e099a
Treehugger Robot [Sat, 22 Oct 2016 03:03:10 +0000 (03:03 +0000)]
Merge "Create the WebViewZygote and implement WebViewZygoteInit."
Yin-Chia Yeh [Fri, 21 Oct 2016 21:07:44 +0000 (21:07 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"
am:
03f14bef41
Change-Id: If2e05eeb8c7fe24f97fc0c5e20bfe03a6c8c9e23
Treehugger Robot [Fri, 21 Oct 2016 20:36:29 +0000 (20:36 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"
Mark Salyzyn [Fri, 7 Oct 2016 19:13:43 +0000 (12:13 -0700)]
PdfEditor: define LOG_TAG
general cleanup of logging
Test: compile
Bug:
31992412
Change-Id: Ie2ec5a223bbb92e902bf6914100281b6d84500e3
Yin-Chia Yeh [Wed, 19 Oct 2016 20:53:33 +0000 (13:53 -0700)]
Camera2 Legacy: catch more surface abandoned error
Bug:
30140107
Change-Id: Ia293bdbb85c8078e17def55db9c599cfe70458db
Mathieu Chartier [Fri, 21 Oct 2016 17:20:27 +0000 (17:20 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"
am:
4a5789b9b1
Change-Id: I3e50c0e6a80bc221228dd8293ec8209ecf323123
Mathieu Chartier [Fri, 21 Oct 2016 17:07:37 +0000 (17:07 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"
liulvping [Fri, 21 Oct 2016 04:38:38 +0000 (04:38 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"
am:
e6fe836938
Change-Id: I4eda1d6aed52fa4d8cbcd1ade29e96f14e58bab7
Brad Ebinger [Fri, 21 Oct 2016 04:37:28 +0000 (04:37 +0000)]
Merge "Switch on android.telecom.Log in Telecom"
am:
37521b9ba5 -s ours
Change-Id: I1a624721f577be6b1cf684208cdeb4e0471e51f2
Treehugger Robot [Fri, 21 Oct 2016 03:50:15 +0000 (03:50 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"
liulvping [Thu, 20 Oct 2016 11:51:38 +0000 (19:51 +0800)]
fix mistaken check of mScreenBrightnessDarkConfig
Change-Id: Ibd1234a5a69422f3124e72cd561d4f3624a82faf
Signed-off-by: liulvping <liulvping@xiaomi.com>
Brad Ebinger [Wed, 5 Oct 2016 22:47:28 +0000 (15:47 -0700)]
Switch on android.telecom.Log in Telecom
Move over the Runnable Class into android.telecom and turn on the
framework's usage in Telecom.
CP from: https://android-review.googlesource.com/#/c/287291/
Test: All Telecom unit tests pass. Manual Log testing has also been
confirmed to be working as it did before.
Bug:
26571395
Change-Id: If7e2036c746c5a953f3a77e2d625a423ce5bf8f3
(cherry picked from commit
9fbbd4052dee1dfa74b87502cec91cc51170d69d)
Jacky Cheung [Thu, 20 Oct 2016 23:03:57 +0000 (23:03 +0000)]
Merge "Gradually increase the level of authentication on failed GATT operations."
am:
6071abdb92
Change-Id: If06babf4a23879acdfc358838cdc094d753c362b
Brad Ebinger [Thu, 20 Oct 2016 22:53:38 +0000 (22:53 +0000)]
Merge "Switch on android.telecom.Log in Telecom"
Treehugger Robot [Thu, 20 Oct 2016 22:50:07 +0000 (22:50 +0000)]
Merge "Gradually increase the level of authentication on failed GATT operations."
Mathieu Chartier [Thu, 20 Oct 2016 22:38:55 +0000 (15:38 -0700)]
Fix accounting for .vdex in dumpsys meminfo
Before it was showing up in "Other mmap" instead. Now it is correctly
showing up in ".dex mmap".
Bug:
30937355
Test: N6P booting, dumpsys meminfo -d
Change-Id: I335dbb77414b395b14259aa7c68068f845a5eca1
Brad Ebinger [Thu, 20 Oct 2016 22:09:30 +0000 (22:09 +0000)]
Merge "Adds registerSessionListener API to Log"
am:
e3daed81eb
Change-Id: Ia42cba6a735170ce1aea653bd42b6f1182853819
Brad Ebinger [Thu, 20 Oct 2016 21:51:53 +0000 (21:51 +0000)]
Merge "Adds registerSessionListener API to Log"
Jacky Cheung [Thu, 20 Oct 2016 20:55:21 +0000 (13:55 -0700)]
Gradually increase the level of authentication on failed GATT operations.
When lower layer returns insufficient authentication or insufficient
encryption on various GATT operations, gradually retry with increased
authentication level first to AUTHENTICATION_NO_MITM, then
AUTHENTICATION_MITM.
Test: ported from internal branch.
Change-Id: I6bcc4198ca493b7900ddd166a81d30cde896fa86
George Burgess IV [Thu, 20 Oct 2016 19:19:15 +0000 (19:19 +0000)]
Merge "Fix a static-analyzer warning."
am:
63b4f6f5db
Change-Id: I85fd6d25733d59da76eb0bab381fdbd3b5a0430d
Treehugger Robot [Thu, 20 Oct 2016 19:06:58 +0000 (19:06 +0000)]
Merge "Fix a static-analyzer warning."
Brad Ebinger [Tue, 18 Oct 2016 20:48:17 +0000 (13:48 -0700)]
Adds registerSessionListener API to Log
Adds the registerSessionListener API to android.telecom.Log to allow
callbacks to occur when a session has been fully completed.
CP from internal branch.
Test: Manual Testing
Bug:
26571395
Change-Id: I70ebd6f432768a5d7bd8f3a0997b8e0ef335bb35
Andreas Huber [Wed, 19 Oct 2016 19:39:03 +0000 (19:39 +0000)]
Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
am:
2202b164d8
Change-Id: I43bec2c6d3e6e4201f7a50981f428ef00f384684
Christopher Wiley [Wed, 19 Oct 2016 19:31:57 +0000 (19:31 +0000)]
Merge "Use this.isUp() inside InterfaceConfiguration"
am:
239df3cc5a
Change-Id: Id6f064d7a74e41d757de2499653671fc830d217b
Andreas Huber [Wed, 19 Oct 2016 19:30:28 +0000 (19:30 +0000)]
Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
Treehugger Robot [Wed, 19 Oct 2016 19:15:30 +0000 (19:15 +0000)]
Merge "Use this.isUp() inside InterfaceConfiguration"
Jason Monk [Wed, 19 Oct 2016 15:15:43 +0000 (15:15 +0000)]
Merge "Hide QS customizer correctly"
am:
03e4eb32fe
Change-Id: I8c1998de76beee26b703781a6f883e9efd24bde3
Jason Monk [Wed, 19 Oct 2016 15:05:41 +0000 (15:05 +0000)]
Merge "Hide QS customizer correctly"
Brad Ebinger [Tue, 18 Oct 2016 21:30:57 +0000 (21:30 +0000)]
Merge "Add support for new SessionManager and EventManager tests"
am:
42598f4a96
Change-Id: I9c629074ca39dfb06bd6b16217ba5e59a9e0a004
Brad Ebinger [Tue, 18 Oct 2016 21:22:18 +0000 (21:22 +0000)]
Merge "Add support for new SessionManager and EventManager tests"
Andreas Huber [Tue, 18 Oct 2016 16:24:04 +0000 (09:24 -0700)]
HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on
HwParcel now reflect this change.
Bug:
32237331
Test: hidl_test_java
Change-Id: Ia1ce5a4e3acedd8ebcff15107aea53ce28fde589
Yoshinori Hirano [Mon, 5 Sep 2016 07:11:59 +0000 (16:11 +0900)]
Hide QS customizer correctly
When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.
Bug:
30545089
Test: manual - open and close QS customizer quickly
Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353
George Burgess IV [Tue, 18 Oct 2016 01:43:24 +0000 (01:43 +0000)]
Merge "Fix static analyzer warnings."
am:
ff5c3ad08b
Change-Id: I655fd765cfeae407c070261cfe07ce8b739b06fa
Treehugger Robot [Tue, 18 Oct 2016 01:30:54 +0000 (01:30 +0000)]
Merge "Fix static analyzer warnings."
Sanket Agarwal [Mon, 17 Oct 2016 21:28:05 +0000 (21:28 +0000)]
Merge "Remove APIs that are not directly usable."
am:
9cff57312d
Change-Id: I1234db97ed82017ed3bca02e10818a53fdc33d3d
Mark Salyzyn [Mon, 17 Oct 2016 21:25:59 +0000 (21:25 +0000)]
Merge "missing includes"
am:
78929f3ee0
Change-Id: I3e7a25ded484d516fab453abe434c2e53cf0f27e
Treehugger Robot [Mon, 17 Oct 2016 21:16:20 +0000 (21:16 +0000)]
Merge "Remove APIs that are not directly usable."
Treehugger Robot [Mon, 17 Oct 2016 21:12:08 +0000 (21:12 +0000)]
Merge "missing includes"
Sanket Agarwal [Wed, 3 Aug 2016 19:57:34 +0000 (12:57 -0700)]
Remove APIs that are not directly usable.
The right way to expose this API is done via MediaBrowser.
Bug: b/
28791287
Change-Id: I0a8a185934fd7aaa9f2b5eac7398955fa380060f
(cherry picked from commit
b5fbb75aa26a6322b26b1289cc5d14a8c31acb34)
Mark Salyzyn [Mon, 17 Oct 2016 17:10:55 +0000 (10:10 -0700)]
missing includes
Assumptions are made about header side effects
Test: compile
Bug:
30465923
Change-Id: Icc9415aed5e54b2bc00b70aa0da6df4148f30654
Christopher Wiley [Mon, 17 Oct 2016 17:30:28 +0000 (10:30 -0700)]
Use this.isUp() inside InterfaceConfiguration
Bug:
31337216
Test: Compiles
Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f
Yoshinori Hirano [Mon, 17 Oct 2016 17:00:44 +0000 (17:00 +0000)]
Merge "Avoid automatically mirroring Drawable of CustomTile"
am:
9a904d68c7
Change-Id: I337620f4a2514a00a6b49275cadde6087e11dddf
Treehugger Robot [Mon, 17 Oct 2016 16:42:17 +0000 (16:42 +0000)]
Merge "Avoid automatically mirroring Drawable of CustomTile"
Christopher Wiley [Mon, 17 Oct 2016 16:41:52 +0000 (16:41 +0000)]
Merge "Add InterfaceConfiguration.isUp()"
am:
c7ea99a63c
Change-Id: Id0bc63c82f8ffd6ad411769ab012efd8bbdfa3ce
Treehugger Robot [Mon, 17 Oct 2016 16:30:43 +0000 (16:30 +0000)]
Merge "Add InterfaceConfiguration.isUp()"
Neil Fuller [Mon, 17 Oct 2016 16:30:06 +0000 (16:30 +0000)]
Merge "Update time_zones_by_country.xml / delete unused files"
am:
143d13ce59
Change-Id: I1a52ac448247c1ebe7dc19f566e87478131a95e0
Treehugger Robot [Mon, 17 Oct 2016 16:21:58 +0000 (16:21 +0000)]
Merge "Update time_zones_by_country.xml / delete unused files"
yangzhenyu [Mon, 17 Oct 2016 16:08:41 +0000 (16:08 +0000)]
Merge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"
am:
09dcaf1948
Change-Id: I6227536c270cdac730be60edf35f7ff704e59af0
Treehugger Robot [Mon, 17 Oct 2016 15:59:16 +0000 (15:59 +0000)]
Merge "[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues"
Neil Fuller [Thu, 13 Oct 2016 08:26:21 +0000 (09:26 +0100)]
Update time_zones_by_country.xml / delete unused files
preferred_time_zones.xml is not referenced in any code and has been
deleted here.
TimeUtilsTest.java is broken / out of date and semi-duplicates code
in android.util.cts.TimeUtilsTest. It has been deleted here.
time_zones_by_country.xml file has not been updated since (at least)
2009.
Ideally this information would be updated as needed when the
timezone rule data is updated on device. This change just brings the
data up to date without addressing that issue. Given the apparent,
non-obvious, ordering requirements it may not be possible to use
zone1970.tab data directly.
---------------
Impact assessment:
At the time of writing time_zones_by_country.xml is used from:
Non-public methods:
android.util.TimeUtils.getTimeZones(String)
Public methods:
android.util.TimeUtils.getTimeZone(int, boolean, long, String)
android.util.TimeUtils.getTimeZonesWithUniqueOffsets(String)
Therefore there is some app / user benefit from updating it.
Within the framework, this affects:
telephony.ServiceStateTracker - in some circumstances when receiving
offset information from cell networks when better information is not
available.
There is some clockwork code affected that uses the calls for similar
purposes.
---------------
Notes on file formats / mapping the IANA source data:
The updated data was sourced from the IANA tzdata 2016g file
called zone1970.tab. The time_zones_by_country.xml file was manually
edited in a text editor using criteria detailed below.
The zone1970.tab file maps country codes (column 1) to a zone ID
(column 3). A country can be mapped to multiple zones. The zone.tab file
that was likely used in the past is similar in content and format. See
the zone.tab file header for details of the differences.
The time_zones_by_country.xml can have multiple entries for each
country, starting with a comment.
Comments exist for each (Country, Offset) pair. The name is
free-text, the offset is a non-DST offset for a zone as of 14th Oct
2016 using the 2016g data.
<!-- {Country name}, {offset from UTC} -->
Countries are listed in ASCII ascending order of the country code.
Within each country offsets are mostly ordered east to
west. An exception appears to be Australia. The data may have a
secondary order of "best match" (e.g. maybe by population). This might
be important for getTimeZone(int, boolean, long, String)) since it
returns the first match for a given offset, dst, country.
The timezone offset, transition information itself (offset, dst) is
pulled from the timezone rules data on the device, not this file.
The data is encoded for each (Country, Offset) pair by a sequence
of:
<timezone code="xx">{Olson ID}</timezone>
xx is the country code from column 1 in the zone1970.tab file, the
element content is the zone ID from column 3.
---------------
Notes on the changes made to time_zones_by_country.xml:
There are various changes in this commit associated with switching from
zone.tab to zone1970.tab as a data source: zone.tab uses different
Olson IDs due to the different criteria used by these files.
The offset in each case will be the same so will have no practical
effect on offsets / zone detection, though will affect the exemplar
location for the zone found.
The remaining changes reflect actual zone / offset changes that
have occurred.
When adding new zones or rearranging existing ones they have been
positioned so as not to modify the first zone for each country or
the first zone per offset because of the uncertainty about the
secondary ordering. This is to avoid the risk of now picking a
different zone for a country or {country + dst + offset}. This
has resulted in a couple of places where the ordering is
non-intuitive.
The zone names and the offset information contained in the comments was
checked semi-manually using other 2016g data, i.e. the base offset of
each zone was checked against output from a script that created a
TimeZone object from each Olson ID in the file and output the raw
(non-DST) offset.
---------------
Change specifics:
Changes made due to zone1970.tab vs zone.tab:
ANTIGUA AND BARBUDA
ANGUILLA
ANGOLA
ALAND ISLANDS
ARUBA
BOSNIA AND HERZEGOVINA
BURKINA FASO
BAHRAIN
BENIN
BOTSWANA
CONGO
CENTRAL AFRICAN REPUBLIC
CONGO
CAMEROON
DJIBOUTI
DOMINICA
ERITREA
ETHIOPIA
GABON
GRENADA
GUERNSEY
GAMBIA
GUINEA
GUADELOUPE
EQUATORIAL GUINEA
CROATIA
ISLE OF MAN
JERSEY
CAMBODIA
COMOROS
SAINT KITTS AND NEVIS
KUWAIT
CAYMAN ISLANDS
LAO PEOPLE'S DEMOCRATIC REPUBLIC
SAINT LUCIA
LIECHTENSTEIN
LESOTHO
MONTENEGRO
MADAGASCAR
MACEDONIA
MALI
NORTHERN MARIANA ISLANDS
MAURITANIA
MONTSERRAT
MALAWI
NIGER
OMAN
RWANDA
SAINT HELENA
SLOVENIA
SVALBARD AND JAN MAYEN
SLOVAKIA
SIERRA LEONE
SAN MARINO
SENEGAL
SOMALIA
SAO TOME AND PRINCIPE
SWAZILAND
TOGO
TANZANIA
UGANDA
UNITED STATES MINOR OUTLYING ISLANDS
HOLY SEE
SAINT VINCENT AND THE GRENADINES
VIRGIN ISLANDS
YEMEN
MAYOTTE
ZAMBIA
ZIMBABWE
---------
Changes due to new data:
ANTARCTICA
ARGENTINA
AUSTRALIA
BRAZIL
CANADA
CHINA
MICRONESIA
INDIA
MYANMAR
MEXICO
PAPUA NEW GUINEA
PALESTINE
RUSSIAN FEDERATION
UNITED STATES
UKRAINE
---------
Removal of NETHERLANDS ANTILLES (country code "an"):
"an" no longer present in the IANA data.
The country code is no longer in use.
https://en.wikipedia.org/wiki/ISO_3166-2:AN
New country entries for:
Saint Barthélemy
Caribbean Netherlands
Curaçao
Collectivity of Saint Martin
Sint Maarten
---------
Changes due to new data *and* with differences between zone1970.tab
and zone.tab:
GERMANY
South Sudan (entirely new)
VIET NAM
FRENCH SOUTHERN TERRITORIES
---------
Changes to comments or arrangement of existing entries due to non-DST
offset changes since the last update:
Antarctica/Mawson
Europe/Minsk
America/Resolute
Atlantic/Stanley
Asia/Pyongyang
America/Cancun
America/Grand_Turk
Pacific/Fakaofo
Europe/Istanbul
America/Caracas
Pacific/Apia
Bug:
25338903
Test: Build / CtsUtilTestCases
Change-Id: I87e3db795f55ddd92e7402459c5e97aa70b9301e
Yoshinori Hirano [Wed, 17 Aug 2016 05:09:58 +0000 (14:09 +0900)]
Avoid automatically mirroring Drawable of CustomTile
Developers of custom tiles should decide whether
the Drawable of their own tiles should be automatically mirrored.
So State#autoMirrorDrawable should be false by default.
Bug:
30930145
Test: manual - change to RTL language and open Quick Settings
Change-Id: Ia3fd8c2aeddb4a27b9ecfaaf52edbcce01fd7f48
yangzhenyu [Wed, 31 Aug 2016 10:26:46 +0000 (18:26 +0800)]
[ActivityManager] Fix the inconsistence between ProcessRecord and BroadcastQueues
Symptom:
Even though one process is executing one BroadcastReceiver,
it may be killed as one EMPTY process occasionally
Detail and sample:
https://code.google.com/p/android/issues/detail?id=221524
Root cause:
app.curReceiver can only remember the last running.
If an application is both receiving FG and BG broadcast,
when one is finished, app.curReceiver becomes null,
the state of application becomes EMPTY.
Solution:
save all running receivers at ProcessRecord
Change-Id: I01b8813af652a8c434be7de0678dc06f99831ae0
Signed-off-by: yangzhenyu <yangzhenyu@xiaomi.com>
Jason Monk [Fri, 14 Oct 2016 19:07:48 +0000 (19:07 +0000)]
Fix launching alarm pending intent am:
d0408f0028 am:
9042736ff1 am:
6aa197116e
am:
2abab0248f
Change-Id: Ife7911f26ebcf96802e2a9ac3f2f179d0d486d2c
Jason Monk [Fri, 14 Oct 2016 19:00:46 +0000 (19:00 +0000)]
Fix launching alarm pending intent am:
d0408f0028 am:
9042736ff1
am:
6aa197116e
Change-Id: Ide52a40383e181a07ec24ce4d89d5368a69c635d
Jason Monk [Fri, 14 Oct 2016 18:54:00 +0000 (18:54 +0000)]
Fix launching alarm pending intent am:
d0408f0028
am:
9042736ff1
Change-Id: Id2c2ccf79c62c5e0e498259a2b88e44cb98a70b3
Jason Monk [Fri, 14 Oct 2016 18:46:44 +0000 (18:46 +0000)]
Fix launching alarm pending intent
am:
d0408f0028
Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517
Jason Monk [Fri, 14 Oct 2016 14:46:37 +0000 (10:46 -0400)]
Fix launching alarm pending intent
Launch it as a pending intent.
Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes:
23909438
Jakub Adámek [Fri, 14 Oct 2016 15:12:10 +0000 (15:12 +0000)]
Merge "Adding customizable background color support for watch." into cw-f-dev
am:
881011d951
Change-Id: I6c6a98b7f207406a21e41ef4768e45bb190270aa
Jakub Adamek [Fri, 14 Oct 2016 15:12:03 +0000 (15:12 +0000)]
Adding customizable background color support for watch.
am:
e39fbd8785
Change-Id: I0585a0fb8dcf6ac8d408d7d848299629486ffa02
Jakub Adámek [Fri, 14 Oct 2016 15:06:43 +0000 (15:06 +0000)]
Merge "Adding customizable background color support for watch." into cw-f-dev
George Burgess IV [Fri, 14 Oct 2016 14:39:06 +0000 (14:39 +0000)]
Merge "Fix static-analyzer warning." am:
2fbf30d3fe am:
a52992e290
am:
c88628da5e
Change-Id: Iece80dfbd8a5d01ffdcf6edf1decd8078af31511
Jakub Pawlowski [Fri, 14 Oct 2016 14:38:10 +0000 (14:38 +0000)]
Merge "Fix Bluetooth OOB pairing not working for unseen devices" am:
3ef0315eb7 am:
bd1a923cac
am:
08109a61d2
Change-Id: Id97645d7026466771a011ba787dce9866dc029d2