HomeSort by relevance Sort by last modified time
    Searched defs:alarm (Results 51 - 72 of 72) sorted by null

1 23

  /frameworks/base/cmds/statsd/src/metrics/
metrics_manager_util.cpp 610 const Alarm& alarm = config.alarm(i); local
611 if (alarm.offset_millis() <= 0) {
612 ALOGW("Alarm offset_millis should be larger than 0.");
615 if (alarm.period_millis() <= 0) {
616 ALOGW("Alarm period_millis should be larger than 0.");
619 alarmTrackerMap.insert(std::make_pair(alarm.id(), allAlarmTrackers.size()));
622 alarm, key, periodicAlarmMonitor));
626 if (subscription.rule_type() != Subscription::ALARM) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DemoStatusIcons.java 129 String alarm = args.getString("alarm"); local
130 if (alarm != null) {
131 int iconId = alarm.equals("show") ? R.drawable.stat_sys_alarm
PhoneStatusBarPolicy.java 210 // Alarm clock
314 final AlarmClockInfo alarm = mAlarmManager.getNextAlarmClock(UserHandle.USER_CURRENT); local
315 final boolean hasAlarm = alarm != null && alarm.getTriggerTime() > 0;
    [all...]
  /packages/apps/Settings/src/com/android/settings/datetime/
ZonePicker.java 251 final AlarmManager alarm = (AlarmManager) activity.getSystemService(Context.ALARM_SERVICE); local
252 alarm.setTimeZone(tzId);
  /system/bt/bta/dm/
bta_dm_pm.cc 856 alarm_t* alarm = (alarm_t*)data; local
864 if (bta_dm_cb.pm_timer[i].timer[j] == alarm) {
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java 45 import com.android.deskclock.provider.Alarm;
58 * A fragment that displays a list of alarm time and allows interaction with them.
65 // This extra is used when receiving an intent to create an alarm, but no alarm details
66 // have been passed in, so the alarm page should start the process of creating a new alarm.
69 // This extra is used when receiving an intent to scroll to specific alarm. If alarm
70 // can not be found, and toast message will pop up that the alarm has be deleted.
71 public static final String SCROLL_TO_ALARM_INTENT_EXTRA = "deskclock.scroll.to.alarm";
278 final Alarm alarm = new Alarm(data); local
    [all...]
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...]
Utils.java 284 * @return The next alarm from {@link AlarmManager}
328 * Clock views can call this to refresh their alarm to the next upcoming value.
337 final String alarm = getNextAlarm(context); local
338 if (!TextUtils.isEmpty(alarm)) {
339 final String description = context.getString(R.string.next_alarm_description, alarm);
340 nextAlarmView.setText(alarm);
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
ExpandedAlarmViewHolder.java 48 import com.android.deskclock.provider.Alarm;
58 * A ViewHolder containing views for an alarm item in expanded state.
158 // Delete alarm handler
195 final Alarm alarm = itemHolder.item; local
198 bindEditLabel(context, alarm);
199 bindDaysOfWeekButtons(alarm, context);
200 bindVibrator(alarm);
201 bindRingtone(context, alarm);
202 bindPreemptiveDismissButton(context, alarm, alarmInstance)
    [all...]
  /system/bt/osi/src/
alarm.cc 23 #include "osi/include/alarm.h"
66 // Alarm-related information and statistics
90 // The mutex is held while the callback for this alarm is being executed.
102 fixed_queue_t* queue; // The processing queue to add this alarm to
107 bool for_msg_loop; // True, if the alarm should be processed on message loop
112 // a wakelock instead of setting a wake alarm so we're not bouncing in
124 // This mutex ensures that the |alarm_set|, |alarm_cancel|, and alarm callback
133 // All alarm callbacks are dispatched from |dispatcher_thread|
138 // Default alarm callback thread and queue
145 static void alarm_set_internal(alarm_t* alarm, period_ms_t period
602 alarm_t* alarm = (alarm_t*)fixed_queue_try_dequeue(queue); local
621 alarm_t* alarm; local
737 alarm_t* alarm = (alarm_t*)list_node(node); local
    [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...]
  /packages/apps/DeskClock/src/com/android/deskclock/ringtone/
RingtonePickerActivity.java 56 import com.android.deskclock.provider.Alarm;
84 /** Key to an extra that identifies the alarm to which the selected ringtone is attached. */
123 /** Identifies the alarm to receive the selected ringtone; -1 indicates there is no alarm. */
131 * {@code alarm}
133 public static Intent createAlarmRingtonePickerIntent(Context context, Alarm alarm) {
136 .putExtra(EXTRA_ALARM_ID, alarm.id)
137 .putExtra(EXTRA_RINGTONE_URI, alarm.alert)
233 // Start a background task to fetch the alarm whose ringtone must be updated
237 final Alarm alarm = Alarm.getAlarm(cr, mAlarmId); local
    [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 
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
android-all-6.0.0_r1-robolectric-0.jar 

Completed in 431 milliseconds

1 23