Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java93 && !wifiClientMacs.contains(client.getMacAddress())) { in updateConnectedClients()
122 lease.getMacAddress(), lease); in addLease()
125 clientsMap.put(lease.getMacAddress(), lease); in addLease()
134 clientsMap.put(lease.getMacAddress(), aggregateClient.addAddresses(lease)); in addLease()
172 return new TetheredClient(client.getMacAddress(), newAddrs, client.getTetheringType()); in pruneExpired()
179 macs.add(c.getMacAddress()); in getClientMacs()
/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.java240 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
/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/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/base/wifi/java/android/net/wifi/
DWifiClient.java39 public MacAddress getMacAddress() { in getMacAddress() method in WifiClient
DWifiInfo.java469 public String getMacAddress() { in getMacAddress() method in WifiInfo
DRttManager.java992 legacyResults[i].bssid = result.getMacAddress().toString(); in startRanging()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java458 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUp()
463 when(mWifiNative.getMacAddress(iface)).thenReturn(mac.toString()); in setUp()
2278 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
2665 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationNotSupported()
2689 assertEquals(TEST_LOCAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationPersistentDifferentMac()
2706 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationPersistentSameMac()
2714 assertEquals(TEST_LOCAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationPersistentSameMac()
2732 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2748 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getWifiInfo().getMacAddress()); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2780 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/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheredClient.java68 public MacAddress getMacAddress() { in getMacAddress() method in TetheredClient
/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/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/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.java1454 String senderMacStr = getMacAddress(ifaceName); in probeLink()
1684 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in WifiNative
1685 return mSupplicantStaIfaceHal.getMacAddress(ifaceName); in getMacAddress()
3105 byte[] srcMac = NativeUtil.macAddressToByteArray(getMacAddress(ifaceName)); in startSendingOffloadedPacket()
DClientModeImpl.java3400 String currentMacString = mWifiNative.getMacAddress(mInterfaceName); in configureRandomizedMacAddress()
3428 String currentMacStr = mWifiNative.getMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()
3787 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4300 String currentMacAddress = mWifiNative.getMacAddress(mInterfaceName); in processMessage()
4461 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
5150 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
6448 return mWifiNative.getMacAddress(mInterfaceName); in getFactoryMacAddress()
DSupplicantStaIfaceHal.java1819 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in SupplicantStaIfaceHal
1826 iface.getMacAddress((SupplicantStatus status, in getMacAddress()
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dsystem-current.txt8 method @NonNull public android.net.MacAddress getMacAddress();
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java415 assertEquals(MacAddress.fromBytes(clientMacAddr), client.getMacAddress()); in checkTetheredClientCallbacks()
/frameworks/base/api/
Dtest-current.txt1608 method @NonNull public android.net.MacAddress getMacAddress();
Dsystem-current.txt4773 method @NonNull public android.net.MacAddress getMacAddress();
5338 method @NonNull public android.net.MacAddress getMacAddress();
/frameworks/base/non-updatable-api/
Dsystem-current.txt5244 method @NonNull public android.net.MacAddress getMacAddress();

12