Home
last modified time | relevance | path

Searched refs:UserMetadataEntry (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelper.java27 …id.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.UserMetadataEntry;
54 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
55 + UserMetadataEntry._ID + " INTEGER PRIMARY KEY,"
56 + UserMetadataEntry.COLUMN_NAME_USER_ID + " INTEGER UNIQUE,"
57 + UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID + " INTEGER,"
58 + UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER + " INTEGER DEFAULT -1)";
95 "DROP TABLE IF EXISTS " + UserMetadataEntry.TABLE_NAME;
191 addColumnToTable(db, UserMetadataEntry.TABLE_NAME, in upgradeDbForVersion6()
192 UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER, in upgradeDbForVersion6()
DRecoverableKeyStoreDb.java35 …id.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.UserMetadataEntry;
330 values.put(UserMetadataEntry.COLUMN_NAME_USER_ID, userId); in setPlatformKeyGenerationId()
331 values.put(UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID, generationId); in setPlatformKeyGenerationId()
332 String selection = UserMetadataEntry.COLUMN_NAME_USER_ID + " = ?"; in setPlatformKeyGenerationId()
337 return db.update(UserMetadataEntry.TABLE_NAME, values, selection, selectionArguments); in setPlatformKeyGenerationId()
350 UserMetadataEntry.COLUMN_NAME_USER_ID, in getUserSerialNumbers()
351 UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER}; in getUserSerialNumbers()
357 UserMetadataEntry.TABLE_NAME, in getUserSerialNumbers()
368 cursor.getColumnIndexOrThrow(UserMetadataEntry.COLUMN_NAME_USER_ID)); in getUserSerialNumbers()
370 UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER)); in getUserSerialNumbers()
[all …]
DRecoverableKeyStoreDbContract.java83 static class UserMetadataEntry implements BaseColumns { class in RecoverableKeyStoreDbContract
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelperTest.java32 …id.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.UserMetadataEntry;
81 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
82 + UserMetadataEntry._ID + " INTEGER PRIMARY KEY,"
83 + UserMetadataEntry.COLUMN_NAME_USER_ID + " INTEGER UNIQUE,"
84 + UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID + " INTEGER)";
188 values.put(UserMetadataEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in checkAllColumns_v4()
189 values.put(UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID, in checkAllColumns_v4()
192 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
241 values.put(UserMetadataEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in checkAllColumns_latest()
242 values.put(UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER, TEST_USER_SERIAL_NUMBER); in checkAllColumns_latest()
[all …]