OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Avoid use of DateUtilsBridge.icuTimeZone()" am: e859c42e23 am: 25fd54f6f3
Neil Fuller [Mon, 16 Jul 2018 09:09:18 +0000 (02:09 -0700)]
Merge "Avoid use of DateUtilsBridge.icuTimeZone()" am: e859c42e23 am: 25fd54f6f3
am: 3208539011

Change-Id: Ib45c4fd371c9b4b4ab97973eddfd49101c353cc3

6 years agoMerge "Avoid use of DateUtilsBridge.icuTimeZone()" am: e859c42e23
Neil Fuller [Mon, 16 Jul 2018 08:58:14 +0000 (01:58 -0700)]
Merge "Avoid use of DateUtilsBridge.icuTimeZone()" am: e859c42e23
am: 25fd54f6f3

Change-Id: I0083ddcadbc391a26ae8d264f8626bdf3b8f988f

6 years agoMerge "Avoid use of DateUtilsBridge.icuTimeZone()"
Neil Fuller [Mon, 16 Jul 2018 08:50:04 +0000 (01:50 -0700)]
Merge "Avoid use of DateUtilsBridge.icuTimeZone()"
am: e859c42e23

Change-Id: I6b6452f9609d88ce61959e7c4ae4f0fd8fa97e64

6 years agoMerge "Avoid use of DateUtilsBridge.icuTimeZone()"
Neil Fuller [Mon, 16 Jul 2018 07:44:58 +0000 (07:44 +0000)]
Merge "Avoid use of DateUtilsBridge.icuTimeZone()"

6 years agoMerge "Added documentation for network registration state" am: 3c1604da8b am: 5e7bbe01c4
Jack Yu [Mon, 16 Jul 2018 02:55:42 +0000 (19:55 -0700)]
Merge "Added documentation for network registration state" am: 3c1604da8b am: 5e7bbe01c4
am: 1d4b1172fe

Change-Id: I2ccc907907029368eec5f4c7cdcaa25eb4c62b16

6 years ago[automerger skipped] Reordered the params for network registration
Jack Yu [Mon, 16 Jul 2018 02:48:50 +0000 (19:48 -0700)]
[automerger skipped] Reordered the params for network registration
am: ccd62f2295  -s ours

Change-Id: I82023b200f07f2e1fe60c0f94616078026cffda7

6 years agoMerge "Added documentation for network registration state" am: 3c1604da8b
Jack Yu [Mon, 16 Jul 2018 02:47:08 +0000 (19:47 -0700)]
Merge "Added documentation for network registration state" am: 3c1604da8b
am: 5e7bbe01c4

Change-Id: I3a24338b43b6f1f9a704bbed1e2d472bb2a9c574

6 years agoReordered the params for network registration
Jack Yu [Sat, 9 Jun 2018 00:27:05 +0000 (17:27 -0700)]
Reordered the params for network registration

Test: Build
Bug: 73659459
Merged-In: I1af2c49a937177173b760d30b030da20f03c01d7
Change-Id: I1af2c49a937177173b760d30b030da20f03c01d7
(cherry picked from commit 7928c4d1c370a67be81ccb5b70696b8ef9db48ba)
(cherry picked from commit c683c3930e6d03825fd80fa71a2b3d5de5639f7d)
(cherry picked from commit d6284d9e0a22de09eb07ee00567cec5e7b01b433)

6 years agoMerge "Added documentation for network registration state"
Jack Yu [Mon, 16 Jul 2018 00:12:41 +0000 (17:12 -0700)]
Merge "Added documentation for network registration state"
am: 3c1604da8b

Change-Id: Icf8f0fff21c1190d3bde21cdbe378d6b75b51506

6 years agoMerge "Added documentation for network registration state"
Treehugger Robot [Sun, 15 Jul 2018 22:34:30 +0000 (22:34 +0000)]
Merge "Added documentation for network registration state"

6 years agoMerge "Extend SQLiteQueryBuilder for update and delete."
Jeff Sharkey [Sat, 14 Jul 2018 21:35:29 +0000 (21:35 +0000)]
Merge "Extend SQLiteQueryBuilder for update and delete."

