Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 15 of 15) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DHandleSetAlarm.java67 Alarm.Columns.CONTENT_URI, in onCreate()
68 Alarm.Columns.ALARM_QUERY_COLUMNS, in onCreate()
69 Alarm.Columns.HOUR + "=" + hour + " AND " + in onCreate()
70 Alarm.Columns.MINUTES + "=" + minutes + " AND " + in onCreate()
71 Alarm.Columns.DAYS_OF_WEEK + "=0 AND " + in onCreate()
72 Alarm.Columns.MESSAGE + "=?", in onCreate()
85 values.put(Alarm.Columns.HOUR, hour); in onCreate()
86 values.put(Alarm.Columns.MINUTES, minutes); in onCreate()
87 values.put(Alarm.Columns.MESSAGE, message); in onCreate()
88 values.put(Alarm.Columns.ENABLED, 1); in onCreate()
[all …]
DAlarms.java102 Alarm.Columns.CONTENT_URI, values); in addAlarm()
124 Uri uri = ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, alarmId); in deleteAlarm()
136 Alarm.Columns.CONTENT_URI, Alarm.Columns.ALARM_QUERY_COLUMNS, in getAlarmsCursor()
137 null, null, Alarm.Columns.DEFAULT_SORT_ORDER); in getAlarmsCursor()
143 return contentResolver.query(Alarm.Columns.CONTENT_URI, in getFilteredAlarmsCursor()
144 Alarm.Columns.ALARM_QUERY_COLUMNS, Alarm.Columns.WHERE_ENABLED, in getFilteredAlarmsCursor()
157 values.put(Alarm.Columns.ENABLED, alarm.enabled ? 1 : 0); in createContentValues()
158 values.put(Alarm.Columns.HOUR, alarm.hour); in createContentValues()
159 values.put(Alarm.Columns.MINUTES, alarm.minutes); in createContentValues()
160 values.put(Alarm.Columns.ALARM_TIME, time); in createContentValues()
[all …]
DAlarm.java69 public static class Columns implements BaseColumns { class in Alarm
169 id = c.getInt(Columns.ALARM_ID_INDEX); in Alarm()
170 enabled = c.getInt(Columns.ALARM_ENABLED_INDEX) == 1; in Alarm()
171 hour = c.getInt(Columns.ALARM_HOUR_INDEX); in Alarm()
172 minutes = c.getInt(Columns.ALARM_MINUTES_INDEX); in Alarm()
173 daysOfWeek = new DaysOfWeek(c.getInt(Columns.ALARM_DAYS_OF_WEEK_INDEX)); in Alarm()
174 time = c.getLong(Columns.ALARM_TIME_INDEX); in Alarm()
175 vibrate = c.getInt(Columns.ALARM_VIBRATE_INDEX) == 1; in Alarm()
176 label = c.getString(Columns.ALARM_MESSAGE_INDEX); in Alarm()
177 String alertString = c.getString(Columns.ALARM_ALERT_INDEX); in Alarm()
DAlarmDatabaseHelper.java74 long rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values); in commonInsert()
80 return ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, rowId); in commonInsert()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java42 FileEntry.Columns.HASH_CODE + "=? AND " + FileEntry.Columns.CONTENT_URL + "=?";
43 private static final String ID_WHERE = FileEntry.Columns.ID + "=?";
45 {String.format("sum(%s)", FileEntry.Columns.SIZE)};
47 FileEntry.Columns.ID, FileEntry.Columns.FILENAME,
48 FileEntry.Columns.CONTENT_URL, FileEntry.Columns.SIZE};
50 String.format("%s ASC", FileEntry.Columns.LAST_ACCESS);
183 values.put(FileEntry.Columns.LAST_ACCESS, System.currentTimeMillis()); in updateLastAccess()
252 public interface Columns extends Entry.Columns { interface in FileCache.FileEntry
260 @Column(value = Columns.HASH_CODE, indexed = true)
263 @Column(Columns.CONTENT_URL)
[all …]
DEntry.java27 public static interface Columns { interface in Entry
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java28 import com.android.gallery3d.data.DownloadEntry.Columns;
48 private static final String QUERY_PROJECTION[] = {Columns.ID, Columns.DATA};
50 "%s = ? AND %s = ?", Columns.HASH_CODE, Columns.CONTENT_URL);
55 Columns.ID, Columns.DATA, Columns.CONTENT_URL, Columns.CONTENT_SIZE};
57 String.format("%s ASC", Columns.LAST_ACCESS);
63 private static final String ID_WHERE = Columns.ID + " = ?";
66 {String.format("sum(%s)", Columns.CONTENT_SIZE)};
153 values.put(Columns.LAST_ACCESS, System.currentTimeMillis()); in updateLastAccess()
194 values.put(Columns.DATA, file.getAbsolutePath()); in insertEntry()
195 values.put(Columns.HASH_CODE, hashCode); in insertEntry()
[all …]
DDownloadEntry.java26 public static interface Columns extends Entry.Columns { interface in DownloadEntry
/packages/apps/Email/src/com/android/email/provider/
DAttachmentProvider.java25 import com.android.emailcommon.utility.AttachmentUtilities.Columns;
178 new String[] { Columns.DATA }, null, null, null); in openFile()
250 Columns._ID, in query()
251 Columns.DATA, in query()
282 if (Columns._ID.equals(column)) { in query()
285 else if (Columns.DATA.equals(column)) { in query()
288 else if (Columns.DISPLAY_NAME.equals(column)) { in query()
291 else if (Columns.SIZE.equals(column)) { in query()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java143 new String[] { AttachmentUtilities.Columns._ID, in testQuery()
144 AttachmentUtilities.Columns.DATA, in testQuery()
145 AttachmentUtilities.Columns.DISPLAY_NAME, in testQuery()
146 AttachmentUtilities.Columns.SIZE }, in testQuery()
159 new String[] { AttachmentUtilities.Columns.SIZE, in testQuery()
160 AttachmentUtilities.Columns.DISPLAY_NAME, in testQuery()
161 AttachmentUtilities.Columns.DATA, in testQuery()
162 AttachmentUtilities.Columns._ID }, in testQuery()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java53 public static class Columns { class in AttachmentUtilities
284 new String[] { Columns.DATA }, in resolveAttachmentIdToContentUri()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java415 DrmStore.Columns._ID, // 0
416 DrmStore.Columns.MIME_TYPE, // 1
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java367 + SyncStateContract.Columns.ACCOUNT_NAME + "," in upgradeSyncState()
368 + SyncStateContract.Columns.ACCOUNT_TYPE + "," in upgradeSyncState()
369 + SyncStateContract.Columns.DATA in upgradeSyncState()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java1064 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in query()
1279 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
1682 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java3257 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3265 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3666 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
3675 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()