Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
DWificondControl.java842 public boolean setMacAddress(@NonNull String interfaceName, @NonNull MacAddress mac) { in setMacAddress() method in WificondControl
851 mClientInterface.setMacAddress(macByteArray); in setMacAddress()
DWifiNative.java1294 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative
1296 return mWifiVendorHal.setMacAddress(interfaceName, mac); in setMacAddress()
DWifiStateMachine.java3209 mWifiNative.setMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress()
3667 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in setupClientMode()
4154 mWifiInfo.setMacAddress(currentMacAddress); in processMessage()
4300 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
4852 mWifiInfo.setMacAddress(mWifiNative.getMacAddress(mInterfaceName)); in processMessage()
DWifiVendorHal.java1704 public boolean setMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setMacAddress() method in WifiVendorHal
1711 WifiStatus status = ifaceV12.setMacAddress(macByteArray); in setMacAddress()
DWifiServiceImpl.java2008 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWificondControlTest.java1089 assertTrue(mWificondControl.setMacAddress(TEST_INTERFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressSuccess()
1090 verify(mClientInterface).setMacAddress(macByteArray); in testSetMacAddressSuccess()
1099 doThrow(new RemoteException()).when(mClientInterface).setMacAddress(macByteArray); in testSetMacAddressFailDueToExceptionInInterface()
1100 assertFalse(mWificondControl.setMacAddress(TEST_INTERFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToExceptionInInterface()
1101 verify(mClientInterface).setMacAddress(macByteArray); in testSetMacAddressFailDueToExceptionInInterface()
DWifiNativeTest.java574 mWifiNative.setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
575 verify(mWifiVendorHal).setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
DWifiVendorHalTest.java2146 when(mIWifiStaIfaceV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusSuccess); in testSetMacAddressSuccess()
2148 assertTrue(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressSuccess()
2149 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressSuccess()
2160 when(mIWifiStaIfaceV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusFailure); in testSetMacAddressFailDueToStatusFailure()
2162 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToStatusFailure()
2163 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToStatusFailure()
2174 doThrow(new RemoteException()).when(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
2176 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToRemoteException()
2177 verify(mIWifiStaIfaceV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
2186 assertFalse(mWifiVendorHal.setMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressDoesNotCrashOnOlderHal()
DWifiStateMachineTest.java2212 when(mWifiNative.setMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in testConnectedMacRandomization()
2226 verify(mWifiNative).setMacAddress(eq(WIFI_IFACE_NAME), eq(newMac)); in testConnectedMacRandomization()
2274 verify(mWifiNative, never()).setMacAddress(eq(WIFI_IFACE_NAME), any(MacAddress.class)); in testConnectedMacRandomizationWhenFeatureOff()
2306 verify(mWifiNative, never()).setMacAddress(eq(WIFI_IFACE_NAME), any(MacAddress.class)); in testDoNotSetMacWhenInvalid()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java340 public void setMacAddress(String macAddress) { in setMacAddress() method in WifiInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1987 wi.setMacAddress("11:22:33:44:55:66"); in testGetMacAddress()
/frameworks/base/services/
Dart-profile677 HSPLandroid/net/wifi/IClientInterface;->setMacAddress([B)Z
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3743 Landroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V
Dboot-image-profile.txt26643 HSPLandroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V