Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java138 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
139 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
141 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
142 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
163 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
164 verify(mAlarmManager.getAlarmManager(), times(1)) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
166 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
167 verify(mAlarmManager.getAlarmManager(), never()) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
195 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
196 verify(mAlarmManager.getAlarmManager(), never()) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
[all …]
DWificondPnoScannerTest.java85 .thenReturn(mAlarmManager.getAlarmManager()); in setup()
DBaseWifiScannerImplTest.java89 .thenReturn(mAlarmManager.getAlarmManager()); in setUpBase()
DWifiScanningServiceTest.java165 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java248 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
1165 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
1176 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
1430 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in testConfigChangeToSmallAndClientAddBlockListCauseClientDisconnect()
1475 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart()
1479 verify(mAlarmManager.getAlarmManager(), never()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart()
1506 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStartWithConfigedValue()
1520 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in cancelsTimeoutTimerOnStop()
1533 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in cancelsTimeoutTimerOnNewClientsConnect()
1550 verify(mAlarmManager.getAlarmManager()).cancel(eq(mSoftApManager.mSoftApTimeoutMessage)); in schedulesTimeoutTimerWhenAllClientsDisconnect()
[all …]
DWifiHealthMonitorTest.java182 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiConfigStoreTest.java225 .thenReturn(mAlarmManager.getAlarmManager()); in setupMocks()
DWifiConnectivityManagerTest.java322 mAlarmManager.getAlarmManager()); in mockContext()
DClientModeImplTest.java296 mAlarmManager.getAlarmManager()); in getContext()
/packages/modules/Wifi/service/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 …]
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt190 getAlarmManager(context).setExact(AlarmManager.RTC, nextDay.time, pi) in <lambda>()
200 getAlarmManager(context).cancel(pi) in <lambda>()
462 private fun getAlarmManager(context: Context): AlarmManager { in <lambda>() method
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java153 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()
DWifiAwareStateManagerTest.java148 .thenReturn(mAlarmManager.getAlarmManager()); in setUp()