HomeSort by relevance Sort by last modified time
    Searched defs:Alarm (Results 1 - 20 of 20) sorted by null

  /tools/tradefederation/core/src/com/android/tradefed/util/
Alarm.java 30 public class Alarm extends Thread {
42 public Alarm(long timeout) {
48 "Alarm timeout time %d <= 0, which is not valid.", timeout));
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 28 * Class represents a single alarm.
30 public class Alarm implements Comparable<Alarm> {
43 public Alarm(int id, int month, int date, int hour, int minute) {
51 public Alarm() {
74 * Parses a Json string to an {@link Alarm} instance.
76 * @param string The String representation of an alarm
77 * @return an instance of {@link Alarm}
79 public static Alarm fromJson(String string) {
81 Alarm alarm = new Alarm() local
115 Alarm alarm = (Alarm) o; local
    [all...]
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 28 * Class represents a single alarm.
30 public class Alarm implements Comparable<Alarm> {
43 public Alarm(int id, int month, int date, int hour, int minute) {
51 public Alarm() {
74 * Parses a Json string to an {@link Alarm} instance.
76 * @param string The String representation of an alarm
77 * @return an instance of {@link Alarm}
79 public static Alarm fromJson(String string) {
81 Alarm alarm = new Alarm() local
115 Alarm alarm = (Alarm) o; local
    [all...]
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
Alarm.java 28 * Class represents a single alarm.
30 public class Alarm implements Comparable<Alarm> {
43 public Alarm(int id, int month, int date, int hour, int minute) {
51 public Alarm() {
74 * Parses a Json string to an {@link Alarm} instance.
76 * @param string The String representation of an alarm
77 * @return an instance of {@link Alarm}
79 public static Alarm fromJson(String string) {
81 Alarm alarm = new Alarm() local
115 Alarm alarm = (Alarm) o; local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
Alarm.java 21 public class Alarm implements Runnable{
22 // if we reach this time and the alarm hasn't been cancelled, call the listener
33 public Alarm() {
41 // Sets the alarm to go off in a certain number of milliseconds. If the alarm is already set,
42 // it's overwritten and only the new alarm setting is used
83 public void onAlarm(Alarm alarm);
  /packages/apps/Launcher3/src/com/android/launcher3/
Alarm.java 22 public class Alarm implements Runnable{
23 // if we reach this time and the alarm hasn't been cancelled, call the listener
34 public Alarm() {
42 // Sets the alarm to go off in a certain number of milliseconds. If the alarm is already set,
43 // it's overwritten and only the new alarm setting is used
50 // If the previous alarm was set for a longer duration, cancel it.
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 38 import com.android.deskclock.provider.Alarm;
62 * the com.android.alarm.permission.SET_ALARM permission to complete the requested action.
126 public static void dismissAlarm(Alarm alarm, Activity activity) {
129 context.getContentResolver(), alarm.id);
133 LOGGER.i("No alarm instance to dismiss");
154 // Otherwise the alarm cannot be dismissed at this time.
158 LOGGER.i("Can't dismiss alarm more than 24 hours in advance");
164 LOGGER.i("Alarm dismissed: " + instance);
183 final List<Alarm> alarms = getEnabledAlarms(mContext)
354 final Alarm alarm; local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
Alarm.java 39 public final class Alarm implements Parcelable, ClockContract.AlarmsColumns {
113 public static ContentValues createContentValues(Alarm alarm) {
115 if (alarm.id != INVALID_ID) {
116 values.put(ClockContract.AlarmsColumns._ID, alarm.id);
119 values.put(ENABLED, alarm.enabled ? 1 : 0);
120 values.put(HOUR, alarm.hour);
121 values.put(MINUTES, alarm.minutes);
122 values.put(DAYS_OF_WEEK, alarm.daysOfWeek.getBits());
123 values.put(VIBRATE, alarm.vibrate ? 1 : 0)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmStateManager.java 45 import com.android.deskclock.provider.Alarm;
57 * This class handles all the state changes for alarm instances. You need to
58 * register all alarm instances with the state manager if you want them to
68 * This state is used when the alarm is activated, but doesn't need to display anything. It
69 * is in charge of changing the alarm instance state to a LOW_NOTIFICATION_STATE.
72 * This state is used to notify the user that the alarm will go off
87 * also increments the alarm time in the instance to reflect the new snooze time.
90 * The FIRED_STATE is used when the alarm is firing. It will start the AlarmService, and wait
91 * until the user interacts with the alarm via SNOOZED_STATE or DISMISS_STATE change. If the user
95 * The MISSED_STATE is used when the alarm already fired, but the user could not interact wit
264 Alarm alarm = Alarm.getAlarm(cr, instance.mAlarmId); local
657 final Alarm alarm = Alarm.getAlarm(cr, instance.mAlarmId); local
808 final Alarm alarm = Alarm.getAlarm(contentResolver, instance.mAlarmId); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_socket.py 670 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
671 self.skipTest("signal.alarm and socket.socketpair required for this test")
683 # Just above the one second minimum for signal.alarm
686 signal.alarm(1)
690 signal.alarm(1)
    [all...]
  /external/python/cpython2/Lib/test/
test_socket.py 712 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
713 self.skipTest("signal.alarm and socket.socketpair required for this test")
725 # Just above the one second minimum for signal.alarm
728 signal.alarm(1)
732 signal.alarm(1)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_socket.py 671 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
672 self.skipTest("signal.alarm and socket.socketpair required for this test")
684 # Just above the one second minimum for signal.alarm
687 signal.alarm(1)
691 signal.alarm(1)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_socket.py 671 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
672 self.skipTest("signal.alarm and socket.socketpair required for this test")
684 # Just above the one second minimum for signal.alarm
687 signal.alarm(1)
691 signal.alarm(1)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_socket.py 671 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
672 self.skipTest("signal.alarm and socket.socketpair required for this test")
684 # Just above the one second minimum for signal.alarm
687 signal.alarm(1)
691 signal.alarm(1)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_socket.py 671 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
672 self.skipTest("signal.alarm and socket.socketpair required for this test")
684 # Just above the one second minimum for signal.alarm
687 signal.alarm(1)
691 signal.alarm(1)
    [all...]
  /external/python/cpython3/Lib/test/
test_socket.py     [all...]
  /frameworks/base/services/core/java/com/android/server/
AlarmManagerService.java 114 * Alarm manager implementaion.
127 // Mask for testing whether a given alarm type is wakeup vs non-wakeup
171 SparseArray<ArrayList<Alarm>> mPendingBackgroundAlarms = new SparseArray<>();
186 ArrayList<Alarm> mPendingNonWakeupAlarms = new ArrayList<>();
221 * For each uid, this is the last time we dispatched an "allow while idle" alarm,
222 * used to determine the earliest we can dispatch the next such alarm. Times are in the
228 * For each uid, we store whether the last allow-while-idle alarm was dispatched while
314 // Minimum futurity of a new alarm
317 // Minimum alarm recurrence interval
320 // Maximum alarm recurrence interva
567 Alarm alarm = alarms.get(i); local
904 final Alarm alarm = batch.get(alarmIndex); local
1017 final Alarm alarm = alarmsForUid.get(alarmIndex); local
1037 final Alarm alarm = alarms.get(i); local
3092 Alarm alarm = batch.get(i); local
3429 Alarm alarm = triggerList.get(i); local
3666 Alarm alarm = triggerList.get(i); local
    [all...]
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-applicationautoscaling/1.11.18/
aws-java-sdk-applicationautoscaling-1.11.18.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-autoscaling/1.11.18/
aws-java-sdk-autoscaling-1.11.18.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar 

Completed in 2090 milliseconds