Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelper.java27 …oid.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.RootOfTrustEntry;
92 "CREATE TABLE " + RootOfTrustEntry.TABLE_NAME + " ("
93 + RootOfTrustEntry._ID + " INTEGER PRIMARY KEY,"
94 + RootOfTrustEntry.COLUMN_NAME_USER_ID + " INTEGER,"
95 + RootOfTrustEntry.COLUMN_NAME_UID + " INTEGER,"
96 + RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS + " TEXT,"
97 + RootOfTrustEntry.COLUMN_NAME_CERT_PATH + " BLOB,"
98 + RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL + " INTEGER,"
100 + RootOfTrustEntry.COLUMN_NAME_USER_ID + ","
101 + RootOfTrustEntry.COLUMN_NAME_UID + ","
[all …]
DRecoverableKeyStoreDb.java34 …oid.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.RootOfTrustEntry;
528 return getLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL); in getRecoveryServiceCertSerial()
544 return setLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, in setRecoveryServiceCertSerial()
560 byte[] bytes = getBytes(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_PATH); in getRecoveryServiceCertPath()
591 return setBytes(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_PATH, in setRecoveryServiceCertPath()
1134 RootOfTrustEntry._ID, in getBytes()
1135 RootOfTrustEntry.COLUMN_NAME_USER_ID, in getBytes()
1136 RootOfTrustEntry.COLUMN_NAME_UID, in getBytes()
1137 RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS, in getBytes()
1140 RootOfTrustEntry.COLUMN_NAME_USER_ID + " = ? AND " in getBytes()
[all …]
DRecoverableKeyStoreDbContract.java176 static class RootOfTrustEntry implements BaseColumns { class in RecoverableKeyStoreDbContract
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelperTest.java31 …oid.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.RootOfTrustEntry;
176 values.put(RootOfTrustEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in isRootOfTrustTableAvailable()
177 values.put(RootOfTrustEntry.COLUMN_NAME_UID, TEST_UID); in isRootOfTrustTableAvailable()
178 values.put(RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS, TEST_ROOT_ALIAS); in isRootOfTrustTableAvailable()
179 values.put(RootOfTrustEntry.COLUMN_NAME_CERT_PATH, TEST_CERT_PATH); in isRootOfTrustTableAvailable()
180 values.put(RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, TEST_CERT_SERIAL); in isRootOfTrustTableAvailable()
181 return mDatabase.replace(RootOfTrustEntry.TABLE_NAME, /*nullColumnHack=*/ null, values) in isRootOfTrustTableAvailable()