Home
last modified time | relevance | path

Searched refs:fromBytes (Results 1 – 24 of 24) 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/tests/net/java/android/net/
DMacAddressTest.java70 assertEquals(got, MacAddress.fromBytes(t.addr).getAddressType()); in testMacAddrTypes()
163 assertEquals(mac, MacAddress.fromBytes(bytesRepr)); in testMacAddressConversions()
166 assertEquals(mac, MacAddress.fromBytes(MacAddress.byteAddrFromStringAddr(stringRepr))); in testMacAddressConversions()
241 MacAddress mac = MacAddress.fromBytes(b); in testConstructorInputValidation()
249 MacAddress mac = MacAddress.fromBytes(null); in testConstructorInputValidation()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java390 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize()
398 PersistentData deserialized = PersistentData.fromBytes(null); in testPersistentData_unserializeNull()
403 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray()
409 PersistentData deserialized = PersistentData.fromBytes(new byte[]{5}); in testPersistentData_unserializeInvalid()
424 PersistentData deserialized = PersistentData.fromBytes(serializedVersion1); in testPersistentData_unserialize_version1()
440 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_serializeUnserialize()
457 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_unserialize_versionGatekeeper()
DSyntheticPasswordTests.java493 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize()
516 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
/frameworks/base/core/java/android/net/
DMacAddress.java47 public static final MacAddress BROADCAST_ADDRESS = MacAddress.fromBytes(ETHER_ADDR_BROADCAST);
202 return MacAddress.fromBytes(addr).getAddressType(); in macAddressType()
327 public static @NonNull MacAddress fromBytes(@NonNull byte[] addr) { in fromBytes() method in MacAddress
/frameworks/base/services/net/java/android/net/util/
DInterfaceParams.java89 return MacAddress.fromBytes(netif.getHardwareAddress()); in getMacAddress()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java223 public static PasswordData fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.PasswordData
417 return PasswordData.fromBytes(passwordData).passwordType; in getCredentialType()
663 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential()
670 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential()
686 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, in migrateFrpPasswordLocked()
825 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
638 return PersistentData.fromBytes(persistentDataBlock.getFrpCredentialHandle()); in readPersistentDataBlock()
668 public static PersistentData fromBytes(byte[] frpData) { in fromBytes() method in LockSettingsStorage.PersistentData
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java495 mEvent = Event.fromBytes(data); in SecurityEvent()
/frameworks/base/services/net/java/android/net/ip/
DIpNeighborMonitor.java243 return MacAddress.fromBytes(linkLayerAddress); in getMacAddress()
/frameworks/base/core/java/android/util/
DEventLog.java192 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DCea608CCParser.java357 static PAC fromBytes(byte data1, byte data2) { in fromBytes() method in Cea608CCParser.PAC
847 return PAC.fromBytes(mData1, mData2); in getPAC()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java563 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest()
568 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java596 Log.v(TAG, "onDataPathSchedUpdate: peerMac=" + MacAddress.fromBytes(peerMac).toString() in onDataPathSchedUpdate()
609 + MacAddress.fromBytes(peerMac).toString() + " doesn't match NDP NMI=" in onDataPathSchedUpdate()
610 + MacAddress.fromBytes(nnriE.getValue().peerDiscoveryMac).toString()); in onDataPathSchedUpdate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java165 MacAddress.fromBytes(result.addr)); in recordResult()
DRttServiceImpl.java1020 MacAddress.fromBytes(peerIdToMacMap.get(rttPeer.peerHandle.peerId)), in processReceivedAwarePeerMacAddresses()
1095 resultEntries.put(MacAddress.fromBytes(result.addr), result); in postProcessResults()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java260 event.dstHwAddr = MacAddress.fromBytes(dstHw); in onWakeupEvent()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DClosedCaptionRenderer.java573 static PAC fromBytes(byte data1, byte data2) { in fromBytes() method in Cea608CCParser.PAC
1065 return PAC.fromBytes(mData1, mData2); in getPAC()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1071 return fromBytes(Base64.decode(s, Base64.DEFAULT)); in base64Decode()
1089 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()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/config/
Dhiddenapi-public-dex.txt25475 Landroid/net/MacAddress;->fromBytes([B)Landroid/net/MacAddress;
Dboot-image-profile.txt26089 HSPLandroid/net/MacAddress;->fromBytes([B)Landroid/net/MacAddress;
/frameworks/base/api/
Dcurrent.txt27148 method public static android.net.MacAddress fromBytes(byte[]);