Home
last modified time | relevance | path

Searched refs:encryptedBundle (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DCryptoHelper.java70 Bundle encryptedBundle = new Bundle(); in encryptBundle() local
71 encryptedBundle.putByteArray(KEY_CIPHER, encryptedBytes); in encryptBundle()
72 encryptedBundle.putByteArray(KEY_MAC, mac); in encryptBundle()
73 encryptedBundle.putByteArray(KEY_IV, iv); in encryptBundle()
75 return encryptedBundle; in encryptBundle()
H A DAccountManagerService.java3572 Bundle encryptedBundle = cryptoHelper.encryptBundle(sessionBundle); in onResult() local
3573 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, encryptedBundle); in onResult()
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
H A DSystemInterfaceTest.java119 ProtectedData encryptedBundle = new ProtectedData(); in testGenerateCSR() local
126 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testGenerateCSR()
128 ByteArrayInputStream bais = new ByteArrayInputStream(encryptedBundle.protectedData); in testGenerateCSR()
155 ProtectedData encryptedBundle = new ProtectedData(); in testGenerateCSRProvisionAndUseKey() local
166 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testGenerateCSRProvisionAndUseKey()
279 ProtectedData encryptedBundle = new ProtectedData(); in testDecryptProtectedPayload() local
288 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testDecryptProtectedPayload()
289 ByteArrayInputStream bais = new ByteArrayInputStream(encryptedBundle.protectedData); in testDecryptProtectedPayload()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3250 Bundle encryptedBundle = null; in encryptBundleWithCryptoHelper() local
3253 encryptedBundle = cryptoHelper.encryptBundle(sessionBundle); in encryptBundleWithCryptoHelper()
3257 return encryptedBundle; in encryptBundleWithCryptoHelper()