Home
last modified time | relevance | path

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

/frameworks/opt/net/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()
116 public @Nullable byte[] decrypt(@NonNull EncryptedData encryptedData) { in decrypt()
DXmlUtil.java392 EncryptedData encryptedData = null; in writePreSharedKeyToXml()
722 EncryptedData encryptedData = in parseFromXml()
1100 EncryptedData encryptedData = null; in writePasswordToXml()
1268 EncryptedData encryptedData = in parseFromXml()
1307 public static void writeToXml(XmlSerializer out, EncryptedData encryptedData) in writeToXml()
1322 public static EncryptedData parseFromXml(XmlPullParser in, int outerTagDepth) in parseFromXml()
1346 return new EncryptedData(encryptedData, iv); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java121 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
433 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java34 import com.android.server.wifi.util.EncryptedData;
190 .thenReturn(new EncryptedData(new byte[0], new byte[0])); in setupMocks()
191 when(mEncryptionUtil.decrypt(any(EncryptedData.class))) in setupMocks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java38 import com.android.server.wifi.util.EncryptedData;