Home | History | Annotate | Download | only in alarms

Lines Matching defs:alarms

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<>();
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.