Home
last modified time | relevance | path

Searched refs:alarms (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/checker/
DWakeupAlarmAnomalyDetectorTest.java205 final ArrayMap<String, BatteryStats.Counter> alarms = new ArrayMap<>(); in testGetWakeupAlarmCountFromUid_countCorrect() local
206 doReturn(alarms).when(mPkg).getWakeupAlarmStats(); in testGetWakeupAlarmCountFromUid_countCorrect()
210 alarms.put("1", mCounter); in testGetWakeupAlarmCountFromUid_countCorrect()
211 alarms.put("2", mCounter); in testGetWakeupAlarmCountFromUid_countCorrect()
220 final ArrayMap<String, BatteryStats.Counter> alarms = new ArrayMap<>(); in testGetWakeupAlarmCountFromUid_filterOutBlacklistedTags() local
221 doReturn(alarms).when(mPkg).getWakeupAlarmStats(); in testGetWakeupAlarmCountFromUid_filterOutBlacklistedTags()
226 alarms.put("allowedTag", mCounter); in testGetWakeupAlarmCountFromUid_filterOutBlacklistedTags()
227 alarms.put("blacklistedTag", mCounter2); in testGetWakeupAlarmCountFromUid_filterOutBlacklistedTags()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java31 import com.android.deskclock.alarms.AlarmStateManager;
180 final List<Alarm> alarms = getEnabledAlarms(mContext); in doInBackground() local
181 if (alarms.isEmpty()) { in doInBackground()
189 for (Iterator<Alarm> i = alarms.iterator(); i.hasNext();) { in doInBackground()
198 if (searchMode == null && alarms.size() > 1) { in doInBackground()
204 .putExtra(EXTRA_ALARMS, alarms.toArray(new Parcelable[alarms.size()])); in doInBackground()
213 new FetchMatchingAlarmsAction(mContext, alarms, mIntent, mActivity); in doInBackground()
349 final List<Alarm> alarms = Alarm.getAlarms(cr, selection.toString(), args); in handleSetAlarm() local
352 if (!alarms.isEmpty()) { in handleSetAlarm()
354 alarm = alarms.get(0); in handleSetAlarm()
DAlarmClockFragment.java38 import com.android.deskclock.alarms.AlarmTimeClickHandler;
39 import com.android.deskclock.alarms.AlarmUpdateHandler;
40 import com.android.deskclock.alarms.ScrollHandler;
41 import com.android.deskclock.alarms.TimePickerDialogFragment;
42 import com.android.deskclock.alarms.dataadapter.AlarmItemHolder;
43 import com.android.deskclock.alarms.dataadapter.CollapsedAlarmViewHolder;
44 import com.android.deskclock.alarms.dataadapter.ExpandedAlarmViewHolder;
DDeskClockBackupAgent.java31 import com.android.deskclock.alarms.AlarmStateManager;
119 final List<Alarm> alarms = Alarm.getAlarms(contentResolver, null); in processRestoredData() local
122 for (Alarm alarm : alarms) { in processRestoredData()
DFetchMatchingAlarmsAction.java26 import com.android.deskclock.alarms.AlarmStateManager;
50 public FetchMatchingAlarmsAction(Context context, List<Alarm> alarms, Intent intent, in FetchMatchingAlarmsAction() argument
54 mAlarms = alarms; in FetchMatchingAlarmsAction()
DAlarmInitReceiver.java25 import com.android.deskclock.alarms.AlarmStateManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeSettingsTest.java89 String alarms = mContext.getString(R.string.zen_mode_alarms);
93 assertThat(result).contains(alarms);
97 result.indexOf(events) < result.indexOf(alarms));
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DAlarmItemHolder.java17 package com.android.deskclock.alarms.dataadapter;
22 import com.android.deskclock.alarms.AlarmTimeClickHandler;
DExpandedAlarmViewHolder.java17 package com.android.deskclock.alarms.dataadapter;
45 import com.android.deskclock.alarms.AlarmTimeClickHandler;
DAlarmItemViewHolder.java17 package com.android.deskclock.alarms.dataadapter;
DCollapsedAlarmViewHolder.java17 package com.android.deskclock.alarms.dataadapter;
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/
DAlarmSelectionAdapter.java38 public AlarmSelectionAdapter(Context context, int id, List<AlarmSelection> alarms) { in AlarmSelectionAdapter() argument
39 super(context, id, alarms); in AlarmSelectionAdapter()
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/
DWakeupAlarmAnomalyDetector.java127 final ArrayMap<String, ? extends BatteryStats.Counter> alarms = in getWakeupAlarmCountFromUid() local
129 for (Map.Entry<String, ? extends BatteryStats.Counter> alarm : alarms.entrySet()) { in getWakeupAlarmCountFromUid()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.java54 import com.android.deskclock.alarms.AlarmUpdateHandler;
615 final List<Alarm> alarms = Alarm.getAlarms(cr, null); in doInBackground() local
616 for (Alarm alarm : alarms) { in doInBackground()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.java17 package com.android.deskclock.alarms;
29 import com.android.deskclock.alarms.dataadapter.AlarmItemHolder;
DScrollHandler.java17 package com.android.deskclock.alarms;
DAlarmKlaxon.java17 package com.android.deskclock.alarms;
DTimePickerDialogFragment.java17 package com.android.deskclock.alarms;
DAlarmService.java16 package com.android.deskclock.alarms;
DAlarmUpdateHandler.java17 package com.android.deskclock.alarms;
DAlarmNotifications.java16 package com.android.deskclock.alarms;
DAlarmActivity.java16 package com.android.deskclock.alarms;
DAlarmStateManager.java16 package com.android.deskclock.alarms;
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java30 import com.android.deskclock.alarms.AlarmStateManager;
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java73 import static com.android.deskclock.alarms.AlarmStateManager.ACTION_ALARM_CHANGED;

12