/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 619 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()
|
D | SupplicantP2pIfaceHalAidlImplTest.java | 2230 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()
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 2361 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/ |
D | ISupplicantP2pIfaceHal.java | 447 boolean cancelWps(String groupIfName); in cancelWps() method
|
D | SupplicantP2pIfaceHal.java | 822 public boolean cancelWps(String groupIfName) { in cancelWps() method in SupplicantP2pIfaceHal 828 return mP2pIfaceHal.cancelWps(groupIfName); in cancelWps()
|
D | SupplicantP2pIfaceHalAidlImpl.java | 1886 public boolean cancelWps(String groupIfName) { in cancelWps() method in SupplicantP2pIfaceHalAidlImpl 1898 mISupplicantP2pIface.cancelWps(groupIfName); in cancelWps()
|
D | SupplicantP2pIfaceHalHidlImpl.java | 2000 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/ |
D | SupplicantStaIfaceHalHidlImplTest.java | 431 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 …]
|
D | SupplicantStaIfaceHalAidlImplTest.java | 305 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()
|
D | SupplicantStaIfaceHalTest.java | 872 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/ |
D | ISupplicantStaIfaceHal.java | 527 boolean cancelWps(@NonNull String ifaceName); in cancelWps() method
|
D | SupplicantStaIfaceHal.java | 1849 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHal 1855 return mStaIfaceHal.cancelWps(ifaceName); in cancelWps()
|
D | SupplicantStaIfaceHalAidlImpl.java | 2260 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHalAidlImpl 2268 iface.cancelWps(); in cancelWps()
|
D | SupplicantStaIfaceHalHidlImpl.java | 2588 public boolean cancelWps(@NonNull String ifaceName) { in cancelWps() method in SupplicantStaIfaceHalHidlImpl 2594 SupplicantStatus status = iface.cancelWps(); in cancelWps()
|
D | WifiNative.java | 2885 public boolean cancelWps(@NonNull String ifaceName) { 2886 return mSupplicantStaIfaceHal.cancelWps(ifaceName);
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2095 mWifiManager.cancelWps(wpsCallback); in testCancelWpsImmediatelyFailsWithCallback() 2108 mWifiManager.cancelWps(null); in testCancelWpsDoesNotCallWifiServiceImpl()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 7796 public void cancelWps(WpsCallback listener) { in cancelWps() method in WifiManager
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 448 method @Deprecated public void cancelWps(android.net.wifi.WifiManager.WpsCallback);
|