/packages/apps/Launcher3/src/com/android/launcher3/ |
OnAlarmListener.java | 4 public void onAlarm(Alarm alarm);
|
SpringLoadedDragController.java | 25 Alarm mAlarm; 33 mAlarm = new Alarm(); 41 // Set a new alarm to expire for the screen that we are hovering over now 50 public void onAlarm(Alarm alarm) {
|
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
|
/frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
Alarm.aidl | 19 interface Alarm {
|
AlarmImpl.java | 27 import com.android.testing.alarmservice.Alarm.Stub; 54 // set alarm, which will be delivered in form of the wakeupIntent 56 Log.d(LOG_TAG, String.format("Alarm set: %d, giving up wake lock", atTime)); 67 Log.d(LOG_TAG, String.format("Alarm triggered, done waiting"));
|
/external/valgrind/main/gdbserver_tests/ |
nlpasssigalrm.stdoutB.exp | 2 SIGALRM Yes Yes Yes Alarm clock 4 Program received signal SIGALRM, Alarm clock. 7 SIGALRM No No Yes Alarm clock
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 37 public final class Alarm implements Parcelable, ClockContract.AlarmsColumns { 79 public static ContentValues createContentValues(Alarm alarm) { 81 if (alarm.id != INVALID_ID) { 82 values.put(ClockContract.AlarmsColumns._ID, alarm.id); 85 values.put(ENABLED, alarm.enabled ? 1 : 0); 86 values.put(HOUR, alarm.hour); 87 values.put(MINUTES, alarm.minutes); 88 values.put(DAYS_OF_WEEK, alarm.daysOfWeek.getBitSet()); 89 values.put(VIBRATE, alarm.vibrate ? 1 : 0) [all...] |
/external/chromium_org/chrome/browser/extensions/api/alarms/ |
alarms_api.h | 17 struct Alarm; 18 typedef std::vector<Alarm> AlarmList; 50 void Callback(const std::string& name, Alarm* alarm);
|
alarm_manager.h | 32 struct Alarm { 33 Alarm(); 34 Alarm(const std::string& name, 38 ~Alarm(); 40 linked_ptr<api::alarms::Alarm> js_alarm; 42 // least as often as the shortest alarm's granularity. It's initialized as 59 typedef std::vector<Alarm> AlarmList; 64 // Called when an alarm fires. 66 const Alarm& alarm) = 0 [all...] |
alarm_manager.cc | 46 const Alarm& alarm) OVERRIDE { 48 args->Append(alarm.js_alarm->ToValue().release()); 65 std::vector<Alarm> AlarmsFromValue(const base::ListValue* list) { 66 std::vector<Alarm> alarms; 69 Alarm alarm; local 71 api::alarms::Alarm::Populate(*alarm_dict, alarm.js_alarm.get())) { 74 base::GetValueAsTimeDelta(*time_value, &alarm.granularity) 84 scoped_ptr<base::DictionaryValue> alarm = local 245 Alarm& alarm = *it.second; local [all...] |
alarms_api_unittest.cc | 24 typedef extensions::api::alarms::Alarm JsAlarm; 32 // Test delegate which quits the message loop when an alarm fires. 37 const Alarm& alarm) OVERRIDE { 38 alarms_seen.push_back(alarm.js_alarm->name); 114 linked_ptr<JsAlarm> alarm(new JsAlarm); 117 ADD_FAILURE() << "Expected a list of Alarm objects."; 120 EXPECT_TRUE(JsAlarm::Populate(*alarm_value, alarm.get())); 121 list.push_back(alarm); 153 // Ensure the alarm is gone 340 JsAlarm alarm; local 353 JsAlarm alarm; local 390 JsAlarm* alarm = alarms[0].get(); local 525 Alarm alarm; local 535 Alarm alarm; 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);
|
SpringLoadedDragController.java | 25 Alarm mAlarm; 33 mAlarm = new Alarm(); 41 // Set a new alarm to expire for the screen that we are hovering over now 50 public void onAlarm(Alarm alarm) {
|
/frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/ |
Android.mk | 23 src/com/android/testing/alarmservice/Alarm.aidl
|
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/ |
Android.mk | 25 ../AlarmService/src/com/android/testing/alarmservice/Alarm.aidl
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 30 import com.android.deskclock.provider.Alarm; 94 // Intent has no time or an invalid time, open the alarm creation UI 95 Intent createAlarm = Alarm.createIntent(this, DeskClock.class, Alarm.INVALID_ID); 110 // Check if the alarm already exists and handle it 112 final List<Alarm> alarms = Alarm.getAlarms(cr, 116 Alarm alarm = alarms.get(0); local 117 alarm.enabled = true 133 Alarm alarm = new Alarm(hour, minutes); local [all...] |
LabelDialogFragment.java | 33 import com.android.deskclock.provider.Alarm; 42 private static final String KEY_ALARM = "alarm"; 48 public static LabelDialogFragment newInstance(Alarm alarm, String label, String tag) { 52 args.putParcelable(KEY_ALARM, alarm); 79 final Alarm alarm = bundle.getParcelable(KEY_ALARM); local 91 set(alarm, timer, tag); 110 set(alarm, timer, tag); 120 private void set(Alarm alarm, TimerObj timer, String tag) [all...] |
AlarmClockFragment.java | 70 import com.android.deskclock.provider.Alarm; 104 // This extra is used when receiving an intent to create an alarm, but no alarm details 105 // have been passed in, so the alarm page should start the process of creating a new alarm. 108 // This extra is used when receiving an intent to scroll to specific alarm. If alarm 109 // can not be found, and toast message will pop up that the alarm has be deleted. 110 public static final String SCROLL_TO_ALARM_INTENT_EXTRA = "deskclock.scroll.to.alarm"; 125 private Alarm mSelectedAlarm 731 Alarm alarm; field in class:AlarmClockFragment.AlarmItemAdapter.ItemHolder [all...] |
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
SetAlarm.java | 31 import com.android.testing.alarmservice.Alarm; 44 private Alarm mAlarmService = null; 60 mAlarmService = Alarm.Stub.asInterface(service); 72 errorFinish("argument expected for alarm time");
|
/external/chromium/base/threading/ |
watchdog.h | 5 // The Watchdog class creates a second thread that can Alarm if a specific 40 // Start timing, and alarm when time expires (unless we're disarm()ed.) 45 // Reset time, and do not set off the alarm. 48 // Alarm is called if the time expires after an Arm() without someone calling 50 virtual void Alarm(); 75 const TimeDelta duration_; // How long after start_time_ do we alarm? 80 TimeTicks start_time_; // Start of epoch, and alarm after duration_. 82 // When the debugger breaks (when we alarm), all the other alarms that are 83 // armed will expire (also alarm). To diminish this effect, we track any 86 // Without this safety net, any alarm will typically trigger a host of follo [all...] |
watchdog_unittest.cc | 30 virtual void Alarm() { 32 Watchdog::Alarm(); 76 // Make sure a basic alarm fires when the time has expired. 85 // Make sure a basic alarm fires when the time has expired. 97 // Make sure a disable alarm does nothing, even if we arm it. 101 // Alarm should not fire, as it was disabled. 112 PlatformThread::Sleep(100); // Sleep a bit, but not past the alarm point. 122 // Alarm should not have fired before it was disarmed. 130 // ...but even after disarming, we can still use the alarm...
|
watchdog.cc | 72 void Watchdog::Alarm() { 96 // We overslept, so this seems like a real alarm. 97 // Watch out for a user that stopped the debugger on a different alarm! 101 // False alarm: we started our clock before the debugger break (last 102 // alarm time). 110 watchdog_->state_ = DISARMED; // Only alarm at most once. 112 watchdog_->Alarm(); // Set a break point here to debug on alarms.
|
/external/chromium_org/base/threading/ |
watchdog.h | 5 // The Watchdog class creates a second thread that can Alarm if a specific 47 // Start timing, and alarm when time expires (unless we're disarm()ed.) 52 // Reset time, and do not set off the alarm. 55 // Alarm is called if the time expires after an Arm() without someone calling 57 virtual void Alarm(); 82 const TimeDelta duration_; // How long after start_time_ do we alarm? 87 TimeTicks start_time_; // Start of epoch, and alarm after duration_.
|
watchdog_unittest.cc | 31 virtual void Alarm() OVERRIDE { 33 Watchdog::Alarm(); 77 // Make sure a basic alarm fires when the time has expired. 86 // Make sure a basic alarm fires when the time has expired. 98 // Make sure a disable alarm does nothing, even if we arm it. 102 // Alarm should not fire, as it was disabled. 113 // Sleep a bit, but not past the alarm point. 124 // Alarm should not have fired before it was disarmed. 132 // ...but even after disarming, we can still use the alarm...
|
/frameworks/base/services/java/com/android/server/ |
AlarmManagerService.java | 68 // The threshold for how long an alarm can be late before we print a 79 // Mask for testing whether a given alarm type is wakeup vs non-wakeup 136 final ArrayList<Alarm> alarms = new ArrayList<Alarm>(); 143 Batch(Alarm seed) { 153 Alarm get(int index) { 161 boolean add(Alarm alarm) { 163 // narrows the batch if necessary; presumes that canHold(alarm) is true 164 int index = Collections.binarySearch(alarms, alarm, sIncreasingTimeOrder) 191 Alarm alarm = alarms.get(i); local 218 Alarm alarm = alarms.get(i); local 245 Alarm alarm = alarms.get(i); local 1040 Alarm alarm = batch.get(i); local 1206 Alarm alarm = triggerList.get(i); local 1306 Alarm alarm = triggerList.get(i); local [all...] |