Home
last modified time | relevance | path

Searched refs:TABLE_NAME (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelper.java39 "CREATE TABLE " + KeysEntry.TABLE_NAME + "( "
53 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
59 "CREATE TABLE " + RecoveryServiceMetadataEntry.TABLE_NAME + " ("
77 "CREATE TABLE " + RootOfTrustEntry.TABLE_NAME + " ("
90 "DROP TABLE IF EXISTS " + KeysEntry.TABLE_NAME;
93 "DROP TABLE IF EXISTS " + UserMetadataEntry.TABLE_NAME;
96 "DROP TABLE IF EXISTS " + RecoveryServiceMetadataEntry.TABLE_NAME;
99 "DROP TABLE IF EXISTS " + RootOfTrustEntry.TABLE_NAME;
152 addColumnToTable(db, RecoveryServiceMetadataEntry.TABLE_NAME, in upgradeDbForVersion3()
154 addColumnToTable(db, RecoveryServiceMetadataEntry.TABLE_NAME, in upgradeDbForVersion3()
[all …]
DRecoverableKeyStoreDbContract.java29 static final String TABLE_NAME = "keys"; field in RecoverableKeyStoreDbContract.KeysEntry
76 static final String TABLE_NAME = "user_metadata"; field in RecoverableKeyStoreDbContract.UserMetadataEntry
94 static final String TABLE_NAME = "recovery_service_metadata"; field in RecoverableKeyStoreDbContract.RecoveryServiceMetadataEntry
159 static final String TABLE_NAME = "root_of_trust"; field in RecoverableKeyStoreDbContract.RootOfTrustEntry
DRecoverableKeyStoreDb.java107 return db.replace(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values); in insertKey()
130 KeysEntry.TABLE_NAME, in getKey()
172 return db.delete(KeysEntry.TABLE_NAME, selection, selectionArgs) > 0; in removeKey()
196 KeysEntry.TABLE_NAME, in getStatusForAllKeys()
231 return db.update(KeysEntry.TABLE_NAME, values, selection, in setRecoveryStatus()
268 KeysEntry.TABLE_NAME, in getAllKeys()
304 UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values); in setPlatformKeyGenerationId()
322 db.update(KeysEntry.TABLE_NAME, values, selection, in invalidateKeysWithOldGenerationId()
336 db.update(KeysEntry.TABLE_NAME, values, selection, in invalidateKeysForUserIdOnCustomScreenLock()
354 UserMetadataEntry.TABLE_NAME, in getPlatformKeyGenerationId()
[all …]
/frameworks/support/room/common/src/main/java/androidx/room/
DRoomMasterTable.java32 public static final String TABLE_NAME = "room_master_table"; field in RoomMasterTable
39 public static final String CREATE_QUERY = "CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " ("
44 + " FROM " + TABLE_NAME + " WHERE "
51 return "INSERT OR REPLACE INTO " + TABLE_NAME + " (" in createInsertQuery()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
DMigrationDbKotlin.kt44 val TABLE_NAME = "Entity1" in dao() constant
51 val TABLE_NAME = "Entity2" constant
59 val TABLE_NAME = "Entity3" constant
69 val TABLE_NAME = "Entity4" constant
100 val insertionId = mDb.insert(Entity1.TABLE_NAME, in loadAllEntity1s()
117 val insertionId = mDb.insert(Entity2.TABLE_NAME, in insertIntoEntity2()
DMigrationKotlinTest.kt166 val info = TableInfo.read(db, MigrationDbKotlin.Entity3.TABLE_NAME) in removeColumn()
176 val info = TableInfo.read(db, MigrationDbKotlin.Entity3.TABLE_NAME) in dropTable()
192 val info = TableInfo.read(db, MigrationDbKotlin.Entity3.TABLE_NAME) in failedToDropTableDontVerify()
225 val info = TableInfo.read(db, MigrationDbKotlin.Entity4.TABLE_NAME) in newTableWithForeignKey()
254 database.execSQL("ALTER TABLE " + MigrationDbKotlin.Entity2.TABLE_NAME in migrate()
279 database.execSQL("DROP TABLE " + MigrationDbKotlin.Entity3.TABLE_NAME) in migrate()
286 + MigrationDbKotlin.Entity4.TABLE_NAME in migrate()
291 + MigrationDbKotlin.Entity1.TABLE_NAME + " (`name`)") in migrate()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DMigrationDb.java46 public static final String TABLE_NAME = "Entity1"; field in MigrationDb.Entity1
54 public static final String TABLE_NAME = "Entity2"; field in MigrationDb.Entity2
63 public static final String TABLE_NAME = "Entity3"; field in MigrationDb.Entity3
77 public static final String TABLE_NAME = "Entity4"; field in MigrationDb.Entity4
113 long insertionId = mDb.insert(Entity1.TABLE_NAME, in insertIntoEntity1()
135 long insertionId = mDb.insert(Entity2.TABLE_NAME, in insertIntoEntity2()
DMigrationTest.java173 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); in removeColumn()
182 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); in dropTable()
196 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); in failedToDropTableDontVerify()
227 final TableInfo info = TableInfo.read(db, MigrationDb.Entity4.TABLE_NAME); in newTableWithForeignKey()
377 database.execSQL("ALTER TABLE " + MigrationDb.Entity2.TABLE_NAME
405 database.execSQL("DROP TABLE " + MigrationDb.Entity3.TABLE_NAME);
412 database.execSQL("CREATE TABLE IF NOT EXISTS " + MigrationDb.Entity4.TABLE_NAME
417 + MigrationDb.Entity1.TABLE_NAME + " (`name`)");
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java41 private static final String TABLE_NAME = "tracking"; field in TrackerProvider
58 queryBuilder.append(String.format("CREATE TABLE %s (", TABLE_NAME)); in onCreate()
72 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in onUpgrade()
88 int result = db.delete(TABLE_NAME, selection, selectionArgs); in delete()
101 long rowId = db.insert(TABLE_NAME, null, values); in insert()
115 Cursor cursor = db.query(TABLE_NAME, projection, selection, in query()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelperTest.java64 "CREATE TABLE " + KeysEntry.TABLE_NAME + "( "
78 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
84 "CREATE TABLE " + RecoveryServiceMetadataEntry.TABLE_NAME + " ("
162 return mDatabase.insert(RootOfTrustEntry.TABLE_NAME, /*nullColumnHack=*/ null, values) in isRootOfTrustTableAvailable()
177 assertThat(mDatabase.insert(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns()
185 assertThat(mDatabase.insert(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns()
204 mDatabase.insert(RecoveryServiceMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, in checkAllColumns()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
DFunnyNamedDao.java20 import static androidx.room.integration.testapp.vo.FunnyNamedEntity.TABLE_NAME;
34 String SELECT_ONE = "select * from \"" + TABLE_NAME + "\" WHERE \"" + COLUMN_ID + "\" = :id";
42 @Query("select * from \"" + TABLE_NAME + "\" WHERE \"" + COLUMN_ID + "\" IN (:ids)")
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DLoaderThrottleSupport.java81 public static final String TABLE_NAME = "main"; field in LoaderThrottleSupport.MainTable
139 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " (" in onCreate()
190 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN); in SimpleProvider()
191 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID); in SimpleProvider()
219 qb.setTables(MainTable.TABLE_NAME); in query()
292 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert()
317 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); in delete()
328 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); in delete()
352 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update()
360 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/
DFunnyNamedEntity.java26 @Entity(tableName = FunnyNamedEntity.TABLE_NAME)
28 public static final String TABLE_NAME = "funny but not so funny"; field in FunnyNamedEntity
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java36 private static final String TABLE_NAME = "testCursor"; field in SQLiteCursorTest
52 mDatabase.execSQL("CREATE TABLE " + TABLE_NAME + " (i int, j int);"); in setUp()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DRoom.java32 public static final String MASTER_TABLE_NAME = RoomMasterTable.TABLE_NAME;
DRoomOpenHelper.java153 + RoomMasterTable.TABLE_NAME + "'"); in hasRoomMasterTable()
/frameworks/base/core/java/android/provider/
DCalendarContract.java2221 public static final String TABLE_NAME = "CalendarAlerts"; field in CalendarContract.CalendarAlerts
2493 public static final String TABLE_NAME = "Colors"; field in CalendarContract.Colors