Searched refs:SERVER_PARAMS (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | KeyChainSnapshotTest.java | 41 private static final byte[] SERVER_PARAMS = new byte[] { 6, 7, 9, 2 }; field in KeyChainSnapshotTest 68 assertArrayEquals(SERVER_PARAMS, createKeyChainSnapshot().getServerParams()); in build_setsServerParams() 132 assertArrayEquals(SERVER_PARAMS, snapshot.getServerParams()); in writeToParcel_writesServerParams() 178 .setServerParams(SERVER_PARAMS) in createKeyChainSnapshot()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializerTest.java | 46 private static final byte[] SERVER_PARAMS = new byte[] { 8, 2, 4 }; field in KeyChainSnapshotSerializerTest 90 assertThat(roundTrip().getServerParams()).isEqualTo(SERVER_PARAMS); in roundTrip_persistsServerParams() 245 .setServerParams(SERVER_PARAMS) in createTestKeyChainSnapshot() 263 .setServerParams(SERVER_PARAMS) in createTestKeyChainSnapshotWithKeyMetadata()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 60 private static final byte[] SERVER_PARAMS = field in RecoverableKeyStoreDbTest 538 mRecoverableKeyStoreDb.setServerParams(userId, uid, SERVER_PARAMS); in getRecoveryServicePublicKey_returnsNullIfNoKey() 773 mRecoverableKeyStoreDb.setServerParams(userId, uid, SERVER_PARAMS); in setRecoveryServiceMetadataMethods() 778 SERVER_PARAMS); in setRecoveryServiceMetadataMethods() 800 mRecoverableKeyStoreDb.setServerParams(userId, uid, SERVER_PARAMS); in setServerParams_replaceOldValue() 821 mRecoverableKeyStoreDb.setServerParams(userId, uid, SERVER_PARAMS); in getServerParams_returnsInsertedValue() 822 assertThat(mRecoverableKeyStoreDb.getServerParams(userId, uid)).isEqualTo(SERVER_PARAMS); in getServerParams_returnsInsertedValue() 911 mRecoverableKeyStoreDb.setServerParams(userId, uid, SERVER_PARAMS); in setRecoveryServiceMetadataEntry_updatesColumnsSeparately() 914 assertThat(mRecoverableKeyStoreDb.getServerParams(userId, uid)).isEqualTo(SERVER_PARAMS); in setRecoveryServiceMetadataEntry_updatesColumnsSeparately() 919 assertThat(mRecoverableKeyStoreDb.getServerParams(userId, uid)).isEqualTo(SERVER_PARAMS); in setRecoveryServiceMetadataEntry_updatesColumnsSeparately()
|
D | RecoverySnapshotStorageTest.java | 41 private static final byte[] SERVER_PARAMS = new byte[] { 12, 8, 2, 4, 15, 64 }; field in RecoverySnapshotStorageTest 220 .setServerParams(SERVER_PARAMS) in createTestKeyChainSnapshot()
|