Searched refs:encryptedBundle (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | CryptoHelper.java | 70 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 D | AccountManagerService.java | 3572 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 D | SystemInterfaceTest.java | 119 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 D | AccountManagerServiceTest.java | 3250 Bundle encryptedBundle = null; in encryptBundleWithCryptoHelper() local 3253 encryptedBundle = cryptoHelper.encryptBundle(sessionBundle); in encryptBundleWithCryptoHelper() 3257 return encryptedBundle; in encryptBundleWithCryptoHelper()
|