Home
last modified time | relevance | path

Searched refs:setApMacAddress (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java239 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()
DWifiNativeTest.java956 mWifiNative.setApMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testApSetMacAddress()
957 verify(mWifiVendorHal).setApMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testApSetMacAddress()
DWifiVendorHalTest.java3476 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/
DWifiNative.java1999 public boolean setApMacAddress(String interfaceName, MacAddress mac) {
2000 return mWifiVendorHal.setApMacAddress(interfaceName, mac);
DSoftApManager.java560 if (!mWifiNative.setApMacAddress(mApInterfaceName, mac)) { in setMacAddress()
DWifiVendorHal.java1758 return mac != null && setApMacAddress(ifaceName, mac); in resetApMacToFactoryMacAddress()
1775 public boolean setApMacAddress(@NonNull String ifaceName, @NonNull MacAddress mac) { in setApMacAddress() method in WifiVendorHal