Home
last modified time | relevance | path

Searched refs:setMacAddress (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
DClientModeImpl.java3386 mWifiNative.setMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress()
3404 if (mWifiNative.setMacAddress(mInterfaceName, factoryMac)) { in setCurrentMacToFactoryMac()
3759 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4280 mWifiInfo.setMacAddress(currentMacAddress); in processMessage()
4438 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
5089 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
DWifiNative.java1596 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative
1598 return mWifiVendorHal.setMacAddress(interfaceName, mac); in setMacAddress()
DWifiVendorHal.java1294 public boolean setMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setMacAddress() method in WifiVendorHal
1301 WifiStatus status = ifaceV12.setMacAddress(macByteArray); in setMacAddress()
DWifiServiceImpl.java2210 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java601 mWifiNative.setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
602 verify(mWifiVendorHal).setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
DWifiVendorHalTest.java3043 when(mIWifiStaIfaceV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusSuccess); in testSetMacAddressSuccess()
3045 assertTrue(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressSuccess()
3046 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressSuccess()
3057 when(mIWifiStaIfaceV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusFailure); in testSetMacAddressFailDueToStatusFailure()
3059 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToStatusFailure()
3060 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToStatusFailure()
3071 doThrow(new RemoteException()).when(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
3073 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToRemoteException()
3074 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
3083 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressDoesNotCrashOnOlderHal()
DClientModeImplTest.java451 when(mWifiNative.setMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in setUp()
2526 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationNotSupported()
2550 verify(mWifiNative).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationPersistentDifferentMac()
2575 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationPersistentSameMac()
2609 verify(mWifiNative).setMacAddress(WIFI_IFACE_NAME, TEST_GLOBAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2641 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_GLOBAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneSameMac()
2692 verify(mWifiNative, never()).setMacAddress(eq(WIFI_IFACE_NAME), any(MacAddress.class)); in testDoNotSetMacWhenInvalid()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java465 public void setMacAddress(String macAddress) { in setMacAddress() method in WifiInfo
/frameworks/base/config/
Dboot-image-profile.txt10925 HSPLandroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V