/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 313 public boolean startWpsPbc(String iface, String bssid) { in startWpsPbc() method in WifiP2pNative 314 return mSupplicantP2pIfaceHal.startWpsPbc(iface, bssid); in startWpsPbc()
|
D | SupplicantP2pIfaceHal.java | 1715 public boolean startWpsPbc(String groupIfName, String bssid) { in startWpsPbc() method in SupplicantP2pIfaceHal 1734 result.setResult(mISupplicantP2pIface.startWpsPbc(groupIfName, macAddress)); in startWpsPbc()
|
D | WifiP2pServiceImpl.java | 2845 ret = mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage() 2980 mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeTest.java | 200 when(mSupplicantP2pIfaceHalMock.startWpsPbc(anyString(), anyString())).thenReturn(true); in testStartWpsPbc() 201 assertTrue(mWifiP2pNative.startWpsPbc(TEST_IFACE, TEST_BSSID)); in testStartWpsPbc() 202 verify(mSupplicantP2pIfaceHalMock).startWpsPbc(eq(TEST_IFACE), eq(TEST_BSSID)); in testStartWpsPbc()
|
D | SupplicantP2pIfaceHalTest.java | 2122 when(mISupplicantP2pIfaceMock.startWpsPbc(eq(mIfaceName), eq(mPeerMacAddressBytes))) in testStartWpsPbc_success() 2125 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2127 assertTrue(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2136 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_invalidArguments() 2140 assertFalse(mDut.startWpsPbc(mIfaceName, address)); in testStartWpsPbc_invalidArguments() 2143 assertFalse(mDut.startWpsPbc(null, mPeerMacAddress)); in testStartWpsPbc_invalidArguments() 2152 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_failure() 2154 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_failure() 2165 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_exception() 2167 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_exception()
|
D | WifiP2pServiceImplTest.java | 2602 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(true); in testStartWpsWithPbcSuccess() 2606 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcSuccess() 2686 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(false); in testStartWpsWithPbcFailureWhenNativeCallFailure() 2690 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcFailureWhenNativeCallFailure()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 1471 when(mISupplicantStaIfaceMock.startWpsPbc(any(byte[].class))).thenReturn(mStatusSuccess); in testStartWpsPbc() 1477 assertFalse(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1478 verify(mISupplicantStaIfaceMock, never()).startWpsPbc(any(byte[].class)); in testStartWpsPbc() 1482 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1483 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(bssidBytes)); in testStartWpsPbc() 1485 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, null)); in testStartWpsPbc() 1486 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(anyBssidBytes)); in testStartWpsPbc()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 2298 public boolean startWpsPbc(@NonNull String ifaceName, String bssidStr) { in startWpsPbc() method in SupplicantStaIfaceHal 2301 return startWpsPbc(ifaceName, NativeUtil.macAddressToByteArray(bssidStr)); in startWpsPbc() 2310 private boolean startWpsPbc(@NonNull String ifaceName, byte[/* 6 */] bssid) { in startWpsPbc() method in SupplicantStaIfaceHal 2316 SupplicantStatus status = iface.startWpsPbc(bssid); in startWpsPbc()
|
D | WifiNative.java | 2051 public boolean startWpsPbc(@NonNull String ifaceName, String bssid) { 2052 return mSupplicantStaIfaceHal.startWpsPbc(ifaceName, bssid);
|