Home
last modified time | relevance | path

Searched refs:TABLE (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java73 public static final String TABLE = "accounts"; field
77 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
95 public static final String TABLE = "photos"; field
97 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
134 public static final String TABLE = "albums"; field
136 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
171 public static final String TABLE = "metadata"; field
173 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
218 + Albums.TABLE;
220 + Photos.TABLE;
[all …]
DMediaCacheDatabase.java35 public static final String TABLE = "media_cache"; field in MediaCacheDatabase
68 public static final String CREATE_TABLE = "CREATE TABLE " + TABLE + "("
76 public static final String DROP_TABLE = "DROP TABLE IF EXISTS " + TABLE;
120 Cursor cursor = db.query(TABLE, PROJECTION_ID, where, whereArgs, null, null, null); in getCached()
134 db.update(TABLE, values, Columns._ID + " = ?", updateArgs); in getCached()
150 Cursor cursor = db.query(TABLE, PROJECTION_CACHED, where, whereArgs, null, null, orderBy); in executeOnBestCached()
171 long id = db.insert(TABLE, null, values); in insert()
191 db.update(TABLE, values, Columns._ID + " = ?", whereArgs); in updateLength()
218 Cursor cursor = db.query(TABLE, PROJECTION_CACHED, where, whereArgs, null, null, null); in deleteRows()
227 db.delete(TABLE, where, whereArgs); in deleteRows()
[all …]
DPhotoDatabase.java88 createTable(db, Accounts.TABLE, getAccountTableDefinition()); in onCreate()
89 createTable(db, Albums.TABLE, getAlbumTableDefinition()); in onCreate()
90 createTable(db, Photos.TABLE, getPhotoTableDefinition()); in onCreate()
91 createTable(db, Metadata.TABLE, getMetadataTableDefinition()); in onCreate()
113 dropTable(db, Metadata.TABLE); in recreate()
114 dropTable(db, Photos.TABLE); in recreate()
115 dropTable(db, Albums.TABLE); in recreate()
116 dropTable(db, Accounts.TABLE); in recreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java534 public static final String TABLE = Tables.RAW_CONTACTS; field in ContactAggregator.RawContactIdAndAggregationModeQuery
549 Cursor cursor = db.query(RawContactIdAndAggregationModeQuery.TABLE, in markContactForAggregation()
627 public static final String TABLE = Tables.RAW_CONTACTS; field in ContactAggregator.RawContactIdAndAccountQuery
652 Cursor cursor = db.query(RawContactIdAndAccountQuery.TABLE, in aggregateContact()
1007 public static final String TABLE = Tables.RAW_CONTACTS; field in ContactAggregator.RawContactIdQuery
1038 Cursor cursor = db.query(RawContactIdQuery.TABLE, RawContactIdQuery.COLUMNS, in updateAggregationAfterVisibilityChange()
1101 String TABLE = Tables.AGGREGATION_EXCEPTIONS; field
1128 final Cursor c = db.query(AggregateExceptionPrefetchQuery.TABLE, in prefetchAggregationExceptionIds()
1147 String TABLE = Tables.AGGREGATION_EXCEPTIONS field
1186 final Cursor c = db.query(AggregateExceptionQuery.TABLE, in pickBestMatchBasedOnExceptions()
[all …]
/packages/apps/Gallery2/tests/src/com/android/photos/data/
DPhotoDatabaseUtils.java71 return queryId(db, Albums.TABLE, PROJECTION_ALBUMS, SELECTION_ALBUM_PARENT_ID, parentId); in queryAlbumIdFromParentId()
75 return queryId(db, Photos.TABLE, PROJECTION_PHOTOS, SELECTION_PHOTO_ALBUM_ID, albumId); in queryPhotoIdFromAlbumId()
79 return queryId(db, Accounts.TABLE, PROJECTION_ACCOUNTS, SELECTION_ACCOUNT_ID, accountName); in queryAccountIdFromName()
109 return db.insert(Photos.TABLE, null, values) != -1; in insertPhoto()
119 return db.insert(Albums.TABLE, null, values) != -1; in insertAlbum()
127 return db.insert(Metadata.TABLE, null, values) != -1; in insertMetadata()
133 return db.insert(Accounts.TABLE, null, values) != -1; in insertAccount()
DPhotoDatabaseTest.java66 validateTable(Metadata.TABLE, PhotoDatabaseUtils.PROJECTION_METADATA); in testTables()
67 validateTable(Albums.TABLE, PhotoDatabaseUtils.PROJECTION_ALBUMS); in testTables()
68 validateTable(Photos.TABLE, PhotoDatabaseUtils.PROJECTION_PHOTOS); in testTables()
203 assertEquals(0, DatabaseUtils.queryNumEntries(db, Accounts.TABLE)); in testUpgrade()
204 assertEquals(0, DatabaseUtils.queryNumEntries(db, Photos.TABLE)); in testUpgrade()
205 assertEquals(0, DatabaseUtils.queryNumEntries(db, Albums.TABLE)); in testUpgrade()
206 assertEquals(0, DatabaseUtils.queryNumEntries(db, Metadata.TABLE)); in testUpgrade()
DPhotoProviderTest.java92 Cursor cursor = db.query(Metadata.TABLE, projection, null, null, null, null, null); in setUp()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java48 public final static String TABLE = Tables.NICKNAME_LOOKUP; field in CommonNicknameCache.NicknameLookupPreloadQuery
71 Cursor cursor = mDb.query(NicknameLookupPreloadQuery.TABLE, in preloadNicknameBloomFilter()
123 String TABLE = Tables.NICKNAME_LOOKUP; field
134 Cursor cursor = mDb.query(NicknameLookupQuery.TABLE, NicknameLookupQuery.COLUMNS, in loadNicknameClusters()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMockProvider.java68 /*package*/ static final int TABLE = 100; field in MockProvider
127 sURIMatcher.addURI(AUTHORITY, table, TABLE); in insert()
147 case TABLE: in query()
186 case TABLE: in update()
DMockProviderTests.java114 assertEquals(MockProvider.TABLE, MockProvider.sURIMatcher.match(MockProvider.uri(uri))); in testInsertQueryandDelete()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMockProvider.java68 /*package*/ static final int TABLE = 100; field in MockProvider
127 sURIMatcher.addURI(AUTHORITY, table, TABLE); in insert()
147 case TABLE: in query()
186 case TABLE: in update()
DMockProviderTests.java114 assertEquals(MockProvider.TABLE, MockProvider.sURIMatcher.match(MockProvider.uri(uri))); in testInsertQueryandDelete()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2687 String TABLE = Tables.DATA_JOIN_RAW_CONTACTS; field
2745 Cursor cursor = db.query(StructName205Query.TABLE, in upgradeStructuredNamesToVersion205()
2816 String TABLE = Tables.DATA_JOIN_RAW_CONTACTS; field
2841 Cursor cursor = db.query(Organization205Query.TABLE, Organization205Query.COLUMNS, in upgradeOrganizationsToVersion205()
2895 public static final String TABLE = Tables.DATA; field in ContactsDatabaseHelper.Upgrade303Query
2927 Cursor cursor = db.query(Upgrade303Query.TABLE, Upgrade303Query.COLUMNS, in upgradeEmailToVersion303()
2963 Cursor cursor = db.query(Upgrade303Query.TABLE, Upgrade303Query.COLUMNS, in upgradeNicknameToVersion303()
3196 public static final String TABLE = Tables.DATA; field in ContactsDatabaseHelper.StructuredNameQuery
3247 Cursor cursor = db.query(StructuredNameQuery.TABLE, StructuredNameQuery.COLUMNS, in insertStructuredNameLookup()
3265 public static final String TABLE = Tables.DATA; field in ContactsDatabaseHelper.OrganizationQuery
[all …]
DDataRowHandlerForGroupMembership.java45 String TABLE = Tables.RAW_CONTACTS; field
194 Cursor c = db.query(RawContactsQuery.TABLE, RawContactsQuery.COLUMNS,
DDataRowHandler.java42 public static final String TABLE = Tables.DATA_JOIN_MIMETYPES; field
272 Cursor c = db.query(DataDeleteQuery.TABLE, in fixPrimary()
DContactsProvider2.java431 public static final String TABLE = "data " field
456 String TABLE = Tables.RAW_CONTACTS_JOIN_ACCOUNTS; field
3202 cursor = db.query(DataContactsQuery.TABLE, DataContactsQuery.PROJECTION, in insertStatusUpdate()
4123 String TABLE = Views.GROUPS; field
4172 final Cursor c = db.query(GroupAccountQuery.TABLE, GroupAccountQuery.COLUMNS, in updateGroups()
4287 Cursor cursor = db.query(RawContactsQuery.TABLE, RawContactsQuery.COLUMNS, in updateRawContact()
6616 String TABLE = Views.RAW_CONTACTS; field
6645 Cursor c = db.query(LookupBySourceIdQuery.TABLE, LookupBySourceIdQuery.COLUMNS, in lookupContactIdBySourceIds()
6673 String TABLE = Views.RAW_CONTACTS; field
6702 Cursor c = db.query(LookupByRawContactIdQuery.TABLE, LookupByRawContactIdQuery.COLUMNS, in lookupContactIdByRawContactIds()
[all …]