Home
last modified time | relevance | path

Searched refs:encrypted (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp46 const uint8_t* encrypted, in attemptDecryptExpectingSuccess() argument
52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer, in attemptDecryptExpectingSuccess()
136 uint8_t encrypted[kTotalSize] = { in TEST_F() local
162 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
181 uint8_t encrypted[kTotalSize] = { in TEST_F() local
208 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
227 uint8_t encrypted[kTotalSize] = { in TEST_F() local
254 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
273 uint8_t encrypted[kTotalSize] = { in TEST_F() local
303 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
[all …]
/frameworks/base/libs/securebox/tests/src/com/android/security/
DSecureBoxTest.java210 byte[] encrypted = in encryptThenDecrypt_nullPublicPrivateKeys()
215 /*ourPrivateKey=*/ null, TEST_SHARED_SECRET, TEST_HEADER, encrypted); in encryptThenDecrypt_nullPublicPrivateKeys()
221 byte[] encrypted = in encryptThenDecrypt_nullSharedSecret()
225 SecureBox.decrypt(THM_PRIVATE_KEY, /*sharedSecret=*/ null, TEST_HEADER, encrypted); in encryptThenDecrypt_nullSharedSecret()
231 byte[] encrypted = in encryptThenDecrypt_nullHeader()
235 SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, /*header=*/ null, encrypted); in encryptThenDecrypt_nullHeader()
241 byte[] encrypted = in encryptThenDecrypt_nullPayload()
249 /*encryptedPayload=*/ encrypted); in encryptThenDecrypt_nullPayload()
297 byte[] encrypted = in decrypt_badAuthenticationTag()
299 encrypted[encrypted.length - 1] ^= (byte) 1; in decrypt_badAuthenticationTag()
[all …]
/frameworks/base/tests/LegacyRestoreTest/
DREADME1 The file "jbmr2-encrypted-settings-abcd.ab" in this directory is an encrypted
12 The file "kk-fixed-encrypted-settings-abcd.ab" is a similar encrypted "adb backup"
17 These archives can be used as an ongoing test to verify that historical encrypted
/frameworks/av/media/module/mpeg2ts/
DHlsSampleDecryptor.cpp119 uint8_t *encrypted = nalData + offset; in processNal() local
120 status_t ret = decryptBlock(encrypted, AES_BLOCK_SIZE, AESInitVec); in processNal()
186 uint8_t *encrypted = data + offset; in processAAC() local
187 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
242 uint8_t *encrypted = data + offset; in processAC3() local
243 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java100 String encoding, boolean encrypted, int audioChannelCount, int audioSampleRate, in TvTrackInfo() argument
109 mEncrypted = encrypted; in TvTrackInfo()
544 public Builder setEncrypted(boolean encrypted) { in setEncrypted() argument
545 mEncrypted = encrypted; in setEncrypted()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowDataTest.java110 byte [] encrypted = AesEncryptionUtil.encrypt(mKeyStoreEncryptionKey, testSp); in aesEncryptedBlob_loopback_success()
111 byte [] decrypted = AesEncryptionUtil.decrypt(mKeyStoreEncryptionKey, encrypted); in aesEncryptedBlob_loopback_success()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java219 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey( in decryptRecoveryKey_decryptsALocallyEncryptedKey()
222 byte[] keyMaterial = KeySyncUtils.decryptRecoveryKey(LOCK_SCREEN_HASH_1, encrypted); in decryptRecoveryKey_decryptsALocallyEncryptedKey()
230 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey(LOCK_SCREEN_HASH_1, recoveryKey); in decryptRecoveryKey_throwsIfCannotDecrypt()
233 KeySyncUtils.decryptRecoveryKey(LOCK_SCREEN_HASH_2, encrypted); in decryptRecoveryKey_throwsIfCannotDecrypt()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java1834 final byte[] encrypted = loadState(PASSWORD_METRICS_NAME, protectorId, userId); in getPasswordMetrics()
1835 if (encrypted == null) { in getPasswordMetrics()
1840 /* personalization= */ new byte[0], encrypted); in getPasswordMetrics()
1855 final byte[] encrypted = SyntheticPasswordCrypto.encrypt(sp.deriveMetricsKey(), in savePasswordMetrics()
1858 saveState(PASSWORD_METRICS_NAME, encrypted, protectorId, userId); in savePasswordMetrics()
2031 final byte[] encrypted = in writeVendorAuthSecret()
2034 saveState(VENDOR_AUTH_SECRET_NAME, encrypted, NULL_PROTECTOR_ID, userId); in writeVendorAuthSecret()
2040 final byte[] encrypted = loadState(VENDOR_AUTH_SECRET_NAME, NULL_PROTECTOR_ID, userId); in readVendorAuthSecret()
2041 if (encrypted == null) { in readVendorAuthSecret()
2045 sp.deriveVendorAuthSecretEncryptionKey(), new byte[0], encrypted); in readVendorAuthSecret()
/frameworks/opt/telephony/proto/src/
Dpin_storage.proto55 // Stores the encrypted version of StoredPin.
/frameworks/proto_logging/stats/atoms/adservices/
Dadservices_extension_atoms.proto1184 // Number of empty encrypted topics during epoch computation process.
1187 // Number of encrypted topics during epoch computation process.
1196 // The latency in milliseconds of persisting encrypted topics to database
1201 /** Logs for encrypted topics during getTopics() API calls */
1204 // Number of encrypted topics during getTopics() API calls.
1207 // The latency in milliseconds of reading encrypted topics from database
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp658 bool encrypted = data[0] & 0x1; in setWebmBlockCryptoInfo() local
660 if (encrypted && mbuf->range_length() < 9) { in setWebmBlockCryptoInfo()
666 if (encrypted) { in setWebmBlockCryptoInfo()
/frameworks/proto_logging/stats/enums/adservices/common/
Dadservices_enums.proto304 // Failure to convert plaintext topic object to encrypted topic.
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md134 restored for all users, even for credential encrypted users that have not been
/frameworks/proto_logging/stats/
Datoms.proto14872 // Credential encrypted storage is unlocked.
14874 // Credential encrypted storage is locked.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...