/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 | 199 public interface OnAlarmListener { interface in AlarmManager 207 final OnAlarmListener mListener; 211 public ListenerWrapper(OnAlarmListener listener) { in ListenerWrapper() 268 private static ArrayMap<OnAlarmListener, ListenerWrapper> sWrappers; 383 public void set(@AlarmType int type, long triggerAtMillis, String tag, OnAlarmListener listener, in set() 510 String tag, OnAlarmListener listener, Handler targetHandler) { in setWindow() 563 OnAlarmListener listener, Handler targetHandler) { in setExact() 574 OnAlarmListener listener, Handler targetHandler) { in setIdleUntil() 641 long intervalMillis, String tag, OnAlarmListener listener, Handler targetHandler, in set() 660 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; 419 private void updateAlarmWithListenerLocked(String tag, OnAlarmListener listener, in updateAlarmWithListenerLocked() 435 private final OnAlarmListener mDeadlineExpiredListener = new OnAlarmListener() { 445 private final OnAlarmListener mNextDelayExpiredListener = new OnAlarmListener() {
|
D | QuotaController.java | 467 private final AlarmManager.OnAlarmListener mSessionCleanupAlarmListener = 468 new AlarmManager.OnAlarmListener() { 1965 private class QcAlarmListener implements AlarmManager.OnAlarmListener {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WificondControlTest.java | 1045 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameThrowsException() 1046 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameThrowsException() 1078 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameSuccess() 1079 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameSuccess() 1110 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameFailure() 1111 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameFailure() 1142 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameTimeout() 1143 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameTimeout() 1208 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameTimeoutAckThreadSafe() 1209 ArgumentCaptor.forClass(AlarmManager.OnAlarmListener.class); in testSendMgmtFrameTimeoutAckThreadSafe() [all …]
|
D | WifiNetworkFactoryTest.java | 33 import android.app.AlarmManager.OnAlarmListener; 139 ArgumentCaptor<OnAlarmListener> mPeriodicScanListenerArgumentCaptor = 140 ArgumentCaptor.forClass(OnAlarmListener.class); 141 ArgumentCaptor<OnAlarmListener> mConnectionTimeoutAlarmListenerArgumentCaptor = 142 ArgumentCaptor.forClass(OnAlarmListener.class); 644 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testPeriodicScanCancelOnReleaseNetworkRequestWithSpecifier() 1066 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionConnectToNetwork() 1111 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 1262 verify(mAlarmManager).cancel(any(OnAlarmListener.class)); in testNetworkSpecifierHandleUserSelectionReject() 2412 OnAlarmListener alarmListener = null; in verifyPeriodicScans()
|
/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/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 | 186 private final AlarmManager.OnAlarmListener mBufferedWriteListener = 187 new AlarmManager.OnAlarmListener() {
|
D | WifiNetworkFactory.java | 275 private class PeriodicScanAlarmListener implements AlarmManager.OnAlarmListener { 283 private class ConnectionTimeoutAlarmListener implements AlarmManager.OnAlarmListener {
|
D | WificondControl.java | 201 private AlarmManager.OnAlarmListener mTimeoutCallback;
|
/frameworks/base/core/java/com/android/internal/util/ |
D | WakeupMessage.java | 39 public class WakeupMessage implements AlarmManager.OnAlarmListener {
|
/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/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 49 implements AlarmManager.OnAlarmListener, Handler.Callback, LocationListener {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 218 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; 262 private final OnAlarmListener mAnomalyAlarmListener = new AnomalyAlarmListener(); 263 private final OnAlarmListener mPullingAlarmListener = new PullingAlarmListener(); 264 private final OnAlarmListener mPeriodicAlarmListener = new PeriodicAlarmListener(); 591 public final static class AnomalyAlarmListener implements OnAlarmListener { 612 public final static class PullingAlarmListener implements OnAlarmListener { 633 public final static class PeriodicAlarmListener implements OnAlarmListener {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 105 private final AlarmManager.OnAlarmListener mUpdateNextAlarm = this::updateNextAlarm;
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 598 private final AlarmManager.OnAlarmListener mLightAlarmListener 599 = new AlarmManager.OnAlarmListener() { 608 private final AlarmManager.OnAlarmListener mSensingTimeoutAlarmListener 609 = new AlarmManager.OnAlarmListener() { 623 final AlarmManager.OnAlarmListener mDeepAlarmListener 624 = new AlarmManager.OnAlarmListener() {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 507 verify(mAlarmManager).cancel(any(AlarmManager.OnAlarmListener.class)); in testWillHideAodWallpaper()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 23 import android.app.AlarmManager.OnAlarmListener; 1507 private class TrustTimeoutAlarmListener implements OnAlarmListener {
|