Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2209 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(eq(mIfaceName), eq("1234"))) in testStartWpsPinKeypad_success()
2212 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2214 assertTrue(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2223 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_invalidArguments()
2226 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2227 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2238 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_failure()
2240 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2251 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_exception()
2253 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DWifiP2pNativeTest.java207 when(mSupplicantP2pIfaceHalMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad()
209 assertTrue(mWifiP2pNative.startWpsPinKeypad(TEST_IFACE, TEST_PIN)); in testStartWpsPinKeypad()
210 verify(mSupplicantP2pIfaceHalMock).startWpsPinKeypad(eq(TEST_IFACE), eq(TEST_PIN)); in testStartWpsPinKeypad()
DWifiP2pServiceImplTest.java2796 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsWithPinKeypadSuccess()
2801 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadSuccess()
2900 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(false); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
2905 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java291 public boolean startWpsPinKeypad(String iface, String pin) { in startWpsPinKeypad() method in WifiP2pNative
292 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHal.java1856 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHal
1872 result.setResult(mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin)); in startWpsPinKeypad()
DWifiP2pServiceImpl.java3051 ret = mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessage()
3199 mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java2322 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) {
2323 return mSupplicantStaIfaceHal.startWpsPinKeypad(ifaceName, pin);
DSupplicantStaIfaceHal.java2474 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHal
2481 SupplicantStatus status = iface.startWpsPinKeypad(pin); in startWpsPinKeypad()