Home
last modified time | relevance | path

Searched refs:alarmManager (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java48 AlarmManager alarmManager = context.getSystemService(AlarmManager.class); in assembleMachine() local
66 new DozePauser(handler, machine, alarmManager, params.getPolicy()), in assembleMachine()
68 createDozeTriggers(context, sensorManager, host, alarmManager, config, params, in assembleMachine()
70 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), in assembleMachine()
91 DozeHost host, AlarmManager alarmManager, AmbientDisplayConfiguration config, in createDozeTriggers() argument
95 return new DozeTriggers(context, machine, host, alarmManager, config, params, in createDozeTriggers()
100 DozeMachine machine, Handler handler, AlarmManager alarmManager, in createDozeUi() argument
102 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler, params, in createDozeUi()
DDozePauser.java33 public DozePauser(Handler handler, DozeMachine machine, AlarmManager alarmManager, in DozePauser() argument
36 mPauseTimeout = new AlarmTimeout(alarmManager, this::onTimeout, TAG, handler); in DozePauser()
DDozeUi.java65 public DozeUi(Context context, AlarmManager alarmManager, DozeMachine machine, in DozeUi() argument
75 mTimeTicker = new AlarmTimeout(alarmManager, this::onTimeTick, "doze_time_tick", handler); in DozeUi()
DDozeTriggers.java90 AlarmManager alarmManager, AmbientDisplayConfiguration config, in DozeTriggers() argument
102 mDozeSensors = new DozeSensors(context, alarmManager, mSensorManager, dozeParameters, in DozeTriggers()
DDozeSensors.java81 public DozeSensors(Context context, AlarmManager alarmManager, SensorManager sensorManager, in DozeSensors() argument
85 mAlarmManager = alarmManager; in DozeSensors()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDiscoverableTimeoutReceiver.java42 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/base/packages/SystemUI/src/com/android/systemui/util/
DAlarmTimeout.java39 public AlarmTimeout(AlarmManager alarmManager, AlarmManager.OnAlarmListener listener, in AlarmTimeout() argument
41 mAlarmManager = alarmManager; in AlarmTimeout()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNewTimeServiceHelper.java164 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setDeviceTimeZoneStatic() local
165 alarmManager.setTimeZone(zoneId); in setDeviceTimeZoneStatic()
DOldTimeServiceHelper.java186 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setDeviceTimeZoneStatic() local
187 alarmManager.setTimeZone(zoneId); in setDeviceTimeZoneStatic()
DCarrierKeyDownloadManager.java213 AlarmManager alarmManager = in cleanupRenewalAlarms() local
215 alarmManager.cancel(carrierKeyDownloadIntent); in cleanupRenewalAlarms()
268 final AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in resetRenewalAlarm() local
273 alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, minExpirationDate, in resetRenewalAlarm()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java122 AlarmManager alarmManager = (AlarmManager) context.getSystemService(ALARM_SERVICE); in showNotificationIfNotInstalledDelayed() local
128 alarmManager.set(AlarmManager.ELAPSED_REALTIME, in showNotificationIfNotInstalledDelayed()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java423 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in scheduleProvisioningRechecks() local
427 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, firstAlarmTime, periodMs, in scheduleProvisioningRechecks()
434 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in cancelTetherProvisioningRechecks() local
436 alarmManager.cancel(mProvisioningRecheckAlarm); in cancelTetherProvisioningRechecks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java141 AlarmManager alarmManager) { in createScrimController() argument
143 scrimVisibleListener, dozeParameters, alarmManager); in createScrimController()
/frameworks/base/core/java/android/app/
DAlarmManager.java234 public void doAlarm(IAlarmCompleteListener alarmManager) { in doAlarm() argument
235 mCompletion = alarmManager; in doAlarm()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java109 public final AlarmManager alarmManager; field in MockSystemServices
148 alarmManager = mock(AlarmManager.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java217 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager()
DDpmMockContext.java209 return mMockSystemServices.alarmManager; in getSystemService()
DDevicePolicyManagerTest.java3476 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/
DScrimControllerTest.java683 AlarmManager alarmManager) { in SynchronousScrimController() argument
685 dozeParameters, alarmManager); in SynchronousScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java180 AlarmManager alarmManager) { in ScrimController() argument
193 mTimeTicker = new AlarmTimeout(alarmManager, this::onHideWallpaperTimeout, in ScrimController()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java132 CarrierNetworkConfig carrierNetworkConfig, AlarmManager alarmManager, Looper looper, in WificondControl() argument
137 mAlarmManager = alarmManager; in WificondControl()
DWifiNetworkFactory.java369 ActivityManager activityManager, AlarmManager alarmManager, in WifiNetworkFactory() argument
380 mAlarmManager = alarmManager; in WifiNetworkFactory()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java337 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in create() local
342 NetworkStatsService service = new NetworkStatsService(context, networkManager, alarmManager, in create()
360 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument
365 mAlarmManager = checkNotNull(alarmManager, "missing AlarmManager"); in NetworkStatsService()