Home
last modified time | relevance | path

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

123

/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A 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()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
H A DWifiMacAddressPreferenceControllerTest.java44 when(mMockWifiEntry.getMacAddress()).thenReturn(MAC_ADDRESS); in setUpConnectedState()
50 when(mMockWifiEntry.getMacAddress()).thenReturn(null); in setUpDisconnectedState()
H A DWifiInfoProviderTest.java118 when(mMockWifiInfo.getMacAddress()).thenReturn(MAC_ADDRESS); in setUp()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DSoftApManager.java697 Log.d(getTag(), "Fail to disconnect client: " + client.getMacAddress() in addClientToPendingDisconnectionList()
721 if (mBlockedClientList.contains(newClient.getMacAddress())) { in checkSoftApClient()
724 mApInterfaceName, newClient.getMacAddress(), in checkSoftApClient()
732 && !mAllowedClientList.contains(newClient.getMacAddress())) { in checkSoftApClient()
737 mApInterfaceName, newClient.getMacAddress(), in checkSoftApClient()
752 mApInterfaceName, newClient.getMacAddress(), in checkSoftApClient()
1073 if (mBlockedClientList.contains(client.getMacAddress()) in updateClientConnection()
1078 mApInterfaceName, client.getMacAddress(), in updateClientConnection()
1097 mApInterfaceName, allowedClient.getMacAddress(), in updateClientConnection()
1118 Log.d(getTag(), "Remove client: " + client.getMacAddress() in updateConnectedClients()
[all …]
/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
H A DInterfaceParams.java53 final MacAddress macAddr = getMacAddress(netif); in getByName()
94 private static MacAddress getMacAddress(NetworkInterface netif) { in getMacAddress() method in InterfaceParams
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DSystemInfo.java90 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() method in SystemInfo
91 return mWifiNative.getMacAddress(ifaceName); in getMacAddress()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DSystemInfoTest.java96 when(mWifiNative.getMacAddress(any(String.class))).thenReturn(TEST_MAC); in getWifiMacAddress()
97 assertEquals(TEST_MAC, mSystemInfo.getMacAddress(TEST_IFACE)); in getWifiMacAddress()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
H A DDevDetailMoTest.java71 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
82 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(null); in serializeDevDetailMoWithoutMacaddress()
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
H A DMergedCarrierEntry.java89 public synchronized String getMacAddress() { in getMacAddress() method in MergedCarrierEntry
91 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress()
H A DPasspointWifiEntry.java260 public synchronized String getMacAddress() { in getMacAddress() method in PasspointWifiEntry
262 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress()
/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
H A DIpNeighborMonitor.java154 getMacAddress(neighMsg.getLinkLayerAddress())); in processNetlinkMessage()
166 private static MacAddress getMacAddress(byte[] linkLayerAddress) { in getMacAddress() method in IpNeighborMonitor
/aosp12/system/connectivity/wificond/aidl/android/net/wifi/nl80211/
H A DIClientInterface.aidl45 byte[] getMacAddress(); in getMacAddress() method
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DWifiInfoTest.java112 assertEquals(TEST_BSSID, info.getMacAddress()); in assertNoRedaction()
206 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getMacAddress()); in assertLocationSensitiveRedaction()
260 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, redactedWifiInfo.getMacAddress()); in testWifiInfoRedactLocalMacAddressInfo()
263 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, readWifiInfo.getMacAddress()); in testWifiInfoRedactLocalMacAddressInfo()
337 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getMacAddress()); in assertLocationSensitiveAndLocalMacAddressRedaction()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
H A DWifiMacAddressPreferenceController.java44 String macAddress = getWifiEntry().getMacAddress(); in updateState()
/aosp12/system/connectivity/wificond/
H A Dclient_interface_binder.h45 ::android::binder::Status getMacAddress(
H A Dclient_interface_binder.cpp63 Status ClientInterfaceBinder::getMacAddress(vector<uint8_t>* out_mac_address) { in getMacAddress() function in android::wificond::ClientInterfaceBinder
/aosp12/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
H A DNativeWifiClient.java41 @Nullable public MacAddress getMacAddress() { in getMacAddress() method in NativeWifiClient
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiClient.java40 public MacAddress getMacAddress() { in getMacAddress() method in WifiClient
/aosp12/system/connectivity/wificond/tests/integration/
H A Dclient_interface_test.cpp87 EXPECT_TRUE(client_interface->getMacAddress(&mac_address).isOk()); in TEST()
/aosp12/frameworks/base/lowpan/java/android/net/lowpan/
H A DILowpanInterface.aidl106 byte[] getMacAddress(); in getMacAddress() method
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DClientModeImplTest.java490 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUpWifiNative()
2670 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
3126 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationPersistentSameMac()
3149 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testConnectedMacRandomizationRandomizationNoneDifferentMac()
3217 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
3233 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mWifiInfo.getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
3265 when(mWifiNative.getMacAddress(anyString())).thenReturn(null); in testMacRandomizationWifiNativeReturningNull()
3985 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileConnected()
4006 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileDisconnected()
4636 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
[all …]
/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
H A DTetheredClient.java66 public MacAddress getMacAddress() { in getMacAddress() method in TetheredClient
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
H A DPostDevDataMessageTest.java87 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
H A DPasspointWifiEntryTest.java371 when(wifiInfo.getMacAddress()).thenReturn(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
381 assertThat(entry.getMacAddress()).isEqualTo(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
H A DConnectivityFragment.java330 private String getMacAddress(NetworkInterface ni) { in getMacAddress() method in ConnectivityFragment
396 ni.mHwAddress = "HwAddress: " + getMacAddress(nIface); in getNetworkItem()

123