TreeHugger Robot
18517e9551
Merge changes from topic "native_hint" into sc-dev am: ea52c87596 am: 9533a3db22
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15326475
Change-Id: If8502e41cbc2cf88b6ed9634741e57f066ab3652
2021-07-22 21:51:12 +00:00
Bo Liu
0b2ad9f70d
Implement java PerformanceHintManager on top of native
...
Note some exceptions became silence errors in this conversion.
Test: None
Bug: 194204196
Change-Id: Ia3cc7f2396f2e307a23b40b3f104a2fa90352196
2021-07-22 11:33:13 -04:00
Lee Shombert
1171265b9d
Merge changes I68868b7f,I092d1385
...
* changes:
Do not cache wildcard users (UserManager)
Do not cache wildcard users (PackageManager)
2021-07-21 23:07:00 +00:00
TreeHugger Robot
0829767999
Merge "DropBoxManager: Fix doc build error" into sc-dev am: 019189c35a am: fd0f972819
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15341836
Change-Id: I965e36ca78d4cbc3c1b971012f2e3dad7a771b3f
2021-07-21 01:55:28 +00:00
Shuzhen Wang
a00ce4e75f
DropBoxManager: Fix doc build error
...
Test: make doc-comment-check-docs
Bug: 194230402
Change-Id: I38da2bbfbe7ed0a660274ec4d07e2b176a2a7542
2021-07-20 16:14:15 -07:00
TreeHugger Robot
7256f792f6
Merge "Revert "Add systrace tag for system property"" into sc-dev-plus-aosp am: bd811a080f am: 7a5beb3219
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15298117
Change-Id: Id1dc82002506babb33255d71e06967f1876315c9
2021-07-20 18:15:59 +00:00
TreeHugger Robot
7a5beb3219
Merge "Revert "Add systrace tag for system property"" into sc-dev-plus-aosp am: bd811a080f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15298117
Change-Id: I084ca8e5ac09465ca7972846ed6c9bda83f090c7
2021-07-20 17:57:16 +00:00
Lee Shombert
f7067b2477
Do not cache wildcard users (UserManager)
...
Bug: 186778818
PropertyInvalidatedCache queries that contain wildcard user IDs are no
longer cached. Some simple multi-user tests show that no current
caches use wildcard user IDs, so the change has no effect on
performance. The bypass() mechanism is used to avoid the cache when
necessary.
Test: atest
* FrameworksServicesTests:UserManagerServiceCreateProfileTest
Change-Id: I68868b7f4142417d98b101504cb38c829b220e47
2021-07-20 10:53:37 -07:00
TreeHugger Robot
bd811a080f
Merge "Revert "Add systrace tag for system property"" into sc-dev-plus-aosp
2021-07-20 16:30:20 +00:00
Colin Cross
e2907e5906
Merge "Rename VERSION_CODES.T to VERSION_CODES.TIRAMISU" into sc-dev-plus-aosp am: 3a873acfec am: 98f6af0e19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15304989
Change-Id: Id39862a791e67c9c47c33b9aca5adefd08d428a5
2021-07-16 19:30:25 +00:00
Colin Cross
98f6af0e19
Merge "Rename VERSION_CODES.T to VERSION_CODES.TIRAMISU" into sc-dev-plus-aosp am: 3a873acfec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15304989
Change-Id: I71bd32519b13efa53456ef1839f5ccb03dc25229
2021-07-16 19:12:15 +00:00
Colin Cross
3a873acfec
Merge "Rename VERSION_CODES.T to VERSION_CODES.TIRAMISU" into sc-dev-plus-aosp
2021-07-16 19:02:01 +00:00
Colin Cross
936833de0e
Rename VERSION_CODES.T to VERSION_CODES.TIRAMISU
...
Bug: 186121492
Test: m checkbuild
Change-Id: Ic3e542206ae75626fa361333f00de2937ef18a5f
2021-07-15 11:54:37 -07:00
Kalesh Singh
05d0f24586
Merge "Add API to get GPU private memory" into sc-dev am: 4b939ccd2f am: ff0875c231
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15266039
Change-Id: I55950548223f47cddf1d8e23f28c6c54b4078b5e
2021-07-15 17:56:56 +00:00
Kalesh Singh
3d54f68455
Merge "Add API to get GPU private memory" into sc-dev am: 4b939ccd2f am: 7a58d28e3e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15266039
Change-Id: Id3a5194606c0cce5f36376cd3eed27efba0eb578
2021-07-15 17:52:49 +00:00
Kalesh Singh
7a58d28e3e
Merge "Add API to get GPU private memory" into sc-dev am: 4b939ccd2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15266039
Change-Id: I3b3c102a27dd751809bf47ce8d69c339b3456199
2021-07-15 17:38:12 +00:00
Colin Cross
92380ef500
Merge "Add android.os.Build.VERSION_CODES.T" into sc-dev-plus-aosp am: 3e1311a4b4 am: adb28d6357
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15286710
Change-Id: I4c55061aacf62269c985eef6623545986ffd1461
2021-07-15 17:26:01 +00:00
Kalesh Singh
4b939ccd2f
Merge "Add API to get GPU private memory" into sc-dev
2021-07-15 17:21:49 +00:00
Colin Cross
adb28d6357
Merge "Add android.os.Build.VERSION_CODES.T" into sc-dev-plus-aosp am: 3e1311a4b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15286710
Change-Id: Ie92f05f3b752f18f9bf17a2d80e755292635128b
2021-07-15 17:10:41 +00:00
Colin Cross
3e1311a4b4
Merge "Add android.os.Build.VERSION_CODES.T" into sc-dev-plus-aosp
2021-07-15 16:40:36 +00:00
TreeHugger Robot
862051d910
Merge "Added Ble scan APIs to BatteryStatsManager" into sc-dev-plus-aosp am: 1c32cef21f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15233610
Change-Id: I416da2e03e823c671967d12c349b7d7329c103b9
2021-07-15 16:33:17 +00:00
TreeHugger Robot
1c32cef21f
Merge "Added Ble scan APIs to BatteryStatsManager" into sc-dev-plus-aosp
2021-07-15 16:19:08 +00:00
Bowgo Tsai
137d78bb67
Revert "Add systrace tag for system property"
...
Revert "Add systrace tag for system property"
Revert "Adding system property tracing"
Revert submission 1403568-sysprop_trace
Reason for revert: makes property get/set non-reentrant
Reverted Changes:
I6f85f3f52:Add systrace tag for system property
Id2b93acb2:Adding system property tracing
Id78992d23:Add systrace tag for system property
I1ba9fc7bd:Add systrace tag for system property
Bug: 193050299
Change-Id: Iaf522b403e51abcf1d49804f35a184b4aa0d3209
Test: build and boot a device
2021-07-15 22:07:06 +08:00
Tim Van Patten
e301bc3d78
Merge "Enable ANGLE as a Game Dashboard Intervention"
2021-07-15 04:00:01 +00:00
Kalesh Singh
c6deb0fd9d
Add API to get GPU private memory
...
Remove getGpuDmabufUsageKb since the kernel no longer
supports the sysfs nodes that this depends on.
Add getGpuPrivateMemoryKb which uses the memtrack hal
to report the system-wide GPU private memory.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: dumpsys meminfo
Change-Id: Ib90505ec184339d5acbcd42c67dad3ad65dbd933
2021-07-14 21:16:18 +00:00
Tim Van Patten
acf3851b8f
Enable ANGLE as a Game Dashboard Intervention
...
Enable ANGLE as a Game Dashboard intervention via Phenotype.
Bug: b/188475576
Test: GameManagerServiceTests
Change-Id: I91894a76b8dcf7a97244cff679a501001734f671
2021-07-14 13:24:02 -06:00
Colin Cross
1c3c21ec6e
Add android.os.Build.VERSION_CODES.T
...
Set to CUR_DEVELOPMENT.
Bug: 186121492
Test: m checkbuild
Change-Id: I2c92a1bc4b8bb2414e55bbd4f5cd0ac86e55e91a
2021-07-14 11:59:02 -07:00
Jeff Sharkey
7351d81a06
Merge "Consistent version documentation." into sc-dev am: af2d4c8c8f am: f0f641d21d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275398
Change-Id: Ic897809076ce278e2e7194a17308ad9394121114
2021-07-14 15:45:23 +00:00
Jeff Sharkey
d30833af94
Merge "Consistent version documentation." into sc-dev am: af2d4c8c8f am: 60374908ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275398
Change-Id: I6ee74ee95c510229de34ea5acfc1482f4780c4b9
2021-07-14 15:44:32 +00:00
Jeff Sharkey
b7fec03713
Merge "Consistent version documentation." into sc-dev am: af2d4c8c8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275398
Change-Id: I4df46a6b39dd98160f5db9eb6a6f2388ccc5f523
2021-07-14 15:33:29 +00:00
Jeff Sharkey
f0f641d21d
Merge "Consistent version documentation." into sc-dev am: af2d4c8c8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275398
Change-Id: Ia258cc5ac7a7bd4887422eb0a4d57f9c22fa5ae1
2021-07-14 15:33:27 +00:00
Jeff Sharkey
866af3b915
Consistent version documentation.
...
Aligns description of all VERSION_CODES based on details at:
https://en.wikipedia.org/wiki/Android_version_history
Bug: 193421818
Change-Id: I0ccb2480b5255b0e3a61a82d6be75f746166e536
2021-07-13 13:17:18 -06:00
TreeHugger Robot
2f446c57fb
Merge "Added Ble scan APIs to BatteryStatsManager"
2021-07-08 18:43:28 +00:00
Etienne Ruffieux
6222c48ad5
Added Ble scan APIs to BatteryStatsManager
...
Added missing service functions to manager to prevent directly
calling BatteryStatsService from Bluetooth package. Updated
system-current.txt accordingly.
Tag: #feature
Bug: 190442794
Test: Manual
Merged-in: Ie6c6d3688d2da45956d57ea1dbc2cc4430f27783
Change-Id: Ie6c6d3688d2da45956d57ea1dbc2cc4430f27783
2021-07-08 09:20:01 +00:00
Etienne Ruffieux
f771dac97b
Added Ble scan APIs to BatteryStatsManager
...
Added missing service functions to manager to prevent directly
calling BatteryStatsService from Bluetooth package. Updated
system-current.txt accordingly.
Tag: #feature
Bug: 190442794
Test: Manual
Change-Id: Ie6c6d3688d2da45956d57ea1dbc2cc4430f27783
2021-07-08 08:56:34 +00:00
Martijn Coenen
d4f9da0795
Throw BinderProxyMapSizeException when hitting limits.
...
To make it easier to cluster these errors.
Test: N/A
Change-Id: Id967c1d537ca655df2363bf38a798d632bf1b160
2021-07-06 10:15:32 +02:00
Dmitri Plotnikov
593a4e7a21
Merge "Address race condition in procstate time tracking" into sc-dev am: b1f548e3e4 am: f99c289be5 am: b40a34e68e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15177890
Change-Id: I14aee56d18b15736e121c202c45158fb5006062e
2021-07-03 00:36:25 +00:00
Dmitri Plotnikov
ee0373e491
Merge "Address race condition in procstate time tracking" into sc-dev am: b1f548e3e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15177890
Change-Id: I20670af72e0fe93f4d86c08c72e722ec4595bd67
2021-07-03 00:27:32 +00:00
Dmitri Plotnikov
b40a34e68e
Merge "Address race condition in procstate time tracking" into sc-dev am: b1f548e3e4 am: f99c289be5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15177890
Change-Id: Ic176c205eb9403ce5c880474ff6132abe5780091
2021-07-03 00:19:53 +00:00
Dmitri Plotnikov
f99c289be5
Merge "Address race condition in procstate time tracking" into sc-dev am: b1f548e3e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15177890
Change-Id: I322ee8c8ab5b64607c2815ae28122b9667fbc67c
2021-07-03 00:18:57 +00:00
Dmitri Plotnikov
dc3a78354e
Address race condition in procstate time tracking
...
The issue occurs when the application proc state changes
rapidly, e.g. from FOREGROUND to BACKGROUND to CACHED.
The original code would sometimes attribute the time slice
to the wrong proc state.
Bug: 192550308
Test: (on cuttlefish) atest --rerun-until-failure 300 FrameworksCoreTests:com.android.internal.os.BstatsCpuTimesValidationTest -- --abi x86_64
Change-Id: Ic22bbfa3aae701014fc016ec9e2d32b1c528d462
2021-07-01 22:04:28 -07:00
Tim Van Patten
e36c94e1d9
Merge "Remove support: libfeature_support_angle.so"
2021-06-28 21:45:29 +00:00
TreeHugger Robot
b3e392b364
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev am: 64dcdac602 am: 88aa0bcc1c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15100555
Change-Id: I916e311b0c3816221ae8530b4552e708b044c517
2021-06-25 21:43:55 +00:00
TreeHugger Robot
355ae24ec5
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev am: 64dcdac602 am: 6147b389b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15100555
Change-Id: Ib0d24ca9061f81ee79414f8ee1a096576001df32
2021-06-25 21:42:56 +00:00
TreeHugger Robot
f0dfbe020d
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev am: 64dcdac602
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15100555
Change-Id: If64fd555e446b76d76fb557bb34522f945ed844a
2021-06-25 21:30:43 +00:00
TreeHugger Robot
88aa0bcc1c
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev am: 64dcdac602
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15100555
Change-Id: If54c5779dbb27cc24b0f270ee5a49bb1cc88fe33
2021-06-25 21:29:47 +00:00
TreeHugger Robot
64dcdac602
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev
2021-06-25 21:25:40 +00:00
Tim Murray
8c37737cbc
FileBridge: use a ByteBuffer for the temp buffer
...
Using a direct ByteBuffer allows the buffer to be passed to/from JNI
without intermediate copies.
Test: FileBridgeTests, apps get installed without allocation churn
Bug: 192020559
Change-Id: Ic5965c94ba14de6599af67d2e3bba33cd9996046
2021-06-25 11:14:53 -07:00
Nandana Dutt
27bb9a53f4
Merge "Undeprecate storage directory APIs" into sc-v2-dev am: 19325e4648
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080410
Change-Id: I3c18042f36ccaaa0d4ff20fb5694285d68eb3af2
2021-06-25 11:00:27 +00:00
Nandana Dutt
19325e4648
Merge "Undeprecate storage directory APIs" into sc-v2-dev
2021-06-25 10:50:42 +00:00