OSDN Git Service

android-x86/frameworks-base.git
5 years ago[automerger skipped] Merge "DO NOT MERGE Make a copy of data stored in LockSettingsSt...
Rich Cannings [Thu, 4 Apr 2019 02:44:07 +0000 (19:44 -0700)]
[automerger skipped] Merge "DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache" into pi-dev am: 9bdc35b2df
am: e5b407a224 -s ours
am skip reason: subject contains skip directive

Change-Id: If7fa68f065e97db5f38537c8ffe10b7344e5b846

5 years agoMerge "Fix remaining pointer leaks in Asset.cpp"
TreeHugger Robot [Thu, 4 Apr 2019 02:35:22 +0000 (02:35 +0000)]
Merge "Fix remaining pointer leaks in Asset.cpp"

5 years agoMerge "Add SD card support for AOT"
PO HUNG CHEN [Thu, 4 Apr 2019 02:27:37 +0000 (02:27 +0000)]
Merge "Add SD card support for AOT"

5 years agoMerge "ApplicationLoaders: hard failures & tests"
TreeHugger Robot [Thu, 4 Apr 2019 02:12:16 +0000 (02:12 +0000)]
Merge "ApplicationLoaders: hard failures & tests"

5 years agoMerge "DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache" into...
Rich Cannings [Thu, 4 Apr 2019 02:11:36 +0000 (19:11 -0700)]
Merge "DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache" into pi-dev
am: 9bdc35b2df

Change-Id: Ie32bbb676bd105864cc4f823481b9fb78cf250be

5 years agoMerge "Merge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887...
Android Build Merger (Role) [Thu, 4 Apr 2019 01:57:53 +0000 (01:57 +0000)]
Merge "Merge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887 am: c7ca13334b am: 47a11c51b9"

5 years agoMerge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887 am...
Cody Kesting [Thu, 4 Apr 2019 01:57:11 +0000 (18:57 -0700)]
Merge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887 am: c7ca13334b
am: 47a11c51b9

Change-Id: I9bb60cec839fc9db4cfeab3b945a7c824a37bedf

5 years agoMerge "fix nullability"
Todd Kennedy [Thu, 4 Apr 2019 01:53:45 +0000 (01:53 +0000)]
Merge "fix nullability"

