Home
last modified time | relevance | path

Searched refs:AlarmSettingColumns (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockDatabaseHelper.kt31 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
56 AlarmSettingColumns.VIBRATE + cs + in onCreate()
57 AlarmSettingColumns.LABEL + cs + in onCreate()
58 AlarmSettingColumns.RINGTONE + cs + in onCreate()
107 alarm.alert = AlarmSettingColumns.NO_RINGTONE_URI in onUpgrade()
155 rowId = db.insert(ALARMS_TABLE_NAME, AlarmSettingColumns.RINGTONE, values) in fixAlarmInsert()
212 AlarmSettingColumns.VIBRATE + " INTEGER NOT NULL, " + in createAlarmsTable()
213 AlarmSettingColumns.LABEL + " TEXT NOT NULL, " + in createAlarmsTable()
214 AlarmSettingColumns.RINGTONE + " TEXT, " + in createAlarmsTable()
227 AlarmSettingColumns.VIBRATE + " INTEGER NOT NULL, " + in createInstanceTable()
[all …]
DClockProvider.kt37 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
89 sAlarmsWithInstancesProjection[ALARMS_TABLE_NAME + "." + AlarmSettingColumns.VIBRATE] =
90 ALARMS_TABLE_NAME + "." + AlarmSettingColumns.VIBRATE
91 sAlarmsWithInstancesProjection[ALARMS_TABLE_NAME + "." + AlarmSettingColumns.LABEL] =
92 ALARMS_TABLE_NAME + "." + AlarmSettingColumns.LABEL
93 sAlarmsWithInstancesProjection[ALARMS_TABLE_NAME + "." + AlarmSettingColumns.RINGTONE] =
94 ALARMS_TABLE_NAME + "." + AlarmSettingColumns.RINGTONE
113 sAlarmsWithInstancesProjection[INSTANCES_TABLE_NAME + "." + AlarmSettingColumns.LABEL] =
114 INSTANCES_TABLE_NAME + "." + AlarmSettingColumns.LABEL
116 AlarmSettingColumns.VIBRATE] =
[all …]
DAlarm.kt35 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
266 AlarmSettingColumns.VIBRATE,
267 AlarmSettingColumns.LABEL,
268 AlarmSettingColumns.RINGTONE,
278 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + AlarmSettingColumns.VIBRATE,
279 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + AlarmSettingColumns.LABEL,
280 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + AlarmSettingColumns.RINGTONE,
289 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + AlarmSettingColumns.LABEL,
290 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + AlarmSettingColumns.VIBRATE
330 values.put(AlarmSettingColumns.VIBRATE, if (alarm.vibrate) 1 else 0) in createContentValues()
[all …]
DAlarmInstance.kt33 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
269 AlarmSettingColumns.LABEL,
270 AlarmSettingColumns.VIBRATE,
271 AlarmSettingColumns.RINGTONE,
306 values.put(AlarmSettingColumns.LABEL, instance.mLabel) in createContentValues()
307 values.put(AlarmSettingColumns.VIBRATE, if (instance.mVibrate) 1 else 0) in createContentValues()
311 values.putNull(AlarmSettingColumns.RINGTONE) in createContentValues()
313 values.put(AlarmSettingColumns.RINGTONE, instance.mRingtone.toString()) in createContentValues()
DClockContract.kt50 interface AlarmSettingColumns : BaseColumns { interface
95 interface AlarmsColumns : AlarmSettingColumns, BaseColumns {
151 interface InstancesColumns : AlarmSettingColumns, BaseColumns {
/packages/apps/DeskClock/src/com/android/deskclock/data/
DAlarmModel.kt27 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
59 if (!AlarmSettingColumns.NO_RINGTONE_URI.equals(uri)) {
DRingtoneModel.kt42 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
155 if (AlarmSettingColumns.NO_RINGTONE_URI.equals(uri)) { in getRingtoneTitle()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.kt30 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
58 if (!AlarmSettingColumns.NO_RINGTONE_URI.equals(instance.mRingtone)) { in start()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt42 import com.android.deskclock.provider.ClockContract.AlarmSettingColumns
471 selection.append(" AND ").append(AlarmSettingColumns.LABEL).append("=?") in setSelectionFromIntent()
480 selection.append(" AND ").append(AlarmSettingColumns.VIBRATE).append("=?") in setSelectionFromIntent()
484 selection.append(" AND ").append(AlarmSettingColumns.RINGTONE).append("=?") in setSelectionFromIntent()
598 return AlarmSettingColumns.NO_RINGTONE_URI in getAlertFromIntent()