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 | 3412 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()
|
D | WifiNative.java | 1597 public boolean setMacAddress(String interfaceName, MacAddress mac) { in setMacAddress() method in WifiNative 1599 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 | 2257 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 | 460 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/ |
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
|