Home
last modified time | relevance | path

Searched refs:generationId (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java150 public void invalidatePlatformKey(int userId, int generationId) { in invalidatePlatformKey() argument
151 if (generationId != -1) { in invalidatePlatformKey()
153 mKeyStore.deleteEntry(getEncryptAlias(userId, generationId)); in invalidatePlatformKey()
154 mKeyStore.deleteEntry(getDecryptAlias(userId, generationId)); in invalidatePlatformKey()
179 int generationId = getGenerationId(userId); in regenerate() local
181 if (generationId == -1) { in regenerate()
184 invalidatePlatformKey(userId, generationId); in regenerate()
185 nextId = generationId + 1; in regenerate()
234 int generationId = getGenerationId(userId); in getEncryptKeyInternal() local
235 String alias = getEncryptAlias(userId, generationId); in getEncryptKeyInternal()
[all …]
DPlatformEncryptionKey.java44 public PlatformEncryptionKey(int generationId, SecretKey key) { in PlatformEncryptionKey() argument
45 mGenerationId = generationId; in PlatformEncryptionKey()
DPlatformDecryptionKey.java43 public PlatformDecryptionKey(int generationId, SecretKey key) { in PlatformDecryptionKey() argument
44 mGenerationId = generationId; in PlatformDecryptionKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java88 int generationId = 1; in insertKey_replacesOldKey() local
89 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId); in insertKey_replacesOldKey()
96 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in insertKey_replacesOldKey()
101 generationId = 2; in insertKey_replacesOldKey()
102 wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId); in insertKey_replacesOldKey()
109 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in insertKey_replacesOldKey()
167 int generationId = 6; in getKey_returnsInsertedKey() local
174 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, 120); in getKey_returnsInsertedKey()
182 assertEquals(generationId, retrievedKey.getPlatformKeyGenerationId()); in getKey_returnsInsertedKey()
190 int generationId = 6; in getAllKeys_getsKeysWithUserIdAndGenerationId() local
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java162 int generationId = mDatabase.getPlatformKeyGenerationId(userId); in removeAllKeysForRecoveryAgent() local
163 Map<String, WrappedKey> allKeys = mDatabase.getAllKeys(userId, uid, generationId); in removeAllKeysForRecoveryAgent()
DRecoverableKeyStoreDb.java162 int generationId = cursor.getInt( in getKey() local
176 return new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, recoveryStatus); in getKey()
327 public long setPlatformKeyGenerationId(int userId, int generationId) { in setPlatformKeyGenerationId() argument
331 values.put(UserMetadataEntry.COLUMN_NAME_PLATFORM_KEY_GENERATION_ID, generationId); in setPlatformKeyGenerationId()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java953 private void onSeekTo(int generationId, long timeMs) { in onSeekTo() argument
955 if ((mCurrentClientGenId == generationId) && (mPositionUpdateListener != null)) { in onSeekTo()
961 private void onUpdateMetadata(int generationId, int key, Object value) { in onUpdateMetadata() argument
963 if ((mCurrentClientGenId == generationId) && (mMetadataUpdateListener != null)) { in onUpdateMetadata()
/frameworks/av/media/codec2/vndk/include/
DC2BqBufferPriv.h123 uint32_t generationId,
/frameworks/av/media/codec2/hal/hidl/1.2/utils/
DComponent.cpp605 uint32_t generationId = syncObject.generationId; in setOutputSurfaceWithSyncObj() local
610 generationId, consumerUsage); in setOutputSurfaceWithSyncObj()
/frameworks/av/media/codec2/hal/client/
Doutput.cpp207 (*syncObj)->generationId = generation; in configure()
237 (*syncObj)->generationId = generation; in configure()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java104 int generationId; in isGrayscaleIcon() local
111 generationId = bitmap.getGenerationId(); in isGrayscaleIcon()
114 mGrayscaleBitmapCache.put(bitmap, Pair.create(result, generationId)); in isGrayscaleIcon()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java1249 long generationId = mGenerationId.get(); in sendDisplayEvent() local
1252 if (generationId == mGenerationId.get()) { in sendDisplayEvent()
/frameworks/base/core/java/android/app/
DUiAutomation.java1850 public IAccessibilityServiceClientImpl(Looper looper, int generationId) { in IAccessibilityServiceClientImpl() argument
1852 private final int mGenerationId = generationId; in IAccessibilityServiceClientImpl()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp1200 uint32_t generationId, in configureProducer() argument
1204 producer, syncMemory, bqId, generationId, consumerUsage, true); in configureProducer()