Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java50 AlarmManager alarmManager = context.getSystemService(AlarmManager.class); in assembleMachine() local
70 new DozePauser(handler, machine, alarmManager, params.getPolicy()), in assembleMachine()
72 createDozeTriggers(context, sensorManager, host, alarmManager, config, params, in assembleMachine()
74 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), in assembleMachine()
96 DozeHost host, AlarmManager alarmManager, AmbientDisplayConfiguration config, in createDozeTriggers() argument
100 return new DozeTriggers(context, machine, host, alarmManager, config, params, in createDozeTriggers()
105 DozeMachine machine, Handler handler, AlarmManager alarmManager, in createDozeUi() argument
107 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.java66 public DozeUi(Context context, AlarmManager alarmManager, DozeMachine machine, in DozeUi() argument
76 mTimeTicker = new AlarmTimeout(alarmManager, this::onTimeTick, "doze_time_tick", handler); in DozeUi()
DDozeTriggers.java91 AlarmManager alarmManager, AmbientDisplayConfiguration config, in DozeTriggers() argument
103 mDozeSensors = new DozeSensors(context, alarmManager, mSensorManager, dozeParameters, in DozeTriggers()
DDozeSensors.java83 public DozeSensors(Context context, AlarmManager alarmManager, SensorManager sensorManager, in DozeSensors() argument
87 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/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorCallbackImpl.java80 AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); in setDeviceTimeZone() local
81 alarmManager.setTimeZone(zoneId); in setDeviceTimeZone()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java422 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in scheduleProvisioningRechecks() local
426 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, firstAlarmTime, periodMs, in scheduleProvisioningRechecks()
433 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in cancelTetherProvisioningRechecks() local
435 alarmManager.cancel(mProvisioningRecheckAlarm); in cancelTetherProvisioningRechecks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java142 AlarmManager alarmManager, KeyguardMonitor keyguardMonitor) { in createScrimController() argument
144 scrimVisibleListener, dozeParameters, alarmManager, keyguardMonitor); in createScrimController()
/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/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java215 AlarmManager alarmManager = in cleanupRenewalAlarms() local
217 alarmManager.cancel(carrierKeyDownloadIntent); in cleanupRenewalAlarms()
270 final AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in resetRenewalAlarm() local
275 alarmManager.set(AlarmManager.RTC_WAKEUP, minExpirationDate, carrierKeyDownloadIntent); in resetRenewalAlarm()
/frameworks/base/core/java/android/app/
DAlarmManager.java233 public void doAlarm(IAlarmCompleteListener alarmManager) { in doAlarm() argument
234 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.java3503 verify(getServices().alarmManager).setTime(0); in testSetTime()
3523 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java696 AlarmManager alarmManager, KeyguardMonitor keyguardMonitor) { in SynchronousScrimController() argument
698 dozeParameters, alarmManager, keyguardMonitor); in SynchronousScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java183 AlarmManager alarmManager, KeyguardMonitor keyguardMonitor) { in ScrimController() argument
196 mTimeTicker = new AlarmTimeout(alarmManager, this::onHideWallpaperTimeout, in ScrimController()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java134 CarrierNetworkConfig carrierNetworkConfig, AlarmManager alarmManager, Looper looper, in WificondControl() argument
139 mAlarmManager = alarmManager; in WificondControl()
DWifiNetworkFactory.java349 ActivityManager activityManager, AlarmManager alarmManager, in WifiNetworkFactory() argument
360 mAlarmManager = alarmManager; in WifiNetworkFactory()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java404 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in create() local
410 alarmManager, wakeLock, getDefaultClock(), in create()
423 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument
430 mAlarmManager = Objects.requireNonNull(alarmManager, "missing AlarmManager"); in NetworkStatsService()