6 years agoMerge "Definition of GenericAtom"
TreeHugger Robot [Sat, 14 Jul 2018 09:45:12 +0000 (09:45 +0000)]
Merge "Definition of GenericAtom"

6 years agoMerge "Fix unnecessary copy initialization warnings" am: 38858d6dd3 am: d5de710016
Chih-hung Hsieh [Sat, 14 Jul 2018 04:48:50 +0000 (21:48 -0700)]
Merge "Fix unnecessary copy initialization warnings" am: 38858d6dd3 am: d5de710016
am: 775cdc3019

Change-Id: I1ffad4d441e1a331e06ae778bf51dd41e5fecac2

6 years agoMerge "Fix unnecessary copy initialization warnings" am: 38858d6dd3
Chih-hung Hsieh [Sat, 14 Jul 2018 04:23:02 +0000 (21:23 -0700)]
Merge "Fix unnecessary copy initialization warnings" am: 38858d6dd3
am: d5de710016

Change-Id: Ie86ab05432cfde69464cfeb3341248dd6b18675e

6 years ago[automerger skipped] Reordered the params for network registration am: d6284d9e0a...
Jack Yu [Sat, 14 Jul 2018 04:20:21 +0000 (21:20 -0700)]
[automerger skipped] Reordered the params for network registration am: d6284d9e0a  -s ours
am: 3c69d029bc  -s ours

Change-Id: I6278782b9a4cae83e468bf2ebe7ed8f56f3a10cd

6 years agoMerge "Fix unnecessary copy initialization warnings"
Chih-hung Hsieh [Sat, 14 Jul 2018 04:13:18 +0000 (21:13 -0700)]
Merge "Fix unnecessary copy initialization warnings"
am: 38858d6dd3

Change-Id: Ic96829517269abfdb9fbf1661deffe0758356d57

6 years ago[automerger skipped] Reordered the params for network registration
Jack Yu [Sat, 14 Jul 2018 04:09:56 +0000 (21:09 -0700)]
[automerger skipped] Reordered the params for network registration
am: d6284d9e0a  -s ours

Change-Id: I29fc2270df41e5c401d78820feb92dce4f015bba

6 years agoMerge "Better Handling of Battery Stats History Overflow"
TreeHugger Robot [Sat, 14 Jul 2018 03:07:29 +0000 (03:07 +0000)]
Merge "Better Handling of Battery Stats History Overflow"

6 years agoMerge "Fix typo in metrics constant"
TreeHugger Robot [Sat, 14 Jul 2018 02:35:27 +0000 (02:35 +0000)]
Merge "Fix typo in metrics constant"

6 years agoMerge "Make ENABLE_COPY_OPTIMIZATIONS non final."
TreeHugger Robot [Sat, 14 Jul 2018 02:08:40 +0000 (02:08 +0000)]
Merge "Make ENABLE_COPY_OPTIMIZATIONS non final."

6 years agoMerge "Merge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04 am: f448662744...
Android Build Merger (Role) [Sat, 14 Jul 2018 01:21:02 +0000 (01:21 +0000)]
Merge "Merge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04 am: f448662744 am: c8fde9f310"

6 years agoMerge "AAPT2: Fix long version code bugs"
TreeHugger Robot [Sat, 14 Jul 2018 01:20:42 +0000 (01:20 +0000)]
Merge "AAPT2: Fix long version code bugs"

6 years agoMerge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04 am: f448662744
Nathan Harold [Sat, 14 Jul 2018 01:20:41 +0000 (18:20 -0700)]
Merge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04 am: f448662744
am: c8fde9f310

Change-Id: I509f8984ccb60cf9264922cee596b2883f566b1e

6 years agoMerge "passpoint-r1: fix the wrong filed for PPS-MO."
TreeHugger Robot [Sat, 14 Jul 2018 01:20:37 +0000 (01:20 +0000)]
Merge "passpoint-r1: fix the wrong filed for PPS-MO."

