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

  /external/chromium_org/chrome/browser/extensions/api/alarms/
alarm_manager.cc 5 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
21 #include "chrome/common/extensions/api/alarms.h"
27 namespace alarms = api::alarms;
31 // A list of alarms that this extension has set.
32 const char kRegisteredAlarms[] = "alarms";
35 // The minimum period between polling for alarms to run.
49 scoped_ptr<Event> event(new Event(alarms::OnAlarm::kEventName,
66 std::vector<Alarm> alarms; local
71 api::alarms::Alarm::Populate(*alarm_dict, alarm.js_alarm.get()))
    [all...]
alarms_api_unittest.cc 5 // This file tests the chrome.alarms extension API.
9 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
10 #include "chrome/browser/extensions/api/alarms/alarms_api.h"
24 typedef extensions::api::alarms::Alarm JsAlarm;
66 // Make sure there's a RenderViewHost for alarms to warn into.
126 // Creates up to 3 alarms using the extension API.
152 const AlarmManager::AlarmList* alarms) {
154 ASSERT_FALSE(alarms);
300 const AlarmManager::AlarmList* alarms) {
301 ASSERT_TRUE(alarms);
376 std::vector<linked_ptr<JsAlarm> > alarms = ToAlarmList(result.get()); local
386 std::vector<linked_ptr<JsAlarm> > alarms = ToAlarmList(result.get()); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 29 import com.android.deskclock.alarms.AlarmStateManager;
112 final List<Alarm> alarms = Alarm.getAlarms(cr, local
115 if (!alarms.isEmpty()) {
116 Alarm alarm = alarms.get(0);
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmActivity.java 17 package com.android.deskclock.alarms;
AlarmKlaxon.java 17 package com.android.deskclock.alarms;
40 // Volume suggested by media team for in-call alarms.
131 // do not play alarms if stream volume is 0 (typically because ringer mode is silent).
AlarmNotifications.java 16 package com.android.deskclock.alarms;
AlarmService.java 16 package com.android.deskclock.alarms;
AlarmStateManager.java 16 package com.android.deskclock.alarms;
172 // from scheduling and dismissing alarms up to current time.
485 * alarms, but it can also be called when the system time changes.
492 * <li>Make sure all dismissed alarms are never re-activated</li>
493 * <li>Make sure firing alarms stayed fired unless they should be auto-silenced</li>
536 // TODO: This will re-activate missed snoozed alarms, but will
  /frameworks/base/services/java/com/android/server/
AlarmManagerService.java 136 final ArrayList<Alarm> alarms = new ArrayList<Alarm>(); field in class:AlarmManagerService.Batch
146 alarms.add(seed);
150 return alarms.size();
154 return alarms.get(index);
164 int index = Collections.binarySearch(alarms, alarm, sIncreasingTimeOrder);
168 alarms.add(index, alarm);
190 for (int i = 0; i < alarms.size(); ) {
191 Alarm alarm = alarms.get(i);
193 alarms.remove(i);
217 for (int i = 0; i < alarms.size(); )
    [all...]

Completed in 163 milliseconds