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/
DSupplicantP2pIfaceHalHidlImplTest.java2235 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(eq(mIfaceName), eq("1234"))) in testStartWpsPinKeypad_success()
2238 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2240 assertTrue(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2249 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_invalidArguments()
2252 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2253 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2264 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_failure()
2266 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2277 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_exception()
2279 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DSupplicantP2pIfaceHalAidlImplTest.java2178 doNothing().when(mISupplicantP2pIfaceMock).startWpsPinKeypad(eq(mIfaceName), eq(pin)); in testStartWpsPinKeypad_success()
2180 assertFalse(mDut.startWpsPinKeypad(mIfaceName, pin)); in testStartWpsPinKeypad_success()
2182 assertTrue(mDut.startWpsPinKeypad(mIfaceName, pin)); in testStartWpsPinKeypad_success()
2191 doNothing().when(mISupplicantP2pIfaceMock).startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_invalidArguments()
2193 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2194 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2206 .when(mISupplicantP2pIfaceMock).startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_failure()
2207 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2220 .startWpsPinKeypad(anyString(), anyString()); in testStartWpsPinKeypad_exception()
2221 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DSupplicantP2pIfaceHalTest.java620 when(mP2pIfaceHalAidlMock.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsPinKeypad()
621 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
622 verify(mP2pIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
DWifiP2pNativeTest.java526 when(mSupplicantP2pIfaceHalMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad()
528 assertTrue(mWifiP2pNative.startWpsPinKeypad(TEST_IFACE, TEST_PIN)); in testStartWpsPinKeypad()
529 verify(mSupplicantP2pIfaceHalMock).startWpsPinKeypad(eq(TEST_IFACE), eq(TEST_PIN)); in testStartWpsPinKeypad()
DWifiP2pServiceImplTest.java4720 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsWithPinKeypadSuccess()
4725 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadSuccess()
4788 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(false); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
4793 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java438 boolean startWpsPinKeypad(String groupIfName, String pin); in startWpsPinKeypad() method
DSupplicantP2pIfaceHal.java797 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHal
803 return mP2pIfaceHal.startWpsPinKeypad(groupIfName, pin); in startWpsPinKeypad()
DWifiP2pNative.java418 public boolean startWpsPinKeypad(String iface, String pin) { in startWpsPinKeypad() method in WifiP2pNative
419 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHalHidlImpl.java1936 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHalHidlImpl
1952 result.setResult(mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin)); in startWpsPinKeypad()
DSupplicantP2pIfaceHalAidlImpl.java2118 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHalAidlImpl
2134 mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin); in startWpsPinKeypad()
DWifiP2pServiceImpl.java5638 ret = mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessageImpl()
5940 mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessageImpl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java855 when(mStaIfaceHalAidlMock.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsPinKeypad()
856 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
857 verify(mStaIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DISupplicantStaIfaceHal.java516 boolean startWpsPinKeypad(@NonNull String ifaceName, String pin); in startWpsPinKeypad() method
DSupplicantStaIfaceHal.java1819 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHal
1825 return mStaIfaceHal.startWpsPinKeypad(ifaceName, pin); in startWpsPinKeypad()
DSupplicantStaIfaceHalHidlImpl.java2561 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHalHidlImpl
2568 SupplicantStatus status = iface.startWpsPinKeypad(pin); in startWpsPinKeypad()
DSupplicantStaIfaceHalAidlImpl.java2282 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHalAidlImpl
2293 iface.startWpsPinKeypad(pin); in startWpsPinKeypad()
DWifiNative.java2953 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) {
2954 return mSupplicantStaIfaceHal.startWpsPinKeypad(ifaceName, pin);