Home
last modified time | relevance | path

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

/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java52 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/
DAlarmManager.java192 public interface OnAlarmListener { interface in AlarmManager
200 final OnAlarmListener mListener;
204 public ListenerWrapper(OnAlarmListener listener) { in ListenerWrapper()
261 private static ArrayMap<OnAlarmListener, ListenerWrapper> sWrappers;
376 public void set(@AlarmType int type, long triggerAtMillis, String tag, OnAlarmListener listener, in set()
503 String tag, OnAlarmListener listener, Handler targetHandler) { in setWindow()
556 OnAlarmListener listener, Handler targetHandler) { in setExact()
567 OnAlarmListener listener, Handler targetHandler) { in setIdleUntil()
633 long intervalMillis, String tag, OnAlarmListener listener, Handler targetHandler, in set()
652 long intervalMillis, OnAlarmListener listener, Handler targetHandler, in set()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlarmTimeout.java27 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/
DWificondScannerTest.java102 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
105 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
127 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
130 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
158 .cancel(any(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
161 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DWakeupMessageTest.java56 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/core/java/com/android/server/job/controllers/
DTimeController.java23 import android.app.AlarmManager.OnAlarmListener;
307 private void updateAlarmWithListenerLocked(String tag, OnAlarmListener listener, in updateAlarmWithListenerLocked()
323 private final OnAlarmListener mDeadlineExpiredListener = new OnAlarmListener() {
333 private final OnAlarmListener mNextDelayExpiredListener = new OnAlarmListener() {
DIdleController.java110 private AlarmManager.OnAlarmListener mIdleAlarmListener = () -> {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java20 import android.app.AlarmManager.OnAlarmListener;
69 private final OnAlarmListener mBatchTimeoutAlarmListener = new OnAlarmListener() {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java207 private final AlarmManager.OnAlarmListener mRestartScanListener =
208 new AlarmManager.OnAlarmListener() {
216 private class RestartSingleScanListener implements AlarmManager.OnAlarmListener {
231 private final AlarmManager.OnAlarmListener mWatchdogListener =
232 new AlarmManager.OnAlarmListener() {
240 private final AlarmManager.OnAlarmListener mPeriodicScanTimerListener =
241 new AlarmManager.OnAlarmListener() {
DWifiConfigStore.java121 private final AlarmManager.OnAlarmListener mBufferedWriteListener =
122 new AlarmManager.OnAlarmListener() {
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java23 import android.app.AlarmManager.OnAlarmListener;
199 private class StrongAuthTimeoutAlarmListener implements OnAlarmListener {
/frameworks/base/core/java/com/android/internal/util/
DWakeupMessage.java39 public class WakeupMessage implements AlarmManager.OnAlarmListener {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java95 private AlarmManager.OnAlarmListener mScanTimeoutListener;
208 mScanTimeoutListener = new AlarmManager.OnAlarmListener() { in startSingleScan()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java49 implements AlarmManager.OnAlarmListener, Handler.Callback, LocationListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java80 private final AlarmManager.OnAlarmListener mUpdateNextAlarm = this::updateNextAlarm;
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java368 private final AlarmManager.OnAlarmListener mLightAlarmListener
369 = new AlarmManager.OnAlarmListener() {
378 private final AlarmManager.OnAlarmListener mSensingTimeoutAlarmListener
379 = new AlarmManager.OnAlarmListener() {
390 private final AlarmManager.OnAlarmListener mDeepAlarmListener
391 = new AlarmManager.OnAlarmListener() {
/frameworks/base/services/core/java/com/android/server/display/
DColorDisplayService.java443 private class CustomAutoMode extends AutoMode implements AlarmManager.OnAlarmListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java460 verify(mAlarmManager).cancel(any(AlarmManager.OnAlarmListener.class)); in testWillHideAodWallpaper()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java1419 eq(RttServiceImpl.HAL_RANGING_TIMEOUT_TAG), any(AlarmManager.OnAlarmListener.class), in verifyWakeupSet()
1425 any(AlarmManager.OnAlarmListener.class)); in verifyWakeupCancelled()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1844 class HeartbeatAlarmListener implements AlarmManager.OnAlarmListener {
/frameworks/base/api/
Dsystem-current.txt266 …method public void set(int, long, long, long, android.app.AlarmManager.OnAlarmListener, android.os…
Dcurrent.txt4086 method public void cancel(android.app.AlarmManager.OnAlarmListener);
4089 …method public void set(int, long, java.lang.String, android.app.AlarmManager.OnAlarmListener, andr…
4093 … void setExact(int, long, java.lang.String, android.app.AlarmManager.OnAlarmListener, android.os.H…
4100 …etWindow(int, long, long, java.lang.String, android.app.AlarmManager.OnAlarmListener, android.os.H…
4122 public static abstract interface AlarmManager.OnAlarmListener {
/frameworks/base/config/
Dboot-image-profile.txt381 HPLandroid/app/AlarmManager$OnAlarmListener;->onAlarm()V
383 HPLandroid/app/AlarmManager;->set(IJJJLandroid/app/AlarmManager$OnAlarmListener;Landroid/os/Handler…
385 …Manager;->setIdleUntil(IJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Landroid/os/H…
386 …rmManager;->setWindow(IJJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Landroid/os/H…
13282 …ger$ListenerWrapper;-><init>(Landroid/app/AlarmManager;Landroid/app/AlarmManager$OnAlarmListener;)V
13287 HSPLandroid/app/AlarmManager;->cancel(Landroid/app/AlarmManager$OnAlarmListener;)V
13291 HSPLandroid/app/AlarmManager;->set(IJJJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;…
13293 HSPLandroid/app/AlarmManager;->set(IJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;La…
13295 …larmManager;->setExact(IJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Landroid/os/H…
13297 …;->setImpl(IJJJILandroid/app/PendingIntent;Landroid/app/AlarmManager$OnAlarmListener;Ljava/lang/St…
[all …]
Dhiddenapi-light-greylist.txt328 Landroid/app/AlarmManager;->set(IJJJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Lan…
Dhiddenapi-public-dex.txt1830 Landroid/app/AlarmManager$OnAlarmListener;
1831 Landroid/app/AlarmManager$OnAlarmListener;->onAlarm()V
1834 Landroid/app/AlarmManager;->cancel(Landroid/app/AlarmManager$OnAlarmListener;)V
1846 Landroid/app/AlarmManager;->set(IJJJLandroid/app/AlarmManager$OnAlarmListener;Landroid/os/Handler;L…
1849 Landroid/app/AlarmManager;->set(IJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Landr…
1853 Landroid/app/AlarmManager;->setExact(IJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;…
1860 …rmManager;->setWindow(IJJLjava/lang/String;Landroid/app/AlarmManager$OnAlarmListener;Landroid/os/H…