Automerger Merge Worker
82c9b74407
Merge "Fix serialization issue of ExternalVibration" into qt-dev am: 02824fc2a9 am: 74c9ad17c2
...
Change-Id: I12075c1d870a032990cfc0c78911a2dd5abc6170
2020-02-06 00:43:36 +00:00
Automerger Merge Worker
74c9ad17c2
Merge "Fix serialization issue of ExternalVibration" into qt-dev am: 02824fc2a9
...
Change-Id: I196882cf82416b3d4e84c487bd94b925f719dc1d
2020-02-06 00:25:37 +00:00
Chris Ye
02824fc2a9
Merge "Fix serialization issue of ExternalVibration" into qt-dev
2020-02-06 00:12:49 +00:00
Automerger Merge Worker
f202e1109a
Merge "Remove System APIs not required for R" am: f5f137b9d3 am: 630aacdc73
...
Change-Id: I1e48c0ebc1fa1089336b3fbf2e4e28a195d6c050
2020-02-05 12:14:54 +00:00
Automerger Merge Worker
630aacdc73
Merge "Remove System APIs not required for R" am: f5f137b9d3
...
Change-Id: I02925dc4f4810032a7381832187c420253227664
2020-02-05 12:04:38 +00:00
Neil Fuller
f5f137b9d3
Merge "Remove System APIs not required for R"
2020-02-05 11:56:20 +00:00
Automerger Merge Worker
fcc3a08dd4
Merge "Add getExtension to android.os.IBinder interface" am: 935dfd2ce9 am: 84642d37d5
...
Change-Id: I7e67000c0434f9f8b72af643d4fd23892fcbbb6c
2020-02-04 22:43:51 +00:00
Automerger Merge Worker
84642d37d5
Merge "Add getExtension to android.os.IBinder interface" am: 935dfd2ce9
...
Change-Id: I0379693d0c87e77eaed7dd133edb00c410d2dfd5
2020-02-04 22:28:29 +00:00
Yo Chiang
935dfd2ce9
Merge "Add getExtension to android.os.IBinder interface"
2020-02-04 22:17:24 +00:00
Automerger Merge Worker
406f067b69
Merge "Allow credstore to call into KeyAttestationApplicationIdProviderService" am: 715e754115 am: 11e5071fbb
...
Change-Id: I63f2cdcd2240b842614093761390bad866ef091b
2020-02-04 22:08:52 +00:00
Automerger Merge Worker
11e5071fbb
Merge "Allow credstore to call into KeyAttestationApplicationIdProviderService" am: 715e754115
...
Change-Id: I0d0c1be195ec894570c1fcbebca3f8b3298b1b34
2020-02-04 21:49:42 +00:00
Treehugger Robot
715e754115
Merge "Allow credstore to call into KeyAttestationApplicationIdProviderService"
2020-02-04 21:31:31 +00:00
Neil Fuller
4222b7bec8
Remove System APIs not required for R
...
Test: treehugger
Bug: 148842434
Merged-In: If022a726a058a90cb5446d220628c76800da8e96
Change-Id: If022a726a058a90cb5446d220628c76800da8e96
2020-02-04 21:21:34 +00:00
David Zeuthen
117fcb6c33
Allow credstore to call into KeyAttestationApplicationIdProviderService
...
This was previously reserved for keystore only but since credstore
also needs to do attestations, this is needed.
Bug: 111446262
Test: atest android.security.identity.cts
Test: Manually verifying the AttestationApplicationId from credstore
Change-Id: Ie44f9e4c8f2e1bd916ccbe7c7e5537dc498d8154
2020-02-04 10:18:33 -05:00
Automerger Merge Worker
3503f24fe4
Merge changes Ib7daba9c,Ib692bff0 am: 75b7e58c47 am: 72dcf0a781
...
Change-Id: I881ade99a6dde6566b12974b058efa4a5ef13073
2020-02-03 20:17:49 +00:00
Automerger Merge Worker
72dcf0a781
Merge changes Ib7daba9c,Ib692bff0 am: 75b7e58c47
...
Change-Id: I3067f3dfa8a5d0167f27af5af768d303bccd5510
2020-02-03 20:08:24 +00:00
Treehugger Robot
75b7e58c47
Merge changes Ib7daba9c,Ib692bff0
...
* changes:
UpdateEngine: add WorkerThread annotation.
UpdateEngine.AllocateSpaceResult: rename functions
2020-02-03 19:55:48 +00:00
Yo Chiang
b031685032
Add getExtension to android.os.IBinder interface
...
Provide a mechanism to extend and customize a binder interface without
having to modify the original (base) interface.
See the full motivation here: aosp/1099664
Bug: 147834064
Test: atest FrameworksCoreTests:BinderTest FrameworksCoreTests:BinderProxyTest
Change-Id: Idd3595b1302cf7ac0590d064e795ba0b75811af6
2020-02-03 16:07:35 +08:00
Automerger Merge Worker
dc9e5ee91f
Merge "GraphicsEnv: refactor to unify the debuggable logic" into qt-qpr1-dev am: e10e0fffcf
...
Change-Id: I15a25d43561f3176efaad4c92c928ea5d4223066
2020-01-31 18:37:58 +00:00
Alexey Kuzmin
b1a33a8b4f
Fix serialization issue of ExternalVibration
...
Remove excessive serialization of Audio Attributes
Bug: 140417434
Test: atest ExternalVibrationTest#testSerialization
Change-Id: Ib7ceaed875889126a53f874eec64fab4817e48d1
2020-01-30 11:30:04 -08:00
Yiwei Zhang
a3acf85a3b
GraphicsEnv: refactor to unify the debuggable logic
...
By default, PR_SET_DUMPABLE is 0 for zygote spawned apps, except in the
following circumstances:
1. ro.debuggable=1 (global debuggable enabled, i.e., userdebug or eng builds).
2. android:debuggable="true" in the manifest for an individual application.
3. An app which explicitly calls prctl(PR_SET_DUMPABLE, 1).
4. GraphicsEnv calls prctl(PR_SET_DUMPABLE, 1) in the presence of
<meta-data android:name="com.android.graphics.injectLayers.enable"
android:value="true"/>
in the application manifest.
So checking both ro.debuggable=1 and PR_GET_DUMPABLE is redundant.
Bug: b/144186877, b/148566223
Test: CtsAngleIntegrationHostTestCases
Test: CtsRootlessGpuDebugHostTest
Change-Id: Ica49254df2c7c090808411935cdeb8efd4e3cb51
Merged-In: Ica49254df2c7c090808411935cdeb8efd4e3cb51
(cherry picked from commit 097a3062b9 )
2020-01-29 21:29:56 -08:00
Yifan Hong
f64f31e7be
UpdateEngine: add WorkerThread annotation.
...
Add @WorkerThread to allocateSpace and cleanupAppliedPayload
because they take a non-trivial amount of time.
Bug: 148486809
Test: builds
Change-Id: Ib7daba9c662b9e141430df71401d069577221b8a
2020-01-29 17:44:49 -08:00
Yifan Hong
e8380c9876
UpdateEngine.AllocateSpaceResult: rename functions
...
Rename functions from X() to getX().
Also update docs.
Bug: 148486809
Test: builds
Change-Id: Ib692bff06bcf0018826e78b28f0a9b2ed0431060
2020-01-29 17:44:47 -08:00
Automerger Merge Worker
f613e166f2
Merge "Add @RequiresPermission annotation to reboot APIs" am: 147863d9fc am: dab92d5611
...
Change-Id: I6d1bd40becf31ddf274c79dd34b38c90f5f83cbe
2020-01-28 11:04:18 +00:00
Nikita Ioffe
dab92d5611
Merge "Add @RequiresPermission annotation to reboot APIs"
...
am: 147863d9fc
Change-Id: I5ca246de4d4f8912271d222c3e82e96d3d47fa6d
2020-01-28 02:57:56 -08:00
Automerger Merge Worker
251a110c45
DO NOT MERGE: Adds artificial package handler latency am: de626c28d7 am: 895d932835
...
Change-Id: Icbf1e5c7475260bee1c147f92aa328dd29f4fb17
2020-01-27 20:22:29 +00:00
Automerger Merge Worker
895d932835
DO NOT MERGE: Adds artificial package handler latency am: de626c28d7
...
Change-Id: I5303926e34c973ca9e4a7d12d0f4cd46e2fbcde8
2020-01-27 20:14:59 +00:00
Nikita Ioffe
169fbf6d5c
Add @RequiresPermission annotation to reboot APIs
...
Test: builds
Bug: 148286076
Fixes: 148286076
Change-Id: If58234a2197655c51b8aa43d6966097046f5030a
2020-01-27 10:58:30 +00:00
Automerger Merge Worker
e29d03dbad
Merge changes from topic "remove_ce_caching" am: 02e09b98b0
...
Change-Id: I064eaec6c1c5c056c850b71534b1e768a69a8d3a
2020-01-24 17:16:33 +00:00
Barani Muthukumaran
add57fcc09
Provide secret to vold to remove credential
...
vold requires the secret to retrieve the CE key
to re-wrap without auth when the user removes
the credential.
Test: Set credential, remove credential, swipe to none
and vice-versa.
Unit tests under locksettings
Bug: 26948053
Merged-In: I14503404ddd330cced2f2ff0e8f500cbe3f96e28
Change-Id: I14503404ddd330cced2f2ff0e8f500cbe3f96e28
2020-01-24 00:43:57 +00:00
Lev Rumyantsev
cbf8e9dd7a
AppZygote: start with the correct instruction set
...
am: 041f016971
Change-Id: I85ed95566f9cb6d38b02619f47e2efe6ebcf9c61
2020-01-21 15:18:34 -08:00
Lev Rumyantsev
5f30976b8c
Merge changes from topic "native_bridge_for_app_zygote"
...
* changes:
Zygote: support native-bridge for app-zygote
AppZygote: start with the correct instruction set
2020-01-21 23:09:34 +00:00
Automerger Merge Worker
f184b6b8d6
Merge "Vibrator: Have Always-On Check DND/LowPower Modes" am: 301beddcdb
...
Change-Id: I7540f05ce7397f83bb62404dcbca6e3e0848444a
2020-01-17 20:05:26 +00:00
Treehugger Robot
301beddcdb
Merge "Vibrator: Have Always-On Check DND/LowPower Modes"
2020-01-17 01:39:04 +00:00
TreeHugger Robot
8da97bddbd
Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master
2020-01-16 18:29:18 +00:00
Treehugger Robot
03e365f649
Merge "Improve DSU log and notification message"
2020-01-16 12:15:26 +00:00
Po-Chien Hsueh
bcf2adb424
Improve DSU log and notification message
...
Improve DSU installation service's status log message. And, use
Notification.BigTextStyle for DSU notification message.
Bug: 132924741
Test: Run DSU installation
Change-Id: I9e821edfeff88a1f4084a005de3e0f4264338996
2020-01-16 13:52:57 +08:00
Howard Chen
69d181aecc
Merge "Support multiple DSU installations"
2020-01-16 05:33:10 +00:00
Harpreet \"Eli\" Sangha
9adedac3b9
Vibrator: Have Always-On Check DND/LowPower Modes
...
Bug: 145961380
Test: Verify always-on settings changes via dumpsys.
Change-Id: I201f04ef1c2bdf7f10961e8c3d9b47cb7a815f11
Merged-In: I201f04ef1c2bdf7f10961e8c3d9b47cb7a815f11
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com >
2020-01-16 02:11:20 +00:00
Xin Li
e13851556b
DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
...
Bug: 146167222
Change-Id: Ifeb003ec9b3bf824f04d31a117aea65d517241fb
2020-01-15 16:15:41 -08:00
Lev Rumyantsev
041f016971
AppZygote: start with the correct instruction set
...
This allows triggering native-bridge initialization if needed.
Test: CtsExternalServiceTestCases
android.externalservice.cts.ExternalServiceTest
testBindExternalServiceWithZygote
for Q.sdk_gphone_x86_arm.armeabi-v7a
Bug: 143143718
Change-Id: If105c4283879407c4fcee33fa6086772d43609a3
2020-01-14 17:03:06 -08:00
Neil Fuller
efe063e5dc
Expose time / time zone system apis for telephony
...
Expose system apis / permissions needed by the telephony module to
communicate with the system server for time and time zone detection.
There are also small improvements for @Nullable.
Bug: 147012511
Test: build only
Merged-In: I27e5aa4c594d5fbad0b6f043afb9e910dcba4349
Change-Id: I27e5aa4c594d5fbad0b6f043afb9e910dcba4349
(cherry picked from commit 2be7ac4531 )
2020-01-14 19:30:40 +00:00
Howard Chen
c6f64c44eb
Support multiple DSU installations
...
Bug: 144247097
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system.raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Change-Id: Ib2f86039c4c0c1dae2bc94a702721572567bcbf2
2020-01-14 02:20:47 +00:00
Artur Satayev
bc3d8b9071
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I534e3fd1305e2f4af076986770033478448a665c
Merged-In: I534e3fd1305e2f4af076986770033478448a665c
2020-01-13 12:39:59 +00:00
Automerger Merge Worker
163d3a1e98
Merge "Refine documentation for Process.setThreadPriority" am: fd1985993c am: 32593a60d0
...
Change-Id: Ia3a5995f2687d7727e6927ea842d9aafe34085f1
2020-01-10 10:20:38 +00:00
Treehugger Robot
fd1985993c
Merge "Refine documentation for Process.setThreadPriority"
2020-01-10 09:48:44 +00:00
Automerger Merge Worker
e29b9871d8
Merge "Update system api for applyPayload" am: c8f699d327 am: 8187d5301e
...
Change-Id: Ib9c8fcd961c301cbf32d2ca57c8914ec96891cbd
2020-01-10 09:19:10 +00:00
Automerger Merge Worker
aa58c0d5c3
Merge "Rename android.util.TimestampedValue to android.os" am: 641fa6730a am: fee904a5fb
...
Change-Id: Ib439759dbee692a624491267d07f72b0d754779d
2020-01-10 09:18:38 +00:00
Treehugger Robot
c8f699d327
Merge "Update system api for applyPayload"
2020-01-10 08:31:59 +00:00
Neil Fuller
641fa6730a
Merge "Rename android.util.TimestampedValue to android.os"
2020-01-10 08:11:14 +00:00