/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
ScrollHandler.java | 17 package com.android.deskclock.alarms;
|
AlarmKlaxon.java | 17 package com.android.deskclock.alarms;
|
TimePickerDialogFragment.java | 17 package com.android.deskclock.alarms;
|
AlarmUpdateHandler.java | 17 package com.android.deskclock.alarms;
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 17 package com.example.android.directboot.alarms; 30 * Class responsible for saving/retrieving alarms. This class uses SharedPreferences as storage. 83 * Retrieves the alarms stored in the SharedPreferences. 84 * This method takes linear time as the alarms count. 86 * @return a {@link Set} of alarms. 89 Set<Alarm> alarms = new HashSet<>(); local 91 alarms.add(Alarm.fromJson(entry.getValue().toString())); 93 return alarms; 98 * This method iterates through the alarms stored in the SharedPreferences, takes linear time 99 * as the alarms count [all...] |
Alarm.java | 17 package com.example.android.directboot.alarms;
|
AlarmIntentService.java | 17 package com.example.android.directboot.alarms;
|
AlarmUtil.java | 17 package com.example.android.directboot.alarms; 29 * Utility class for alarms.
|
AlarmAdapter.java | 17 package com.example.android.directboot.alarms; 41 * scheduled alarms. 52 public AlarmAdapter(Context context, Set<Alarm> alarms) { 54 mAlarmList.addAll(alarms);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 17 package com.example.android.directboot.alarms; 30 * Class responsible for saving/retrieving alarms. This class uses SharedPreferences as storage. 83 * Retrieves the alarms stored in the SharedPreferences. 84 * This method takes linear time as the alarms count. 86 * @return a {@link Set} of alarms. 89 Set<Alarm> alarms = new HashSet<>(); local 91 alarms.add(Alarm.fromJson(entry.getValue().toString())); 93 return alarms; 98 * This method iterates through the alarms stored in the SharedPreferences, takes linear time 99 * as the alarms count [all...] |
Alarm.java | 17 package com.example.android.directboot.alarms;
|
AlarmIntentService.java | 17 package com.example.android.directboot.alarms;
|
AlarmUtil.java | 17 package com.example.android.directboot.alarms; 29 * Utility class for alarms.
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmStorage.java | 17 package com.example.android.directboot.alarms; 30 * Class responsible for saving/retrieving alarms. This class uses SharedPreferences as storage. 83 * Retrieves the alarms stored in the SharedPreferences. 84 * This method takes linear time as the alarms count. 86 * @return a {@link Set} of alarms. 89 Set<Alarm> alarms = new HashSet<>(); local 91 alarms.add(Alarm.fromJson(entry.getValue().toString())); 93 return alarms; 98 * This method iterates through the alarms stored in the SharedPreferences, takes linear time 99 * as the alarms count [all...] |
Alarm.java | 17 package com.example.android.directboot.alarms;
|
AlarmIntentService.java | 17 package com.example.android.directboot.alarms;
|
AlarmUtil.java | 17 package com.example.android.directboot.alarms; 29 * Utility class for alarms.
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
DeskClockBackupAgent.java | 31 import com.android.deskclock.alarms.AlarmStateManager; 72 * Consequently, the work of scheduling alarms on the restore device cannot be done here. 73 * Instead, a future callback to DeskClock is used as a signal to reschedule the alarms. The 117 // Now that alarms have been restored, schedule new instances in AlarmManager. 119 final List<Alarm> alarms = Alarm.getAlarms(contentResolver, null); local 122 for (Alarm alarm : alarms) {
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
AlarmItemHolder.java | 17 package com.android.deskclock.alarms.dataadapter; 22 import com.android.deskclock.alarms.AlarmTimeClickHandler;
|
AlarmItemViewHolder.java | 17 package com.android.deskclock.alarms.dataadapter;
|
/system/bt/osi/test/ |
alarm_test.cc | 291 alarm_t* alarms[100]; local 296 alarms[i] = alarm_new(alarm_name.c_str()); 300 alarm_set(alarms[i], 100, ordered_cb, INT_TO_PTR(i)); 310 for (int i = 0; i < 100; i++) alarm_free(alarms[i]); 318 alarm_t* alarms[100]; local 334 alarms[i] = alarm_new(alarm_name.c_str()); 338 alarm_set_on_mloop(alarms[i], 100, ordered_cb, INT_TO_PTR(i)); 348 for (int i = 0; i < 100; i++) alarm_free(alarms[i]);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
CountdownConditionProvider.java | 115 final AlarmManager alarms = (AlarmManager) local 122 alarms.cancel(pendingIntent); 132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
|
EventConditionProvider.java | 269 final AlarmManager alarms = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); local 276 alarms.cancel(pendingIntent); 284 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
|
ScheduleConditionProvider.java | 206 final AlarmManager alarms = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); local 213 alarms.cancel(pendingIntent); 217 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/ |
WakeupAlarmAnomalyDetector.java | 39 * Check whether apps has too many wakeup alarms 127 final ArrayMap<String, ? extends BatteryStats.Counter> alarms = local 129 for (Map.Entry<String, ? extends BatteryStats.Counter> alarm : alarms.entrySet()) {
|