Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java111 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
112 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
114 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
115 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
136 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
137 verify(mAlarmManager.getAlarmManager(), times(1)) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
139 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
140 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
167 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
168 verify(mAlarmManager.getAlarmManager(), never()) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
[all …]
DWificondPnoScannerTest.java85 .thenReturn(mAlarmManager.getAlarmManager()); in setup()
DBaseWifiScannerImplTest.java91 .thenReturn(mAlarmManager.getAlarmManager()); in setUpBase()
DWifiScanningServiceTest.java157 .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.java202 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
203 mInOrder = inOrder(mAlarmManager.getAlarmManager(), mockContext); in setUp()
309 mAlarmManager.getAlarmManager()); in testRangingFlow()
383 mAlarmManager.getAlarmManager()); in testRangingFlowUsingAwarePeerHandles()
450 mAlarmManager.getAlarmManager()); in testRangingFlowNativeFailure()
487 mAlarmManager.getAlarmManager()); in testRangingRequestWithoutRuntimePermission()
569 mAlarmManager.getAlarmManager()); in testBinderDeathOfRangingApp()
608 mAlarmManager.getAlarmManager()); in testBinderDeathWithWorkSource()
659 mAlarmManager.getAlarmManager()); in testCancelRangingFullMatch()
709 mAlarmManager.getAlarmManager()); in testCancelRangingPartialMatch()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java157 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
1182 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
1191 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
1458 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in testConfigChangeToSmallAndClientAddBlockListCauseClientDisconnect()
1502 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart()
1518 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStartWithConfigedValue()
1532 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnStop()
1546 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in cancelsTimeoutTimerOnNewClientsConnect()
1566 verify(mAlarmManager.getAlarmManager()).cancel(any(WakeupMessage.class)); in schedulesTimeoutTimerWhenAllClientsDisconnect()
1571 verify(mAlarmManager.getAlarmManager(), times(2)).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerWhenAllClientsDisconnect()
[all …]
DWifiHealthMonitorTest.java166 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiConfigStoreTest.java195 .thenReturn(mAlarmManager.getAlarmManager()); in setupMocks()
DWifiConnectivityManagerTest.java259 mAlarmManager.getAlarmManager()); in mockContext()
DClientModeImplTest.java251 mAlarmManager.getAlarmManager()); in getContext()
/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/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java59 public AlarmManager getAlarmManager() { in getAlarmManager() method in TestAlarmManager
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java163 mBackupManagerService.getAlarmManager().set( in run()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java126 this.mAlarmManager = mDpm.mInjector.getAlarmManager(); in NetworkLoggingHandler()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java115 mAlarmManager = mInjector.getAlarmManager(context); in LockSettingsStrongAuth()
128 public AlarmManager getAlarmManager(Context context) { in getAlarmManager() method in LockSettingsStrongAuth.Injector
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStrongAuthTest.java80 when(mInjector.getAlarmManager(mContext)).thenReturn(mAlarmManager); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java237 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/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java168 mAlarmManager = mTestAlarmManager.getAlarmManager(); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java705 public AlarmManager getAlarmManager() { in getAlarmManager() method in UserBackupManagerService
2845 getAlarmManager().cancel(mRunInitIntent); in backupNow()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java1851 AlarmManager getAlarmManager() { in getAlarmManager() method in DeviceIdleController.Injector
2051 mAlarmManager = mInjector.getAlarmManager(); in onBootPhase()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java156 AlarmManager getAlarmManager() { in getAlarmManager() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java146 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiAwareStateManagerTest.java143 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()

12