Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java208 when(mIHostapdAidlMock.removeAccessPoint(anyString())).thenReturn(true); in testRemoveAccessPoint()
209 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPoint()
210 verify(mIHostapdAidlMock).removeAccessPoint(eq(IFACE_NAME)); in testRemoveAccessPoint()
DHostapdHalAidlImpTest.java197 doNothing().when(mIHostapdMock).removeAccessPoint(any()); in setUp()
550 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointSuccess()
551 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointSuccess()
561 .when(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointServiceException()
563 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointServiceException()
564 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointServiceException()
573 doThrow(new RemoteException()).when(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
575 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointRemoteException()
576 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
601 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testOnFailureCallbackHandling()
DHostapdHalHidlImpTest.java192 when(mIHostapdMock.removeAccessPoint(any())).thenReturn(mStatusSuccess); in setUp()
645 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointSuccess()
646 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointSuccess()
655 when(mIHostapdMock.removeAccessPoint(any())).thenReturn(mStatusFailure); in testRemoveAccessPointFailure()
657 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointFailure()
658 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointFailure()
667 doThrow(new RemoteException()).when(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
669 assertFalse(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testRemoveAccessPointRemoteException()
670 verify(mIHostapdMock).removeAccessPoint(any()); in testRemoveAccessPointRemoteException()
702 assertTrue(mHostapdHal.removeAccessPoint(IFACE_NAME)); in testOnFailureCallbackHandling()
DWifiNativeInterfaceManagementTest.java214 when(mHostapdHal.removeAccessPoint(any())).thenReturn(true); in setUp()
521 verify(mHostapdHal).removeAccessPoint(IFACE_NAME_0); in testTeardownAllInterfaces()
1810 mInOrder.verify(mHostapdHal).removeAccessPoint(ifaceName); in validateSetupClientInterfaceForScan()
2097 mInOrder.verify(mHostapdHal).removeAccessPoint(ifaceName); in validateOnDestroyedSoftApInterface()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java179 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() method in HostapdHal
185 return mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint()
DIHostapdHal.java69 boolean removeAccessPoint(@NonNull String ifaceName); in removeAccessPoint() method
DHostapdHalAidlImp.java267 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() method in HostapdHalAidlImp
276 mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint()
DHostapdHalHidlImp.java519 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() method in HostapdHalHidlImp
524 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint()
DWifiNative.java850 if (!mHostapdHal.removeAccessPoint(iface.name)) { in onSoftApInterfaceDestroyed()