6 years agoFix typo in metrics constant
Kevin Chyn [Sat, 14 Jul 2018 00:48:50 +0000 (17:48 -0700)]
Fix typo in metrics constant

Fixes: 111453449

Test: builds
Change-Id: Ic416d8f18b86236ba15b075d5ffd6325381ea39f

6 years agoMerge "Update InCallService API docs to explain how to show incoming call UI." am...
Tyler Gunn [Sat, 14 Jul 2018 01:12:45 +0000 (18:12 -0700)]
Merge "Update InCallService API docs to explain how to show incoming call UI." am: ac47c63b36 am: 0bd810f5ea
am: ba70f0803a

Change-Id: I240e0aa8158a83e5964febd9b28171194bb35da9

6 years agoMerge "Making timerfd non-blocking in alarm manager."
TreeHugger Robot [Sat, 14 Jul 2018 00:59:37 +0000 (00:59 +0000)]
Merge "Making timerfd non-blocking in alarm manager."

6 years ago[automerger skipped] Merge "Pin compiled code of HOME app" into pi-dev am: 0e5e46f874
Jorim Jaggi [Sat, 14 Jul 2018 00:47:13 +0000 (17:47 -0700)]
[automerger skipped] Merge "Pin compiled code of HOME app" into pi-dev am: 0e5e46f874
am: 5439a6ea84  -s ours

Change-Id: Idede8a84e1173ca21c24b166bd45a014e597cda8

6 years agoMerge "Add system property for turn on system audio control when power on device."
TreeHugger Robot [Sat, 14 Jul 2018 00:36:30 +0000 (00:36 +0000)]
Merge "Add system property for turn on system audio control when power on device."

6 years agoBetter Handling of Battery Stats History Overflow
Hui Yu [Thu, 21 Jun 2018 02:07:56 +0000 (19:07 -0700)]
Better Handling of Battery Stats History Overflow

Previously battery history is kept in the in-memory mHistoryBuffer
with size of 512KB (96KB on low memory device). When the buffer is
close to full we drop certain types of history. When the buffer is
full the whole buffer is reset and we lost elder history. On a
device with long battery life this problem is more frequent.

This CL changes mHistoryBuffer to 128KB (64KB on low memory device).
When the buffer is full, it is saved to history file on file system.
By default we allow 32 history files (64 history files on low-memory
device) which gives us 4MB history (compare to 512KB today).

The MAX_HISTORY_BUFFER and MAX_HISTORY_FILES can be remote configured
through GServices or P/H.

In case of history exceeding 4MB, the oldest history file is deleted
and new history file is open.

This change increases battery history by using disk file and the
chance of losing history is greatly reduced.

Bug: 67297625
Test: adb shell dumpsys batterystats --history
Change-Id: Id9aafea761649d7323b97d1e44135f7880a95414

6 years agoMerge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04
Nathan Harold [Sat, 14 Jul 2018 00:30:59 +0000 (17:30 -0700)]
Merge "Re-Number RIL Message IDs to Match RIL.h" am: 8424001a04
am: f448662744

Change-Id: I98eb865f45fd608d4d8f73ce3bc8a9afa26bd2d2

6 years agoReordered the params for network registration
Jack Yu [Sat, 9 Jun 2018 00:27:05 +0000 (17:27 -0700)]
Reordered the params for network registration

Test: Build
Bug: 73659459
Merged-In: I1af2c49a937177173b760d30b030da20f03c01d7
Change-Id: I1af2c49a937177173b760d30b030da20f03c01d7
(cherry picked from commit 7928c4d1c370a67be81ccb5b70696b8ef9db48ba)
(cherry picked from commit c683c3930e6d03825fd80fa71a2b3d5de5639f7d)

6 years agoMerge "Update InCallService API docs to explain how to show incoming call UI." am...
Tyler Gunn [Sat, 14 Jul 2018 00:20:45 +0000 (17:20 -0700)]
Merge "Update InCallService API docs to explain how to show incoming call UI." am: ac47c63b36
am: 0bd810f5ea

Change-Id: I649bdb38348a507c5c01d66d99df0c6d6f5dcd6f

