Jeff Sharkey
4cd89d7d40
Merge "Update more Parcelables to send Strings UTF-8." into rvc-dev am: 1eb3fcfb33 am: e9214abdf3 am: 16844ca4e0 am: 4581e4d59d
...
Change-Id: I09c9c0251c909665eab4a676c85d28fad9d9b047
2020-04-30 00:41:34 +00:00
Jeff Sharkey
16844ca4e0
Merge "Update more Parcelables to send Strings UTF-8." into rvc-dev am: 1eb3fcfb33 am: e9214abdf3
...
Change-Id: Ib3930c412d0b3b0ddaf7c05ca51feed036dc337e
2020-04-30 00:27:10 +00:00
Jeff Sharkey
1eb3fcfb33
Merge "Update more Parcelables to send Strings UTF-8." into rvc-dev
2020-04-29 23:55:03 +00:00
Treehugger Robot
f318caa9c2
Merge "API to get hardware variant (SKU)" am: c042e44813 am: edc94080d9 am: ddad10d8bd am: f1f7256263 am: 67c54e87c0
...
Change-Id: I3b6633364f8d62197ffe4c72276e72a936757d1a
2020-04-29 22:07:28 +00:00
Treehugger Robot
ddad10d8bd
Merge "API to get hardware variant (SKU)" am: c042e44813 am: edc94080d9
...
Change-Id: I9e15b2c23fdaa934c5b39b7ca347e80d05d58384
2020-04-29 21:37:14 +00:00
Treehugger Robot
edc94080d9
Merge "API to get hardware variant (SKU)" am: c042e44813
...
Change-Id: I82d12a6808ab8b178d3aee75a99ebd9c8fc7189c
2020-04-29 21:32:17 +00:00
Treehugger Robot
c042e44813
Merge "API to get hardware variant (SKU)"
2020-04-29 21:29:37 +00:00
Jeff Sharkey
1639e6b8ee
Update more Parcelables to send Strings UTF-8.
...
An earlier CL with benchmarks has shown that sending strings as UTF-8
is 50% faster for US-ASCII strings, and still 68% faster for complex
strings referencing higher Unicode planes. (So an improvement in
both cases!)
Since code across the OS still makes heavy assumptions about Parcel
strings typically being UTF-16, we need to carefully migrate
Parcelables by hand, which is what this CLs begins doing.
Bug: 154436100
Test: manual
Change-Id: I9a675473e0ce3a4a5c5e305dd851b40bb1560e1c
2020-04-29 14:54:44 -06:00
Martijn Coenen
05d49deb6d
Merge "Add buildExternalStorageAndroidObbDirs()." into rvc-dev am: 1ed01451ed am: 39d29f922e am: 4a6798c9a9 am: 35a7506d2d
...
Change-Id: I2b89c355c16f7e313b3a377f3b0280c90dc92cdc
2020-04-29 20:06:28 +00:00
Martijn Coenen
4a6798c9a9
Merge "Add buildExternalStorageAndroidObbDirs()." into rvc-dev am: 1ed01451ed am: 39d29f922e
...
Change-Id: I8b8d1e9bfd7091666d66c3458bbaa2eb97735d81
2020-04-29 19:29:10 +00:00
Martijn Coenen
afd0e4f4c1
Merge "Add buildExternalStorageAndroidObbDirs()." into rvc-dev am: 1ed01451ed
...
Change-Id: I828380d8c9a4b76f3402066f76c88314f4d8103b
2020-04-29 19:09:29 +00:00
Martijn Coenen
1ed01451ed
Merge "Add buildExternalStorageAndroidObbDirs()." into rvc-dev
2020-04-29 18:53:13 +00:00
Yifan Hong
325bbcf799
Merge "Update cleanupAppliedPayload comment." into rvc-dev
2020-04-29 00:08:37 +00:00
Treehugger Robot
7d3142b404
Merge "Update cleanupAppliedPayload comment." am: 14c78c2a55 am: c451ad69d1 am: 57b618335b am: 10ec378f22 am: 0030fda0fa
...
Change-Id: I18f766213a1db602e127b90f835fa730e7132b6d
2020-04-28 22:33:35 +00:00
Treehugger Robot
57b618335b
Merge "Update cleanupAppliedPayload comment." am: 14c78c2a55 am: c451ad69d1
...
Change-Id: Ic7a18d83aebb781aec2cc018d1225f0846d66fa7
2020-04-28 21:53:38 +00:00
Yifan Hong
524d0f5c28
Update cleanupAppliedPayload comment.
...
ServiceSpecificException might be thrown, but it is not
actionable by the caller. Hence hide the comment.
Fixes: 151156841
Test: none
Change-Id: I07836fe2c5cc361fa81f6fc24851ad2b0721591b
(cherry picked from commit d3abb6d385 )
Merged-In: I07836fe2c5cc361fa81f6fc24851ad2b0721591b
2020-04-28 14:41:50 -07:00
Treehugger Robot
c451ad69d1
Merge "Update cleanupAppliedPayload comment." am: 14c78c2a55
...
Change-Id: I283fec0c9058d279b47f1c664005546eb8550ede
2020-04-28 21:33:02 +00:00
Treehugger Robot
14c78c2a55
Merge "Update cleanupAppliedPayload comment."
2020-04-28 21:16:24 +00:00
Yifan Hong
d3abb6d385
Update cleanupAppliedPayload comment.
...
ServiceSpecificException might be thrown, but it is not
actionable by the caller. Hence hide the comment.
Fixes: 151156841
Test: none
Change-Id: I07836fe2c5cc361fa81f6fc24851ad2b0721591b
2020-04-27 13:30:09 -07:00
Robin Lee
18556095b9
API to get hardware variant (SKU)
...
Bug: 151157621
Test: atest android.os.cts.BuildTest
Change-Id: I39b97f5ca3db25724bc50e7f0bbd177f6dc8cc02
2020-04-27 18:54:04 +00:00
Martijn Coenen
806a185ba5
Add buildExternalStorageAndroidObbDirs().
...
For use by DownloadManager.
Bug: 153504419
Test: atest CtsDownloadManagerInstaller
Change-Id: Ifd45ad779087fb5ba3d885d8e648bc24bc8656eb
2020-04-27 14:09:01 +02:00
TreeHugger Robot
460529f2e2
Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev am: 8f0b08f178 am: 7bb412a077 am: 2ebe45c967 am: afa3d17f23
...
Change-Id: Ia4a4b3ec7079f3e398f2f5027e0e43abc1a1271b
2020-04-24 22:04:12 +00:00
TreeHugger Robot
2ebe45c967
Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev am: 8f0b08f178 am: 7bb412a077
...
Change-Id: Ibed2c8ab7499e7a8bda2286397f61bb259e2acf4
2020-04-24 21:38:34 +00:00
TreeHugger Robot
8c952be985
Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev am: 8f0b08f178
...
Change-Id: I2f7f8018de645e17c2a937ce16cdcce5898ea011
2020-04-24 21:26:30 +00:00
TreeHugger Robot
8f0b08f178
Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev
2020-04-24 21:16:54 +00:00
TreeHugger Robot
33a592d35a
Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360 am: ced1535de3 am: e7500cfb90 am: 49e1a1c409
...
Change-Id: Ide4efc77c26df4f8ab98c03d9dba0d86550b8ca1
2020-04-24 18:14:43 +00:00
TreeHugger Robot
e7500cfb90
Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360 am: ced1535de3
...
Change-Id: Ic92bca92748f82ac6db7168dff6322f1376c1e4c
2020-04-24 17:52:18 +00:00
TreeHugger Robot
02b98479c2
Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360
...
Change-Id: Ic9b2c0ede17fbf8a38d49f31ab5ef19768438541
2020-04-24 17:36:53 +00:00
TreeHugger Robot
137f875360
Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev
2020-04-24 17:23:42 +00:00
Robin Lee
9e1181302a
Use waitForDeclaredService to get Lights HAL
...
We cache the reference to the HAL and use a DeathRecipient to keep track
of whether it's still good.
Adds waitForService and waitForDeclaredService to the ServiceManager
Java implementation because they were missing.
Test: atest LightsManagerTest
Test: atest LightsServiceTest
Bug: 152509747
Bug: 154631113
Bug: 154627432
Bug: 154629168
Change-Id: Ife8471f3a7e47b48bb31015ddf40f1d7fef6240f
2020-04-24 16:12:27 +02:00
Paul Chang
53fcacdcad
Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839 am: 447d74e378 am: 47ec3e7341 am: 3435c94a91
...
Change-Id: I12745ba141e320447ff60bd43f3e8a1af2f91654
2020-04-24 09:09:28 +00:00
Paul Chang
47ec3e7341
Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839 am: 447d74e378
...
Change-Id: I485592790a9957c24756f62c6643dfc722256008
2020-04-24 08:40:33 +00:00
Paul Chang
c99c9217be
Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839
...
Change-Id: I7c9afc33a5e322d6c32f9975d980364b2b595cf0
2020-04-24 08:31:11 +00:00
Paul Chang
b43fb9b839
Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev
2020-04-24 08:23:21 +00:00
Robin Lee
3124f5c44e
Migrate clients from Binder.waitForService to ServiceManager.waitForService
...
Change-Id: I749203ba09b63dd4aafd6e7df9b87b3fd7955689
Test: ApexManagerTest # (and manually flash a device)
Fix: 154629168
2020-04-23 21:05:46 +00:00
fengjinlan
6c2adc82cc
Add method in Handler to remove messages with equal object
...
Bug: 142293357
Test: atest AudioDeviceBrokerTest
Change-Id: Ibae80f5008df54f4ac8544abb4cc5863ea3db86d
Merged-In: Ibae80f5008df54f4ac8544abb4cc5863ea3db86d
Signed-off-by: fengjinlan <fengjinlan@xiaomi.com >
2020-04-23 11:20:43 -07:00
Paul Chang
6dcc047940
Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation.
...
- Calling app needs the intent from platform to show UI safely without interfering the bugreport/screenshot generation.
- Currently IncidentCompanionService can only send the intent to app of personal profile when there is work profile.
- But calling app may be from work profile.
- So change to use BugreportManager to send the intent to calling app.
BUG: 153809412
Test: Flash, press bugreport shortcut and confirm calling app of work profile can receive the intent.
Change-Id: I45b2b7ab8e017ba93c1e71ad53f4aa3607af9106
2020-04-23 18:14:57 +08:00
Yurii Zubrytskyi
c7f6869cea
Merge changes I227d8e0c,Ided4415a into rvc-dev am: f3d4495df9 am: c95191f0a1 am: 12179a8a1b am: 1f56e7a53f
...
Change-Id: I72a9424ec7a00767a804d9a456335f2e47689daf
2020-04-22 19:24:00 +00:00
Yurii Zubrytskyi
463ea96cc1
Merge changes I8942a2db,Ibcef3f40,I6e765563 into rvc-dev am: 930f1d10bc am: 5899bac92e am: b8eb14b2b7 am: 3d7c09e846
...
Change-Id: I34b1d1a54a1c172dc1d514787e55c5d1e35c4880
2020-04-22 19:22:55 +00:00
Yurii Zubrytskyi
12179a8a1b
Merge changes I227d8e0c,Ided4415a into rvc-dev am: f3d4495df9 am: c95191f0a1
...
Change-Id: Iea67b34619ce9e43b2dd43b98404bf08d410421e
2020-04-22 19:01:04 +00:00
Yurii Zubrytskyi
b8eb14b2b7
Merge changes I8942a2db,Ibcef3f40,I6e765563 into rvc-dev am: 930f1d10bc am: 5899bac92e
...
Change-Id: I76abfe6251fbd50bd0f11a187363a2df786002b1
2020-04-22 19:00:45 +00:00
Yurii Zubrytskyi
1cfb5b2239
Merge changes I227d8e0c,Ided4415a into rvc-dev am: f3d4495df9
...
Change-Id: I690256bb6ee189803ed47beb0630218eb3fb0ff7
2020-04-22 18:43:14 +00:00
Yurii Zubrytskyi
0e87d5ebc1
Merge changes I8942a2db,Ibcef3f40,I6e765563 into rvc-dev am: 930f1d10bc
...
Change-Id: I7ba1058a91b3e2140e05b69d749cc65d62511251
2020-04-22 18:42:20 +00:00
Yurii Zubrytskyi
f3d4495df9
Merge changes I227d8e0c,Ided4415a into rvc-dev
...
* changes:
[incfs] Small cleanup in staging -> final dir rename
[incfs] Use MountRegistry to import existing mounts on start
2020-04-22 18:26:15 +00:00
Yurii Zubrytskyi
930f1d10bc
Merge changes I8942a2db,Ibcef3f40,I6e765563 into rvc-dev
...
* changes:
[incfs] Cleanup storage creation and don't use temp directory
[incfs] Notify IncrementalService about system startup later
[incfs] Fix bad path::join() path preparation
2020-04-22 18:25:49 +00:00
Yurii Zubrytskyi
08a4c7f70b
[incfs] Small cleanup in staging -> final dir rename
...
Bug: 153704006
Test: atest PackageManagerShellCommandTest \
PackageManagerShellCommandIncrementalTest \
IncrementalServiceTest
Change-Id: I227d8e0cba6554bf8cf58a16598f34ccbf3d21c0
2020-04-22 00:49:05 -07:00
Yurii Zubrytskyi
360bbdc720
[incfs] Cleanup storage creation and don't use temp directory
...
Bug: 153704006
Test: atest PackageManagerShellCommandTest \
PackageManagerShellCommandIncrementalTest \
IncrementalServiceTest
Change-Id: I8942a2db766cfdb7c119112cc9b58ee0287f1767
2020-04-22 00:39:44 -07:00
Jeff Sharkey
ea636fd945
Merge changes from topic "apr19" into rvc-dev am: b67e70aa40 am: ed91f7aabf am: a650421e92 am: a719ff7c61
...
Change-Id: I315e0b8f3a4309298951fed20c5a706f4707fd6a
2020-04-21 23:33:54 +00:00
Jeff Sharkey
a650421e92
Merge changes from topic "apr19" into rvc-dev am: b67e70aa40 am: ed91f7aabf
...
Change-Id: I9713e76a78868c7ef2e57c697e141643e1681a81
2020-04-21 23:12:09 +00:00
Jeff Sharkey
eb80b15511
Merge changes from topic "apr19" into rvc-dev am: b67e70aa40
...
Change-Id: Ic5abb1e4e727a6d7869dcb7a46cee64d225c4c61
2020-04-21 23:01:53 +00:00