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.java3412 mWifiNative.setMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress()
3430 if (mWifiNative.setMacAddress(mInterfaceName, factoryMac)) { in setCurrentMacToFactoryMac()
3787 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4301 mWifiInfo.setMacAddress(currentMacAddress); in processMessage()
4461 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
5150 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
DWifiNative.java1597 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative
1599 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.java2257 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.java460 when(mWifiNative.setMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in setUp()
2662 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationNotSupported()
2686 verify(mWifiNative).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationPersistentDifferentMac()
2711 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationPersistentSameMac()
2745 verify(mWifiNative).setMacAddress(WIFI_IFACE_NAME, TEST_GLOBAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2777 verify(mWifiNative, never()).setMacAddress(WIFI_IFACE_NAME, TEST_GLOBAL_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneSameMac()
2828 verify(mWifiNative, never()).setMacAddress(eq(WIFI_IFACE_NAME), any(MacAddress.class)); in testDoNotSetMacWhenInvalid()
2843 verify(mWifiNative).setMacAddress(WIFI_IFACE_NAME, TEST_LOCAL_MAC_ADDRESS); in testMacRandomizationWifiNativeReturningNull()
/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