Searched refs:alarmListener (Results 1 – 3 of 3) sorted by relevance
706 QcAlarmListener alarmListener = mInQuotaAlarmListeners.get(userId, packageName); in onAppRemovedLocked() local707 if (alarmListener != null) { in onAppRemovedLocked()708 mAlarmManager.cancel(alarmListener); in onAppRemovedLocked()1297 QcAlarmListener alarmListener = mInQuotaAlarmListeners.get(userId, packageName); in maybeUpdateConstraintForPkgLocked() local1298 if (alarmListener != null && alarmListener.isWaiting()) { in maybeUpdateConstraintForPkgLocked()1299 mAlarmManager.cancel(alarmListener); in maybeUpdateConstraintForPkgLocked()1301 alarmListener.setTriggerTime(0); in maybeUpdateConstraintForPkgLocked()1318 QcAlarmListener alarmListener = mInQuotaAlarmListeners.get(userId, packageName); in accept() local1319 if (alarmListener != null && alarmListener.isWaiting()) { in accept()1320 mAlarmManager.cancel(alarmListener); in accept()[all …]
1778 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListener = ArgumentCaptor in testStationaryDetection_QuickDozeOn_OneShot() local1784 alarmListener.capture(), any()); in testStationaryDetection_QuickDozeOn_OneShot()1807 alarmListener.getValue().onAlarm(); in testStationaryDetection_QuickDozeOn_OneShot()1822 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListener = ArgumentCaptor in testStationaryDetection_QuickDozeOn_MultiShot() local1828 alarmListener.capture(), any()); in testStationaryDetection_QuickDozeOn_MultiShot()1852 alarmListener.getValue().onAlarm(); in testStationaryDetection_QuickDozeOn_MultiShot()
2674 OnAlarmListener alarmListener = null; in verifyPeriodicScans() local2689 alarmListener.onAlarm(); in verifyPeriodicScans()2702 alarmListener = mPeriodicScanListenerArgumentCaptor.getValue(); in verifyPeriodicScans()2703 assertNotNull(alarmListener); in verifyPeriodicScans()