/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 54 WifiSsid fromBytes = WifiSsid.createFromByteArray(TEST_SSID_BYTES); in testEquals() local 56 assertTrue(fromBytes != null); in testEquals() 58 assertEquals(fromBytes, fromString); in testEquals()
|
/frameworks/base/tests/net/java/android/net/ |
D | MacAddressTest.java | 72 assertEquals(got, MacAddress.fromBytes(t.addr).getAddressType()); in testMacAddrTypes() 165 assertEquals(mac, MacAddress.fromBytes(bytesRepr)); in testMacAddressConversions() 168 assertEquals(mac, MacAddress.fromBytes(MacAddress.byteAddrFromStringAddr(stringRepr))); in testMacAddressConversions() 243 MacAddress mac = MacAddress.fromBytes(b); in testConstructorInputValidation() 251 MacAddress mac = MacAddress.fromBytes(null); in testConstructorInputValidation()
|
/frameworks/base/services/net/java/android/net/util/ |
D | InterfaceParams.java | 72 this.macAddr = (macAddr != null) ? macAddr : MacAddress.fromBytes(new byte[] { in InterfaceParams() 92 return MacAddress.fromBytes(netif.getHardwareAddress()); in getMacAddress()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 391 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize() 399 PersistentData deserialized = PersistentData.fromBytes(null); in testPersistentData_unserializeNull() 404 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray() 410 PersistentData deserialized = PersistentData.fromBytes(new byte[]{5}); in testPersistentData_unserializeInvalid() 425 PersistentData deserialized = PersistentData.fromBytes(serializedVersion1); in testPersistentData_unserialize_version1() 441 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_serializeUnserialize() 458 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_unserialize_versionGatekeeper()
|
D | SyntheticPasswordTests.java | 539 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize() 562 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
|
/frameworks/base/core/java/android/net/ |
D | MacAddress.java | 51 public static final MacAddress BROADCAST_ADDRESS = MacAddress.fromBytes(ETHER_ADDR_BROADCAST); 209 return MacAddress.fromBytes(addr).getAddressType(); in macAddressType() 334 public static @NonNull MacAddress fromBytes(@NonNull byte[] addr) { in fromBytes() method in MacAddress
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 239 public static PasswordData fromBytes(byte[] data) { in fromBytes() method in SyntheticPasswordManager.PasswordData 437 return PasswordData.fromBytes(passwordData).passwordType; in getCredentialType() 686 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential() 693 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifyFrpCredential() 709 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, in migrateFrpPasswordLocked() 867 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, userId)); in unwrapPasswordBasedSyntheticPassword()
|
D | LockSettingsStorage.java | 164 public static CredentialHash fromBytes(byte[] bytes) { in fromBytes() method in LockSettingsStorage.CredentialHash 640 return PersistentData.fromBytes(persistentDataBlock.getFrpCredentialHandle()); in readPersistentDataBlock() 670 public static PersistentData fromBytes(byte[] frpData) { in fromBytes() method in LockSettingsStorage.PersistentData
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 562 assertArrayEquals(MacAddress.fromBytes( in testMultipleNdpsOnSingleNdi() 686 assertArrayEquals(MacAddress.fromBytes( in testMultipleIdenticalRequests() 805 assertArrayEquals(MacAddress.fromBytes( in testMultipleNdi() 869 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorNetInfoLargeValuesExp1() 883 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorNetInfoLargeValuesExp2() 896 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorNetInfoLargeValuesExp3() 925 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorAddressValidationRetrySuccess() 940 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorAddressValidationRetryFail() 1287 String linkLocalIpv6Address = MacAddress.fromBytes( in testDataPathInitiatorUtility() 1531 assertArrayEquals(MacAddress.fromBytes( in testDataPathResponderUtility()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RuntimeService.java | 149 DistroVersion distroVersion = DistroVersion.fromBytes(versionBytes); in addDistroVersionDebugInfo()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 132 setUpAdbFiles(PersistentData.fromBytes(testHarnessModeData)); in completeTestHarnessModeSetup() 414 static PersistentData fromBytes(byte[] bytes) throws SetUpTestHarnessModeException { in fromBytes() method in TestHarnessModeService.PersistentData
|
/frameworks/base/core/java/android/app/admin/ |
D | SecurityLog.java | 500 mEvent = Event.fromBytes(data); in SecurityEvent()
|
/frameworks/base/core/java/android/util/ |
D | EventLog.java | 194 public static Event fromBytes(byte[] data) { in fromBytes() method in EventLog.Event
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttMetricsTest.java | 566 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest() 571 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 156 mBssid = MacAddress.fromBytes(bssid.toByteArray()); in setBssid()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 609 MacAddress.fromBytes(mac).getLinkLocalIpv6FromEui48Mac().getAddress(), in onDataPathConfirm() 738 Log.v(TAG, "onDataPathSchedUpdate: peerMac=" + MacAddress.fromBytes(peerMac).toString() in onDataPathSchedUpdate() 751 + MacAddress.fromBytes(peerMac).toString() + " doesn't match NDP NMI=" in onDataPathSchedUpdate() 752 + MacAddress.fromBytes(nnriE.getValue().peerDiscoveryMac).toString()); in onDataPathSchedUpdate()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 272 event.dstHwAddr = MacAddress.fromBytes(dstHw); in onWakeupEvent()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttMetrics.java | 166 MacAddress.fromBytes(result.addr)); in recordResult()
|
D | RttServiceImpl.java | 1060 MacAddress.fromBytes(mac), in processReceivedAwarePeerMacAddresses() 1136 resultEntries.put(MacAddress.fromBytes(result.addr), result); in postProcessResults()
|
/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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 1098 return fromBytes(Base64.decode(s, Base64.DEFAULT)); in base64Decode() 1116 private static String fromBytes(byte[] bytes) { in fromBytes() method in SettingsState
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | ResponderLocation.java | 743 MacAddress macAddress = MacAddress.fromBytes(bssid); in parseSubelementBssidList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 284 MacAddress macAddress = MacAddress.fromBytes(Arrays.copyOfRange(bf.array(), 2, 8)); in calculatePersistentMacForConfiguration()
|
D | WifiScoreCard.java | 637 MacAddress bssid = MacAddress.fromBytes(ap.getBssid().toByteArray()); in perBssidFromAccessPoint()
|
D | WifiVendorHal.java | 1329 box.mac = MacAddress.fromBytes(macBytes); in getFactoryMacAddress()
|