Home
last modified time | relevance | path

Searched refs:cancelWps (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java619 when(mP2pIfaceHalAidlMock.cancelWps(anyString())).thenReturn(true); in testCancelWps()
620 assertTrue(mDut.cancelWps(IFACE_NAME)); in testCancelWps()
621 verify(mP2pIfaceHalAidlMock).cancelWps(eq(IFACE_NAME)); in testCancelWps()
DSupplicantP2pIfaceHalAidlImplTest.java2230 doNothing().when(mISupplicantP2pIfaceMock).cancelWps(eq(mIfaceName)); in testCancelWps_success()
2232 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_success()
2234 assertTrue(mDut.cancelWps(mIfaceName)); in testCancelWps_success()
2243 doNothing().when(mISupplicantP2pIfaceMock).cancelWps(anyString()); in testCancelWps_invalidArguments()
2244 assertFalse(mDut.cancelWps(null)); in testCancelWps_invalidArguments()
2254 .when(mISupplicantP2pIfaceMock).cancelWps(anyString()); in testCancelWps_failure()
2255 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_failure()
2266 doThrow(new RemoteException()).when(mISupplicantP2pIfaceMock).cancelWps(anyString()); in testCancelWps_exception()
2267 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_exception()
DSupplicantP2pIfaceHalHidlImplTest.java2361 when(mISupplicantP2pIfaceMock.cancelWps(eq(mIfaceName))) in testCancelWps_success()
2364 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_success()
2366 assertTrue(mDut.cancelWps(mIfaceName)); in testCancelWps_success()
2375 when(mISupplicantP2pIfaceMock.cancelWps(anyString())) in testCancelWps_invalidArguments()
2378 assertFalse(mDut.cancelWps(null)); in testCancelWps_invalidArguments()
2387 when(mISupplicantP2pIfaceMock.cancelWps(anyString())) in testCancelWps_failure()
2389 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_failure()
2400 when(mISupplicantP2pIfaceMock.cancelWps(anyString())) in testCancelWps_exception()
2402 assertFalse(mDut.cancelWps(mIfaceName)); in testCancelWps_exception()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java447 boolean cancelWps(String groupIfName); in cancelWps() method
DSupplicantP2pIfaceHal.java822 public boolean cancelWps(String groupIfName) { in cancelWps() method in SupplicantP2pIfaceHal
828 return mP2pIfaceHal.cancelWps(groupIfName); in cancelWps()
DSupplicantP2pIfaceHalAidlImpl.java1886 public boolean cancelWps(String groupIfName) { in cancelWps() method in SupplicantP2pIfaceHalAidlImpl
1898 mISupplicantP2pIface.cancelWps(groupIfName); in cancelWps()
DSupplicantP2pIfaceHalHidlImpl.java2000 public boolean cancelWps(String groupIfName) { in cancelWps() method in SupplicantP2pIfaceHalHidlImpl
2011 result.setResult(mISupplicantP2pIface.cancelWps(groupIfName)); in cancelWps()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalHidlImplTest.java431 assertFalse(mDut.cancelWps(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
432 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testEnsureOperationFailsUntilSetupInterfaces()
436 when(mISupplicantStaIfaceMock.cancelWps()).thenReturn(mStatusSuccess); in testEnsureOperationFailsUntilSetupInterfaces()
437 assertTrue(mDut.cancelWps(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
438 verify(mISupplicantStaIfaceMock).cancelWps(); in testEnsureOperationFailsUntilSetupInterfaces()
465 assertFalse(mDut.cancelWps(WLAN0_IFACE_NAME)); in testTeardownInterface()
466 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testTeardownInterface()
481 assertFalse(mDut.cancelWps(WLAN0_IFACE_NAME)); in testTeardownInterfaceV1_1()
482 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testTeardownInterfaceV1_1()
515 assertFalse(mDut.cancelWps(WLAN0_IFACE_NAME)); in testTeardownTwoInterfaces()
[all …]
DSupplicantStaIfaceHalAidlImplTest.java305 assertFalse(mDut.cancelWps(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
306 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testEnsureOperationFailsUntilSetupInterfaces()
310 doNothing().when(mISupplicantStaIfaceMock).cancelWps(); in testEnsureOperationFailsUntilSetupInterfaces()
311 assertTrue(mDut.cancelWps(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
312 verify(mISupplicantStaIfaceMock).cancelWps(); in testEnsureOperationFailsUntilSetupInterfaces()
340 assertFalse(mDut.cancelWps(WLAN0_IFACE_NAME)); in testTeardownInterface()
341 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testTeardownInterface()
374 assertFalse(mDut.cancelWps(WLAN0_IFACE_NAME)); in testTeardownTwoInterfaces()
375 verify(mISupplicantStaIfaceMock, never()).cancelWps(); in testTeardownTwoInterfaces()
DSupplicantStaIfaceHalTest.java872 when(mStaIfaceHalAidlMock.cancelWps(anyString())).thenReturn(true); in testCancelWps()
873 assertTrue(mDut.cancelWps(IFACE_NAME)); in testCancelWps()
874 verify(mStaIfaceHalAidlMock).cancelWps(eq(IFACE_NAME)); in testCancelWps()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DISupplicantStaIfaceHal.java527 boolean cancelWps(@NonNull String ifaceName); in cancelWps() method
DSupplicantStaIfaceHal.java1849 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHal
1855 return mStaIfaceHal.cancelWps(ifaceName); in cancelWps()
DSupplicantStaIfaceHalAidlImpl.java2260 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHalAidlImpl
2268 iface.cancelWps(); in cancelWps()
DSupplicantStaIfaceHalHidlImpl.java2588 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHalHidlImpl
2594 SupplicantStatus status = iface.cancelWps(); in cancelWps()
DWifiNative.java2885 public boolean cancelWps(@NonNull String ifaceName) {
2886 return mSupplicantStaIfaceHal.cancelWps(ifaceName);
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2095 mWifiManager.cancelWps(wpsCallback); in testCancelWpsImmediatelyFailsWithCallback()
2108 mWifiManager.cancelWps(null); in testCancelWpsDoesNotCallWifiServiceImpl()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java7796 public void cancelWps(WpsCallback listener) { in cancelWps() method in WifiManager
/packages/modules/Wifi/framework/api/
Dcurrent.txt448 method @Deprecated public void cancelWps(android.net.wifi.WifiManager.WpsCallback);