Home
last modified time | relevance | path

Searched refs:ClockContract (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockDatabaseHelper.java70 ClockContract.AlarmsColumns._ID + " INTEGER PRIMARY KEY," + in createAlarmsTable()
71 ClockContract.AlarmsColumns.HOUR + " INTEGER NOT NULL, " + in createAlarmsTable()
72 ClockContract.AlarmsColumns.MINUTES + " INTEGER NOT NULL, " + in createAlarmsTable()
73 ClockContract.AlarmsColumns.DAYS_OF_WEEK + " INTEGER NOT NULL, " + in createAlarmsTable()
74 ClockContract.AlarmsColumns.ENABLED + " INTEGER NOT NULL, " + in createAlarmsTable()
75 ClockContract.AlarmsColumns.VIBRATE + " INTEGER NOT NULL, " + in createAlarmsTable()
76 ClockContract.AlarmsColumns.LABEL + " TEXT NOT NULL, " + in createAlarmsTable()
77 ClockContract.AlarmsColumns.RINGTONE + " TEXT, " + in createAlarmsTable()
78 ClockContract.AlarmsColumns.DELETE_AFTER_USE + " INTEGER NOT NULL DEFAULT 0);"); in createAlarmsTable()
84 ClockContract.InstancesColumns._ID + " INTEGER PRIMARY KEY," + in createInstanceTable()
[all …]
DClockProvider.java43 sURLMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS); in sURLMatcher.addURI()
44 sURLMatcher.addURI(ClockContract.AUTHORITY, "alarms/#", ALARMS_ID); in sURLMatcher.addURI()
45 sURLMatcher.addURI(ClockContract.AUTHORITY, "instances", INSTANCES); in sURLMatcher.addURI()
46 sURLMatcher.addURI(ClockContract.AUTHORITY, "instances/#", INSTANCES_ID); in sURLMatcher.addURI()
47 sURLMatcher.addURI(ClockContract.AUTHORITY, "cities", CITIES); in sURLMatcher.addURI()
48 sURLMatcher.addURI(ClockContract.AUTHORITY, "cities/*", CITIES_ID); in sURLMatcher.addURI()
73 qb.appendWhere(ClockContract.AlarmsColumns._ID + "="); in query()
81 qb.appendWhere(ClockContract.InstancesColumns._ID + "="); in query()
89 qb.appendWhere(ClockContract.CitiesColumns.CITY_ID + "="); in query()
139 ClockContract.AlarmsColumns._ID + "=" + alarmId, in update()
[all …]
DAlarm.java37 public final class Alarm implements Parcelable, ClockContract.AlarmsColumns {
82 values.put(ClockContract.AlarmsColumns._ID, alarm.id); in createContentValues()
125 return new CursorLoader(context, ClockContract.AlarmsColumns.CONTENT_URI, in getAlarmsCursorLoader()
DClockContract.java39 public final class ClockContract { class
49 private ClockContract() {} in ClockContract() method in ClockContract
DCity.java29 public final class City implements ClockContract.CitiesColumns {
DAlarmInstance.java37 public final class AlarmInstance implements ClockContract.InstancesColumns {