Searched refs:alarmManager (Results 1 – 3 of 3) sorted by relevance
37 private AlarmManager alarmManager; field in ShadowAlarmManagerTest43 alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setUp()44 shadowAlarmManager = shadowOf(alarmManager); in setUp()53 alarmManager.setTimeZone("UTC"); in setTimeZone_UTC_acceptAlways()59 alarmManager.setTimeZone("America/Sao_Paulo"); in setTimeZone_OlsonTimeZone_acceptAlways()67 alarmManager.setTimeZone("PST"); in setTimeZone_abbreviateTimeZone_ignore()78 alarmManager.setTimeZone("PST"); in setTimeZone_abbreviateTimezoneId_accept()86 alarmManager.setTimeZone("-07:00"); in setTimeZone_invalidTimeZone_ignore()97 alarmManager.setTimeZone("-07:00"); in setTimeZone_invalidTimeZone_fallbackToGMT()104 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, in set_shouldRegisterAlarm()[all …]
170 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in installAlarm() local171 alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + PING_MILLIS, in installAlarm()176 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in uninstallAlarm() local177 alarmManager.cancel(IntentBuilders.buildTriggerServicePendingIntent(this)); in uninstallAlarm()
176 AlarmManager alarmManager = (AlarmManager) in cancelRetryAlarm() local178 alarmManager.cancel(mRetryAlarmIntent); in cancelRetryAlarm()204 AlarmManager alarmManager = (AlarmManager) in scheduleRetry() local206 alarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleRetry()