Christopher Ferris
86bd25d5ed
Avoid using usap when wrap property set.
...
Bug: 133515802
Test: Verified that malloc debug can be enabled on a USAP enabled device.
Change-Id: I5f25030ce8e667d175712796c0950f38baa2532d
2019-05-31 10:29:00 -07:00
TreeHugger Robot
e8a6b45b0b
Merge "Adding version code R for development"
2019-05-30 21:57:17 +00:00
Michael Groover
d9336375f0
Merge "Update Build#SERIAL docs to reflect device ID restrictions" into qt-dev am: daf8086aa0 am: b8dc8384d6
...
am: 2623ff51bf
Change-Id: I652064b31f2f7de7b9e2bb60e4aa502d489908a1
2019-05-29 21:36:34 -07:00
Michael Groover
b8dc8384d6
Merge "Update Build#SERIAL docs to reflect device ID restrictions" into qt-dev
...
am: daf8086aa0
Change-Id: I8bd70254ac6b461062761665db9cef30f97636e1
2019-05-29 21:26:33 -07:00
Michael Groover
daf8086aa0
Merge "Update Build#SERIAL docs to reflect device ID restrictions" into qt-dev
2019-05-30 04:11:55 +00:00
Suprabh Shukla
1d081c503c
Adding version code R for development
...
Test: Builds
Bug: 129975435
Change-Id: I26ef76266b2f52746ca08a45f5013c580cecd4fb
2019-05-29 15:50:03 -07:00
Michael Groover
1279ff9dfb
Update Build#SERIAL docs to reflect device ID restrictions
...
Bug: 133724689
Test: Build
Change-Id: I1188a1b0201730a649e3fa479989ba9d1ec3a143
2019-05-29 14:52:22 -07:00
Cody Northrop
b81b5a345c
Merge changes from topic "no_layers_profileable" into qt-dev am: 3893e5d9ea am: fc16afca20
...
am: 72f03fe4bf
Change-Id: I6a0e3e7a9c740f24436da1529a68694e57065736
2019-05-29 10:57:06 -07:00
Cody Northrop
4368822d7d
Merge changes from topic "no_layers_profileable" into qt-dev
...
am: 3893e5d9ea
Change-Id: I332a1bb9ec353922c8be4c75be92498fd8438a90
2019-05-29 10:28:06 -07:00
Cody Northrop
72f03fe4bf
Merge changes from topic "no_layers_profileable" into qt-dev am: 3893e5d9ea
...
am: fc16afca20
Change-Id: I6ae1c4b73e9eea6400e0aceb01fdd37a0f7ff7ba
2019-05-29 10:28:02 -07:00
Cody Northrop
3893e5d9ea
Merge changes from topic "no_layers_profileable" into qt-dev
...
* changes:
GraphicsEnvironment: No debug ANGLE packages for profileable apps
Revert "GraphicsEnvironment: Allow profileable apps to load layers"
2019-05-29 17:10:56 +00:00
PO HUNG CHEN
e743aeb922
Merge "Fix StrictModeTest#testNonSdkApiUsage" into qt-dev
...
am: 4f179bb174
Change-Id: Ic8177c57829e8f28b881c3347b1a4b93084c7fe4
2019-05-28 19:16:26 -07:00
Cody Northrop
32adba4537
GraphicsEnvironment: No debug ANGLE packages for profileable apps
...
An app opting in to "profileable" does not mean we should
allow it to load ANGLE libraries from the debug package.
Bug: 128637647
Test: atest CtsGpuToolsHostTestCases
Change-Id: I5c6ea33a1e1624e006bc4865bc0a06ea92d9d806
2019-05-28 12:59:46 -06:00
Cody Northrop
c558c0c15a
Revert "GraphicsEnvironment: Allow profileable apps to load layers"
...
This reverts commit 3832aa9906 .
Loading layers for apps that have opted for "profileable" breaks
the Android security model. They have only consented to exposing
profiling information, not exposing data under its control. Layers
have access to everything in the API calls.
Bug: 128637647
Test: atest CtsGpuToolsHostTestCases
Change-Id: I5aed181c3cec616c3ce98a1a30287b30f190ba9b
2019-05-28 12:05:56 -06:00
Howard Chen
40abbb0fe9
Fix StrictModeTest#testNonSdkApiUsage
...
Test: atest android.os.cts.StrictModeTest#testNonSdkApiUsage
Bug: 131923046
Bug: 129892635
Merged-In: I6759339000eb239112c0c83ce1131f34164ee0cf
Change-Id: I6759339000eb239112c0c83ce1131f34164ee0cf
2019-05-28 16:25:20 +01:00
Mathew Inwood
8b1ed3a51c
Merge "Fix StrictModeTest#testNonSdkApiUsage"
2019-05-28 08:30:22 +00:00
Max Dashouk
bc88c46263
Merge "Fixes the bug that can occur when StatsCompanionService calls StatsService to update UID data and overflows kernel transfer buffer." into qt-dev am: 585422a5d2 am: 7e8e915b2b
...
am: 4f5cabfaa9
Change-Id: I9ec865381013df76099719130186209b4c8015e1
2019-05-24 17:47:16 -07:00
Tej Singh
019e7e8dfd
Merge "Statsd: Add watchdog rollback to experiment ids" into qt-dev am: 42fb4bb1e9 am: ea2bdcd36f
...
am: 2fe1e333d5
Change-Id: I405037efc0af8e5bd0094f02036824d32d4ae1a3
2019-05-24 17:13:36 -07:00
Michael Groover
6a35e95e07
Merge "Document device ID access restriction target SDK behavior" into qt-dev am: f087f06ed9 am: 7b8af95872
...
am: 0cd054da96
Change-Id: Idc3d50da9290c6062e36136f7d373112d9b468e1
2019-05-24 17:07:55 -07:00
Howard Chen
a7e62a828e
Fix StrictModeTest#testNonSdkApiUsage
...
Test: atest android.os.cts.StrictModeTest#testNonSdkApiUsage
Bug: 131923046
Bug: 129892635
Change-Id: I6759339000eb239112c0c83ce1131f34164ee0cf
2019-05-24 23:19:35 +08:00
Max Dashouk
4f5cabfaa9
Merge "Fixes the bug that can occur when StatsCompanionService calls StatsService to update UID data and overflows kernel transfer buffer." into qt-dev am: 585422a5d2
...
am: 7e8e915b2b
Change-Id: I8479394eee16f468101c801430b8f3472a3ce280
2019-05-23 20:53:57 -07:00
Max Dashouk
41545aa38f
Merge "Fixes the bug that can occur when StatsCompanionService calls StatsService to update UID data and overflows kernel transfer buffer." into qt-dev
...
am: 585422a5d2
Change-Id: I72926b7aa08c7723ab7f6087becf8185cfabbe01
2019-05-23 20:05:15 -07:00
TreeHugger Robot
585422a5d2
Merge "Fixes the bug that can occur when StatsCompanionService calls StatsService to update UID data and overflows kernel transfer buffer." into qt-dev
2019-05-24 00:26:19 +00:00
Michael Groover
0cd054da96
Merge "Document device ID access restriction target SDK behavior" into qt-dev am: f087f06ed9
...
am: 7b8af95872
Change-Id: Iabe3013554cd0794bd634f0e61008e080629f9bd
2019-05-23 14:03:03 -07:00
Max Dashouk
11e0d40bbe
Fixes the bug that can occur when StatsCompanionService calls
...
StatsService to update UID data and overflows kernel transfer buffer.
In this case, the IPC call silently fails. The issue was discovered in Android Automotive Embedded use case that employs multiuser setup. This causes more uid data being sent via one-way StatsCompanionService::informAllUidData call than usual and can trigger the issue. As the result, uid map on statsd side is empty and many metrics are not captured.
Bug: b/132444397
Fixes: b/132444397
Test: Did a clean build of master branch and flashed the device. adb
shell cmd stats print-uid-map returned without any result. Repeated the
steps after implementing the fix, print-uid-map returns the results now.
Change-Id: I1451c13b36696449c145c51618c68d10e29a596a
2019-05-23 20:53:58 +00:00
Tej Singh
ea2bdcd36f
Merge "Statsd: Add watchdog rollback to experiment ids" into qt-dev
...
am: 42fb4bb1e9
Change-Id: Ia47f663b1dcbab9c4f9f8ce2b49cde6545d46ba1
2019-05-23 12:47:46 -07:00
Michael Groover
1eb50d4f78
Merge "Document device ID access restriction target SDK behavior" into qt-dev
...
am: f087f06ed9
Change-Id: I047d6f523a59ee637b2b795590c2ecd8c4b31509
2019-05-23 12:31:16 -07:00
TreeHugger Robot
42fb4bb1e9
Merge "Statsd: Add watchdog rollback to experiment ids" into qt-dev
2019-05-23 19:25:43 +00:00
TreeHugger Robot
f087f06ed9
Merge "Document device ID access restriction target SDK behavior" into qt-dev
2019-05-23 18:35:44 +00:00
Sudheer Shanka
d8997bbe4f
Merge "Merge "Notify StorageManagerService when storage related app ops change." into qt-dev am: 82f98334d6 am: aab16358c5" into qt-r1-dev-plus-aosp
...
am: b8dccc450f
Change-Id: I3cdd05e35e4c3d372901cd297ea6bfb5e022fbd2
2019-05-21 15:52:33 -07:00
Sudheer Shanka
1cd483b9be
Merge "Notify StorageManagerService when storage related app ops change." into qt-dev am: 82f98334d6
...
am: aab16358c5
Change-Id: Iadd892fa0b5e7cdf73aed1edbfebe294ceab6eb1
2019-05-21 11:03:56 -07:00
Michael Wachenschwanz
6d26cf162d
Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev am: d2111df37b am: 36a573e14d
...
am: 3b5a31d13f
Change-Id: Ic1773b058003291bff6e3fd1b47b998838d6715d
2019-05-21 10:39:54 -07:00
Sudheer Shanka
a9a78e743f
Merge "Notify StorageManagerService when storage related app ops change." into qt-dev
...
am: 82f98334d6
Change-Id: I12363da54d737240c58d046b751b2d8157a68083
2019-05-21 10:22:50 -07:00
Michael Wachenschwanz
3b5a31d13f
Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev am: d2111df37b
...
am: 36a573e14d
Change-Id: I5e08458d2f66a726351f4481e7759dfd6971eb5f
2019-05-21 09:29:39 -07:00
Michael Wachenschwanz
f9634408e1
Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev
...
am: d2111df37b
Change-Id: Ic6d3c12b503068a3d4d98e210c16ba56b5b1876f
2019-05-21 09:12:41 -07:00
Sudheer Shanka
82f98334d6
Merge "Notify StorageManagerService when storage related app ops change." into qt-dev
2019-05-21 05:07:51 +00:00
Tej Singh
73f8e9b086
Statsd: Add watchdog rollback to experiment ids
...
Stores experiment ids to disk for watchdog rollback initiate/success
events as discussed.
Test: gts in topic
Bug: 131768455
Change-Id: I32768fe5c5c21c43811e25d8f87faae0c8d82c1f
2019-05-20 22:52:40 +00:00
Michael Wachenschwanz
d2111df37b
Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev
2019-05-20 22:23:12 +00:00
Sudheer Shanka
b1613982d0
Notify StorageManagerService when storage related app ops change.
...
StorageManagerService needs to trigger update of storage mountpoints
when an app gets storage access, so update AppOpsService to notify
StorageManagerService synchronously when storage related app ops change.
Also, when an app gets REQUEST_INSTALL_PACKAGES appop denied, kill the
app.
Bug: 132466536
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Change-Id: I130dde1bcffea6c96e5d8c173055737850af6151
2019-05-20 10:57:44 -07:00
Nicolas Geoffray
b112545d64
Merge "Workaround for USAP support in jitzygote." into qt-dev am: 94b2981853 am: 660fa540d4
...
am: 7adeb8ccf6
Change-Id: I2ff574caa3baa0a4fb8524d80a90b45530f1bdf9
2019-05-17 16:17:40 -07:00
Joe Onorato
09df4d8b37
Merge "Add new IncidentManager.requestAuthorization method that takes an executor." into qt-dev am: 61935fd871 am: 410c053172
...
am: 65901501fb
Change-Id: I038f3dc755f3ad7276581c78264023d4b0489754
2019-05-17 10:03:40 -07:00
Nicolas Geoffray
7adeb8ccf6
Merge "Workaround for USAP support in jitzygote." into qt-dev am: 94b2981853
...
am: 660fa540d4
Change-Id: I6560617a737e262864215e9165bc3c05d35bceb0
2019-05-17 06:02:40 -07:00
Nicolas Geoffray
72d176b3ba
Merge "Workaround for USAP support in jitzygote." into qt-dev
...
am: 94b2981853
Change-Id: Icaab0d441867ee4d28a69aa8b52416a2b8bf1f3e
2019-05-17 05:55:44 -07:00
Nicolas Geoffray
94b2981853
Merge "Workaround for USAP support in jitzygote." into qt-dev
2019-05-17 12:31:12 +00:00
Nicolas Geoffray
e66a2bf226
Workaround for USAP support in jitzygote.
...
USAP improve app startup by ~5ms, so enable it for the
jitzygote experiment.
Bug: 119800099
Test: boots and usap processes live
Change-Id: I918d81f56cc7e9fcc8a053feadd7878108e6d590
2019-05-17 08:42:28 +00:00
Joe Onorato
65901501fb
Merge "Add new IncidentManager.requestAuthorization method that takes an executor." into qt-dev am: 61935fd871
...
am: 410c053172
Change-Id: Icf39095cd8d49c963f4f6a48d6f19bbd06b32253
2019-05-16 17:20:05 -07:00
Joe Onorato
af0b1e11b3
Merge "Add new IncidentManager.requestAuthorization method that takes an executor." into qt-dev
...
am: 61935fd871
Change-Id: Ia8ca6c3860fcf93664110b527ed406df55e5ae9b
2019-05-16 15:29:36 -07:00
Joe Onorato
fffa4098a7
Add new IncidentManager.requestAuthorization method that takes an executor.
...
This is @hide for Q now that we're past API freeze, and will be
@SystemApi in master.
Bug: 126700920
Bug: 126701153
Bug: 130351719
Test: bit GtsIncidentConfirmationTestCases
Test: bit GtsIncidentManagerTestCases
Change-Id: Iac6a058017a86c1927502c529e5a7f3881eb56a7
2019-05-16 11:51:54 -07:00
Ian Pedowitz
b60dac3de7
Merge "Revert "Revert "Android Q is API 29""" into qt-dev am: a326dfb1e5
...
am: 203ac63ea6
Change-Id: Ie8de73de0fae8fe9cd044b122f8733f283662f3c
2019-05-15 23:43:17 -07:00
Michael Wachenschwanz
06041db074
Clear the Parcel before writing an exception during a transaction
...
This prevents any object data from being accidentally overwritten by the
exception, which could cause unexpected malformed objects to be sent
across the transaction.
Test: atest CtsOsTestCases:ParcelTest#testExceptionOverwritesObject
Fixes: 34175893
Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013
2019-05-15 23:10:02 -07:00