6 years agoMerge "Pin compiled code of HOME app" into pi-dev
Jorim Jaggi [Sat, 14 Jul 2018 00:13:14 +0000 (17:13 -0700)]
Merge "Pin compiled code of HOME app" into pi-dev
am: 0e5e46f874

Change-Id: I205971bc6c8309fc4ad40b4a4677703adecf4a75

6 years agoExtend SQLiteQueryBuilder for update and delete.
Jeff Sharkey [Fri, 13 Jul 2018 01:47:49 +0000 (19:47 -0600)]
Extend SQLiteQueryBuilder for update and delete.

Developers often accept selection clauses from untrusted code, and
SQLiteQueryBuilder already supports a "strict" mode to help catch
SQL injection attacks.  This change extends the builder to support
update() and delete() calls, so that we can help secure those
selection clauses too.

Extend it to support selection arguments being provided when
appending appendWhere() clauses, meaning developers no longer need
to manually track their local selection arguments along with
remote arguments.

Extend it to support newer ContentProvider.query() variant that
accepts "Bundle queryArgs", and have all query() callers flow
through that common code path.  (This paves the way for a future
CL that will offer to gracefully extract non-WHERE clauses that
callers have tried smashing into their selections.)

Updates ContentValues to internally use more efficient ArrayMap.

Bug: 111268862
Test: atest frameworks/base/core/tests/utiltests/src/com/android/internal/util/ArrayUtilsTest.java
Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java
Change-Id: I60b6f69045766bb28d2f21a32c120ec8c383b917

6 years agopasspoint-r1: fix the wrong filed for PPS-MO.
Ecco Park [Fri, 13 Jul 2018 22:22:37 +0000 (15:22 -0700)]
passpoint-r1: fix the wrong filed for PPS-MO.

Currently Passpoint-r1 follows the PPS-MO format to install passpoint
profile.

Howevever, one field(SubscriptionParameter) is not correct.
Normally passpoint-r1 doesn't use this field because this is used for
passpoint-r2 feature.
So, currently there is no issue with wrong field for using passpoint-r1.

But, it needs to be "SubscriptionParameters" according to the hostpot2.0
release 2.0 techinical specification.

Bug: 111449001
Test:  ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Idb6bb4d28913bd3d0905b330e25fbb20b99bbf2e
Signed-off-by: Ecco Park <eccopark@google.com>
6 years agoAAPT2: Fix long version code bugs
Ryan Mitchell [Thu, 12 Jul 2018 18:24:51 +0000 (11:24 -0700)]
AAPT2: Fix long version code bugs

Refactoring areas in AAPT2 that use android:versionCode to also use
abdroid:versionCodeMajor. Does not add versionCodeMajor command line flag yet.

Bug: 109883459
Test: aapt2_tests
Change-Id: I573fbea37491cf8c5742f9e385c66ee64c4e5166

6 years agoMaking timerfd non-blocking in alarm manager.
Suprabh Shukla [Mon, 9 Jul 2018 23:59:27 +0000 (16:59 -0700)]
Making timerfd non-blocking in alarm manager.

Alarm manager uses timerfd with epoll_wait, so there can be a race where
read blocks if timerfd_settime was called after epoll_wait returns and
before read is called. Since epoll_wait returned, we should be treating
that as sufficient signal that the timer expired.
In general, it should be better to have a non-blocking fd with
epoll_wait as the kernel holds a wakelock until the next epoll_wait and
if we move the timer to the future the system should be waiting inside
epoll_wait and not inside read, to allow the system to go into suspend.

This is also expected to mitigate or eliminate cases where we are seeing
alarm delivery stuck while the system is stuck somewhere in read, while
the higher level code keeps waiting for it to return.

Test: builds, boots, existing tests pass:
atest CtsAlarmManagerTestCases

Bug: 78560047
Change-Id: Idbb3bf94b7e750686701757d2d27ad2d3246294f

6 years agoMerge "AAPT2: Refactor flags into commands"
Ryan Mitchell [Fri, 13 Jul 2018 23:24:57 +0000 (23:24 +0000)]
Merge "AAPT2: Refactor flags into commands"

