/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/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 | 101 public DozeUi(Context context, AlarmManager alarmManager, in DozeUi() argument 113 mTimeTicker = new AlarmTimeout(alarmManager, this::onTimeTick, "doze_time_tick", handler); in DozeUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NextAlarmControllerImpl.java | 56 AlarmManager alarmManager, in NextAlarmControllerImpl() argument 60 mAlarmManager = alarmManager; in NextAlarmControllerImpl()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | EnvironmentImpl.java | 167 AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); in setDeviceTimeZone() local 168 alarmManager.setTimeZone(zoneId); in setDeviceTimeZone()
|
/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 | 227 AlarmManager alarmManager = in cleanupRenewalAlarms() local 229 alarmManager.cancel(carrierKeyDownloadIntent); in cleanupRenewalAlarms() 282 final AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( in resetRenewalAlarm() local 288 alarmManager.set(AlarmManager.RTC_WAKEUP, minExpirationDate, carrierKeyDownloadIntent); in resetRenewalAlarm()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | AlarmManager.java | 313 public void doAlarm(IAlarmCompleteListener alarmManager) { in doAlarm() argument 314 mCompletion = alarmManager; in doAlarm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 121 public final AlarmManager alarmManager; field in MockSystemServices 168 alarmManager = mock(AlarmManager.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 240 AlarmManager getAlarmManager() {return services.alarmManager;} in getAlarmManager()
|
D | DevicePolicyManagerTest.java | 4273 verify(getServices().alarmManager).setTime(0); in testSetTime() 4287 verify(getServices().alarmManager).setTime(0); in testSetTimeWithPOOfOrganizationOwnedDevice() 4304 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZone() 4319 verify(getServices().alarmManager).setTimeZone("Asia/Shanghai"); in testSetTimeZoneWithPOOfOrganizationOwnedDevice() 7134 verify(getServices().alarmManager, never()) in testMaximumProfileTimeOff_profileOffTimeExceeded() 7140 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7146 verify(getServices().alarmManager, times(1)) in testMaximumProfileTimeOff_profileOffTimeExceeded() 7153 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7160 verify(getServices().alarmManager, times(1)).set(anyInt(), eq(PROFILE_OFF_DEADLINE), any()); in testMaximumProfileTimeOff_profileOffTimeExceeded() 7167 clearInvocations(getServices().alarmManager); in testMaximumProfileTimeOff_profileOffTimeExceeded() [all …]
|
D | DpmMockContext.java | 216 return mMockSystemServices.alarmManager; in getSystemService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 174 AlarmManager alarmManager, UserManager userManager, in PhoneStatusBarPolicy() argument 189 mAlarmManager = alarmManager; in PhoneStatusBarPolicy()
|
D | ScrimController.java | 225 AlarmManager alarmManager, KeyguardStateController keyguardStateController, in ScrimController() argument 241 mTimeTicker = new AlarmTimeout(alarmManager, this::onHideWallpaperTimeout, in ScrimController()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 407 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in create() local 413 alarmManager, wakeLock, getDefaultClock(), in create() 426 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument 433 mAlarmManager = Objects.requireNonNull(alarmManager, "missing AlarmManager"); in NetworkStatsService()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 17314 final AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); 17316 alarmManager.setTimeZone(timeZone); 17319 alarmManager.setTime(localTime);
|