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.java26 …oid.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.RootOfTrustEntry;
79 "CREATE TABLE " + RootOfTrustEntry.TABLE_NAME + " ("
80 + RootOfTrustEntry._ID + " INTEGER PRIMARY KEY,"
81 + RootOfTrustEntry.COLUMN_NAME_USER_ID + " INTEGER,"
82 + RootOfTrustEntry.COLUMN_NAME_UID + " INTEGER,"
83 + RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS + " TEXT,"
84 + RootOfTrustEntry.COLUMN_NAME_CERT_PATH + " BLOB,"
85 + RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL + " INTEGER,"
87 + RootOfTrustEntry.COLUMN_NAME_USER_ID + ","
88 + RootOfTrustEntry.COLUMN_NAME_UID + ","
[all …]
DRecoverableKeyStoreDb.java34 …oid.server.locksettings.recoverablekeystore.storage.RecoverableKeyStoreDbContract.RootOfTrustEntry;
480 return getLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL); in getRecoveryServiceCertSerial()
496 return setLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, in setRecoveryServiceCertSerial()
512 byte[] bytes = getBytes(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_PATH); in getRecoveryServiceCertPath()
543 return setBytes(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_PATH, in setRecoveryServiceCertPath()
1086 RootOfTrustEntry._ID, in getBytes()
1087 RootOfTrustEntry.COLUMN_NAME_USER_ID, in getBytes()
1088 RootOfTrustEntry.COLUMN_NAME_UID, in getBytes()
1089 RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS, in getBytes()
1092 RootOfTrustEntry.COLUMN_NAME_USER_ID + " = ? AND " in getBytes()
[all …]
DRecoverableKeyStoreDbContract.java171 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;
163 values.put(RootOfTrustEntry.COLUMN_NAME_USER_ID, TEST_USER_ID); in isRootOfTrustTableAvailable()
164 values.put(RootOfTrustEntry.COLUMN_NAME_UID, TEST_UID); in isRootOfTrustTableAvailable()
165 values.put(RootOfTrustEntry.COLUMN_NAME_ROOT_ALIAS, TEST_ROOT_ALIAS); in isRootOfTrustTableAvailable()
166 values.put(RootOfTrustEntry.COLUMN_NAME_CERT_PATH, TEST_CERT_PATH); in isRootOfTrustTableAvailable()
167 values.put(RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, TEST_CERT_SERIAL); in isRootOfTrustTableAvailable()
168 return mDatabase.replace(RootOfTrustEntry.TABLE_NAME, /*nullColumnHack=*/ null, values) in isRootOfTrustTableAvailable()