/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemAlarmHelper.java | 45 AlarmManager alarmManager = Objects.requireNonNull( in setDelayedAlarmInternal() local 47 alarmManager.set(ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + delayMs, in setDelayedAlarmInternal() 53 AlarmManager alarmManager = Objects.requireNonNull( in cancel() local 55 alarmManager.cancel(listener); in cancel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDiscoverableTimeoutReceiver.java | 42 AlarmManager alarmManager = in setDiscoverableAlarm() local 47 alarmManager.cancel(pending); in setDiscoverableAlarm() 52 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending); in setDiscoverableAlarm() 64 AlarmManager alarmManager = in cancelDiscoverableAlarm() local 67 alarmManager.cancel(pending); in cancelDiscoverableAlarm()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | AlarmQueue.java | 100 final AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); 101 if (alarmManager == null) { 120 alarmManager.setExact(AlarmManager.ELAPSED_REALTIME, 123 alarmManager.setWindow(AlarmManager.ELAPSED_REALTIME, 294 final AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); in setNextAlarmLocked() local 295 if (alarmManager != null) { in setNextAlarmLocked() 298 alarmManager.cancel(this); in setNextAlarmLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicyTest.kt | 89 @Mock private lateinit var alarmManager: AlarmManager variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest 129 whenever(alarmManager.getNextAlarmClock(anyInt())).thenReturn(alarmInfo) in testDeviceNotProvisioned_alarmIconNotShown() 143 whenever(alarmManager.getNextAlarmClock(anyInt())).thenReturn(alarmInfo) in testDeviceProvisioned_alarmIconShown() 157 whenever(alarmManager.getNextAlarmClock(anyInt())).thenReturn(alarmInfo) in testDeviceProvisionedChanged_alarmIconShownAfterCurrentUserSetup() 192 alarmManager, in createStatusBarPolicy()
|
/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/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozePauser.java | 39 public DozePauser(@Main Handler handler, AlarmManager alarmManager, in DozePauser() argument 41 mPauseTimeout = new AlarmTimeout(alarmManager, this::onTimeout, TAG, handler); in DozePauser()
|
D | DozeUi.java | 60 public DozeUi(Context context, AlarmManager alarmManager, in DozeUi() argument 71 mTimeTicker = new AlarmTimeout(alarmManager, this::onTimeTick, "doze_time_tick", handler); in DozeUi()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | EnvironmentImpl.java | 81 AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); in setDeviceTimeZone() local 82 alarmManager.setTimeZone(zoneId); in setDeviceTimeZone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NextAlarmControllerImpl.java | 68 AlarmManager alarmManager, in NextAlarmControllerImpl() argument 73 mAlarmManager = alarmManager; in NextAlarmControllerImpl()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 123 AlarmManager alarmManager = (AlarmManager) context.getSystemService(ALARM_SERVICE); in showNotificationIfNotInstalledDelayed() local 129 alarmManager.set(AlarmManager.ELAPSED_REALTIME, in showNotificationIfNotInstalledDelayed()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 234 AlarmManager alarmManager = in cleanupRenewalAlarms() local 236 alarmManager.cancel(carrierKeyDownloadIntent); in cleanupRenewalAlarms() 289 final AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in resetRenewalAlarm() local 295 alarmManager.set(AlarmManager.RTC_WAKEUP, minExpirationDate, carrierKeyDownloadIntent); in resetRenewalAlarm()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
D | InternalResourceService.java | 628 AlarmManager alarmManager = getContext().getSystemService(AlarmManager.class); in scheduleUnusedWealthReclamationLocked() local 629 if (alarmManager != null) { in scheduleUnusedWealthReclamationLocked() 630 alarmManager.setWindow(AlarmManager.ELAPSED_REALTIME, in scheduleUnusedWealthReclamationLocked() 753 AlarmManager alarmManager = getContext().getSystemService(AlarmManager.class); in tearDownEverything() local 754 if (alarmManager != null) { in tearDownEverything() 755 alarmManager.cancel(mUnusedWealthReclamationListener); in tearDownEverything()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayStatusBarViewController.java | 150 AlarmManager alarmManager, in DreamOverlayStatusBarViewController() argument 165 mAlarmManager = alarmManager; in DreamOverlayStatusBarViewController()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | AlarmManager.java | 347 public void doAlarm(IAlarmCompleteListener alarmManager) { in doAlarm() argument 348 mCompletion = alarmManager; in doAlarm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 126 public final AlarmManager alarmManager; field in MockSystemServices 178 alarmManager = mock(AlarmManager.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 227 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager()
|
D | DpmMockContext.java | 217 return mMockSystemServices.alarmManager; in getSystemService()
|
D | DevicePolicyManagerTest.java | 4476 verify(getServices().alarmManager).setTime(0); in testSetTime() 4490 verify(getServices().alarmManager).setTime(0); in testSetTimeWithPOOfOrganizationOwnedDevice() 4507 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZone() 4522 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZoneWithPOOfOrganizationOwnedDevice() 7368 verify(getServices().alarmManager, never()) in testMaximumProfileTimeOff_profileOffTimeExceeded() 7374 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7380 verify(getServices().alarmManager, times(1)) in testMaximumProfileTimeOff_profileOffTimeExceeded() 7387 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7394 verify(getServices().alarmManager, times(1)).set(anyInt(), eq(PROFILE_OFF_DEADLINE), any()); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7400 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 252 AlarmManager alarmManager in KeyguardIndicationController() argument 297 alarmManager, in KeyguardIndicationController() 303 alarmManager, in KeyguardIndicationController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 178 SensorPrivacyController sensorPrivacyController, AlarmManager alarmManager, in PhoneStatusBarPolicy() argument 195 mAlarmManager = alarmManager; in PhoneStatusBarPolicy()
|
D | ScrimController.java | 290 AlarmManager alarmManager, in ScrimController() argument 318 mTimeTicker = new AlarmTimeout(alarmManager, this::onHideWallpaperTimeout, in ScrimController()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 18181 final AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); 18183 alarmManager.setTimeZone(timeZone); 18186 alarmManager.setTime(localTime);
|