Home
last modified time | relevance | path

Searched refs:getMacAddress (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/net/java/android/net/util/
DInterfaceParams.java52 final MacAddress macAddr = getMacAddress(netif); in getByName()
87 private static MacAddress getMacAddress(NetworkInterface netif) { in getMacAddress() method in InterfaceParams
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java98 doReturn(TEST_MAC_ADDRESS).when(wifiInfo).getMacAddress(); in testWifiMacAddress()
107 doReturn(WifiInfo.DEFAULT_MAC_ADDRESS).when(wifiInfo).getMacAddress(); in testWifiMacAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java1914 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
2210 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomization()
2215 when(mWifiNative.getMacAddress(iface)).thenReturn(mac.toString()); in testConnectedMacRandomization()
2223 MacAddress newMac = MacAddress.fromString(mWifiNative.getMacAddress(WIFI_IFACE_NAME)); in testConnectedMacRandomization()
2229 assertEquals(mWsm.getWifiInfo().getMacAddress(), newMac.toString()); in testConnectedMacRandomization()
2241 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
2245 assertEquals(TEST_LOCAL_MAC_ADDRESS.toString(), mWsm.getWifiInfo().getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
2254 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mWsm.getWifiInfo().getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
2267 String oldMac = mWsm.getWifiInfo().getMacAddress(); in testConnectedMacRandomizationWhenFeatureOff()
2277 assertEquals(mWsm.getWifiInfo().getMacAddress(), oldMac); in testConnectedMacRandomizationWhenFeatureOff()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpNeighborMonitor.java228 getMacAddress(neighMsg.getLinkLayerAddress())); in evaluateRtNetlinkNeighborMessage()
240 private static MacAddress getMacAddress(byte[] linkLayerAddress) { in getMacAddress() method in IpNeighborMonitor
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java84 final String macAddress = wifiInfo == null ? null : wifiInfo.getMacAddress(); in updateConnectivity()
/frameworks/base/lowpan/java/android/net/lowpan/
DILowpanInterface.aidl106 byte[] getMacAddress(); in getMacAddress() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java150 System.arraycopy(overrideMac == null ? rangingResult.getMacAddress().toByteArray() in getMatchingRttResult()
DRttServiceImplTest.java735 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResults()
740 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResults()
782 new RangingResult(RangingResult.STATUS_FAIL, result.getMacAddress(), 0, 0, 0, 0, in testMissingAllResults()
827 removed.getMacAddress(), 0, 0, 0, 0, 0, null, null, 0)); in testMissingResultsForNonSupportOf80211mc()
832 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResultsForNonSupportOf80211mc()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingResult.java138 public MacAddress getMacAddress() { in getMacAddress() method in RangingResult
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java344 public String getMacAddress() { in getMacAddress() method in WifiInfo
DRttManager.java991 legacyResults[i].bssid = result.getMacAddress().toString(); in startRanging()
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
DLowpanInterfaceTracker.java256 hwAddr = mLowpanInterface.getService().getMacAddress(); in enter()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1372 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in WifiNative
1373 return mSupplicantStaIfaceHal.getMacAddress(ifaceName); in getMacAddress()
2694 byte[] srcMac = NativeUtil.macAddressToByteArray(getMacAddress(ifaceName)); in startSendingOffloadedPacket()
DWifiStateMachine.java3198 MacAddress currentMac = MacAddress.fromString(mWifiNative.getMacAddress(mInterfaceName)); in configureRandomizedMacAddress()
3667 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4153 String currentMacAddress = mWifiNative.getMacAddress(mInterfaceName); in processMessage()
4300 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
4852 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
DSupplicantStaIfaceHal.java1613 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in SupplicantStaIfaceHal
1620 iface.getMacAddress((SupplicantStatus status, in getMacAddress()
/frameworks/base/services/
Dart-profile584 HSPLandroid/hardware/wifi/supplicant/V1_0/ISupplicantStaIface;->getMacAddress(Landroid/hardware/wif…
674 HSPLandroid/net/wifi/IClientInterface;->getMacAddress()[B
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11126 return wifiInfo.hasRealMacAddress() ? wifiInfo.getMacAddress() : null; in getWifiMacAddress()
/frameworks/base/config/
Dhiddenapi-public-dex.txt26561 Landroid/net/wifi/rtt/RangingResult;->getMacAddress()Landroid/net/MacAddress;
26980 Landroid/net/wifi/WifiInfo;->getMacAddress()Ljava/lang/String;
Dboot-image-profile.txt26630 HSPLandroid/net/wifi/WifiInfo;->getMacAddress()Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt28122 method public java.lang.String getMacAddress();
28704 method public android.net.MacAddress getMacAddress();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18018 method public java.lang.String getMacAddress();