Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 14 of 14) 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/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedProvider.java69 public static class Columns { class in LastAccessedProvider
103 Columns.PACKAGE_NAME + " TEXT NOT NULL PRIMARY KEY," + in onCreate()
104 Columns.STACK + " BLOB DEFAULT NULL," + in onCreate()
105 Columns.TIMESTAMP + " INTEGER," + in onCreate()
106 Columns.EXTERNAL + " INTEGER NOT NULL DEFAULT 0" + in onCreate()
130 values.put(Columns.STACK, (Byte) null); in setLastAccessed()
133 values.put(Columns.STACK, rawStack); in setLastAccessed()
135 values.put(Columns.EXTERNAL, 0); in setLastAccessed()
154 return db.query(TABLE_LAST_ACCESSED, projection, Columns.PACKAGE_NAME + "=?", in query()
172 values.put(Columns.TIMESTAMP, System.currentTimeMillis()); 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.java87 values.put(LastAccessedProvider.Columns.EXTERNAL, 1); in setLastAccessedToExternalApp()
/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/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/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java251 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.java3650 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3657 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
4124 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
4133 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()