/frameworks/base/services/net/java/android/net/util/ |
D | InterfaceParams.java | 54 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/ |
D | SystemInfo.java | 92 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/ |
D | SystemInfoTest.java | 95 when(mWifiNative.getMacAddress(any(String.class))).thenReturn(TEST_MAC); in getWifiMacAddress() 96 assertEquals(TEST_MAC, mSystemInfo.getMacAddress(TEST_IFACE)); in getWifiMacAddress()
|
D | PasspointProvisionerTest.java | 241 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/ |
D | DevDetailMoTest.java | 73 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/ |
D | ClientModeImplTest.java | 449 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 …]
|
D | WifiNativeTest.java | 718 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/ |
D | ILowpanInterface.aidl | 106 byte[] getMacAddress(); in getMacAddress() method
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | PostDevDataMessageTest.java | 89 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 170 System.arraycopy(overrideMac == null ? rangingResult.getMacAddress().toByteArray() in getMatchingRttResult()
|
D | RttServiceImplTest.java | 742 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/ |
D | DevDetailMo.java | 151 String macAddress = info.getMacAddress(IFNAME); in serializeToXml()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | RangingResult.java | 143 public MacAddress getMacAddress() { in getMacAddress() method in RangingResult
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1453 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()
|
D | ClientModeImpl.java | 3376 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()
|
D | SupplicantStaIfaceHal.java | 1795 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/ |
D | WifiInfo.java | 469 public String getMacAddress() { in getMacAddress() method in WifiInfo
|
D | RttManager.java | 991 legacyResults[i].bssid = result.getMacAddress().toString(); in startRanging()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |