Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiSsidTest.java52 WifiSsid fromBytes = WifiSsid.createFromByteArray(TEST_SSID_BYTES); in testEquals() local
54 assertTrue(fromBytes != null); in testEquals()
56 assertEquals(fromBytes, fromString); in testEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java352 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()
DSyntheticPasswordTests.java390 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize()
413 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java134 mEvent = Event.fromBytes(data); in SecurityEvent()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java211 public static PasswordData fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.PasswordData
407 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()
DLockSettingsStorage.java162 public static CredentialHash fromBytes(byte[] bytes) { in fromBytes() method in LockSettingsStorage.CredentialHash
630 return PersistentData.fromBytes(persistentDataBlock.getFrpCredentialHandle()); in readPersistentDataBlock()
656 public static PersistentData fromBytes(byte[] frpData) { in fromBytes() method in LockSettingsStorage.PersistentData
/frameworks/base/core/java/android/util/
DEventLog.java192 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java995 return fromBytes(Base64.decode(s, Base64.DEFAULT)); in base64Decode()
1013 private static String fromBytes(byte[] bytes) { in fromBytes() method in SettingsState
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java578 static PAC fromBytes(byte data1, byte data2) { in fromBytes() method in Cea608CCParser.PAC
1072 return PAC.fromBytes(mData1, mData2); in getPAC()