Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 18 of 18) 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/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedProvider.java68 public static class Columns { class in LastAccessedProvider
102 Columns.PACKAGE_NAME + " TEXT NOT NULL PRIMARY KEY," + in onCreate()
103 Columns.STACK + " BLOB DEFAULT NULL," + in onCreate()
104 Columns.TIMESTAMP + " INTEGER," + in onCreate()
105 Columns.EXTERNAL + " INTEGER NOT NULL DEFAULT 0" + in onCreate()
127 values.put(Columns.STACK, rawStack); in setLastAccessed()
128 values.put(Columns.EXTERNAL, 0); in setLastAccessed()
147 return db.query(TABLE_LAST_ACCESSED, projection, Columns.PACKAGE_NAME + "=?", in query()
165 values.put(Columns.TIMESTAMP, System.currentTimeMillis()); in insert()
168 key.put(Columns.PACKAGE_NAME, packageName); in insert()
[all …]
DPickCountRecordProvider.java47 public static class Columns { class in PickCountRecordProvider
79 + PickCountRecordProvider.Columns.FILE_HASH_ID + " TEXT NOT NULL PRIMARY KEY," in onCreate()
80 + PickCountRecordProvider.Columns.PICK_COUNT + " INTEGER" + ")"); in onCreate()
105 return db.query(TABLE_PICK_COUNT_RECORD, projection, Columns.FILE_HASH_ID + "=?", in query()
118 key.put(Columns.FILE_HASH_ID, hashId); in insert()
122 db.update(TABLE_PICK_COUNT_RECORD, values, Columns.FILE_HASH_ID + "=?", in insert()
130 values.put(Columns.PICK_COUNT, pickCount); in setPickRecord()
143 return db.delete(TABLE_PICK_COUNT_RECORD, Columns.FILE_HASH_ID + "=?", in delete()
DPickCountRecordStorage.java43 .getColumnIndex(PickCountRecordProvider.Columns.PICK_COUNT); in create()
DLastAccessedStorage.java88 values.put(LastAccessedProvider.Columns.EXTERNAL, 1); in setLastAccessedToExternalApp()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java38 import com.android.emailcommon.utility.AttachmentUtilities.Columns;
181 new String[] { Columns.DATA }, null, null, null); in openFile()
258 Columns._ID, in query()
259 Columns.DATA, in query()
290 if (Columns._ID.equals(column)) { in query()
293 else if (Columns.DATA.equals(column)) { in query()
296 else if (Columns.DISPLAY_NAME.equals(column)) { in query()
299 else if (Columns.SIZE.equals(column)) { in query()
DEmailProvider.java1472 AttachmentUtilities.Columns._ID, in query()
1473 AttachmentUtilities.Columns.DATA, in query()
1491 if (AttachmentUtilities.Columns._ID.equals(column)) { in query()
1495 else if (AttachmentUtilities.Columns.DATA.equals(column)) { in query()
1499 else if (AttachmentUtilities.Columns.DISPLAY_NAME.equals(column)) { in query()
1503 else if (AttachmentUtilities.Columns.SIZE.equals(column)) { in query()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickCountRecordProviderTest.java35 values.put(PickCountRecordProvider.Columns.PICK_COUNT, 1); in setUp()
48 values.put(PickCountRecordProvider.Columns.PICK_COUNT, 3); in testInsert()
53 int index = cursor.getColumnIndex(PickCountRecordProvider.Columns.PICK_COUNT); in testInsert()
62 int index = cursor.getColumnIndex(PickCountRecordProvider.Columns.PICK_COUNT); in testQuery()
/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/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java250 cursor.getColumnIndex(LastAccessedProvider.Columns.STACK)); in fromLastAccessedCursor()
/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.java3569 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3576 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3992 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
4001 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()