Searched refs:fromBytes (Results 1 – 9 of 9) sorted by relevance
52 WifiSsid fromBytes = WifiSsid.createFromByteArray(TEST_SSID_BYTES); in testEquals() local54 assertTrue(fromBytes != null); in testEquals()56 assertEquals(fromBytes, fromString); in testEquals()
352 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize()360 PersistentData deserialized = PersistentData.fromBytes(null); in testPersistentData_unserializeNull()365 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray()379 PersistentData deserialized = PersistentData.fromBytes(serializedVersion1); in testPersistentData_unserialize_version1()395 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_serializeUnserialize()412 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_unserialize_versionGatekeeper()
390 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize()413 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
134 mEvent = Event.fromBytes(data); in SecurityEvent()
211 public static PasswordData fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.PasswordData407 return PasswordData.fromBytes(passwordData).passwordType; in getCredentialType()631 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential()638 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential()654 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, in migrateFrpPasswordLocked()791 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, userId)); in unwrapPasswordBasedSyntheticPassword()
162 public static CredentialHash fromBytes(byte[] bytes) { in fromBytes() method in LockSettingsStorage.CredentialHash630 return PersistentData.fromBytes(persistentDataBlock.getFrpCredentialHandle()); in readPersistentDataBlock()656 public static PersistentData fromBytes(byte[] frpData) { in fromBytes() method in LockSettingsStorage.PersistentData
192 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
995 return fromBytes(Base64.decode(s, Base64.DEFAULT)); in base64Decode()1013 private static String fromBytes(byte[] bytes) { in fromBytes() method in SettingsState
578 static PAC fromBytes(byte data1, byte data2) { in fromBytes() method in Cea608CCParser.PAC1072 return PAC.fromBytes(mData1, mData2); in getPAC()