6 years agoMerge "Remove an unused parameter from InstallArgs.doRename"
TreeHugger Robot [Fri, 13 Jul 2018 23:14:22 +0000 (23:14 +0000)]
Merge "Remove an unused parameter from InstallArgs.doRename"

6 years agoMerge "Re-Number RIL Message IDs to Match RIL.h"
Nathan Harold [Fri, 13 Jul 2018 22:45:31 +0000 (15:45 -0700)]
Merge "Re-Number RIL Message IDs to Match RIL.h"
am: 8424001a04

Change-Id: I5d284e48bbc2c9c461004f521bd719a490b9fed9

6 years agoMerge "Add fallback case to layers_extensions.cpp"
Victor Khimenko [Fri, 13 Jul 2018 22:42:35 +0000 (22:42 +0000)]
Merge "Add fallback case to layers_extensions.cpp"

6 years agoMerge "Fix unnecessary copy initialization warnings"
Chih-hung Hsieh [Fri, 13 Jul 2018 22:42:26 +0000 (22:42 +0000)]
Merge "Fix unnecessary copy initialization warnings"

6 years agoMerge "Update InCallService API docs to explain how to show incoming call UI."
Tyler Gunn [Fri, 13 Jul 2018 22:37:40 +0000 (15:37 -0700)]
Merge "Update InCallService API docs to explain how to show incoming call UI."
am: ac47c63b36

Change-Id: I4b3f34199c471006c71c2560f365ad314580b0a3

6 years agoMerge "Pin compiled code of HOME app" into pi-dev
Jorim Jaggi [Fri, 13 Jul 2018 22:36:08 +0000 (22:36 +0000)]
Merge "Pin compiled code of HOME app" into pi-dev

6 years agoAdded documentation for network registration state
Jack Yu [Wed, 6 Jun 2018 00:38:56 +0000 (17:38 -0700)]
Added documentation for network registration state

Also renamed denial reason to reject cause to match
the 3GPP spec.

Bug: 73659459
Test: Build
Change-Id: Ia67ebf94771c7ff5f5d90f6cdd303cb2716f9186
(cherry picked from commit b4094993f742fbe9d07bd5783030aa82a3045f79)

6 years agoDefinition of GenericAtom
Howard Ro [Wed, 20 Jun 2018 02:58:05 +0000 (19:58 -0700)]
Definition of GenericAtom

Test: no test is necessary as it only adds a field to atoms.proto
Change-Id: If4e7c9497d1a4a8ba0fda3e8fb1ef67c525d6e64
Bug: 110537998

6 years agoAAPT2: Refactor flags into commands
Ryan Mitchell [Tue, 10 Jul 2018 20:51:36 +0000 (13:51 -0700)]
AAPT2: Refactor flags into commands

Refactors the flag based command invocation into classes that make using
subcommands easier.

Test: manual tests of printing
Change-Id: Ic8df6af0be30db552e32150afebecbfeec7e1075

6 years agoMerge "Drop binder calling identity before updating device stats"
Christopher Morin [Fri, 13 Jul 2018 21:14:07 +0000 (21:14 +0000)]
Merge "Drop binder calling identity before updating device stats"

6 years agoAdd system property for turn on system audio control when power on device.
Amy [Mon, 25 Jun 2018 18:51:12 +0000 (11:51 -0700)]
Add system property for turn on system audio control when power on device.

Test: make -j18
Change-Id: I32275cccec10cab10dc6b86c4e8b4aa580462b7b

Bug: 80297170
(cherry picked from commit 411d7fdaab1fd99ff109b2d2f2a2049621676ad3)

Change-Id: I7d9c390160e1e79298b3fcbdc8129069b6cddbfc

