/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | ConnectedClientsTracker.java | 93 && !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 D | WifiMacAddressPreferenceControllerTest.java | 44 when(mMockWifiEntry.getMacAddress()).thenReturn(MAC_ADDRESS); in setUpConnectedState() 50 when(mMockWifiEntry.getMacAddress()).thenReturn(null); in setUpDisconnectedState()
|
H A D | WifiInfoProviderTest.java | 118 when(mMockWifiInfo.getMacAddress()).thenReturn(MAC_ADDRESS); in setUp()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | SoftApManager.java | 697 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 D | InterfaceParams.java | 53 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 D | SystemInfo.java | 90 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 D | SystemInfoTest.java | 96 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 D | DevDetailMoTest.java | 71 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 D | MergedCarrierEntry.java | 89 public synchronized String getMacAddress() { in getMacAddress() method in MergedCarrierEntry 91 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress()
|
H A D | PasspointWifiEntry.java | 260 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 D | IpNeighborMonitor.java | 154 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 D | IClientInterface.aidl | 45 byte[] getMacAddress(); in getMacAddress() method
|
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
H A D | WifiInfoTest.java | 112 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 D | WifiMacAddressPreferenceController.java | 44 String macAddress = getWifiEntry().getMacAddress(); in updateState()
|
/aosp12/system/connectivity/wificond/ |
H A D | client_interface_binder.h | 45 ::android::binder::Status getMacAddress(
|
H A D | client_interface_binder.cpp | 63 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 D | NativeWifiClient.java | 41 @Nullable public MacAddress getMacAddress() { in getMacAddress() method in NativeWifiClient
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/ |
H A D | WifiClient.java | 40 public MacAddress getMacAddress() { in getMacAddress() method in WifiClient
|
/aosp12/system/connectivity/wificond/tests/integration/ |
H A D | client_interface_test.cpp | 87 EXPECT_TRUE(client_interface->getMacAddress(&mac_address).isOk()); in TEST()
|
/aosp12/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | ILowpanInterface.aidl | 106 byte[] getMacAddress(); in getMacAddress() method
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | ClientModeImplTest.java | 490 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 D | TetheredClient.java | 66 public MacAddress getMacAddress() { in getMacAddress() method in TetheredClient
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
H A D | PostDevDataMessageTest.java | 87 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 D | PasspointWifiEntryTest.java | 371 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 D | ConnectivityFragment.java | 330 private String getMacAddress(NetworkInterface ni) { in getMacAddress() method in ConnectivityFragment 396 ni.mHwAddress = "HwAddress: " + getMacAddress(nIface); in getNetworkItem()
|