5 years ago[automerger skipped] Merge "[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c29...
Chris Forbes [Thu, 4 Apr 2019 01:49:50 +0000 (18:49 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c297d928951c3695f2cf5a845898 to pi-dev-plus-aosp" into pi-dev-plus-aosp
am: a506be5fd0 -s ours
am skip reason: subject contains skip directive

Change-Id: I4559be479951bf521e3d17335bf1417708ecb2c5

5 years agoMerge "Fix ConnectivityServiceTest fail." am: fa8fc65340 am: ccc12f673b
paulhu [Thu, 4 Apr 2019 01:47:51 +0000 (18:47 -0700)]
Merge "Fix ConnectivityServiceTest fail." am: fa8fc65340 am: ccc12f673b
am: 71c6372844

Change-Id: I0230ea353a91283328c8df06ca5a89af99c40468

5 years agoMerge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887
Cody Kesting [Thu, 4 Apr 2019 01:39:58 +0000 (18:39 -0700)]
Merge "Clarify documentation for TelMan#iccOpenLogicalChannel." am: 4d71a57887
am: c7ca13334b

Change-Id: I7ea9113d3f2dfc27172a533dee33e1918f67ad99

5 years agoMerge "Add display white balance enabled methods to CDS"
Christine Franks [Thu, 4 Apr 2019 01:38:46 +0000 (01:38 +0000)]
Merge "Add display white balance enabled methods to CDS"

5 years agoMerge "[automerger skipped] Merge "Removed data and voice RAT from service state...
Android Build Merger (Role) [Thu, 4 Apr 2019 01:33:07 +0000 (01:33 +0000)]
Merge "[automerger skipped] Merge "Removed data and voice RAT from service state" am: ced4a31769 am: 279a924fdf am: f3c6f0e47c -s ours am skip reason: change_id I3f4cb6057a4ae821363099583eeac7c867147afb with SHA1 5ff5ab5649 is in history"

5 years ago[automerger skipped] Merge "Removed data and voice RAT from service state" am: ced4a3...
Jack Yu [Thu, 4 Apr 2019 01:31:23 +0000 (18:31 -0700)]
[automerger skipped] Merge "Removed data and voice RAT from service state" am: ced4a31769 am: 279a924fdf
am: f3c6f0e47c -s ours
am skip reason: change_id I3f4cb6057a4ae821363099583eeac7c867147afb with SHA1 5ff5ab5649 is in history

Change-Id: I36c1ffc0680b6a1630eee2349e419cc7a9a25b1d

5 years agoMerge "Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView"
TreeHugger Robot [Thu, 4 Apr 2019 01:28:23 +0000 (01:28 +0000)]
Merge "Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView"

5 years agoMerge "[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c297d928951c3695f2cf5a84...
Chris Forbes [Thu, 4 Apr 2019 01:27:01 +0000 (01:27 +0000)]
Merge "[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c297d928951c3695f2cf5a845898 to pi-dev-plus-aosp" into pi-dev-plus-aosp

5 years agoMerge "Fix enumerate corner case"
Kevin Chyn [Thu, 4 Apr 2019 01:26:54 +0000 (01:26 +0000)]
Merge "Fix enumerate corner case"

5 years agoMerge "Clarify documentation for TelMan#iccOpenLogicalChannel."
Cody Kesting [Thu, 4 Apr 2019 00:59:43 +0000 (17:59 -0700)]
Merge "Clarify documentation for TelMan#iccOpenLogicalChannel."
am: 4d71a57887

Change-Id: I89b28e0297aea91443d7c40df1f99f646ee7b237

5 years agoMerge "Fix ConnectivityServiceTest fail." am: fa8fc65340
paulhu [Thu, 4 Apr 2019 00:57:14 +0000 (17:57 -0700)]
Merge "Fix ConnectivityServiceTest fail." am: fa8fc65340
am: ccc12f673b

Change-Id: I7896f6c47478df6f4b70b68da98694f4b0e1563f

5 years agoMerge master@5428150 into git_qt-dev-plus-aosp.
Bill Rassieur [Thu, 4 Apr 2019 00:50:35 +0000 (17:50 -0700)]
Merge master@5428150 into git_qt-dev-plus-aosp.
am: bea579f238

Change-Id: I49b4a82ccabbcdd0b2b2be3abf95d796414666c6

5 years agoMerge "Removed data and voice RAT from service state" am: ced4a31769
Jack Yu [Thu, 4 Apr 2019 00:41:58 +0000 (17:41 -0700)]
Merge "Removed data and voice RAT from service state" am: ced4a31769
am: 279a924fdf

Change-Id: I4712f051f85511426af2207679224266ea0aa29e

5 years agoMerge "Update BiometricPrompt default title"
Kevin Chyn [Thu, 4 Apr 2019 00:35:01 +0000 (00:35 +0000)]
Merge "Update BiometricPrompt default title"

5 years agoMerge "Fix ConnectivityServiceTest fail."
paulhu [Thu, 4 Apr 2019 00:24:39 +0000 (17:24 -0700)]
Merge "Fix ConnectivityServiceTest fail."
am: fa8fc65340

Change-Id: If3f7a3cbf2ed1a180a3b09872512a5f91bddd89c

5 years agoMerge "Set system gesture exclusion rects for Bubbles"
Mark Renouf [Thu, 4 Apr 2019 00:23:36 +0000 (00:23 +0000)]
Merge "Set system gesture exclusion rects for Bubbles"

5 years ago[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am:...
Xiangyu/Malcolm Chen [Thu, 4 Apr 2019 00:13:58 +0000 (17:13 -0700)]
[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am: 63bf486921 am: 2cadf8e9f9
am: 3722b6907f -s ours
am skip reason: change_id Iaf004d6881964bd19072e9ef623f2e89f2529639 with SHA1 2e1f945a6c is in history

Change-Id: Ic1bf053d7233e1068aa3d2d5b4512e6626d9a4cf

5 years agoMerge "Removed data and voice RAT from service state"
Jack Yu [Thu, 4 Apr 2019 00:13:45 +0000 (17:13 -0700)]
Merge "Removed data and voice RAT from service state"
am: ced4a31769

Change-Id: I2ef8a5d4647d404d5b782e78c8ab2613f6466f92

5 years agoMerge "Add logging for direct share target"
Susi Kharraz-Post [Thu, 4 Apr 2019 00:03:56 +0000 (00:03 +0000)]
Merge "Add logging for direct share target"

5 years agoMerge "Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged"
Jack He [Thu, 4 Apr 2019 00:01:16 +0000 (00:01 +0000)]
Merge "Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged"

5 years agoMerge "Clarify documentation for TelMan#iccOpenLogicalChannel."
Cody Kesting [Thu, 4 Apr 2019 00:01:06 +0000 (00:01 +0000)]
Merge "Clarify documentation for TelMan#iccOpenLogicalChannel."

5 years agoMerge "Make KeyguardSliceView title tappable"
Lucas Dupin [Thu, 4 Apr 2019 00:00:23 +0000 (00:00 +0000)]
Merge "Make KeyguardSliceView title tappable"

5 years agoMerge "Convert core/tests/BroadcastRadioTests/Android.mk file to Android.bp"
TreeHugger Robot [Wed, 3 Apr 2019 23:57:20 +0000 (23:57 +0000)]
Merge "Convert core/tests/BroadcastRadioTests/Android.mk file to Android.bp"

5 years agoMerge "Disallow pruning system shared static libraries"
TreeHugger Robot [Wed, 3 Apr 2019 23:57:10 +0000 (23:57 +0000)]
Merge "Disallow pruning system shared static libraries"

5 years agoMerge "Fix ConnectivityServiceTest fail."
Treehugger Robot [Wed, 3 Apr 2019 23:54:38 +0000 (23:54 +0000)]
Merge "Fix ConnectivityServiceTest fail."

5 years agoMerge "Clean up a few names of Telephony intent extra." am: 63bf486921
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:49:33 +0000 (16:49 -0700)]
Merge "Clean up a few names of Telephony intent extra." am: 63bf486921
am: 2cadf8e9f9

Change-Id: I1026c87f73abc5dccee6c1b5a1747c53e436b5f0

5 years agoMerge "Make get/set feature async between settings and service"
Kevin Chyn [Wed, 3 Apr 2019 23:46:14 +0000 (23:46 +0000)]
Merge "Make get/set feature async between settings and service"

5 years agoAtom: Keep obfuscated_id name in BluetoothConnectionStateChanged
Jack He [Wed, 3 Apr 2019 23:08:21 +0000 (16:08 -0700)]
Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged

Bug: 112969790
Test: make, test drive with statsd
Change-Id: Ic732d48b69799f241a0e96c159b06c778392d2bf

5 years agoMerge "Move NetworkStatsFactory into service directory"
TreeHugger Robot [Wed, 3 Apr 2019 23:44:26 +0000 (23:44 +0000)]
Merge "Move NetworkStatsFactory into service directory"

5 years agoMerge master@5406228 into git_qt-dev-plus-aosp.
Bill Rassieur [Wed, 3 Apr 2019 23:41:27 +0000 (16:41 -0700)]
Merge master@5406228 into git_qt-dev-plus-aosp.
am: bf3de50711

Change-Id: I684e995988f5a8ef330fbbf55da7ae9230f0cfc2

5 years agoMerge "Removed data and voice RAT from service state"
Jack Yu [Wed, 3 Apr 2019 23:39:24 +0000 (23:39 +0000)]
Merge "Removed data and voice RAT from service state"

5 years agoMerge "Reserve display white balance metric"
Christine Franks [Wed, 3 Apr 2019 23:37:32 +0000 (23:37 +0000)]
Merge "Reserve display white balance metric"

5 years ago[automerger skipped] Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumb...
Shuo Qian [Wed, 3 Apr 2019 23:28:45 +0000 (16:28 -0700)]
[automerger skipped] Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec am: 4362b01d2c
am: 47fdabe9fa -s ours
am skip reason: change_id If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c with SHA1 c6d55453ee is in history

Change-Id: I1f15c088f35ec60918c7296317969907c2699297

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:24:23 +0000 (16:24 -0700)]
Merge "Clean up a few names of Telephony intent extra."
am: 63bf486921

Change-Id: If08d387b21a4e4cb71e7026ca781a472db51e2d1

5 years agoMerge "Differentiate the edge sensitivity from the edge panel size"
Winson Chung [Wed, 3 Apr 2019 23:24:07 +0000 (23:24 +0000)]
Merge "Differentiate the edge sensitivity from the edge panel size"

5 years agoMerge "Delete unnecessary cache"
Lucas Dupin [Wed, 3 Apr 2019 23:15:50 +0000 (23:15 +0000)]
Merge "Delete unnecessary cache"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec
Shuo Qian [Wed, 3 Apr 2019 23:15:05 +0000 (16:15 -0700)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec
am: 4362b01d2c

Change-Id: I74e90fc150b6928e244a35aabeb865b6ad521810

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:06:47 +0000 (23:06 +0000)]
Merge "Clean up a few names of Telephony intent extra."

5 years agoMerge "Add per-file owner for CursorWindow.cpp"
TreeHugger Robot [Wed, 3 Apr 2019 23:05:48 +0000 (23:05 +0000)]
Merge "Add per-file owner for CursorWindow.cpp"

5 years agoMerge "Update default for silent-notifs-in-statusbar"
TreeHugger Robot [Wed, 3 Apr 2019 23:05:21 +0000 (23:05 +0000)]
Merge "Update default for silent-notifs-in-statusbar"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 23:04:48 +0000 (16:04 -0700)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
am: b8c7afacec

Change-Id: I5a41e63ee113447f75178bf3bfd996431046799a

5 years agoFix remaining pointer leaks in Asset.cpp
Winson [Wed, 3 Apr 2019 22:50:36 +0000 (15:50 -0700)]
Fix remaining pointer leaks in Asset.cpp

Follow up from comment in ag/6761240

Test: none

Change-Id: Ib6a52b3fe13b4eb00b363ee720196fe0bfdfbb94

5 years agoDifferentiate the edge sensitivity from the edge panel size
Winson Chung [Mon, 1 Apr 2019 20:39:21 +0000 (13:39 -0700)]
Differentiate the edge sensitivity from the edge panel size

Bug: 129492856
Test: Swipe from edge
Change-Id: I3b2ce3dd6b3633da1f83c8943538f0f4af5ce481

5 years agoMerge "Return the update timestamp in getStagedSessions()"
Todd Kennedy [Wed, 3 Apr 2019 22:57:48 +0000 (22:57 +0000)]
Merge "Return the update timestamp in getStagedSessions()"

5 years agoMerge "Audio: Check if BluetoothDevice.getName() returns null"
TreeHugger Robot [Wed, 3 Apr 2019 22:44:10 +0000 (22:44 +0000)]
Merge "Audio: Check if BluetoothDevice.getName() returns null"

5 years agoMerge "Add logging callback for back action"
Winson Chung [Wed, 3 Apr 2019 22:40:47 +0000 (22:40 +0000)]
Merge "Add logging callback for back action"

5 years agoMerge "Another redesign of notification guts"
TreeHugger Robot [Wed, 3 Apr 2019 22:36:34 +0000 (22:36 +0000)]
Merge "Another redesign of notification guts"

5 years agoMerge "Fix Global Actions animations, and use old power menu when panel is disabled...
TreeHugger Robot [Wed, 3 Apr 2019 22:36:29 +0000 (22:36 +0000)]
Merge "Fix Global Actions animations, and use old power menu when panel is disabled. Also tweak feature flags setup to use old flag as a force option for debugging."

5 years agoMerge "Adds Zygote.initNativeState"
Christian Wailes [Wed, 3 Apr 2019 22:35:35 +0000 (22:35 +0000)]
Merge "Adds Zygote.initNativeState"

5 years agoMake KeyguardSliceView title tappable
Lucas Dupin [Wed, 3 Apr 2019 20:14:11 +0000 (13:14 -0700)]
Make KeyguardSliceView title tappable

Bug: 129877485
Test: manual with caldendar event
Change-Id: I413f9c92541f7b7d8ee8a766a43f3086b88aa7f8

5 years agoMerge "Implement AIDL fanout from v2 HAL BroadcastRadioService"
George Lu [Wed, 3 Apr 2019 22:30:03 +0000 (22:30 +0000)]
Merge "Implement AIDL fanout from v2 HAL BroadcastRadioService"

5 years agoMerge "Add auto-mirror to help icon"
TreeHugger Robot [Wed, 3 Apr 2019 22:28:29 +0000 (22:28 +0000)]
Merge "Add auto-mirror to help icon"

5 years agoRemoved data and voice RAT from service state
Jack Yu [Tue, 2 Apr 2019 20:14:03 +0000 (13:14 -0700)]
Removed data and voice RAT from service state

The voice and data RAT are now derived from
CS and PS network registration info.

Test: Manual + unit tests
Bug: 129863444

Merged-In: I3f4cb6057a4ae821363099583eeac7c867147afb
Change-Id: I3f4cb6057a4ae821363099583eeac7c867147afb
(cherry picked from commit 5ff5ab5649644eded4f662303fdacee08aaad044)

5 years agofix nullability
Todd Kennedy [Wed, 3 Apr 2019 22:19:53 +0000 (15:19 -0700)]
fix nullability

Bug: 126701951
Test: It builds, it runs
Change-Id: I43e02551ced8a6aa51b84dd8df7e57e75e1d58a9

5 years agoMerge "Add app compaction throttling."
TreeHugger Robot [Wed, 3 Apr 2019 22:24:24 +0000 (22:24 +0000)]
Merge "Add app compaction throttling."

5 years agoApplicationLoaders: hard failures & tests
Steven Moreland [Wed, 27 Mar 2019 13:38:42 +0000 (06:38 -0700)]
ApplicationLoaders: hard failures & tests

Make errors in ApplicationLoaders caching hard failures since they are
only ever expected under bad configuration. Tests for these are also
added.

Test: atest android.app.ApplicationLoadersTest
Bug: 128529256
Change-Id: Ib259bcdf472e6a2f7f6b1071bb70cfead4502231

5 years agoMerge "Fetch roundIcon|icon depending on RRO overlayed config_useRoundIcon"
Hyunyoung Song [Wed, 3 Apr 2019 22:18:35 +0000 (22:18 +0000)]
Merge "Fetch roundIcon|icon depending on RRO overlayed config_useRoundIcon"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 22:18:31 +0000 (22:18 +0000)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"

5 years agoMerge "SDK API doesSwitchModemConfigTriggerReboot"
Chen Xu [Wed, 3 Apr 2019 22:17:47 +0000 (22:17 +0000)]
Merge "SDK API doesSwitchModemConfigTriggerReboot"

5 years agoMerge "Temporary hack until we have dynamic remounting."
Jeff Sharkey [Wed, 3 Apr 2019 22:17:08 +0000 (22:17 +0000)]
Merge "Temporary hack until we have dynamic remounting."

5 years agoMerge "Move product only fonts out of AOSP."
TreeHugger Robot [Wed, 3 Apr 2019 22:14:48 +0000 (22:14 +0000)]
Merge "Move product only fonts out of AOSP."

5 years agoDisallow pruning system shared static libraries
Winson [Tue, 26 Mar 2019 18:39:46 +0000 (11:39 -0700)]
Disallow pruning system shared static libraries

Shared libraries on the system image are assumed to always exist,
so do not prune them to free storage space.

Also fixes invalid uses of PackageSettingBase#getUserState

Bug: 128426859

Test: atest StaticSharedLibsHostTests
Test: atest EphemeralTest

Change-Id: I096749af6d7a5916ced433df60a33e2d5b8a7975

5 years agoMerge "Fix NPE in RNA#callOnFinished"
TreeHugger Robot [Wed, 3 Apr 2019 22:06:55 +0000 (22:06 +0000)]
Merge "Fix NPE in RNA#callOnFinished"

5 years agoMerge "MultiUserPerfTest - test restart profile"
TreeHugger Robot [Wed, 3 Apr 2019 22:03:51 +0000 (22:03 +0000)]
Merge "MultiUserPerfTest - test restart profile"

5 years agoMerge "Removed data and voice RAT from service state"
Jack Yu [Wed, 3 Apr 2019 22:02:30 +0000 (22:02 +0000)]
Merge "Removed data and voice RAT from service state"

5 years agoMerge "Add support for /odm/overlay"
TreeHugger Robot [Wed, 3 Apr 2019 21:56:39 +0000 (21:56 +0000)]
Merge "Add support for /odm/overlay"

5 years agoAdd logging for direct share target
Susi Kharraz-Post [Mon, 1 Apr 2019 15:07:59 +0000 (11:07 -0400)]
Add logging for direct share target

To answer the question if users share mainly with 1 or 2 direct targets
or with a multitude of contacts, we need to log the direct target +
package name. For privacy, this gets hashed with a salt that expires by
default every 7 days. The PH flag will allow us to change the expiration
time if we obtain PWG permission for that.

Bug: 126365511
Test: New test in ChooserActivityTest + manual testing of consistency
and flag rollout using adb shell device_config put systemui
hash_salt_max_days with multiple values

Change-Id: Ib4255b3eb39ca91ccb5803dc036ffe0ea83a27c9

5 years agoReserve display white balance metric
Christine Franks [Thu, 28 Mar 2019 18:47:00 +0000 (11:47 -0700)]
Reserve display white balance metric

Bug: 123930917
Test: n/a
Change-Id: Ieb7fb22566dee89b9128756ec2e2c06cc0211f9a

5 years agoMerge "Don't show the dismiss target if trying to drag the flyout."
TreeHugger Robot [Wed, 3 Apr 2019 21:47:38 +0000 (21:47 +0000)]
Merge "Don't show the dismiss target if trying to drag the flyout."

5 years agoFix enumerate corner case
Kevin Chyn [Wed, 3 Apr 2019 21:39:04 +0000 (14:39 -0700)]
Fix enumerate corner case

Do not post reset runnable when another client is requested while
cleanup is happening. The runnable will be "pending" and started once
cleanup finishes instead.

Fixes: 129534163

Test: Based on logs in the bug, this is reasonable
Test: reboot device, fingerprint still works
Change-Id: I766cc04be151abaae60a0092f71fd7a3acf3397a

5 years agoMerge "With native FBE, lock user directories when framework is started"
Eric Biggers [Wed, 3 Apr 2019 21:38:28 +0000 (21:38 +0000)]
Merge "With native FBE, lock user directories when framework is started"

5 years agoMerge "MultiUserPerfTest test switch to pre-existing user"
TreeHugger Robot [Wed, 3 Apr 2019 21:34:44 +0000 (21:34 +0000)]
Merge "MultiUserPerfTest test switch to pre-existing user"

5 years agoAdd per-file owner for CursorWindow.cpp
Makoto Onuki [Wed, 3 Apr 2019 21:32:35 +0000 (14:32 -0700)]
Add per-file owner for CursorWindow.cpp

(Need to merge it first to avoid merge conflict)

Test: N/A
Change-Id: I075ac3ec47743f5d9cd2acbd0cc01ce55cd1a8e3

5 years agoModify the deprecation of PhoneNumberUtil isEmergencyNumber
sqian [Tue, 2 Apr 2019 02:26:18 +0000 (19:26 -0700)]
Modify the deprecation of PhoneNumberUtil isEmergencyNumber

1) Telephony API is still called by a bunch of Util methods in Android that
don't have context, therefore the service can be null. Throwing an
 exception can cause crash.
2) Fix the usage of isEmergencyNumber and isPotentialEmergencyNumber.

