Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/util/
DInterfaceParams.java54 final MacAddress macAddr = getMacAddress(netif); in getByName()
90 private static MacAddress getMacAddress(NetworkInterface netif) { in getMacAddress() method in InterfaceParams
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSystemInfo.java92 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in SystemInfo
93 return mWifiNative.getMacAddress(ifaceName); in getMacAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java95 when(mWifiNative.getMacAddress(any(String.class))).thenReturn(TEST_MAC); in getWifiMacAddress()
96 assertEquals(TEST_MAC, mSystemInfo.getMacAddress(TEST_IFACE)); in getWifiMacAddress()
DPasspointProvisionerTest.java241 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java73 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
85 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(null); in serializeDevDetailMoWithoutMacaddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java449 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUp()
454 when(mWifiNative.getMacAddress(iface)).thenReturn(mac.toString()); in setUp()
2155 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
2529 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationNotSupported()
2553 assertEquals(TEST_LOCAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationPersistentDifferentMac()
2570 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationPersistentSameMac()
2578 assertEquals(TEST_LOCAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationPersistentSameMac()
2596 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2612 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2644 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationNoneSameMac()
[all …]
DWifiNativeTest.java718 when(mStaIfaceHal.getMacAddress(WIFI_IFACE_NAME)).thenReturn(TEST_MAC_ADDRESS_STR); in testProbeLinkSuccess()
737 when(mStaIfaceHal.getMacAddress(WIFI_IFACE_NAME)).thenReturn(null); in testProbeLinkFailureCannotGetSenderMac()
751 when(mStaIfaceHal.getMacAddress(WIFI_IFACE_NAME)).thenReturn(TEST_MAC_ADDRESS_STR); in testProbeLinkFailureCannotGetBssid()
/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/hotspot2/soap/
DPostDevDataMessageTest.java89 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java170 System.arraycopy(overrideMac == null ? rangingResult.getMacAddress().toByteArray() in getMatchingRttResult()
DRttServiceImplTest.java742 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResults()
747 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResults()
789 new RangingResult(RangingResult.STATUS_FAIL, result.getMacAddress(), 0, 0, 0, 0, in testMissingAllResults()
834 removed.getMacAddress(), 0, 0, 0, 0, 0, null, null, null, 0)); in testMissingResultsForNonSupportOf80211mc()
839 new RangingResult(RangingResult.STATUS_FAIL, removed.getMacAddress(), 0, 0, 0, 0, 0, in testMissingResultsForNonSupportOf80211mc()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevDetailMo.java151 String macAddress = info.getMacAddress(IFNAME); in serializeToXml()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingResult.java143 public MacAddress getMacAddress() { in getMacAddress() method in RangingResult
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1453 String senderMacStr = getMacAddress(ifaceName); in probeLink()
1683 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in WifiNative
1684 return mSupplicantStaIfaceHal.getMacAddress(ifaceName); in getMacAddress()
3104 byte[] srcMac = NativeUtil.macAddressToByteArray(getMacAddress(ifaceName)); in startSendingOffloadedPacket()
DClientModeImpl.java3376 MacAddress currentMac = MacAddress.fromString(mWifiNative.getMacAddress(mInterfaceName)); in configureRandomizedMacAddress()
3402 String currentMacStr = mWifiNative.getMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()
3759 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4279 String currentMacAddress = mWifiNative.getMacAddress(mInterfaceName); in processMessage()
4438 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
5089 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
6356 return mWifiNative.getMacAddress(mInterfaceName); in getFactoryMacAddress()
DSupplicantStaIfaceHal.java1795 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in SupplicantStaIfaceHal
1802 iface.getMacAddress((SupplicantStatus status, in getMacAddress()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java469 public String getMacAddress() { in getMacAddress() method in WifiInfo
DRttManager.java991 legacyResults[i].bssid = result.getMacAddress().toString(); in startRanging()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...