To distinguish the cost in the implementation of application.
Bug: 206872204
Test: Launch activity and check "adb logcat -b events | grep wm_on"
Change-Id: Id8254de3ec1b0629f6322722c1f84703efbc3a62
Adds some additional methods to BroadcastRecord to aid in upcoming
per-process queue changes.
Add UidObserver with default no-op implementation to aid readability
of child classes.
Updates unit tests to acquire relevant locks.
Bug: 243656033
Test: atest CtsContentTestCases:BroadcastReceiverTest
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Change-Id: I2ff1e868586861e4dcd6586ad22139ba84eaf39c
- Removed warning on UserManagerService.getUserAssignedToDisplay().
- Improved javadocs on UserManagerInternal and ActivityManager.
- Explicitly throws a UnsupportedOperationException on
ActivityManager.startUserInBackgroundOnSecondaryDisplay() when it's
not supported (and add a CTS test for it)
- Don't allow user to be assigned to multiple displays.
Bug: 244644281
Test: atest CtsMultiUserTestCases:android.multiuser.cts.UserManagerTest#testStartUserInBackgroundOnSecondaryDisplay \
MultipleUsersOnMultipleDisplaysTest:android.multiuser.cts.UserManagerTest#testStartUserInBackgroundOnSecondaryDisplay
Change-Id: I01375d70b746148f99c4a5ff1eea6faf83154a86
Bug: 241763149
Refactor the sCorkLock into sCorkLock, which protects code that
specifically supports corking, and sGlobalLock, which protects all
other code that touches global objects (like the list of all caches).
Deadlock was not actually observed in the bug and has never been
reported, but the possibility was identified and is being fixed here.
Bypass the bulk of disableLocal(name) if the name has already been
bypassed. This speeds repeated calls to disableLocal() by not
iterating over sCaches.
Many threads were terminated by a watchdog while iterating over
sCaches inside disableLocal(). It is not known why this block of code
was running so often when the time out expired.
An open question is whether or not disabled caches should be removed
from the sCaches array. The only reason to leave them in the array is
to report on them during dumpsys, but this seems like a small benefit
Test: atest
* FrameworksCoreTests:IpcDataCacheTest
* FrameworksCoreTests:PropertyInvalidatedCacheTests
* CtsOsTestCases:IpcDataCacheTest
Change-Id: I4c298f380044c0be93cdb47d66d7d7e2b260004f
This allows us to manually specify which app op should have noteOp
events collected for them, if applicable
Bug: 44518166
Test: manual
Change-Id: I3988679fd9b8ccedde37a47cacc0ac2c276b78e6
Revert submission 19776394-safer-implicit-intents
Reason for revert: DroidMonitor: Potential culprit for Bug b/246818637 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted Changes:
I66227a4fa:Update PackageManager test in Car to adapt to safe...
I779f3d6ee:CTS tests for safer implicit intents
I41c48a412:Verify that the component is exported
Change-Id: I8484d317afc9a1d845b3394828062615b5fd2066
DreamManager#startDream has been updated on QPR and master which removes
the unnecessary component name parameter, but it breaks TM CTS tests.
The interim api added in this change will prevent breakage on TM, and
should not be merged downstream.
Test: atest DreamManagerServiceTests
Fix: 245223722
Fix: 245058392
Fix: 245070240
Change-Id: Id9e8cc67003da9fc3e03bffd6ec50643d10652b5
Previously, binder txns were only traced for txns from sysui/launcher
to system_server.
ag/Iffc4bb534d239c07d2e4d43ab43a9ed76abe7496 enabled binder txn tracking
more broadly
Removed the special case for sysui/launcher and cleaned up the code
Test: Manual
Bug: 161393989
Change-Id: I9d46d2362ca0ca33bc2477d68092f7ba5fe9c8ac
Suggest activity titles in setAccessibilityPane
Reference panes in Fragment
Bug: 244788390
Test: n/a
Change-Id: I8d12fe3879d2d05f49e68660af3b181d1dfca229
Revert submission 19731948-revert-19682544-usage-stats-KQUAEDTEBI
Reason for revert: reimplementing
Reverted Changes:
I9f2da8d32:Revert "Add GET_USAGE_STATS to RUNTIME_AND_APPOP_P...
I2cdd6f7fa:Revert "Add test for app op permission mappings"
Change-Id: I3612c73c66bc43226367b987ad3c456a9892daad