Home
last modified time | relevance | path

Searched refs:Alarm (Results 1 – 9 of 9) sorted by relevance

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java30 public class Alarm implements Comparable<Alarm> { class
43 public Alarm(int id, int month, int date, int hour, int minute) { in Alarm() method in Alarm
51 public Alarm() { in Alarm() method in Alarm
79 public static Alarm fromJson(String string) { in fromJson()
81 Alarm alarm = new Alarm(); in fromJson()
112 if (!(o instanceof Alarm)) { in equals()
115 Alarm alarm = (Alarm) o; in equals()
129 public int compareTo(@NonNull Alarm other) { in compareTo()
DAlarmAdapter.java45 private SortedList<Alarm> mAlarmList;
52 public AlarmAdapter(Context context, Set<Alarm> alarms) { in AlarmAdapter()
53 mAlarmList = new SortedList<>(Alarm.class, new SortedListCallback()); in AlarmAdapter()
71 Alarm alarm = mAlarmList.get(position); in onBindViewHolder()
84 Alarm toBeDeleted = mAlarmList.get(position); in onBindViewHolder()
100 public void addAlarm(Alarm alarm) { in addAlarm()
105 public void deleteAlarm(Alarm alarm) { in deleteAlarm()
125 private static class SortedListCallback extends SortedList.Callback<Alarm> {
128 public int compare(Alarm o1, Alarm o2) { in compare()
153 public boolean areContentsTheSame(Alarm oldItem, Alarm newItem) { in areContentsTheSame()
[all …]
DAlarmStorage.java68 public Alarm saveAlarm(int month, int date, int hour, int minute) { in saveAlarm()
69 Alarm alarm = new Alarm(); in saveAlarm()
88 public Set<Alarm> getAlarms() { in getAlarms()
89 Set<Alarm> alarms = new HashSet<>(); in getAlarms()
91 alarms.add(Alarm.fromJson(entry.getValue().toString())); in getAlarms()
103 public void deleteAlarm(Alarm toBeDeleted) { in deleteAlarm()
105 Alarm alarm = Alarm.fromJson(entry.getValue().toString()); in deleteAlarm()
DAlarmUtil.java47 public void scheduleAlarm(Alarm alarm) { in scheduleAlarm()
75 public void cancelAlarm(Alarm alarm) { in cancelAlarm()
100 public static Alarm readAlarm(Bundle extras) { in readAlarm()
107 return new Alarm(id, month, date, hour, minute); in readAlarm()
110 public static Bundle writeAlarm(Alarm alarm){ in writeAlarm()
DAlarmIntentService.java56 Alarm alarm = AlarmUtil.readAlarm(intent.getExtras()); in onHandleIntent()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DTimePickerFragment.java19 import com.example.android.directboot.alarms.Alarm;
80 Alarm alarm = mAlarmStorage in onCreateView()
103 void onAlarmAdded(Alarm alarm); in onAlarmAdded()
DBootBroadcastReceiver.java19 import com.example.android.directboot.alarms.Alarm;
60 for (Alarm alarm : alarmStorage.getAlarms()) { in onReceive()
DSchedulerFragment.java19 import com.example.android.directboot.alarms.Alarm;
117 public void onAlarmAdded(Alarm alarm) { in onAlarmAdded()
132 Alarm alarm = AlarmUtil.readAlarm(intent.getExtras()); in onReceive()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv27074 …ke_Xh0ViHRERGyTJsvnoblSsw@fakeemail.com,Relax some of the timing parameters in the Alarm unit tests
27237 …platform/system/bt,fake_Xh0ViHRERGyTJsvnoblSsw@fakeemail.com,Separate the Alarm unit tests from te…
27624 …0ed3841216e6,platform/system/bt,fake_yIcJh8rJRDKSRF2rlBijaQ@fakeemail.com,Alarm Dump output cleanup
37485 …kages/apps/Launcher3,fake_LC9U8-5PTGeoLepPdAlA9Q@fakeemail.com,Bug fix in Alarm where it was not g…
99836 …rm/frameworks/base,fake_PS4YuR-ITLGJIC8lrvUBNQ@fakeemail.com,Fix crash in the Alarm Manager service
102849 …form/frameworks/base,fake_fgds9lYgSTGb0vaJMdAAug@fakeemail.com,"Fix the ""Alarm volume"" icon is d…
103339 …b7c3e1,platform/frameworks/base,fake_A_O8KVo_Tzus3aC8rljE7g@fakeemail.com,Alarm icon is not shown …
104766 …ase,fake_QQr8o1u-Q9S_8gr3Mxbd1A@fakeemail.com,"Maybe fix issue #62199092: Alarm didn't ring, upcom…
114845 …eskClock,fake_3kOFe5KuQNKr_XXlv-uS_A@fakeemail.com,"""Timer Sound"" and ""Alarm Sound"" are now se…
114892 …latform/packages/apps/DeskClock,fake_3kOFe5KuQNKr_XXlv-uS_A@fakeemail.com,Alarm holders are no lon…
[all …]