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.java28 …id.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.UserMetadataEntry;
57 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
58 + UserMetadataEntry._ID + " INTEGER PRIMARY KEY,"
59 + UserMetadataEntry.COLUMN_NAME_USER_ID + " INTEGER UNIQUE,"
60 + UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID + " INTEGER,"
61 + UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER + " INTEGER DEFAULT -1)";
65 "CREATE TABLE " + UserMetadataEntry.TABLE_NAME + "( "
66 + UserMetadataEntry._ID + " INTEGER PRIMARY KEY,"
67 + UserMetadataEntry.COLUMN_NAME_USER_ID + " INTEGER UNIQUE,"
68 + UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID + " INTEGER,"
[all …]
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)";
201 values.put(UserMetadataEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in checkAllColumns_v4()
202 values.put(UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID, in checkAllColumns_v4()
205 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
254 values.put(UserMetadataEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in checkAllColumns_latest()
255 values.put(UserMetadataEntry.COLUMN_NAME_USER_SERIAL_NUMBER, TEST_USER_SERIAL_NUMBER); in checkAllColumns_latest()
[all …]