Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2270 .when(mISupplicantP2pIfaceMock).startWpsPinDisplay( in testStartWpsPinDisplay_success()
2275 assertNull(mDut.startWpsPinDisplay(mIfaceName, mPeerMacAddress)); in testStartWpsPinDisplay_success()
2277 assertEquals("1234", mDut.startWpsPinDisplay(mIfaceName, mPeerMacAddress)); in testStartWpsPinDisplay_success()
2292 .when(mISupplicantP2pIfaceMock).startWpsPinDisplay( in testStartWpsPinDisplay_invalidArguments()
2297 assertNull(mDut.startWpsPinDisplay(mIfaceName, address)); in testStartWpsPinDisplay_invalidArguments()
2300 assertNull(mDut.startWpsPinDisplay(null, mPeerMacAddress)); in testStartWpsPinDisplay_invalidArguments()
2315 .when(mISupplicantP2pIfaceMock).startWpsPinDisplay( in testStartWpsPinDisplay_failure()
2319 assertNull(mDut.startWpsPinDisplay(mIfaceName, mPeerMacAddress)); in testStartWpsPinDisplay_failure()
2331 .when(mISupplicantP2pIfaceMock).startWpsPinDisplay( in testStartWpsPinDisplay_exception()
2334 assertNull(mDut.startWpsPinDisplay(mIfaceName, mPeerMacAddress)); in testStartWpsPinDisplay_exception()
DWifiP2pNativeTest.java218 when(mSupplicantP2pIfaceHalMock.startWpsPinDisplay(anyString(), anyString())) in testStartWpsPinDisplay()
220 assertEquals(TEST_PIN, mWifiP2pNative.startWpsPinDisplay(TEST_IFACE, TEST_BSSID)); in testStartWpsPinDisplay()
221 verify(mSupplicantP2pIfaceHalMock).startWpsPinDisplay(eq(TEST_IFACE), eq(TEST_BSSID)); in testStartWpsPinDisplay()
DWifiP2pServiceImplTest.java2873 when(mWifiNative.startWpsPinDisplay(anyString(), any())).thenReturn("abcd"); in testStartWpsWithPinDisplayFailureWhenNativeCallFailure()
2877 verify(mWifiNative).startWpsPinDisplay(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPinDisplayFailureWhenNativeCallFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java302 public String startWpsPinDisplay(String iface, String bssid) { in startWpsPinDisplay() method in WifiP2pNative
303 return mSupplicantP2pIfaceHal.startWpsPinDisplay(iface, bssid); in startWpsPinDisplay()
DSupplicantP2pIfaceHal.java1890 public String startWpsPinDisplay(String groupIfName, String bssid) { in startWpsPinDisplay() method in SupplicantP2pIfaceHal
1911 mISupplicantP2pIface.startWpsPinDisplay( in startWpsPinDisplay()
DWifiP2pServiceImpl.java3042 String pin = mWifiNative.startWpsPinDisplay( in processMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java2497 public String startWpsPinDisplay(@NonNull String ifaceName, String bssidStr) { in startWpsPinDisplay() method in SupplicantStaIfaceHal
2500 return startWpsPinDisplay(ifaceName, NativeUtil.macAddressToByteArray(bssidStr)); in startWpsPinDisplay()
2509 private String startWpsPinDisplay(@NonNull String ifaceName, byte[/* 6 */] bssid) { in startWpsPinDisplay() method in SupplicantStaIfaceHal
2516 iface.startWpsPinDisplay(bssid, in startWpsPinDisplay()
DWifiNative.java2333 public String startWpsPinDisplay(@NonNull String ifaceName, String bssid) {
2334 return mSupplicantStaIfaceHal.startWpsPinDisplay(ifaceName, bssid);