Searched refs:setApMacAddress (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 239 when(mWifiNative.setApMacAddress(any(), any())).thenReturn(true); in setUp() 1694 when(mWifiNative.setApMacAddress(eq(TEST_INTERFACE_NAME), mac.capture())).thenReturn(true); in setsCustomMac() 1717 verify(mWifiNative, never()).setApMacAddress(any(), any()); in setsCustomMacWhenSetMacNotSupport() 1729 when(mWifiNative.setApMacAddress(eq(TEST_INTERFACE_NAME), mac.capture())).thenReturn(false); in setMacFailureWhenCustomMac() 1749 when(mWifiNative.setApMacAddress(eq(TEST_INTERFACE_NAME), mac.capture())).thenReturn(false); in setMacFailureWhenRandomMac() 1763 verify(mWifiNative, never()).setApMacAddress(any(), any()); in setRandomMacWhenSetMacNotsupport() 2319 when(mWifiNative.setApMacAddress(eq(TEST_INTERFACE_NAME), eq(testBssid))).thenReturn(true); in testBssidUpdatedWhenSoftApInfoUpdate()
|
D | WifiNativeTest.java | 956 mWifiNative.setApMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testApSetMacAddress() 957 verify(mWifiVendorHal).setApMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testApSetMacAddress()
|
D | WifiVendorHalTest.java | 3476 assertTrue(mWifiVendorHal.setApMacAddress(TEST_IFACE_NAME_1, TEST_MAC_ADDRESS)); in testSetApMacAddressSuccess() 3491 assertFalse(mWifiVendorHal.setApMacAddress(TEST_IFACE_NAME_1, TEST_MAC_ADDRESS)); in testSetApMacAddressFailDueToStatusFailure() 3506 assertFalse(mWifiVendorHal.setApMacAddress(TEST_IFACE_NAME_1, TEST_MAC_ADDRESS)); in testSetApMacAddressFailDueToRemoteException() 3517 assertFalse(mWifiVendorHal.setApMacAddress(TEST_IFACE_NAME, TEST_MAC_ADDRESS)); in testSetMacAddressDoesNotCrashOnOlderHal()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1999 public boolean setApMacAddress(String interfaceName, MacAddress mac) { 2000 return mWifiVendorHal.setApMacAddress(interfaceName, mac);
|
D | SoftApManager.java | 560 if (!mWifiNative.setApMacAddress(mApInterfaceName, mac)) { in setMacAddress()
|
D | WifiVendorHal.java | 1758 return mac != null && setApMacAddress(ifaceName, mac); in resetApMacToFactoryMacAddress() 1775 public boolean setApMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setApMacAddress() method in WifiVendorHal
|