6 years agoMerge "Add system audio mode related handlers."
TreeHugger Robot [Fri, 13 Jul 2018 21:09:46 +0000 (21:09 +0000)]
Merge "Add system audio mode related handlers."

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage...
Jack Yu [Fri, 13 Jul 2018 20:56:16 +0000 (13:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master am: 1bee26f4c3  -s ours
am: 7604760e22  -s ours

Change-Id: I18410bc47cf77987fef4fbb977bec82e953c839f

6 years agoMerge "Activate night mode when battery saver"
Lucas Dupin [Fri, 13 Jul 2018 20:50:48 +0000 (20:50 +0000)]
Merge "Activate night mode when battery saver"

6 years agoFix unnecessary copy initialization warnings
Chih-Hung Hsieh [Fri, 13 Jul 2018 20:37:03 +0000 (13:37 -0700)]
Fix unnecessary copy initialization warnings

Bug: 30413862
Test: build with WITH_TIDY=1
Change-Id: I333d3a6b3394f50712148eeabf2253f1e01b21f3

6 years agoMerge "Make Connection#onSilence a public API." am: cbe3737f13 am: 01ab0b90bf
Tyler Gunn [Fri, 13 Jul 2018 20:22:48 +0000 (13:22 -0700)]
Merge "Make Connection#onSilence a public API." am: cbe3737f13 am: 01ab0b90bf
am: 9aca012ab5

Change-Id: Icf3491038487e47983b84255cdc32214595ce470

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc...
Yueming Wang [Fri, 13 Jul 2018 20:14:26 +0000 (13:14 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc"" am: f92ad05fa5  -s ours am: 6dd8f735d2  -s ours
am: 0aff4a19f9  -s ours

Change-Id: Ifd7fa2a83fa262a9c7ae72f80274033f604ebb25

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage...
Jack Yu [Fri, 13 Jul 2018 20:06:31 +0000 (13:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master
am: 1bee26f4c3  -s ours

Change-Id: I236396a3080e5b435db417ba2ed10485232976ec

6 years agoMerge "Re-Number RIL Message IDs to Match RIL.h"
Nathan Harold [Fri, 13 Jul 2018 19:57:06 +0000 (19:57 +0000)]
Merge "Re-Number RIL Message IDs to Match RIL.h"

6 years agoAdd system audio mode related handlers.
Amy [Tue, 12 Jun 2018 00:26:26 +0000 (17:26 -0700)]
Add system audio mode related handlers.

Test: atest com.android.server.hdmi
Change-Id: I4fd10ceb9e8a5951584f3917dc267a04091049cf
(cherry picked from commit 714cd0383c639613aa21eabfe3e20bb3b7386244)

6 years agoMerge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42...
Shrijana Ghimire [Fri, 13 Jul 2018 19:48:15 +0000 (12:48 -0700)]
Merge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42" into pi-dev-plus-aosp
am: 74ecab8a44

Change-Id: I676fa766b26ecfc145ed4d5dd60b1af70dc99529

6 years agoMerge "Make Connection#onSilence a public API." am: cbe3737f13
Tyler Gunn [Fri, 13 Jul 2018 19:45:28 +0000 (12:45 -0700)]
Merge "Make Connection#onSilence a public API." am: cbe3737f13
am: 01ab0b90bf

Change-Id: I8c011d4a495d5240ebec83b07bc0b8f57a3c40ac

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi...
Jack Yu [Fri, 13 Jul 2018 19:38:03 +0000 (12:38 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp
am: 2e1eb41ec1  -s ours

Change-Id: I4614419886138038f4ee7c2fa317d012806d022c

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc...
Yueming Wang [Fri, 13 Jul 2018 19:36:51 +0000 (12:36 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc"" am: f92ad05fa5  -s ours
am: 6dd8f735d2  -s ours

Change-Id: I6cb9a490d20e71432ea7f6afd87ae58a5570d34e

6 years agoMerge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42...
Android Build Merger (Role) [Fri, 13 Jul 2018 19:30:22 +0000 (19:30 +0000)]
Merge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42" into pi-dev-plus-aosp

6 years agoMerge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
Shrijana Ghimire [Fri, 13 Jul 2018 19:29:55 +0000 (12:29 -0700)]
Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
am: 9ef41ccf42

Change-Id: I03291b3758127de3bfef480a6561930f5901014c

6 years agoMerge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master
Jack Yu [Fri, 13 Jul 2018 19:28:23 +0000 (19:28 +0000)]
Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master

6 years agoMerge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp
Jack Yu [Fri, 13 Jul 2018 19:28:11 +0000 (19:28 +0000)]
Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 762470...
Bill Yi [Fri, 13 Jul 2018 19:25:30 +0000 (12:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 762470b663  -s ours
am: f734167154  -s ours

Change-Id: Ifb7fb7717bcebd0a94e8906a539d6377a5f2b31f

6 years agoRemove an unused parameter from InstallArgs.doRename
Victor Hsieh [Fri, 13 Jul 2018 19:19:34 +0000 (12:19 -0700)]
Remove an unused parameter from InstallArgs.doRename

Test: build
Bug: None
Change-Id: I1244d18c2a54831366eeba35da07aee248e9e964

6 years agoMerge "Make Connection#onSilence a public API."
Tyler Gunn [Fri, 13 Jul 2018 19:15:45 +0000 (12:15 -0700)]
Merge "Make Connection#onSilence a public API."
am: cbe3737f13

Change-Id: I4ab192ca160219770d7384e88c8e0025137b42bd

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""
Yueming Wang [Fri, 13 Jul 2018 19:10:40 +0000 (12:10 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""
am: f92ad05fa5  -s ours

Change-Id: If211a292335419751be21e670b1ddb489d3c54b4

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 13 Jul 2018 19:08:05 +0000 (12:08 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 762470b663  -s ours

Change-Id: If96f549175221087b8e5942ff286928b1bcb7f22

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 13 Jul 2018 19:07:37 +0000 (19:07 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
Shrijana Ghimire [Fri, 13 Jul 2018 19:03:24 +0000 (19:03 +0000)]
Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev

6 years agoMerge "Add an assist mic to the navigation bar"
Brad Stenning [Fri, 13 Jul 2018 19:01:11 +0000 (19:01 +0000)]
Merge "Add an assist mic to the navigation bar"

6 years agoMerge "Add partial request arc init/terminate handlers and tests"
TreeHugger Robot [Fri, 13 Jul 2018 18:56:33 +0000 (18:56 +0000)]
Merge "Add partial request arc init/terminate handlers and tests"

6 years agoAvoid use of DateUtilsBridge.icuTimeZone()
Neil Fuller [Fri, 13 Jul 2018 18:49:51 +0000 (19:49 +0100)]
Avoid use of DateUtilsBridge.icuTimeZone()

DateUtilsBridge is only used in one place in framework.
The usage is avoidable by sticking to java.util. This
decreases the number of non-public libcore classes in
use by framework.

Test: build
Bug: 111055375
Change-Id: Ifd6576b5b6df1e154f16ec201a4575d0b95de66d

6 years agoMerge "Update InCallService API docs to explain how to show incoming call UI."
Treehugger Robot [Fri, 13 Jul 2018 18:52:52 +0000 (18:52 +0000)]
Merge "Update InCallService API docs to explain how to show incoming call UI."

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 18:40:05 +0000 (18:40 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: c2f735...
Bill Yi [Fri, 13 Jul 2018 18:39:37 +0000 (11:39 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: c2f735b844  -s ours
am: 3d87fa503d  -s ours

Change-Id: If556e6f195e2d80d576052c35847722800aac807

6 years agoMerge "ValueMetric supports multiple aggregation types"
TreeHugger Robot [Fri, 13 Jul 2018 18:35:52 +0000 (18:35 +0000)]
Merge "ValueMetric supports multiple aggregation types"

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 13 Jul 2018 18:26:02 +0000 (11:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: c2f735b844  -s ours

Change-Id: Ia4f46d8b32b0158ffb8f3861399a6bd36f0d4275

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 13 Jul 2018 18:25:28 +0000 (18:25 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 18:04:45 +0000 (18:04 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:49:00 +0000 (10:49 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours am: 213af1a79e  -s ours am: 66bbd64d7d  -s ours
am: e4dc066e12  -s ours

Change-Id: Idd1f7eb3d18f9f8fd0601069ec583e64b52e1f10

6 years agoAdd partial request arc init/terminate handlers and tests
Amy [Thu, 7 Jun 2018 23:24:31 +0000 (16:24 -0700)]
Add partial request arc init/terminate handlers and tests

Test: atest com.android.server.hdmi
Change-Id: I92ee4598ccb2e6c88863ab0ba3dc3ba682ccd0e2
(cherry picked from commit 5dc9609a08c43ca4134b1eccaea2f23a1681bd61)

6 years agoDO NOT MERGE - Revert "Hide IWLAN system API"
Jack Yu [Fri, 13 Jul 2018 17:32:20 +0000 (10:32 -0700)]
DO NOT MERGE - Revert "Hide IWLAN system API"

This reverts commit ea440a765e2774320910073e5350bdccd39afb6c, reversing
changes made to 0b90c524cb8288f3b8d8111b5724c02630c5b4c6.

Test: Build
Bug: 73659459
Change-Id: I2c52f17090040cea589081c3ed412a14986e3d85

6 years agoValueMetric supports multiple aggregation types
Chenjie Yu [Fri, 6 Jul 2018 23:14:34 +0000 (16:14 -0700)]
ValueMetric supports multiple aggregation types

1. Add support for MIN, MAX, AVG
2. ValueMetric also allow floats now, in addition to long data type.
AnomalyDetection still takes long only. I am not sure if it makes
sense to do anomaly on AVG. I will leave that for later.
3. ValueMetric supports sliced condition change for pushed events.
I don't think it makes sense for pulled events to have sliced condition
changes so leave it for now.

Test: unit test
Change-Id: I8bc510d98ea9b8a6eb16d04ff99dce6b574249cd

6 years agoMerge changes I7021de43,I2854764d
TreeHugger Robot [Fri, 13 Jul 2018 17:16:40 +0000 (17:16 +0000)]
Merge changes I7021de43,I2854764d

* changes:
  Ignore notification from other users
  Fix smart action is not enabled in first whatsapp notification

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:14:24 +0000 (10:14 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours am: 213af1a79e  -s ours
am: 66bbd64d7d  -s ours

Change-Id: I58c75d2ec05c1470cabed265fa6d4e095ff698b8

6 years agoMerge "Make Connection#onSilence a public API."
Tyler Gunn [Fri, 13 Jul 2018 17:02:36 +0000 (17:02 +0000)]
Merge "Make Connection#onSilence a public API."

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:01:06 +0000 (10:01 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev am: 1e5152b539  -s ours am: b32be39c6d  -s ours
am: a162265529  -s ours

Change-Id: I81f7ba17a82d9b58b62d0060f02da672e04cb6cf

6 years agoMerge "NotificationPlayer: release MediaPlayer on error and exception"
TreeHugger Robot [Fri, 13 Jul 2018 16:54:43 +0000 (16:54 +0000)]
Merge "NotificationPlayer: release MediaPlayer on error and exception"

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:42:28 +0000 (09:42 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours
am: 213af1a79e  -s ours

Change-Id: If0154030422d4ddd2b4383f9e107125d67f7b409

6 years agoMerge "Revert "Update SubscriptionInfo o use strings for mccmnc""
Treehugger Robot [Fri, 13 Jul 2018 16:34:30 +0000 (16:34 +0000)]
Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:28:39 +0000 (09:28 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev am: 1e5152b539  -s ours
am: b32be39c6d  -s ours

Change-Id: Ia1dfd55946842083d4e3256a51607cecf59a67b8

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:28:11 +0000 (09:28 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b
am: d1f53d13a9  -s ours

Change-Id: I293fc38d50e75b0b021dff6af045ac8a2aa6927f

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
Bernie Innocenti [Fri, 13 Jul 2018 16:17:40 +0000 (09:17 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
am: 8f1c70e49b

Change-Id: Ic103dfa909ca4567a815b16f0794baf74c1cf068

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:17:17 +0000 (09:17 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev
am: 1e5152b539  -s ours

Change-Id: I2ada9a973b1728122a2beb5f47d105af4507c742

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
TreeHugger Robot [Fri, 13 Jul 2018 16:05:32 +0000 (16:05 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev