HomeSort by relevance Sort by last modified time
    Searched defs:Alarm (Results 1 - 18 of 18) 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 37 import com.android.deskclock.provider.Alarm;
61 * the com.android.alarm.permission.SET_ALARM permission to complete the requested action.
123 public static void dismissAlarm(Alarm alarm, Activity activity) {
126 context.getContentResolver(), alarm.id);
130 LOGGER.i("No alarm instance to dismiss");
151 // Otherwise the alarm cannot be dismissed at this time.
155 LOGGER.i("Can't dismiss alarm more than 24 hours in advance");
161 LOGGER.i("Alarm dismissed: " + instance);
180 final List<Alarm> alarms = getEnabledAlarms(mContext)
351 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...]
  /frameworks/base/services/core/java/com/android/server/
AlarmManagerService.java 99 // Mask for testing whether a given alarm type is wakeup vs non-wakeup
140 ArrayList<Alarm> mPendingNonWakeupAlarms = new ArrayList<>();
182 * For each uid, this is the last time we dispatched an "allow while idle" alarm,
183 * used to determine the earliest we can dispatch the next such alarm.
237 // Minimum futurity of a new alarm
240 // Minimum alarm recurrence interval
253 // Direct alarm listener callback timeout
300 Slog.e(TAG, "Bad alarm manager settings", e);
351 // Alarm delivery ordering bookkeeping
389 final ArrayList<Alarm> alarms = new ArrayList<Alarm>()
455 Alarm alarm = alarms.get(i); local
495 Alarm alarm = alarms.get(i); local
527 Alarm alarm = alarms.get(i); local
562 Alarm alarm = alarms.get(i); local
2213 Alarm alarm = batch.get(i); local
2506 Alarm alarm = triggerList.get(i); local
2719 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 

Completed in 450 milliseconds