Searched refs:setMacAddress (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
|
D | ClientModeImpl.java | 3386 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()
|
D | WifiNative.java | 1596 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative 1598 return mWifiVendorHal.setMacAddress(interfaceName, mac); in setMacAddress()
|
D | WifiVendorHal.java | 1294 public boolean setMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setMacAddress() method in WifiVendorHal 1301 WifiStatus status = ifaceV12.setMacAddress(macByteArray); in setMacAddress()
|
D | WifiServiceImpl.java | 2210 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 601 mWifiNative.setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress() 602 verify(mWifiVendorHal).setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
|
D | WifiVendorHalTest.java | 3043 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()
|
D | ClientModeImplTest.java | 451 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/ |
D | WifiInfo.java | 465 public void setMacAddress(String macAddress) { in setMacAddress() method in WifiInfo
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 10925 HSPLandroid/net/wifi/WifiInfo;->setMacAddress(Ljava/lang/String;)V
|