/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | AlarmManagerCompat.java | 57 public static void setAlarmClock(@NonNull AlarmManager alarmManager, long triggerTime, in setAlarmClock() argument 60 alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(triggerTime, showIntent), in setAlarmClock() 63 AlarmManagerCompat.setExact(alarmManager, AlarmManager.RTC_WAKEUP, triggerTime, in setAlarmClock() 115 public static void setAndAllowWhileIdle(@NonNull AlarmManager alarmManager, int type, in setAndAllowWhileIdle() argument 118 alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 120 alarmManager.set(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 160 public static void setExact(@NonNull AlarmManager alarmManager, int type, long triggerAtMillis, in setExact() argument 163 alarmManager.setExact(type, triggerAtMillis, operation); in setExact() 165 alarmManager.set(type, triggerAtMillis, operation); in setExact() 220 public static void setExactAndAllowWhileIdle(@NonNull AlarmManager alarmManager, int type, in setExactAndAllowWhileIdle() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 47 AlarmManager alarmManager = context.getSystemService(AlarmManager.class); in assembleMachine() local 64 new DozePauser(handler, machine, alarmManager, params.getPolicy()), in assembleMachine() 66 createDozeTriggers(context, sensorManager, host, alarmManager, config, params, in assembleMachine() 68 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), in assembleMachine() 88 DozeHost host, AlarmManager alarmManager, AmbientDisplayConfiguration config, in createDozeTriggers() argument 91 return new DozeTriggers(context, machine, host, alarmManager, config, params, in createDozeTriggers() 96 DozeMachine machine, Handler handler, AlarmManager alarmManager, in createDozeUi() argument 98 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler, params, in createDozeUi()
|
D | DozePauser.java | 33 public DozePauser(Handler handler, DozeMachine machine, AlarmManager alarmManager, in DozePauser() argument 36 mPauseTimeout = new AlarmTimeout(alarmManager, this::onTimeout, TAG, handler); in DozePauser()
|
D | DozeUi.java | 66 public DozeUi(Context context, AlarmManager alarmManager, DozeMachine machine, in DozeUi() argument 76 mTimeTicker = new AlarmTimeout(alarmManager, this::onTimeTick, "doze_time_tick", handler); in DozeUi()
|
D | DozeTriggers.java | 74 AlarmManager alarmManager, AmbientDisplayConfiguration config, in DozeTriggers() argument 86 mDozeSensors = new DozeSensors(context, alarmManager, mSensorManager, dozeParameters, in DozeTriggers()
|
D | DozeSensors.java | 72 public DozeSensors(Context context, AlarmManager alarmManager, SensorManager sensorManager, in DozeSensors() argument 77 mAlarmManager = alarmManager; in DozeSensors()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | Alarms.java | 102 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in cancelExactAlarm() local 106 if (pendingIntent != null && alarmManager != null) { in cancelExactAlarm() 111 alarmManager.cancel(pendingIntent); in cancelExactAlarm() 121 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setExactAlarm() local 125 if (alarmManager != null) { in setExactAlarm() 127 alarmManager.setExact(RTC_WAKEUP, triggerAtMillis, pendingIntent); in setExactAlarm() 129 alarmManager.set(RTC_WAKEUP, triggerAtMillis, pendingIntent); in setExactAlarm()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDiscoverableTimeoutReceiver.java | 42 AlarmManager alarmManager = in setDiscoverableAlarm() local 47 alarmManager.cancel(pending); in setDiscoverableAlarm() 53 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending); in setDiscoverableAlarm() 65 AlarmManager alarmManager = in cancelDiscoverableAlarm() local 68 alarmManager.cancel(pending); in cancelDiscoverableAlarm()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | ForceStopRunnable.java | 141 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in setAlarm() local 145 if (alarmManager != null) { in setAlarm() 147 alarmManager.setExact(RTC_WAKEUP, triggerAt, pendingIntent); in setAlarm() 149 alarmManager.set(RTC_WAKEUP, triggerAt, pendingIntent); in setAlarm()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AlarmTimeout.java | 39 public AlarmTimeout(AlarmManager alarmManager, AlarmManager.OnAlarmListener listener, in AlarmTimeout() argument 41 mAlarmManager = alarmManager; in AlarmTimeout()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TimeServiceHelper.java | 186 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setDeviceTimeZoneStatic() local 187 alarmManager.setTimeZone(zoneId); in setDeviceTimeZoneStatic()
|
D | CarrierKeyDownloadManager.java | 197 AlarmManager alarmManager = in cleanupRenewalAlarms() local 199 alarmManager.cancel(carrierKeyDownloadIntent); in cleanupRenewalAlarms() 252 final AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in resetRenewalAlarm() local 257 alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, minExpirationDate, in resetRenewalAlarm()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 122 AlarmManager alarmManager = (AlarmManager) context.getSystemService(ALARM_SERVICE); in showNotificationIfNotInstalledDelayed() local 128 alarmManager.set(AlarmManager.ELAPSED_REALTIME, in showNotificationIfNotInstalledDelayed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 111 AlarmManager alarmManager) { in createScrimController() argument 113 scrimVisibleListener, dozeParameters, alarmManager); in createScrimController()
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 227 public void doAlarm(IAlarmCompleteListener alarmManager) { in doAlarm() argument 228 mCompletion = alarmManager; in doAlarm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 105 public final AlarmManager alarmManager; field in MockSystemServices 142 alarmManager = mock(AlarmManager.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 209 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager()
|
D | DpmMockContext.java | 196 return mMockSystemServices.alarmManager; in getSystemService()
|
D | DevicePolicyManagerTest.java | 3476 verify(getServices().alarmManager).setTime(0); in testSetTime() 3496 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZone()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 651 AlarmManager alarmManager) { in SynchronousScrimController() argument 653 dozeParameters, alarmManager); in SynchronousScrimController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 168 AlarmManager alarmManager) { in ScrimController() argument 178 mTimeTicker = new AlarmTimeout(alarmManager, this::onHideWallpaperTimeout, in ScrimController()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 319 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in create() local 324 NetworkStatsService service = new NetworkStatsService(context, networkManager, alarmManager, in create() 339 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument 344 mAlarmManager = checkNotNull(alarmManager, "missing AlarmManager"); in NetworkStatsService()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 352 public void setAlarmManager(AlarmManager alarmManager) { in setAlarmManager() argument 353 mAlarmManager = alarmManager; in setAlarmManager()
|