/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 409 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()
|
D | SyntheticPasswordTests.java | 608 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/ |
D | SyntheticPasswordManager.java | 392 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 …]
|
D | LockSettingsStorage.java | 408 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/ |
D | NativeWifiClient.java | 91 macAddress = MacAddress.fromBytes(in.createByteArray());
|
D | NativeScanResult.java | 89 return MacAddress.fromBytes(bssid); in getBssid()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | TestUtils.java | 44 result.setWifiSsid(WifiSsid.fromBytes(utf8Ssid.getBytes(StandardCharsets.UTF_8))); in buildScanResult()
|
D | StandardWifiEntryTest.java | 1344 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/ |
D | TestHarnessModeService.java | 133 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/ |
D | SecurityLog.java | 682 mEvent = Event.fromBytes(data); in SecurityEvent()
|
/frameworks/base/core/java/android/util/ |
D | EventLog.java | 282 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 575 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/ |
D | ClosedCaptionRenderer.java | 578 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/ |
D | StandardWifiEntry.java | 1016 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/ |
D | NetdEventListenerService.java | 308 event.dstHwAddr = MacAddress.fromBytes(dstHw); in onWakeupEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 8404 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/ |
D | SettingsState.java | 2086 return fromBytes(Base64.decode(s, Base64.DEFAULT)); 2104 private static String fromBytes(byte[] bytes) {
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | WifiNl80211ManagerTest.java | 134 private static final MacAddress TEST_RAW_MAC_BYTES = MacAddress.fromBytes(
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | ActiveAdmin.java | 1029 .map(ssid -> WifiSsid.fromBytes(ssid.getBytes(StandardCharsets.UTF_8))) in readWifiSsids()
|
/frameworks/base/services/ |
D | art-profile | 3013 HSPLcom/android/server/power/WakeLockLog$EntryByteTranslator;->fromBytes([BJLcom/android/server/pow…
|
D | art-wear-profile | 14927 PLcom/android/server/locksettings/SyntheticPasswordManager$SyntheticPasswordBlob;->fromBytes([B)Lco…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 25163 Landroid/media/Cea608CCParser$PAC;->fromBytes(BB)Landroid/media/Cea608CCParser$PAC; 57000 Landroid/util/EventLog$Event;->fromBytes([B)Landroid/util/EventLog$Event;
|