Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DConversationImagePartsView.java40 + " as " + Columns.CONVERSATION_ID + ", "
42 + " as " + Columns.URI + ", "
44 + " as " + Columns.SENDER_FULL_NAME + ", "
46 + " as " + Columns.CONTENT_URI + ", "
48 + " NULL as " + Columns.THUMBNAIL_URI + ", "
50 + " as " + Columns.CONTENT_TYPE + ", "
55 + " as " + Columns.DISPLAY_DESTINATION + ", "
57 + " as " + Columns.RECEIVED_TIMESTAMP + ", "
59 + " as " + Columns.STATUS + " "
76 static class Columns implements BaseColumns { class in ConversationImagePartsView
[all …]
DMessagingContentProvider.java344 ConversationImagePartsView.Columns.CONVERSATION_ID + " =? AND " + in query()
345 ConversationImagePartsView.Columns.STATUS + "<>" + in query()
358 ConversationImagePartsView.Columns.CONVERSATION_ID + " =? AND " + in query()
359 ConversationImagePartsView.Columns.STATUS + "=" + in query()
/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);
184 values.put(FileEntry.Columns.LAST_ACCESS, System.currentTimeMillis()); in updateLastAccess()
253 public interface Columns extends Entry.Columns { interface in FileCache.FileEntry
261 @Column(value = Columns.HASH_CODE, indexed = true)
264 @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/provider_src/com/android/email/provider/
DAttachmentProvider.java38 import com.android.emailcommon.utility.AttachmentUtilities.Columns;
182 new String[] { Columns.DATA }, null, null, null); in openFile()
254 Columns._ID, in query()
255 Columns.DATA, in query()
286 if (Columns._ID.equals(column)) { in query()
289 else if (Columns.DATA.equals(column)) { in query()
292 else if (Columns.DISPLAY_NAME.equals(column)) { in query()
295 else if (Columns.SIZE.equals(column)) { in query()
DEmailProvider.java1471 AttachmentUtilities.Columns._ID, in query()
1472 AttachmentUtilities.Columns.DATA, in query()
1490 if (AttachmentUtilities.Columns._ID.equals(column)) { in query()
1494 else if (AttachmentUtilities.Columns.DATA.equals(column)) { in query()
1498 else if (AttachmentUtilities.Columns.DISPLAY_NAME.equals(column)) { in query()
1502 else if (AttachmentUtilities.Columns.SIZE.equals(column)) { in query()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java132 new String[] { AttachmentUtilities.Columns._ID, in testQuery()
133 AttachmentUtilities.Columns.DATA, in testQuery()
134 AttachmentUtilities.Columns.DISPLAY_NAME, in testQuery()
135 AttachmentUtilities.Columns.SIZE }, in testQuery()
148 new String[] { AttachmentUtilities.Columns.SIZE, in testQuery()
149 AttachmentUtilities.Columns.DISPLAY_NAME, in testQuery()
150 AttachmentUtilities.Columns.DATA, in testQuery()
151 AttachmentUtilities.Columns._ID }, in testQuery()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java52 public static class Columns { class in AttachmentUtilities
276 new String[] { Columns.DATA }, in resolveAttachmentIdToContentUri()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java370 + SyncStateContract.Columns.ACCOUNT_NAME + "," in upgradeSyncState()
371 + SyncStateContract.Columns.ACCOUNT_TYPE + "," in upgradeSyncState()
372 + SyncStateContract.Columns.DATA in upgradeSyncState()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java3613 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3620 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
4037 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
4046 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()