Home
last modified time | relevance | path

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

12

/frameworks/support/compat/src/main/java/androidx/core/app/
DAlarmManagerCompat.java63 AlarmManagerCompat.setExact(alarmManager, AlarmManager.RTC_WAKEUP, triggerTime, in setAlarmClock()
160 public static void setExact(@NonNull AlarmManager alarmManager, int type, long triggerAtMillis, in setExact() method in AlarmManagerCompat
163 alarmManager.setExact(type, triggerAtMillis, operation); in setExact()
225 AlarmManagerCompat.setExact(alarmManager, type, triggerAtMillis, operation); in setExactAndAllowWhileIdle()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DWakeupMessageTest.java92 doNothing().when(mAlarmManager).setExact(anyInt(), anyLong(), any(String.class), in setUp()
109 verify(mAlarmManager).setExact(eq(AlarmManager.ELAPSED_REALTIME_WAKEUP), eq(when), in scheduleAndVerifyAlarm()
180 verify(mAlarmManager).setExact(eq(AlarmManager.ELAPSED_REALTIME_WAKEUP), eq(when), in scheduleRunnable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlarmTimeout.java68 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, in schedule()
/frameworks/base/core/java/com/android/internal/util/
DWakeupMessage.java100 mAlarmManager.setExact( in schedule()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobScheduler.java105 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, triggerAtMillis, pendingIntent); in scheduleLater()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java150 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, now + 60000, mAlarmIntent); in performTimeUpdate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java759 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnStart()
805 verify(mAlarmManager.getAlarmManager(), times(2)).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerWhenAllClientsDisconnect()
851 verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), anyLong(), in schedulesTimeoutTimerOnTimeoutToggleChangeWhenNoClients()
865 verify(mAlarmManager.getAlarmManager(), never()).setExact(anyInt(), anyLong(), in doesNotScheduleTimeoutTimerOnStartWhenTimeoutIsDisabled()
886 verify(mAlarmManager.getAlarmManager(), never()).setExact(anyInt(), anyLong(), in doesNotScheduleTimeoutTimerWhenAllClientsDisconnectButTimeoutIsDisabled()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DForceStopRunnable.java147 alarmManager.setExact(RTC_WAKEUP, triggerAt, pendingIntent); in setAlarm()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DAlarms.java127 alarmManager.setExact(RTC_WAKEUP, triggerAtMillis, pendingIntent); in setExactAlarm()
/frameworks/base/core/java/android/app/
DAlarmManager.java541 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() method in AlarmManager
555 public void setExact(@AlarmType int type, long triggerAtMillis, String tag, in setExact() method in AlarmManager
/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java53 doAnswer(new SetListenerAnswer()).when(mAlarmManager).setExact(anyInt(), anyLong(), in TestAlarmManager()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe()
DEventConditionProvider.java284 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent); in rescheduleAlarm()
DScheduleConditionProvider.java231 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent); in updateAlarm()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeUiTest.java106 verify(mAlarmManager).setExact(anyInt(), anyLong(), eq("doze_time_tick"), any(), any()); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java119 verify(mAlarmManager).setExact(eq(AlarmManager.RTC), eq(triggerAt), anyString(), any(), in schedulesAlarm12hBefore()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java173 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME, nextElapsed, in updateBurnInProtection()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java458 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mPushPendingIntent); in scheduleNext()
484 mAlarmMgr.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextTime, mStopPendingIntent); in startLoadtest()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java238 mAlarmManager.setExact(AlarmManager.RTC, triggerAtMillis, TAG, this, mHandler); in updateTwilightState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java288 mAlarmManager.setExact(AlarmManager.RTC, triggerAt, "lock_screen_next_alarm", in onNextAlarmChanged()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java447 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME, timestampMs, mAnomalyAlarmIntent); in setAnomalyAlarm()
475 … mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME, timestampMs, mPeriodicAlarmIntent); in setAlarmForSubscriberTriggering()
504 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME, nextPullTimeMs, mPullingAlarmIntent); in setPullingAlarm()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java138 mAlarmManager.setExact(AlarmManager.RTC, calendar.getTimeInMillis(), TAG, this::onAlarm, in scheduleRotateLocked()
/frameworks/base/services/core/java/com/android/server/display/
DColorDisplayService.java489 mAlarmManager.setExact(AlarmManager.RTC, millis, TAG, this, null); in updateNextAlarm()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java458 verify(mAlarmManager).setExact(anyInt(), anyLong(), any(), any(), any()); in testWillHideAodWallpaper()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java707 verify(mAlarmManager, times(1)).setExact(eq(AlarmManager.ELAPSED_REALTIME_WAKEUP), in testDataRetry()
1302 verify(mAlarmManager, times(1)).setExact(eq(AlarmManager.ELAPSED_REALTIME_WAKEUP), in testUpdateWaitingApnListOnDataRatChange()

12