/frameworks/base/tests/utils/testutils/java/android/app/test/ |
D | TestAlarmManager.java | 52 any(AlarmManager.OnAlarmListener.class), any(Handler.class)); in TestAlarmManager() 54 anyString(), any(AlarmManager.OnAlarmListener.class), any(Handler.class)); in TestAlarmManager() 56 .when(mAlarmManager).cancel(any(AlarmManager.OnAlarmListener.class)); in TestAlarmManager() 140 AlarmManager.OnAlarmListener listener, Handler handler) { in answer() 147 public void answer(AlarmManager.OnAlarmListener listener) { in answer() 163 private final AlarmManager.OnAlarmListener mListener; 165 public AlarmListenerRunnable(AlarmManager.OnAlarmListener listener, Handler handler) { in AlarmListenerRunnable() 170 public AlarmManager.OnAlarmListener getListener() { in getListener()
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 198 public interface OnAlarmListener { interface in AlarmManager 206 final OnAlarmListener mListener; 210 public ListenerWrapper(OnAlarmListener listener) { in ListenerWrapper() 267 private static ArrayMap<OnAlarmListener, ListenerWrapper> sWrappers; 382 public void set(@AlarmType int type, long triggerAtMillis, String tag, OnAlarmListener listener, in set() 509 String tag, OnAlarmListener listener, Handler targetHandler) { in setWindow() 562 OnAlarmListener listener, Handler targetHandler) { in setExact() 573 OnAlarmListener listener, Handler targetHandler) { in setIdleUntil() 640 long intervalMillis, String tag, OnAlarmListener listener, Handler targetHandler, in set() 659 long intervalMillis, OnAlarmListener listener, Handler targetHandler, in set() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AlarmTimeout.java | 27 public class AlarmTimeout implements AlarmManager.OnAlarmListener { 34 private final AlarmManager.OnAlarmListener mListener; 39 public AlarmTimeout(AlarmManager alarmManager, AlarmManager.OnAlarmListener listener, in AlarmTimeout()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 103 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 106 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 128 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 131 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 159 .cancel(any(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 162 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | WakeupMessageTest.java | 56 ArgumentCaptor<AlarmManager.OnAlarmListener> mListenerCaptor = 57 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); 110 eq(TEST_CMD_NAME), any(AlarmManager.OnAlarmListener.class), eq(mHandler)); in scheduleAndVerifyAlarm() 181 eq(TEST_CMD_NAME), any(AlarmManager.OnAlarmListener.class), eq(mHandler)); in scheduleRunnable()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLoggingHandler.java | 22 import android.app.AlarmManager.OnAlarmListener; 78 private final OnAlarmListener mBatchTimeoutAlarmListener = new OnAlarmListener() {
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | TimeController.java | 24 import android.app.AlarmManager.OnAlarmListener; 423 OnAlarmListener listener, long alarmTimeElapsed, WorkSource ws) { in updateAlarmWithListenerLocked() 438 private final OnAlarmListener mDeadlineExpiredListener = new OnAlarmListener() { 448 private final OnAlarmListener mNextDelayExpiredListener = new OnAlarmListener() {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WificondControlTest.java | 1040 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameThrowsException() 1041 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameThrowsException() 1073 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameSuccess() 1074 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameSuccess() 1105 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameFailure() 1106 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameFailure() 1137 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameTimeout() 1138 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameTimeout() 1203 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameTimeoutAckThreadSafe() 1204 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameTimeoutAckThreadSafe() [all …]
|
D | WifiNetworkFactoryTest.java | 33 import android.app.AlarmManager.OnAlarmListener; 149 ArgumentCaptor<OnAlarmListener> mPeriodicScanListenerArgumentCaptor = 150 ArgumentCaptor.forClass(OnAlarmListener.class); 151 ArgumentCaptor<OnAlarmListener> mConnectionTimeoutAlarmListenerArgumentCaptor = 152 ArgumentCaptor.forClass(OnAlarmListener.class); 655 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testPeriodicScanCancelOnReleaseNetworkRequestWithSpecifier() 1067 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionConnectToNetwork() 1179 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 1330 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionReject() 2674 OnAlarmListener alarmListener = null; in verifyPeriodicScans()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 216 private final AlarmManager.OnAlarmListener mRestartScanListener = 217 new AlarmManager.OnAlarmListener() { 225 private class RestartSingleScanListener implements AlarmManager.OnAlarmListener { 240 private final AlarmManager.OnAlarmListener mWatchdogListener = 241 new AlarmManager.OnAlarmListener() { 249 private final AlarmManager.OnAlarmListener mPeriodicScanTimerListener = 250 new AlarmManager.OnAlarmListener() {
|
D | WifiConfigStore.java | 208 private final AlarmManager.OnAlarmListener mBufferedWriteListener = 209 new AlarmManager.OnAlarmListener() {
|
D | WifiNetworkFactory.java | 254 private class PeriodicScanAlarmListener implements AlarmManager.OnAlarmListener { 262 private class ConnectionTimeoutAlarmListener implements AlarmManager.OnAlarmListener {
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStrongAuth.java | 25 import android.app.AlarmManager.OnAlarmListener; 186 private class StrongAuthTimeoutAlarmListener implements OnAlarmListener {
|
/frameworks/base/core/java/com/android/internal/util/ |
D | WakeupMessage.java | 39 public class WakeupMessage implements AlarmManager.OnAlarmListener {
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 1700 final ArgumentCaptor<AlarmManager.OnAlarmListener> motionAlarmListener = ArgumentCaptor in testStationaryDetection_QuickDozeOn_NoMotion() 1701 .forClass(AlarmManager.OnAlarmListener.class); in testStationaryDetection_QuickDozeOn_NoMotion() 1702 final ArgumentCaptor<AlarmManager.OnAlarmListener> motionRegistrationAlarmListener = in testStationaryDetection_QuickDozeOn_NoMotion() 1703 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testStationaryDetection_QuickDozeOn_NoMotion() 1778 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListener = ArgumentCaptor in testStationaryDetection_QuickDozeOn_OneShot() 1779 .forClass(AlarmManager.OnAlarmListener.class); in testStationaryDetection_QuickDozeOn_OneShot() 1822 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListener = ArgumentCaptor in testStationaryDetection_QuickDozeOn_MultiShot() 1823 .forClass(AlarmManager.OnAlarmListener.class); in testStationaryDetection_QuickDozeOn_MultiShot()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTracker.java | 50 private AlarmManager.OnAlarmListener mIdleAlarmListener = () -> {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 94 private AlarmManager.OnAlarmListener mScanTimeoutListener; 207 mScanTimeoutListener = new AlarmManager.OnAlarmListener() { in startSingleScan()
|
/frameworks/base/non-updatable-api/ |
D | system-lint-baseline.txt | 126 …oid.app.AlarmManager#set(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H… 128 …pp.AlarmManager#setExact(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H… 130 …mManager#setWindow(int, long, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H…
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 50 implements AlarmManager.OnAlarmListener, Handler.Callback, LocationListener {
|
/frameworks/base/api/ |
D | system-lint-baseline.txt | 213 …oid.app.AlarmManager#set(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H… 215 …pp.AlarmManager#setExact(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H… 217 …mManager#setWindow(int, long, long, String, android.app.AlarmManager.OnAlarmListener, android.os.H…
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 238 verify(mAlarmManager).cancel(any(AlarmManager.OnAlarmListener.class)); in onDestroy_unregisterListeners()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 38 import android.app.AlarmManager.OnAlarmListener; 264 private final OnAlarmListener mAnomalyAlarmListener = new AnomalyAlarmListener(); 265 private final OnAlarmListener mPullingAlarmListener = new PullingAlarmListener(); 266 private final OnAlarmListener mPeriodicAlarmListener = new PeriodicAlarmListener(); 593 public final static class AnomalyAlarmListener implements OnAlarmListener { 614 public final static class PullingAlarmListener implements OnAlarmListener { 635 public final static class PeriodicAlarmListener implements OnAlarmListener {
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 606 private final AlarmManager.OnAlarmListener mLightAlarmListener 607 = new AlarmManager.OnAlarmListener() { 617 private final AlarmManager.OnAlarmListener mMotionRegistrationAlarmListener = () -> { 625 private final AlarmManager.OnAlarmListener mMotionTimeoutAlarmListener = () -> { 640 private final AlarmManager.OnAlarmListener mSensingTimeoutAlarmListener 641 = new AlarmManager.OnAlarmListener() { 655 final AlarmManager.OnAlarmListener mDeepAlarmListener 656 = new AlarmManager.OnAlarmListener() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 107 private final AlarmManager.OnAlarmListener mUpdateNextAlarm = this::updateNextAlarm;
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 23 import android.app.AlarmManager.OnAlarmListener; 1557 private class TrustTimeoutAlarmListener implements OnAlarmListener {
|