/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 100 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 101 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 103 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 104 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 125 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 126 verify(mAlarmManager.getAlarmManager(), times(1)) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 128 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 129 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 156 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 157 verify(mAlarmManager.getAlarmManager(), never()) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() [all …]
|
D | WificondPnoScannerTest.java | 81 .thenReturn(mAlarmManager.getAlarmManager()); in setup()
|
D | BaseWifiScannerImplTest.java | 87 .thenReturn(mAlarmManager.getAlarmManager()); in setUpBase()
|
D | WifiScanningServiceTest.java | 135 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | WakeupMessage.java | 55 mAlarmManager = getAlarmManager(context); in WakeupMessage() 79 mAlarmManager = getAlarmManager(context); in WakeupMessage() 89 private static AlarmManager getAlarmManager(Context context) { in getAlarmManager() method in WakeupMessage
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 200 .thenReturn(mAlarmManager.getAlarmManager()); in setUp() 201 mInOrder = inOrder(mAlarmManager.getAlarmManager(), mockContext); in setUp() 297 mAlarmManager.getAlarmManager()); in testRangingFlow() 361 mAlarmManager.getAlarmManager()); in testRangingFlowUsingAwarePeerHandles() 426 mAlarmManager.getAlarmManager()); in testRangingFlowNativeFailure() 463 mAlarmManager.getAlarmManager()); in testRangingRequestWithoutRuntimePermission() 543 mAlarmManager.getAlarmManager()); in testBinderDeathOfRangingApp() 582 mAlarmManager.getAlarmManager()); in testBinderDeathWithWorkSource() 632 mAlarmManager.getAlarmManager()); in testCancelRangingFullMatch() 679 mAlarmManager.getAlarmManager()); in testCancelRangingPartialMatch() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 160 private AlarmManager getAlarmManager() { in getAlarmManager() method in PacManager 186 getAlarmManager().cancel(mPacRefreshIntent); in setCurrentProxyScriptUrl() 190 getAlarmManager().cancel(mPacRefreshIntent); in setCurrentProxyScriptUrl() 276 getAlarmManager().set(AlarmManager.ELAPSED_REALTIME, timeTillTrigger, mPacRefreshIntent); in setDownloadIn()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 112 .thenReturn(mAlarmManager.getAlarmManager()); in setUp() 759 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart() 772 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnStop() 785 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnNewClientsConnect() 799 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in schedulesTimeoutTimerWhenAllClientsDisconnect() 805 verify(mAlarmManager.getAlarmManager(), times(2)).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerWhenAllClientsDisconnect() 833 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 851 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 865 verify(mAlarmManager.getAlarmManager(), never()).setExact(anyInt(), anyLong(), in doesNotScheduleTimeoutTimerOnStartWhenTimeoutIsDisabled() 886 verify(mAlarmManager.getAlarmManager(), never()).setExact(anyInt(), anyLong(), in doesNotScheduleTimeoutTimerWhenAllClientsDisconnectButTimeoutIsDisabled()
|
D | WifiConfigStoreTest.java | 168 .thenReturn(mAlarmManager.getAlarmManager()); in setupMocks()
|
D | WifiConnectivityManagerTest.java | 178 mAlarmManager.getAlarmManager()); in mockContext()
|
D | WifiStateMachineTest.java | 240 mAlarmManager.getAlarmManager()); in getContext()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | RunBackupReceiver.java | 52 backupManagerService.getAlarmManager().cancel( in onReceive()
|
D | PerformInitializeTask.java | 160 mBackupManagerService.getAlarmManager().set( in run()
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
D | TestAlarmManager.java | 59 public AlarmManager getAlarmManager() { in getAlarmManager() method in TestAlarmManager
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLoggingHandler.java | 117 this.mAlarmManager = mDpm.mInjector.getAlarmManager(); in NetworkLoggingHandler()
|
D | DevicePolicyManagerService.java | 1854 AlarmManager getAlarmManager() { in getAlarmManager() method in DevicePolicyManagerService.Injector 2551 AlarmManager am = mInjector.getAlarmManager(); in setExpirationAlarmCheckLocked() 10008 mInjector.binderWithCleanCallingIdentity(() -> mInjector.getAlarmManager().setTime(millis)); in setTime() 10021 mInjector.getAlarmManager().setTimeZone(timeZone)); in setTimeZone()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 209 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager() method in DevicePolicyManagerServiceTestable.MockInjector
|
/frameworks/base/services/robotests/src/com/android/server/backup/internal/ |
D | PerformInitializeTaskTest.java | 95 when(mBackupManagerService.getAlarmManager()).thenReturn(mAlarmManager); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 135 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
|
D | WifiAwareStateManagerTest.java | 142 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 348 public AlarmManager getAlarmManager() { in getAlarmManager() method in BackupManagerService
|