Home
last modified time | relevance | path

Searched refs:getAlarmManager (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java100 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 …]
DWificondPnoScannerTest.java81 .thenReturn(mAlarmManager.getAlarmManager()); in setup()
DBaseWifiScannerImplTest.java87 .thenReturn(mAlarmManager.getAlarmManager()); in setUpBase()
DWifiScanningServiceTest.java135 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
/frameworks/base/core/java/com/android/internal/util/
DWakeupMessage.java55 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/
DRttServiceImplTest.java200 .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/
DPacManager.java160 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/
DSoftApManagerTest.java112 .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()
DWifiConfigStoreTest.java168 .thenReturn(mAlarmManager.getAlarmManager()); in setupMocks()
DWifiConnectivityManagerTest.java178 mAlarmManager.getAlarmManager()); in mockContext()
DWifiStateMachineTest.java240 mAlarmManager.getAlarmManager()); in getContext()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunBackupReceiver.java52 backupManagerService.getAlarmManager().cancel( in onReceive()
DPerformInitializeTask.java160 mBackupManagerService.getAlarmManager().set( in run()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java59 public AlarmManager getAlarmManager() { in getAlarmManager() method in TestAlarmManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java117 this.mAlarmManager = mDpm.mInjector.getAlarmManager(); in NetworkLoggingHandler()
DDevicePolicyManagerService.java1854 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/
DDevicePolicyManagerServiceTestable.java209 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager() method in DevicePolicyManagerServiceTestable.MockInjector
/frameworks/base/services/robotests/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java95 when(mBackupManagerService.getAlarmManager()).thenReturn(mAlarmManager); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java135 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiAwareStateManagerTest.java142 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java348 public AlarmManager getAlarmManager() { in getAlarmManager() method in BackupManagerService