Test: Manual
Fixes: 129721537
Change-Id: If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c
Merged-In: If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c
(cherry picked from commit c6d55453ee9a4c352be873eb73c4ec433be11faf)

5 years agoMove NetworkStatsFactory into service directory
Chenbo Feng [Fri, 1 Mar 2019 23:07:24 +0000 (15:07 -0800)]
Move NetworkStatsFactory into service directory

In order to notify netd to swap eBPF maps before pulling the
networkStats from eBPF maps, NetworkStatsFactory need to use the
NetdServices to issue binder calls. So it need to be moved from
framework/base/core to framework/base/service since object in
framework/base/core cannot get any system services. This change is also
necessary for setting up a lock inside NetworkStatsFactory to prevent
racing between two netstats caller since the lock need to be hold before
netd trigger the map swap.

Also fix the compile problem caused by moving the NetworkStatsFactory
and the related tests. Rename the packages and the jni functions to a
more proper name.

Bug: 124764595
Bug: 128900919
Test: NetworkStatsFactoryTest
      android.app.usage.cts.NetworkUsageStatsTest
      android.net.cts.TrafficStatsTest

Change-Id: Ifcfe4df81caf8ede2e4e66a76552cb3200378fa8

5 years agoMerge "Check cardId in EuiccManager#isEnabled."
Jiuyu Sun [Wed, 3 Apr 2019 21:24:45 +0000 (21:24 +0000)]
Merge "Check cardId in EuiccManager#isEnabled."

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 21:23:44 +0000 (21:23 +0000)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"

