/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 150 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 …]
|
D | PlatformEncryptionKey.java | 44 public PlatformEncryptionKey(int generationId, SecretKey key) { in PlatformEncryptionKey() argument 45 mGenerationId = generationId; in PlatformEncryptionKey()
|
D | PlatformDecryptionKey.java | 43 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/ |
D | RecoverableKeyStoreDbTest.java | 88 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/ |
D | CleanupManager.java | 162 int generationId = mDatabase.getPlatformKeyGenerationId(userId); in removeAllKeysForRecoveryAgent() local 163 Map<String, WrappedKey> allKeys = mDatabase.getAllKeys(userId, uid, generationId); in removeAllKeysForRecoveryAgent()
|
D | RecoverableKeyStoreDb.java | 162 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/ |
D | RemoteControlClient.java | 953 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/ |
D | C2BqBufferPriv.h | 123 uint32_t generationId,
|
/frameworks/av/media/codec2/hal/hidl/1.2/utils/ |
D | Component.cpp | 605 uint32_t generationId = syncObject.generationId; in setOutputSurfaceWithSyncObj() local 610 generationId, consumerUsage); in setOutputSurfaceWithSyncObj()
|
/frameworks/av/media/codec2/hal/client/ |
D | output.cpp | 207 (*syncObj)->generationId = generation; in configure() 237 (*syncObj)->generationId = generation; in configure()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 104 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/ |
D | DisplayManagerGlobal.java | 1249 long generationId = mGenerationId.get(); in sendDisplayEvent() local 1252 if (generationId == mGenerationId.get()) { in sendDisplayEvent()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 1850 public IAccessibilityServiceClientImpl(Looper looper, int generationId) { in IAccessibilityServiceClientImpl() argument 1852 private final int mGenerationId = generationId; in IAccessibilityServiceClientImpl()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 1200 uint32_t generationId, in configureProducer() argument 1204 producer, syncMemory, bqId, generationId, consumerUsage, true); in configureProducer()
|