Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java189 when(mSupplicantP2pIfaceHalMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad()
191 assertTrue(mWifiP2pNative.startWpsPinKeypad(TEST_IFACE, TEST_PIN)); in testStartWpsPinKeypad()
192 verify(mSupplicantP2pIfaceHalMock).startWpsPinKeypad(eq(TEST_IFACE), eq(TEST_PIN)); in testStartWpsPinKeypad()
DSupplicantP2pIfaceHalTest.java2158 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(eq(mIfaceName), eq("1234"))) in testStartWpsPinKeypad_success()
2161 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2163 assertTrue(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_success()
2172 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_invalidArguments()
2175 assertFalse(mDut.startWpsPinKeypad(null, "1234")); in testStartWpsPinKeypad_invalidArguments()
2176 assertFalse(mDut.startWpsPinKeypad(mIfaceName, null)); in testStartWpsPinKeypad_invalidArguments()
2187 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_failure()
2189 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_failure()
2200 when(mISupplicantP2pIfaceMock.startWpsPinKeypad(anyString(), anyString())) in testStartWpsPinKeypad_exception()
2202 assertFalse(mDut.startWpsPinKeypad(mIfaceName, "1234")); in testStartWpsPinKeypad_exception()
DWifiP2pServiceImplTest.java2507 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(true); in testStartWpsWithPinKeypadSuccess()
2512 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadSuccess()
2607 when(mWifiNative.startWpsPinKeypad(anyString(), anyString())).thenReturn(false); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
2612 verify(mWifiNative).startWpsPinKeypad(eq(IFACE_NAME_P2P), eq("1234")); in testStartWpsWithPinKeypadFailureWhenNativeCallFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java317 public boolean startWpsPinKeypad(String iface, String pin) { in startWpsPinKeypad() method in WifiP2pNative
318 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pin); in startWpsPinKeypad()
DSupplicantP2pIfaceHal.java1745 public boolean startWpsPinKeypad(String groupIfName, String pin) { in startWpsPinKeypad() method in SupplicantP2pIfaceHal
1761 result.setResult(mISupplicantP2pIface.startWpsPinKeypad(groupIfName, pin)); in startWpsPinKeypad()
DWifiP2pServiceImpl.java2765 ret = mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessage()
2885 mWifiNative.startWpsPinKeypad(mGroup.getInterface(), in processMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1845 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in WifiNative
1846 return mSupplicantStaIfaceHal.startWpsPinKeypad(ifaceName, pin); in startWpsPinKeypad()
DSupplicantStaIfaceHal.java2162 public boolean startWpsPinKeypad(@NonNull String ifaceName, String pin) { in startWpsPinKeypad() method in SupplicantStaIfaceHal
2169 SupplicantStatus status = iface.startWpsPinKeypad(pin); in startWpsPinKeypad()