Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 16 of 16) 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.java70 public static class Columns { class in LastAccessedProvider
104 Columns.PACKAGE_NAME + " TEXT NOT NULL PRIMARY KEY," + in onCreate()
105 Columns.STACK + " BLOB DEFAULT NULL," + in onCreate()
106 Columns.TIMESTAMP + " INTEGER," + in onCreate()
107 Columns.EXTERNAL + " INTEGER NOT NULL DEFAULT 0" + in onCreate()
131 values.put(Columns.STACK, (Byte) null); in setLastAccessed()
134 values.put(Columns.STACK, rawStack); in setLastAccessed()
136 values.put(Columns.EXTERNAL, 0); in setLastAccessed()
155 return db.query(TABLE_LAST_ACCESSED, projection, Columns.PACKAGE_NAME + "=?", in query()
173 values.put(Columns.TIMESTAMP, System.currentTimeMillis()); in insert()
[all …]
DPickCountRecordProvider.java50 public static class Columns { class in PickCountRecordProvider
82 + PickCountRecordProvider.Columns.FILE_HASH_ID + " TEXT NOT NULL PRIMARY KEY," in onCreate()
83 + PickCountRecordProvider.Columns.PICK_COUNT + " INTEGER" + ")"); in onCreate()
108 return db.query(TABLE_PICK_COUNT_RECORD, projection, Columns.FILE_HASH_ID + "=?", in query()
121 key.put(Columns.FILE_HASH_ID, hashId); in insert()
125 db.update(TABLE_PICK_COUNT_RECORD, values, Columns.FILE_HASH_ID + "=?", in insert()
133 values.put(Columns.PICK_COUNT, pickCount); in setPickRecord()
146 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/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DPayloadToggleCursorResolver.kt23 import android.service.chooser.AdditionalContentContract.Columns.URI in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DPayloadToggleCursorResolverTest.kt25 import android.service.chooser.AdditionalContentContract.Columns.URI in <lambda>()
/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.java3879 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
3886 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in deleteInTransaction()
4365 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()
4374 (SyncStateContract.Columns._ID + "=" + ContentUris.parseId(uri) + " ") in updateInTransaction()