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

/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoProvider.java73 public static final String TABLE = "accounts"; field in interface:PhotoProvider.Accounts
77 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
95 public static final String TABLE = "photos"; field in interface:PhotoProvider.Photos
97 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
134 public static final String TABLE = "albums"; field in interface:PhotoProvider.Albums
136 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
171 public static final String TABLE = "metadata"; field in interface:PhotoProvider.Metadata
173 public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
218 + Albums.TABLE;
220 + Photos.TABLE;
[all...]
H A DPhotoDatabase.java39 private static final String SQL_CREATE_TABLE = "CREATE TABLE ";
88 createTable(db, Accounts.TABLE, getAccountTableDefinition());
89 createTable(db, Albums.TABLE, getAlbumTableDefinition());
90 createTable(db, Photos.TABLE, getPhotoTableDefinition());
91 createTable(db, Metadata.TABLE, getMetadataTableDefinition());
113 dropTable(db, Metadata.TABLE);
114 dropTable(db, Photos.TABLE);
115 dropTable(db, Albums.TABLE);
116 dropTable(db, Accounts.TABLE);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java27 private static final String SQL_CREATE_TABLE = "CREATE TABLE ";
33 public static final String TABLE = "filterstack"; field in interface:FilterStackDBHelper.FilterStack
60 createTable(db, FilterStack.TABLE, CREATE_FILTER_STACK);
65 dropTable(db, FilterStack.TABLE);
H A DFilterStackSource.java63 ret = (-1 != database.insert(FilterStack.TABLE, null, val));
76 database.update(FilterStack.TABLE, val, FilterStack._ID + " = ?",
88 ret = (0 != database.delete(FilterStack.TABLE, FilterStack._ID + " = ?",
100 database.delete(FilterStack.TABLE, null, null);
112 c = database.query(FilterStack.TABLE,
136 c = database.query(FilterStack.TABLE,
173 c = database.query(FilterStack.TABLE,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DCommonNicknameCache.java48 public final static String TABLE = Tables.NICKNAME_LOOKUP; field in class:CommonNicknameCache.NicknameLookupPreloadQuery
71 Cursor cursor = mDb.query(NicknameLookupPreloadQuery.TABLE,
123 String TABLE = Tables.NICKNAME_LOOKUP; field in interface:CommonNicknameCache.NicknameLookupQuery
134 Cursor cursor = mDb.query(NicknameLookupQuery.TABLE, NicknameLookupQuery.COLUMNS,
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql3 CREATE TABLE _deleted_groups (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
4 CREATE TABLE _deleted_people (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account));
6 CREATE TABLE _sync_state_metadata (version INTEGER);
8 CREATE TABLE android_metadata (locale TEXT);
10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name));
16 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER);
17 CREATE TABLE fave_phone_change
[all...]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DTestProvider.java69 /* package */static final int TABLE = 100; field in class:TestProvider
130 sURIMatcher.addURI(AUTHORITY, table, TABLE);
150 case TABLE:
189 case TABLE:
227 case TABLE:
H A DTestProviderTests.java111 assertEquals(TestProvider.TABLE, TestProvider.sURIMatcher.match(TestProvider.uri(uri)));
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql3 CREATE TABLE _deleted_groups (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
4 CREATE TABLE _deleted_people (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
6 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account));
8 CREATE TABLE _sync_state_metadata (version INTEGER);
10 CREATE TABLE android_metadata (locale TEXT);
12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name));
32 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER);
33 CREATE TABLE fave_phone_change
[all...]
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql3 CREATE TABLE _deleted_groups (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
4 CREATE TABLE _deleted_people (_sync_version TEXT,_sync_id TEXT,_sync_account TEXT,_sync_mark INTEGER);
5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account));
7 CREATE TABLE _sync_state_metadata (version INTEGER);
9 CREATE TABLE android_metadata (locale TEXT);
11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
18 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name));
19 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER);
21 CREATE TABLE fave_phone_change
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProvider.java71 /*package*/ static final int TABLE = 100; field in class:MockProvider
130 sURIMatcher.addURI(AUTHORITY, table, TABLE);
150 case TABLE:
189 case TABLE:
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java548 public static final String TABLE = Tables.RAW_CONTACTS; field in class:ContactAggregator.RawContactIdAndAggregationModeQuery
563 Cursor cursor = db.query(RawContactIdAndAggregationModeQuery.TABLE,
641 public static final String TABLE = Tables.RAW_CONTACTS; field in class:ContactAggregator.RawContactIdAndAccountQuery
666 Cursor cursor = db.query(RawContactIdAndAccountQuery.TABLE,
1024 public static final String TABLE = Tables.RAW_CONTACTS; field in class:ContactAggregator.RawContactIdQuery
1055 Cursor cursor = db.query(RawContactIdQuery.TABLE, RawContactIdQuery.COLUMNS,
1123 String TABLE = Tables.AGGREGATION_EXCEPTIONS; field in interface:ContactAggregator.AggregateExceptionPrefetchQuery
1150 final Cursor c = db.query(AggregateExceptionPrefetchQuery.TABLE,
1169 String TABLE = Tables.AGGREGATION_EXCEPTIONS field in interface:ContactAggregator.AggregateExceptionQuery
1208 final Cursor c = db.query(AggregateExceptionQuery.TABLE,
1314 String TABLE = Tables.NAME_LOOKUP; field in interface:ContactAggregator.NameLookupQuery
1369 final String TABLE = Tables.DATA + " dataA" field in interface:ContactAggregator.IdentityLookupMatchQuery
1414 String TABLE = Tables.NAME_LOOKUP + " nameA" field in interface:ContactAggregator.NameLookupMatchQuery
1467 String TABLE = Tables.NAME_LOOKUP field in interface:ContactAggregator.NameLookupMatchQueryWithParameter
1563 String TABLE = Tables.DATA + " dataA" field in interface:ContactAggregator.EmailLookupQuery
1602 String TABLE = Tables.PHONE_LOOKUP + " phoneA" field in interface:ContactAggregator.PhoneLookupQuery
1673 String TABLE = Tables.NAME_LOOKUP_JOIN_RAW_CONTACTS; field in interface:ContactAggregator.ContactNameLookupQuery
2291 String TABLE = Views.RAW_CONTACTS; field in interface:ContactAggregator.LookupKeyQuery
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForGroupMembership.java45 String TABLE = Tables.RAW_CONTACTS; field in interface:DataRowHandlerForGroupMembership.RawContactsQuery
194 Cursor c = db.query(RawContactsQuery.TABLE, RawContactsQuery.COLUMNS,
H A DDataRowHandler.java42 public static final String TABLE = Tables.DATA_JOIN_MIMETYPES; field in interface:DataRowHandler.DataDeleteQuery
272 Cursor c = db.query(DataDeleteQuery.TABLE,
H A DContactsDatabaseHelper.java870 db.execSQL("CREATE TABLE IF NOT EXISTS " + DATABASE_PRESENCE + "." + Tables.PRESENCE + " ("+
889 db.execSQL("CREATE TABLE IF NOT EXISTS "
959 db.execSQL("CREATE TABLE " + Tables.PROPERTIES + " (" +
966 db.execSQL("CREATE TABLE " + Tables.ACCOUNTS + " (" +
974 db.execSQL("CREATE TABLE " + Tables.CONTACTS + " (" +
997 db.execSQL("CREATE TABLE " + Tables.RAW_CONTACTS + " (" +
1050 db.execSQL("CREATE TABLE " + Tables.STREAM_ITEMS + " (" +
1066 db.execSQL("CREATE TABLE " + Tables.STREAM_ITEM_PHOTOS + " (" +
1078 db.execSQL("CREATE TABLE " + Tables.PHOTO_FILES + " (" +
1090 db.execSQL("CREATE TABLE "
2732 String TABLE = Tables.DATA_JOIN_RAW_CONTACTS; field in interface:ContactsDatabaseHelper.StructName205Query
2861 String TABLE = Tables.DATA_JOIN_RAW_CONTACTS; field in interface:ContactsDatabaseHelper.Organization205Query
2940 public static final String TABLE = Tables.DATA; field in class:ContactsDatabaseHelper.Upgrade303Query
3241 public static final String TABLE = Tables.DATA; field in class:ContactsDatabaseHelper.StructuredNameQuery
3310 public static final String TABLE = Tables.DATA; field in class:ContactsDatabaseHelper.OrganizationQuery
3329 public static final String TABLE = Tables.DATA; field in class:ContactsDatabaseHelper.EmailQuery
3368 public static final String TABLE = Tables.DATA; field in class:ContactsDatabaseHelper.NicknameQuery
[all...]
H A DContactsProvider2.java437 public static final String TABLE = "data " field in interface:ContactsProvider2.DataContactsQuery
462 String TABLE = Tables.RAW_CONTACTS_JOIN_ACCOUNTS; field in interface:ContactsProvider2.RawContactsQuery
3235 cursor = db.query(DataContactsQuery.TABLE, DataContactsQuery.PROJECTION,
4164 String TABLE = Views.GROUPS; field in interface:ContactsProvider2.GroupAccountQuery
4213 final Cursor c = db.query(GroupAccountQuery.TABLE, GroupAccountQuery.COLUMNS,
4326 Cursor cursor = db.query(RawContactsQuery.TABLE, RawContactsQuery.COLUMNS,
6691 String TABLE = Views.RAW_CONTACTS; field in interface:ContactsProvider2.LookupBySourceIdQuery
6720 Cursor c = db.query(LookupBySourceIdQuery.TABLE, LookupBySourceIdQuery.COLUMNS,
6748 String TABLE = Views.RAW_CONTACTS; field in interface:ContactsProvider2.LookupByRawContactIdQuery
6777 Cursor c = db.query(LookupByRawContactIdQuery.TABLE, LookupByRawContactIdQuer
6805 String TABLE = Tables.NAME_LOOKUP_JOIN_RAW_CONTACTS; field in interface:ContactsProvider2.LookupByDisplayNameQuery
8673 String TABLE = Tables.DATA_USAGE_STAT; field in interface:ContactsProvider2.DataUsageStatQuery
[all...]

Completed in 2269 milliseconds