Home
last modified time | relevance | path

Searched refs:EncryptedData (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DEncryptedData.java27 public class EncryptedData { class
31 public EncryptedData(byte[] encryptedData, byte[] iv) { in EncryptedData() method in EncryptedData
48 if (!(other instanceof EncryptedData)) return false; in equals()
49 EncryptedData otherEncryptedData = (EncryptedData) other; in equals()
DWifiConfigStoreEncryptionUtil.java84 public @Nullable EncryptedData encrypt(byte[] data) { in encrypt()
85 EncryptedData encryptedData = null; in encrypt()
91 encryptedData = new EncryptedData(cipher.doFinal(data), cipher.getIV()); in encrypt()
118 public @Nullable byte[] decrypt(@NonNull EncryptedData encryptedData) { in decrypt()
DXmlUtil.java413 EncryptedData encryptedData = null; in writePreSharedKeyToXml()
859 EncryptedData encryptedData = in parseFromXml()
1287 EncryptedData encryptedData = null; in writePasswordToXml()
1490 EncryptedData encryptedData = in parseFromXml()
1529 public static void writeToXml(XmlSerializer out, EncryptedData encryptedData) in writeToXml()
1544 public static EncryptedData parseFromXml(XmlPullParser in, int outerTagDepth) in parseFromXml()
1568 return new EncryptedData(encryptedData, iv); in parseFromXml()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java709 BluetoothKeystoreProto.EncryptedData protobuf; in encrypt()
723 protobuf = BluetoothKeystoreProto.EncryptedData.newBuilder() in encrypt()
757 BluetoothKeystoreProto.EncryptedData protobuf; in decrypt()
768 protobuf = BluetoothKeystoreProto.EncryptedData.parser().parseFrom(encryptedDataBytes); in decrypt()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java126 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
427 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java41 import com.android.server.wifi.util.EncryptedData;
229 .thenReturn(new EncryptedData(new byte[0], new byte[0])); in setupMocks()
230 when(mEncryptionUtil.decrypt(any(EncryptedData.class))) in setupMocks()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java37 import com.android.server.wifi.util.EncryptedData;
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp858 "com.android.server.wifi.util.EncryptedData",
859 "com.android.server.wifi.util.EncryptedData$*",
860 "com.android.server.wifi.util.EncryptedData.**",