Artur Satayev
756d3b447a
Merge "Add @UnsupportedAppUsage annotations for greylist." am: 423c3a32d6
...
am: 7a565c45b1
Change-Id: I48075ef4296e0b55c0055f7364c5129bbd60e9ed
2019-11-11 09:33:13 -08:00
Artur Satayev
7a565c45b1
Merge "Add @UnsupportedAppUsage annotations for greylist."
...
am: 423c3a32d6
Change-Id: I5387b4742fdaf67ad3189356f2361f73969b53a8
2019-11-11 09:13:24 -08:00
Artur Satayev
3be4d59369
Merge "Add @UnsupportedAppUsage annotations for max-p." am: 8893f158c6
...
am: da4d6567c2
Change-Id: Iff80c388dec2c6f8184b739be6fb38b8ec8a1a49
2019-11-08 09:49:03 -08:00
Artur Satayev
da4d6567c2
Merge "Add @UnsupportedAppUsage annotations for max-p."
...
am: 8893f158c6
Change-Id: I2f249063c274b54a58a24cda23f1d5a60fa14540
2019-11-08 09:38:12 -08:00
Artur Satayev
fc46be7dbd
Add @UnsupportedAppUsage annotations for greylist.
...
go/cleanup-greylist-txt
These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.
Bug: 137350495
Test: m
Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-11-08 16:17:13 +00:00
Artur Satayev
ee9c6e7571
Add @UnsupportedAppUsage annotations for max-p.
...
See go/UnsupportedAppUsage for more details.
These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.
Bug: 137350495
Test: m
Change-Id: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1
Merged-In: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1
2019-11-08 16:17:13 +00:00
satayev
698c84738e
Merge "Plumb @TestApi enforcement policy to runtime." am: eb6be3bd48
...
am: d24444e5ee
Change-Id: If7541ac35b6535a6d5535f777e840aa3da90fa69
2019-11-06 07:13:47 -08:00
satayev
d24444e5ee
Merge "Plumb @TestApi enforcement policy to runtime."
...
am: eb6be3bd48
Change-Id: If061e7da58ffc566cd054e90ad26bdfa0d8f6e30
2019-11-06 07:06:56 -08:00
Artur Satayev
19305b4f0e
Plumb @TestApi enforcement policy to runtime.
...
By default access to test APIs would be allowed for instrumented processes only.
Bug: 133832325
Test: manual
Change-Id: Iaaa54a3fe04624a7b5b9f4304d39fc37580568c8
2019-11-05 18:08:44 +00:00
TreeHugger Robot
abc015499a
Merge "DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master" into stage-aosp-master
2019-10-31 18:38:40 +00:00
Andrei-Valentin Onea
97ad6f5c48
Merge "Add apis for listing all compat changes" am: 2c3b1a1010
...
am: 4b8947bd56
Change-Id: I924c55f20755d33c6a748326bf07083592fd77e6
2019-10-31 06:52:54 -07:00
Andrei Onea
18041f787d
Add apis for listing all compat changes
...
These apis are required for adding UI in the Developer options for
modifying compatibility change overrides.
Bug: 138280620
Test: atest CompatConfigTest
Change-Id: If55aa68f9bdd6bed0765324e972de3683bacb553
2019-10-31 11:54:13 +00:00
Xin Li
6f48900f50
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
...
Bug: 142003500
Change-Id: If5056a73ede668b0048ca107b686413695e5b3b6
2019-10-30 14:33:01 -07:00
Xin Li
b2198fa670
Merge "Merge Coral/Flame into AOSP master"
2019-10-27 04:44:29 +00:00
Mathieu Chartier
fca111db2f
Merge "Avoid preloading classes for boot image profiling" am: cfee28589b am: 84f358f9bf
...
am: ac60bbb740
Change-Id: I48fa3fbc8b9f2859a084bf36d06117a1ea8970cf
2019-10-25 13:20:46 -07:00
Mathieu Chartier
ac60bbb740
Merge "Avoid preloading classes for boot image profiling" am: cfee28589b
...
am: 84f358f9bf
Change-Id: Iea9cf99e07272a4e5a6ae132825591d3508a5c04
2019-10-25 13:08:35 -07:00
Mathieu Chartier
84f358f9bf
Merge "Avoid preloading classes for boot image profiling"
...
am: cfee28589b
Change-Id: I9c7be76f96546d50a6e049aeab60ca71ee215500
2019-10-25 12:58:29 -07:00
Mathieu Chartier
cfee28589b
Merge "Avoid preloading classes for boot image profiling"
2019-10-25 19:35:00 +00:00
Mathieu Chartier
d3c72db3bb
Avoid preloading classes for boot image profiling
...
Since the clinits may execute methods, we should avoid preloading
classes to avoid executing methods that may not be required. These
samples could cause inaccuracy in the boot image profile.
Test: manual: adb logcat | grep preloadClasses
Bug: 139883463
Change-Id: I5b4568a477724606105196cba010109f80eecec1
2019-10-24 08:04:31 -07:00
Matt Pietal
a17cb6e167
Merge "Resolver: Modernize layout" into qt-qpr1-dev
...
am: 15b780d108
Change-Id: I5aea7ba6f4f950d7857cc99d38a44ad329fb9088
2019-10-24 06:18:51 -07:00
Anna Trostanetski
96d504dc03
Merge "Add userId to the package name API." am: dcc401b7b7 am: 443d3d0f11
...
am: ba20c10d2c
Change-Id: I6584c26c2c9df0a778d6d34fd122d096781cca38
2019-10-24 06:12:32 -07:00
Anna Trostanetski
ba20c10d2c
Merge "Add userId to the package name API." am: dcc401b7b7
...
am: 443d3d0f11
Change-Id: I034b22fff0c4510d604cee8c5a353994b3c097e3
2019-10-24 06:00:51 -07:00
Anna Trostanetski
443d3d0f11
Merge "Add userId to the package name API."
...
am: dcc401b7b7
Change-Id: Ib1b52a3f1082ce6f6d6087080e3e1bc5677f5026
2019-10-24 05:53:50 -07:00
atrost
5076854633
Add userId to the package name API.
...
The service would query package manager with the provided userId, and
will return true if the package is not visible.
Test: locally, b/143129258
Change-Id: Iab8ddaa76358d5fad63e10d7c4c3f92e2a0f51a2
Merged-In: I92ea650b49743c388bff9943a7ec620e3d61a5d6
2019-10-22 21:10:53 +01:00
Anna Trostanetski
5542cc7aa2
Merge "Add a unit test for ChangeReporter." am: 7b5773765f am: d8891ccab7
...
am: ba64fed16b
Change-Id: Icf7ab12fdcb510b20c9254b4e184540757b5f063
2019-10-21 05:32:07 -07:00
Anna Trostanetski
ba64fed16b
Merge "Add a unit test for ChangeReporter." am: 7b5773765f
...
am: d8891ccab7
Change-Id: I1018b49569ca40a7a4290edff55f584508c7b241
2019-10-21 05:26:05 -07:00
Anna Trostanetski
d8891ccab7
Merge "Add a unit test for ChangeReporter."
...
am: 7b5773765f
Change-Id: I4af55d71ed16a1e4702ed02a5751105f33327cbb
2019-10-21 05:20:09 -07:00
atrost
46333daeb1
Add a unit test for ChangeReporter.
...
Separate the decision on whether to log to two separate ones - logcat
and statsLog to allow separate policies.
Also add startLogAll and endLogAll in preparation for an adb command
that will enable/disable logging to logcat every time.
Test: atest ChangeReporterTest
Bug: 138374585
Bug: 140910281
Change-Id: Ie49368b838a19845f51a2670035f611d3e4b9a1b
2019-10-18 15:33:41 +01:00
Matt Pietal
23a02f791d
Resolver: Modernize layout
...
Visually align with the work done for sharesheet
Test: visual inspection
Bug: 139485420
Change-Id: Ie2609eefcd12552bba6c4d749ca1669c8232633c
2019-10-11 18:14:58 +00:00
Andrei-Valentin Onea
fa9179a361
Merge "Add extra compat change overriding methods." am: b389ffe2d9 am: 799a6aa021
...
am: 283ba38e4d
Change-Id: I98c2335df98493a6f13c2b2eec68221aaab86785
2019-10-11 06:39:35 -07:00
Andrei-Valentin Onea
283ba38e4d
Merge "Add extra compat change overriding methods." am: b389ffe2d9
...
am: 799a6aa021
Change-Id: I69ad99a90501707d8c2f7f223ecb2bd76ca0e530
2019-10-11 06:29:22 -07:00
Andrei-Valentin Onea
799a6aa021
Merge "Add extra compat change overriding methods."
...
am: b389ffe2d9
Change-Id: I77f36a1d9be2d486ca126472f26b5a35739a88cb
2019-10-11 06:22:21 -07:00
Andrei-Valentin Onea
b389ffe2d9
Merge "Add extra compat change overriding methods."
2019-10-11 13:04:08 +00:00
Anna Trostanetski
ca6ea8ffdd
Merge "ADD owners to compat framework code." am: 2bbb78b5c0 am: 9f074ee036
...
am: fc581db1d6
Change-Id: I5f4dd5ff7fdfc4c3c54c6dffd0aff4d7bddeafda
2019-10-10 12:11:11 -07:00
Anna Trostanetski
fc581db1d6
Merge "ADD owners to compat framework code." am: 2bbb78b5c0
...
am: 9f074ee036
Change-Id: I60d021055eb5df79c71f74c546994670c8cb9b5b
2019-10-10 12:04:06 -07:00
Anna Trostanetski
9f074ee036
Merge "ADD owners to compat framework code."
...
am: 2bbb78b5c0
Change-Id: I5f89a8141ec57c153fb798cf368f02ecbe2dbbdf
2019-10-10 11:57:04 -07:00
Anna Trostanetski
2bbb78b5c0
Merge "ADD owners to compat framework code."
2019-10-10 18:42:25 +00:00
Anna Trostanetski
3503054191
Merge "Reset app reporting on app launch." am: ccaea274c0 am: 3be71b9df6
...
am: 7cf4b95c22
Change-Id: I44853dba5d86e799a7b40fdf14d70f8f8b96aaaf
2019-10-10 09:55:27 -07:00
Anna Trostanetski
7cf4b95c22
Merge "Reset app reporting on app launch." am: ccaea274c0
...
am: 3be71b9df6
Change-Id: I6b7126c8bbbfc010f5b0834b8bc3bd4adb8419d8
2019-10-10 09:49:08 -07:00
Anna Trostanetski
3be71b9df6
Merge "Reset app reporting on app launch."
...
am: ccaea274c0
Change-Id: I2696f954666aecf22ea8ea77bf5d5ddfaac1461a
2019-10-10 09:42:26 -07:00
Andrei Onea
ea997f222c
Add extra compat change overriding methods.
...
This CL adds two new methods to the IPlatformCompat binder interface for
toggling multiple compat changes at once, and for clearing all the
overrides for a given package name.
Bug: 140367850
Test: http://aosp/1113771
Change-Id: I02d08d76e42da308856408dadc2c8c73c7ff20d1
2019-10-10 17:09:02 +01:00
atrost
dd7c8025cd
ADD owners to compat framework code.
...
Test: none
Change-Id: I4f395bbceef1face1e9bb85817ce4c78563d06e8
2019-10-10 14:32:57 +01:00
atrost
893f84d353
Reset app reporting on app launch.
...
Store the reported changes by app and clear the app info on app launch.
This means that changes reported to the system server would be logged
once per app launch instead of once per device boot.
Bug: 138374585
Test: flash device, run test app
Change-Id: I24f5dc125488c6af3164b6503f236bc3a24e6292
Merged-In: I24f5dc125488c6af3164b6503f236bc3a24e6292
2019-10-10 14:09:30 +01:00
Tri Vo
4c3fb4e648
Merge "KernelWakelockReader: reuse buffer when parsing" am: 89e09c3918 am: cce09fd862
...
am: 18f8293574
Change-Id: I3cefb52654d9482c3fcfb059a5de3ddb493b88d6
2019-10-09 16:24:46 -07:00
Tri Vo
18f8293574
Merge "KernelWakelockReader: reuse buffer when parsing" am: 89e09c3918
...
am: cce09fd862
Change-Id: I1fb06848129620e985084b1efe375232dc6b0d2e
2019-10-09 16:17:37 -07:00
Tri Vo
cce09fd862
Merge "KernelWakelockReader: reuse buffer when parsing"
...
am: 89e09c3918
Change-Id: I91a9577d618c64239dd7755d710a98ce085c05ba
2019-10-09 16:10:44 -07:00
Tri Vo
b9ad9a68fb
KernelWakelockReader: reuse buffer when parsing
...
Eliminates 32 kb buffer allocation every time readKernelWakelockStats()
is called.
Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: "dumpsys batterystats --checkin" contains kernel wake lock
information.
Change-Id: Ifc7254ab3a5272b056cbc75233aa2dfa8219ea84
2019-10-09 12:40:01 -07:00
Tobias Thierer
b12401b24d
Merge "Construct default MimeMap lazily rather than eagerly." am: 7dbc7ed543 am: 59d2c429bb
...
am: bfd4e55a48
Change-Id: I8110cd6d464b5d0b79498cb68cf1267402b139d8
2019-10-04 10:15:24 -07:00
Tobias Thierer
bfd4e55a48
Merge "Construct default MimeMap lazily rather than eagerly." am: 7dbc7ed543
...
am: 59d2c429bb
Change-Id: I023b1d784814499319c62db7e7647ce14e7c0fba
2019-10-04 10:00:29 -07:00
Tobias Thierer
59d2c429bb
Merge "Construct default MimeMap lazily rather than eagerly."
...
am: 7dbc7ed543
Change-Id: I60c43606e536872455e8220745bf9094b0d9f56c
2019-10-04 09:47:38 -07:00