5 years agoMerge "Use Class.forName instead of ClassLoader.loadClass." am: dc489aba0e am: 1b7fb8f7ae
Nicolas Geoffray [Wed, 3 Apr 2019 21:22:03 +0000 (14:22 -0700)]
Merge "Use Class.forName instead of ClassLoader.loadClass." am: dc489aba0e am: 1b7fb8f7ae
am: cb6605192c

Change-Id: I953c2bb97dda4ca654e552d58bf56d884d609fc0

5 years agoMerge "Add AudioAttribute flag missing in FLAG_ALL"
TreeHugger Robot [Wed, 3 Apr 2019 21:18:17 +0000 (21:18 +0000)]
Merge "Add AudioAttribute flag missing in FLAG_ALL"

5 years agoMerge "Update the system font implementation for new API change"
TreeHugger Robot [Wed, 3 Apr 2019 21:11:44 +0000 (21:11 +0000)]
Merge "Update the system font implementation for new API change"

5 years agoMerge changes Iaad5b04d,Ic810dda6
TreeHugger Robot [Wed, 3 Apr 2019 21:10:31 +0000 (21:10 +0000)]
Merge changes Iaad5b04d,Ic810dda6

* changes:
  Add null check before setting min size
  Remove assist capture on swipe up

5 years ago[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c297d928951c3695f2cf5a845898...
Rubin Xu [Wed, 3 Apr 2019 20:15:06 +0000 (21:15 +0100)]
[DO NOT MERGE] resolve merge conflicts of 157f05eb0437c297d928951c3695f2cf5a845898 to pi-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Idc78cfc626716becd634b985d3752ae8c5aadebf

5 years agoSet system gesture exclusion rects for Bubbles
Mark Renouf [Mon, 1 Apr 2019 18:17:37 +0000 (14:17 -0400)]
Set system gesture exclusion rects for Bubbles

When collapsed (stack of bubbles) or animating between
collapsed or expanded states, the view bounds of the
bubble stack are set as the system gesture exclusion
zone.

Test: manually w/fully gesture nav enabled
Bug: 126360272
Change-Id: I8b517cd2bebf86be0fff7d676f304845907689a5

5 years agoMerge "[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188...
Android Build Merger (Role) [Wed, 3 Apr 2019 21:03:32 +0000 (21:03 +0000)]
Merge "[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am: 751f3484ed am: de2654be88 -s ours am skip reason: change_id Ieebba36417d1f83a5946f927043f15dc8abc188a with SHA1 f7cbc11d0c is in history"

5 years ago[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am...
Yifan Hong [Wed, 3 Apr 2019 20:54:58 +0000 (13:54 -0700)]
[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am: 751f3484ed
am: de2654be88 -s ours
am skip reason: change_id Ieebba36417d1f83a5946f927043f15dc8abc188a with SHA1 f7cbc11d0c is in history

Change-Id: I6d7adf483a51c120be3b16aa780c50bd20b83656

5 years agoMerge "Notify caller about cancellation"
Alex Salo [Wed, 3 Apr 2019 20:54:57 +0000 (20:54 +0000)]
Merge "Notify caller about cancellation"

5 years agoMerge "Remove 'Sensors Off' tile as it is now a developer QS tile"
Michael Groover [Wed, 3 Apr 2019 20:54:17 +0000 (20:54 +0000)]
Merge "Remove 'Sensors Off' tile as it is now a developer QS tile"

5 years agoMerge "[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf62...
Android Build Merger (Role) [Wed, 3 Apr 2019 20:47:26 +0000 (20:47 +0000)]
Merge "[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be am: 7f0a256a78 am: e280e2e614 -s ours am skip reason: change_id I92f7584aeaf502336f67e04fbc22634784c9305d with SHA1 b61bab6a58 is in history"

5 years ago[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be...
Sasha Smundak [Wed, 3 Apr 2019 20:46:57 +0000 (13:46 -0700)]
[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be am: 7f0a256a78
am: e280e2e614 -s ours
am skip reason: change_id I92f7584aeaf502336f67e04fbc22634784c9305d with SHA1 b61bab6a58 is in history

Change-Id: If1e555e8549034a31fa346b7b81aac30231e9e74

5 years agoMerge "Deprecate runOnBinderBlocking()"
TreeHugger Robot [Wed, 3 Apr 2019 20:44:32 +0000 (20:44 +0000)]
Merge "Deprecate runOnBinderBlocking()"

5 years agoAdds Zygote.initNativeState
Chris Wailes [Wed, 3 Apr 2019 20:00:52 +0000 (13:00 -0700)]
Adds Zygote.initNativeState

This patch replaces three seperate native initialization functions with
a single function, reducing the number of times we need to cross the JNI
boundary.  In addition this loads an empty performance profile for the
zygote to address b/129704892.

Bug: 129704892
Test: make & boot
Test: Treehugger
Change-Id: I0413f554e0963a714e0b4de3196d31ffe6775a3a

5 years agoMerge "Refactor PowerWhitelistBackend"
TreeHugger Robot [Wed, 3 Apr 2019 20:41:21 +0000 (20:41 +0000)]
Merge "Refactor PowerWhitelistBackend"