Home
last modified time | relevance | path

Searched refs:removeAccessPoint (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java136 when(mIHostapdMock.removeAccessPoint(any())).thenReturn(mStatusSuccess); in setUp()
594 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointSuccess()
595 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointSuccess()
604 when(mIHostapdMock.removeAccessPoint(any())).thenReturn(mStatusFailure); in testRemoveAccessPointFailure()
606 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointFailure()
607 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointFailure()
616 doThrow(new RemoteException()).when(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
618 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointRemoteException()
619 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
648 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testOnFailureCallbackHandling()
DWifiNativeInterfaceManagementTest.java159 when(mHostapdHal.removeAccessPoint(any())).thenReturn(true); in setUp()
397 verify(mHostapdHal).removeAccessPoint(IFACE_NAME_0); in testTeardownAllInterfaces()
1241 mInOrder.verify(mHostapdHal).removeAccessPoint(IFACE_NAME_0); in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardownWithNoVendorHal()
1491 mInOrder.verify(mHostapdHal).removeAccessPoint(ifaceName); in validateOnDestroyedSoftApInterface()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java380 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() method in HostapdHal
385 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint()
DWifiNative.java497 if (!mHostapdHal.removeAccessPoint(iface.name)) { in onSoftApInterfaceDestroyed()