Home
last modified time | relevance | path

Searched refs:getEncryptedData (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/encryption/
DCryptorMicImpTest.java33 private static byte[] getEncryptedData() { in getEncryptedData() method in CryptorMicImpTest
42 assertThat(encryptedData).isEqualTo(getEncryptedData()); in test_encryption()
49 v1Cryptor.decrypt(getEncryptedData(), CryptorMicImp.generateAdvNonce(SALT), in test_decryption()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DEncryptedData.java38 public byte[] getEncryptedData() { in getEncryptedData() method in EncryptedData
DWifiConfigStoreEncryptionUtil.java135 decryptedData = cipher.doFinal(encryptedData.getEncryptedData()); in decrypt()
DXmlUtil.java483 wifiConfig.setEncryptedPreSharedKey(encryptedData.getEncryptedData(), in writePreSharedKeyToXml()
1104 encryptedData.getEncryptedData(), in parseFromXml()
1851 out, XML_TAG_ENCRYPTED_DATA, encryptedData.getEncryptedData()); in writeToXml()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceUtilsTest.java387 expectWithMessage("Encrypted text").that(data.getEncryptedData()).isNotEqualTo(inputBytes); in testEncryptDecryptData()
405 expectWithMessage("Encrypted text").that(dataOne.getEncryptedData()) in testEncryptData_sameDataDifferentIv()
406 .isNotEqualTo(dataTwo.getEncryptedData()); in testEncryptData_sameDataDifferentIv()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java883 return cipher.doFinal(data.getEncryptedData()); in decryptData()
902 public byte[] getEncryptedData() { in getEncryptedData() method in CarServiceUtils.EncryptedData
/packages/services/Car/service/src/com/android/car/remoteaccess/
DRemoteAccessStorage.java238 values.put(COLUMN_CLIENT_ID, data.getEncryptedData()); in replaceEntry()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java923 configuration.setEncryptedPreSharedKey(encryptedData.getEncryptedData(), in testConfigStoreWithEncryptedPreSharedKey()
933 encryptedData.getEncryptedData()); in testConfigStoreWithEncryptedPreSharedKey()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java654 decryptedDataBytes = cipher.doFinal(protobuf.getEncryptedData().toByteArray()); in decrypt()