Home
last modified time | relevance | path

Searched refs:startWpsPinKeypad (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java2121 doNothing().when(mISupplicantP2pIfaceMock).startWpsPinKeypad(eq(mIfaceName), eq(pin)); in testStartWpsPinKeypad_success()
2123 assertFalse(mDut.startWpsPinKeypad(mIfaceName, pin)); in testStartWpsPinKeypad_success()
2125 assertTrue(mDut.startWpsPinKeypad(mIfaceName, pin)); in testStartWpsPinKeypad_success()
2134 doNothing().when(mISupplicantP2pIfaceMock).startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_invalidArguments()
2136 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2137 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2149 .when(mISupplicantP2pIfaceMock).startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_failure()
2150 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2163 .startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_exception()
2164 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DSupplicantP2pIfaceHalHidlImplTest.java2228 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(eq(mIfaceName), eq("1234"))) in testStartWpsPinKeypad_success()
2231 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2233 assertTrue(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2242 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_invalidArguments()
2245 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2246 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2257 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_failure()
2259 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2270 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_exception()
2272 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DSupplicantP2pIfaceHalTest.java597 when(mP2pIfaceHalAidlMock.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsPinKeypad()
598 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
599 verify(mP2pIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
DWifiP2pNativeTest.java471 when(mSupplicantP2pIfaceHalMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad()
473 assertTrue(mWifiP2pNative.startWpsPinKeypad(TEST_IFACE, TEST_PIN)); in testStartWpsPinKeypad()
474 verify(mSupplicantP2pIfaceHalMock).startWpsPinKeypad(eq(TEST_IFACE), eq(TEST_PIN)); in testStartWpsPinKeypad()
DWifiP2pServiceImplTest.java4658 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsWithPinKeypadSuccess()
4663 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadSuccess()
4726 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(false); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
4731 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java430 boolean startWpsPinKeypad(String groupIfName, String pin); in startWpsPinKeypad() method
DWifiP2pNative.java373 public boolean startWpsPinKeypad(String iface, String pin) { in startWpsPinKeypad() method in WifiP2pNative
374 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHal.java788 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHal
794 return mP2pIfaceHal.startWpsPinKeypad(groupIfName, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHalAidlImpl.java1815 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHalAidlImpl
1831 mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHalHidlImpl.java1924 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHalHidlImpl
1940 result.setResult(mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin)); in startWpsPinKeypad()
DWifiP2pServiceImpl.java5300 ret = mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessageImpl()
5556 mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessageImpl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java850 when(mStaIfaceHalAidlMock.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsPinKeypad()
851 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
852 verify(mStaIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DISupplicantStaIfaceHal.java510 boolean startWpsPinKeypad(@NonNull String ifaceName, String pin); in startWpsPinKeypad() method
DSupplicantStaIfaceHal.java1815 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHal
1821 return mStaIfaceHal.startWpsPinKeypad(ifaceName, pin); in startWpsPinKeypad()
DSupplicantStaIfaceHalAidlImpl.java2196 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHalAidlImpl
2207 iface.startWpsPinKeypad(pin); in startWpsPinKeypad()
DSupplicantStaIfaceHalHidlImpl.java2527 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHalHidlImpl
2534 SupplicantStatus status = iface.startWpsPinKeypad(pin); in startWpsPinKeypad()
DWifiNative.java2741 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) {
2742 return mSupplicantStaIfaceHal.startWpsPinKeypad(ifaceName, pin);