Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java101 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
102 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
104 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
105 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
126 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
127 verify(mAlarmManager.getAlarmManager(), times(1)) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
129 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
130 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
157 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
158 verify(mAlarmManager.getAlarmManager(), never()) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
[all …]
DWificondPnoScannerTest.java83 .thenReturn(mAlarmManager.getAlarmManager()); in setup()
DBaseWifiScannerImplTest.java90 .thenReturn(mAlarmManager.getAlarmManager()); in setUpBase()
DWifiScanningServiceTest.java144 .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()
300 mAlarmManager.getAlarmManager()); in testRangingFlow()
368 mAlarmManager.getAlarmManager()); in testRangingFlowUsingAwarePeerHandles()
433 mAlarmManager.getAlarmManager()); in testRangingFlowNativeFailure()
470 mAlarmManager.getAlarmManager()); in testRangingRequestWithoutRuntimePermission()
550 mAlarmManager.getAlarmManager()); in testBinderDeathOfRangingApp()
589 mAlarmManager.getAlarmManager()); in testBinderDeathWithWorkSource()
639 mAlarmManager.getAlarmManager()); in testCancelRangingFullMatch()
686 mAlarmManager.getAlarmManager()); in testCancelRangingPartialMatch()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java164 private AlarmManager getAlarmManager() { in getAlarmManager() method in PacManager
190 getAlarmManager().cancel(mPacRefreshIntent); in setCurrentProxyScriptUrl()
194 getAlarmManager().cancel(mPacRefreshIntent); in setCurrentProxyScriptUrl()
280 getAlarmManager().set(AlarmManager.ELAPSED_REALTIME, timeTillTrigger, mPacRefreshIntent); in setDownloadIn()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java111 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
896 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
905 verify(mAlarmManager.getAlarmManager(), times(2)).cancel(any(WakeupMessage.class)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
915 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart()
928 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnStop()
941 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnNewClientsConnect()
955 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in schedulesTimeoutTimerWhenAllClientsDisconnect()
961 verify(mAlarmManager.getAlarmManager(), times(2)).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerWhenAllClientsDisconnect()
989 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnTimeoutToggleChangeWhenNoClients()
1007 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnTimeoutToggleChangeWhenNoClients()
[all …]
DWifiConfigStoreTest.java170 .thenReturn(mAlarmManager.getAlarmManager()); in setupMocks()
DWifiConnectivityManagerTest.java184 mAlarmManager.getAlarmManager()); in mockContext()
DClientModeImplTest.java244 mAlarmManager.getAlarmManager()); in getContext()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunBackupReceiver.java71 mUserBackupManagerService.getAlarmManager().cancel(runInitIntent); in onReceive()
DPerformInitializeTask.java163 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.java126 this.mAlarmManager = mDpm.mInjector.getAlarmManager(); in NetworkLoggingHandler()
DDevicePolicyManagerService.java1949 AlarmManager getAlarmManager() { in getAlarmManager() method in DevicePolicyManagerService.Injector
2660 AlarmManager am = mInjector.getAlarmManager(); in setExpirationAlarmCheckLocked()
10862 mInjector.binderWithCleanCallingIdentity(() -> mInjector.getAlarmManager().setTime(millis)); in setTime()
10875 mInjector.getAlarmManager().setTimeZone(timeZone)); in setTimeZone()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java217 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager() method in DevicePolicyManagerServiceTestable.MockInjector
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java97 when(mBackupManagerService.getAlarmManager()).thenReturn(mAlarmManager); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java137 AlarmManager getAlarmManager() { in getAlarmManager() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1708 AlarmManager getAlarmManager() { in getAlarmManager() method in DeviceIdleController.Injector
1880 mAlarmManager = mInjector.getAlarmManager(); in onBootPhase()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java145 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiAwareStateManagerTest.java144 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java633 public AlarmManager getAlarmManager() { in getAlarmManager() method in UserBackupManagerService
/frameworks/base/services/
Dart-profile978 HSPLcom/android/server/DeviceIdleController$Injector;->getAlarmManager()Landroid/app/AlarmManager;
6154 HSPLcom/android/server/devicepolicy/DevicePolicyManagerService$Injector;->getAlarmManager()Landroid…