Searched refs:mUidImportanceListener (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 87 private ActivityManager.OnUidImportanceListener mUidImportanceListener; field in WifiLockManagerTest 186 mUidImportanceListener = uidImportanceListener.getValue(); in captureUidImportanceListener() 187 assertNotNull(mUidImportanceListener); in captureUidImportanceListener() 1209 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_1, in testLatencyLockGoBackground() 1251 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_1, in testLatencyLockGoForeground() 1298 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_1, in testLatencyHiPerfLocks() 1970 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_2, in testWifiLowLatencyLockListener() 1978 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_2, in testWifiLowLatencyLockListener() 2123 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_1, in testForegroundExemptionBlaming() 2128 mUidImportanceListener.onUidImportance(DEFAULT_TEST_UID_1, in testForegroundExemptionBlaming() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 282 private ActivityManager.OnUidImportanceListener mUidImportanceListener = field in HidDeviceService 714 mUidImportanceListener, FOREGROUND_IMPORTANCE_CUTOFF); in start() 732 mActivityManager.removeOnUidImportanceListener(mUidImportanceListener); in stop()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 202 OnUidImportanceListener mUidImportanceListener; field in NsdServiceTest 261 mUidImportanceListener = uidListenerCaptor.getValue(); in setUp() 1795 mUidImportanceListener.onUidImportance(123, IMPORTANCE_FOREGROUND); in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly() 1878 mUidImportanceListener.onUidImportance(uid2, IMPORTANCE_VISIBLE); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly() 1884 mUidImportanceListener.onUidImportance(uid3, IMPORTANCE_FOREGROUND); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly() 1889 mUidImportanceListener.onUidImportance(uid4, IMPORTANCE_FOREGROUND); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly() 1949 mUidImportanceListener.onUidImportance(uid3, IMPORTANCE_CACHED); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly() 1967 mUidImportanceListener.onUidImportance(uid2, IMPORTANCE_FOREGROUND); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly() 1973 mUidImportanceListener.onUidImportance(uid2, IMPORTANCE_GONE); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanManager.java | 199 mUidImportanceListener, FOREGROUND_IMPORTANCE_CUTOFF); in ScanManager() 214 mActivityManager.removeOnUidImportanceListener(mUidImportanceListener); in cleanup() 1943 private ActivityManager.OnUidImportanceListener mUidImportanceListener = field in ScanManager
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxManagerService.java | 194 private final UidImportanceListener mUidImportanceListener = new UidImportanceListener(); field in SdkSandboxManagerService 758 mUidImportanceListener.startListening(); in loadSdkWithClearIdentity() 957 mUidImportanceListener.stopListening();
|