/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
|
D | WificondControl.java | 842 public boolean setMacAddress(@NonNull String interfaceName, @NonNull MacAddress mac) { in setMacAddress() method in WificondControl 851 mClientInterface.setMacAddress(macByteArray); in setMacAddress()
|
D | WifiNative.java | 1294 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative 1296 return mWifiVendorHal.setMacAddress(interfaceName, mac); in setMacAddress()
|
D | WifiStateMachine.java | 3209 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()
|
D | WifiVendorHal.java | 1704 public boolean setMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setMacAddress() method in WifiVendorHal 1711 WifiStatus status = ifaceV12.setMacAddress(macByteArray); in setMacAddress()
|
D | WifiServiceImpl.java | 2008 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WificondControlTest.java | 1089 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()
|
D | WifiNativeTest.java | 574 mWifiNative.setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress() 575 verify(mWifiVendorHal).setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
|
D | WifiVendorHalTest.java | 2146 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()
|
D | WifiStateMachineTest.java | 2212 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/ |
D | WifiInfo.java | 340 public void setMacAddress(String macAddress) { in setMacAddress() method in WifiInfo
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1987 wi.setMacAddress("11:22:33:44:55:66"); in testGetMacAddress()
|
/frameworks/base/services/ |
D | art-profile | 677 HSPLandroid/net/wifi/IClientInterface;->setMacAddress([B)Z
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 3743 Landroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V
|
D | boot-image-profile.txt | 26643 HSPLandroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V
|