Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java409 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize()
418 PersistentData deserialized = PersistentData.fromBytes(null); in testPersistentData_unserializeNull()
424 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray()
431 PersistentData deserialized = PersistentData.fromBytes(new byte[]{5}); in testPersistentData_unserializeInvalid()
447 PersistentData deserialized = PersistentData.fromBytes(serializedVersion1); in testPersistentData_unserialize_version1()
DSyntheticPasswordTests.java608 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordDataLatestVersion_serializeDeserialize()
650 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithLengthAvailable()
674 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
703 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithVersionNumber()
729 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forNoneCred()
755 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPasswordOrPin()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java392 public static PasswordData fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.PasswordData
480 public static SyntheticPasswordBlob fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.SyntheticPasswordBlob
770 return PasswordData.fromBytes(passwordData).pinLength; in getPinLength()
778 return PasswordData.fromBytes(passwordData).credentialType; in getCredentialType()
790 final int credentialType = PasswordData.fromBytes(data.payload).credentialType; in getSpecialUserCredentialType()
1094 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifySpecialUserCredential()
1113 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifySpecialUserCredential()
1134 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, protectorId, in migrateFrpPasswordLocked()
1215 final PasswordData pwd = PasswordData.fromBytes(data); in writeRepairModeCredentialLocked()
1389 pwd = PasswordData.fromBytes(pwdDataBytes); in unlockLskfBasedProtector()
[all …]
DLockSettingsStorage.java408 return PersistentData.fromBytes(data); in readRepairModePersistentData()
611 return PersistentData.fromBytes(persistentDataBlock.getFrpCredentialHandle()); in readPersistentDataBlock()
682 public static PersistentData fromBytes(byte[] frpData) { in fromBytes() method in LockSettingsStorage.PersistentData
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DNativeWifiClient.java91 macAddress = MacAddress.fromBytes(in.createByteArray());
DNativeScanResult.java89 return MacAddress.fromBytes(bssid); in getBssid()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DTestUtils.java44 result.setWifiSsid(WifiSsid.fromBytes(utf8Ssid.getBytes(StandardCharsets.UTF_8))); in buildScanResult()
DStandardWifiEntryTest.java1344 WifiSsid.fromBytes("ssid".getBytes(StandardCharsets.UTF_8))))); in testCanConnect_allowlistRestriction_returnTrue()
1371 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8))))); in testCanConnect_allowlistRestriction_returnFalse()
1398 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8))))); in testCanConnect_denylistRestriction_returnTrue()
1425 WifiSsid.fromBytes("ssid".getBytes(StandardCharsets.UTF_8))))); in testCanConnect_denylistRestriction_returnFalse()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java133 setUpAdbFiles(PersistentData.fromBytes(testHarnessModeData)); in completeTestHarnessModeSetup()
444 static PersistentData fromBytes(byte[] bytes) throws SetUpTestHarnessModeException { in fromBytes() method in TestHarnessModeService.PersistentData
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java682 mEvent = Event.fromBytes(data); in SecurityEvent()
/frameworks/base/core/java/android/util/
DEventLog.java282 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java575 LogEntry fromBytes(byte[] bytes, long timeReference, LogEntry entryToReuse) { in fromBytes() method in WakeLockLog.EntryByteTranslator
1105 return mTranslator.fromBytes(mReadWriteTempBuffer, timeReference, entryToSet); in readEntryAt()
/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()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java1016 WifiSsid.fromBytes(getSsid().getBytes(StandardCharsets.UTF_8)))) { in updateAdminRestrictions()
1022 WifiSsid.fromBytes(getSsid().getBytes(StandardCharsets.UTF_8)))) { in updateAdminRestrictions()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java308 event.dstHwAddr = MacAddress.fromBytes(dstHw); in onWakeupEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java8404 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in testSetSsidAllowlist_noDeviceOwnerOrPoOfOrgOwnedDevice()
8415 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in testSetSsidAllowlist_asDeviceOwner()
8433 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)), in testSetSsidAllowlist_asPoOfOrgOwnedDevice()
8434 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8)), in testSetSsidAllowlist_asPoOfOrgOwnedDevice()
8435 WifiSsid.fromBytes("ssid3".getBytes(StandardCharsets.UTF_8)))); in testSetSsidAllowlist_asPoOfOrgOwnedDevice()
8456 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in testSetSsidDenylist_noDeviceOwnerOrPoOfOrgOwnedDevice()
8467 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in testSetSsidDenylist_asDeviceOwner()
8485 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)), in testSetSsidDenylist_asPoOfOrgOwnedDevice()
8486 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8)), in testSetSsidDenylist_asPoOfOrgOwnedDevice()
8487 WifiSsid.fromBytes("ssid3".getBytes(StandardCharsets.UTF_8)))); in testSetSsidDenylist_asPoOfOrgOwnedDevice()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java2086 return fromBytes(Base64.decode(s, Base64.DEFAULT));
2104 private static String fromBytes(byte[] bytes) {
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java134 private static final MacAddress TEST_RAW_MAC_BYTES = MacAddress.fromBytes(
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java1029 .map(ssid -> WifiSsid.fromBytes(ssid.getBytes(StandardCharsets.UTF_8))) in readWifiSsids()
/frameworks/base/services/
Dart-profile3013 HSPLcom/android/server/power/WakeLockLog$EntryByteTranslator;->fromBytes([BJLcom/android/server/pow…
Dart-wear-profile14927 PLcom/android/server/locksettings/SyntheticPasswordManager$SyntheticPasswordBlob;->fromBytes([B)Lco…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt25163 Landroid/media/Cea608CCParser$PAC;->fromBytes(BB)Landroid/media/Cea608CCParser$PAC;
57000 Landroid/util/EventLog$Event;->fromBytes([B)Landroid/util/EventLog$Event;