Home
last modified time | relevance | path

Searched refs:InstancesColumns (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.kt48 import com.android.deskclock.provider.ClockContract.InstancesColumns in <lambda>()
229 InstancesColumns.ALARM_STATE + "<" + InstancesColumns.FIRED_STATE in <lambda>()
327 if (instance.mAlarmState > InstancesColumns.FIRED_STATE && in <lambda>()
412 instance.mAlarmState = InstancesColumns.SILENT_STATE in <lambda>()
418 instance, InstancesColumns.LOW_NOTIFICATION_STATE) in <lambda>()
434 instance.mAlarmState = InstancesColumns.LOW_NOTIFICATION_STATE in <lambda>()
440 instance, InstancesColumns.HIGH_NOTIFICATION_STATE) in <lambda>()
456 instance.mAlarmState = InstancesColumns.HIDE_NOTIFICATION_STATE in <lambda>()
462 instance, InstancesColumns.HIGH_NOTIFICATION_STATE) in <lambda>()
478 instance.mAlarmState = InstancesColumns.HIGH_NOTIFICATION_STATE in <lambda>()
[all …]
DAlarmNotifications.kt40 import com.android.deskclock.provider.ClockContract.InstancesColumns
142 InstancesColumns.HIDE_NOTIFICATION_STATE) in showLowPriorityNotification()
149 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.PREDISMISSED_STATE) in showLowPriorityNotification()
203 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.PREDISMISSED_STATE) in showHighPriorityNotification()
408 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.DISMISSED_STATE) in showSnoozeNotification()
468 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.DISMISSED_STATE) in showMissedNotification()
515 AlarmStateManager.ALARM_SNOOZE_TAG, instance, InstancesColumns.SNOOZE_STATE) in showAlarmNotification()
524 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.DISMISSED_STATE) in showAlarmNotification()
571 InstancesColumns.LOW_NOTIFICATION_STATE -> { in updateNotification()
574 InstancesColumns.HIGH_NOTIFICATION_STATE -> { in updateNotification()
[all …]
DAlarmService.kt35 import com.android.deskclock.provider.ClockContract.InstancesColumns
110 mCurrentAlarm!!.mAlarmState != InstancesColumns.FIRED_STATE) { in onReceive()
161 if (alarmState == InstancesColumns.FIRED_STATE) { in onStartCommand()
219 "AlarmService", mCurrentAlarm!!, InstancesColumns.MISSED_STATE)) in onCallStateChanged()
DAlarmTimeClickHandler.kt35 import com.android.deskclock.provider.ClockContract.InstancesColumns
159 InstancesColumns.PREDISMISSED_STATE) in dismissAlarmInstance()
DAlarmActivity.kt62 import com.android.deskclock.provider.ClockContract.InstancesColumns
140 } else if (mAlarmInstance!!.mAlarmState != InstancesColumns.FIRED_STATE) { in onCreate()
230 if (mAlarmInstance!!.mAlarmState != InstancesColumns.FIRED_STATE) { in onResume()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt34 import com.android.deskclock.provider.ClockContract.InstancesColumns
39 class AlarmInstance : InstancesColumns {
75 mAlarmState = InstancesColumns.SILENT_STATE
264 InstancesColumns.YEAR,
265 InstancesColumns.MONTH,
266 InstancesColumns.DAY,
267 InstancesColumns.HOUR,
268 InstancesColumns.MINUTES,
272 InstancesColumns.ALARM_ID,
273 InstancesColumns.ALARM_STATE
[all …]
DClockProvider.kt39 import com.android.deskclock.provider.ClockContract.InstancesColumns
58 BaseColumns._ID + " = " + InstancesColumns.ALARM_ID + ")"
65 " WHERE " + InstancesColumns.ALARM_ID +
67 " ORDER BY " + InstancesColumns.ALARM_STATE + ", " +
68 InstancesColumns.YEAR + ", " + InstancesColumns.MONTH + ", " +
69 InstancesColumns.DAY + " LIMIT 1)"
99 InstancesColumns.ALARM_STATE] =
100 INSTANCES_TABLE_NAME + "." + InstancesColumns.ALARM_STATE
103 sAlarmsWithInstancesProjection[INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR] =
104 INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR
[all …]
DClockDatabaseHelper.kt33 import com.android.deskclock.provider.ClockContract.InstancesColumns
222 InstancesColumns.YEAR + " INTEGER NOT NULL, " + in createInstanceTable()
223 InstancesColumns.MONTH + " INTEGER NOT NULL, " + in createInstanceTable()
224 InstancesColumns.DAY + " INTEGER NOT NULL, " + in createInstanceTable()
225 InstancesColumns.HOUR + " INTEGER NOT NULL, " + in createInstanceTable()
226 InstancesColumns.MINUTES + " INTEGER NOT NULL, " + in createInstanceTable()
230 InstancesColumns.ALARM_STATE + " INTEGER NOT NULL, " + in createInstanceTable()
231 InstancesColumns.ALARM_ID + " INTEGER REFERENCES " + in createInstanceTable()
DAlarm.kt37 import com.android.deskclock.provider.ClockContract.InstancesColumns
141 return instanceState == InstancesColumns.SNOOZE_STATE || in canPreemptivelyDismiss()
142 instanceState == InstancesColumns.HIGH_NOTIFICATION_STATE || in canPreemptivelyDismiss()
143 instanceState == InstancesColumns.LOW_NOTIFICATION_STATE || in canPreemptivelyDismiss()
144 instanceState == InstancesColumns.HIDE_NOTIFICATION_STATE in canPreemptivelyDismiss()
282 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.ALARM_STATE,
284 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR,
285 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.MONTH,
286 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.DAY,
287 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR,
[all …]
DClockContract.kt24 import com.android.deskclock.provider.ClockContract.InstancesColumns
151 interface InstancesColumns : AlarmSettingColumns, BaseColumns { interface
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DAlarmItemViewHolder.kt31 import com.android.deskclock.provider.ClockContract.InstancesColumns in <lambda>()
85 val dismissText: String = if (alarm.instanceState == InstancesColumns.SNOOZE_STATE) { in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/
DFetchMatchingAlarmsAction.kt30 import com.android.deskclock.provider.ClockContract.InstancesColumns
98 alarmInstance.mAlarmState == InstancesColumns.FIRED_STATE) { in run()
DHandleApiCalls.kt116 instance.mAlarmState > ClockContract.InstancesColumns.FIRED_STATE) { in doInBackground()
187 cr, ClockContract.InstancesColumns.FIRED_STATE) in doInBackground()
517 if (instance.mAlarmState == ClockContract.InstancesColumns.FIRED_STATE || in dismissAlarmInstance()
518 instance.mAlarmState == ClockContract.InstancesColumns.SNOOZE_STATE) { in dismissAlarmInstance()