/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeTest.java | 179 when(mSupplicantP2pIfaceHalMock.startWpsPbc(anyString(), anyString())).thenReturn(true); in testStartWpsPbc() 180 assertTrue(mWifiP2pNative.startWpsPbc(TEST_IFACE, TEST_BSSID)); in testStartWpsPbc() 181 verify(mSupplicantP2pIfaceHalMock).startWpsPbc(eq(TEST_IFACE), eq(TEST_BSSID)); in testStartWpsPbc()
|
D | SupplicantP2pIfaceHalTest.java | 2102 when(mISupplicantP2pIfaceMock.startWpsPbc(eq(mIfaceName), eq(mPeerMacAddressBytes))) in testStartWpsPbc_success() 2105 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2107 assertTrue(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2116 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_invalidArguments() 2120 assertFalse(mDut.startWpsPbc(mIfaceName, address)); in testStartWpsPbc_invalidArguments() 2123 assertFalse(mDut.startWpsPbc(null, mPeerMacAddress)); in testStartWpsPbc_invalidArguments() 2132 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_failure() 2134 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_failure() 2145 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_exception() 2147 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_exception()
|
D | WifiP2pServiceImplTest.java | 2474 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(true); in testStartWpsWithPbcSuccess() 2478 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcSuccess() 2555 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(false); in testStartWpsWithPbcFailureWhenNativeCallFailure() 2559 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcFailureWhenNativeCallFailure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 306 public boolean startWpsPbc(String iface, String bssid) { in startWpsPbc() method in WifiP2pNative 307 return mSupplicantP2pIfaceHal.startWpsPbc(iface, bssid); in startWpsPbc()
|
D | SupplicantP2pIfaceHal.java | 1708 public boolean startWpsPbc(String groupIfName, String bssid) { in startWpsPbc() method in SupplicantP2pIfaceHal 1727 result.setResult(mISupplicantP2pIface.startWpsPbc(groupIfName, macAddress)); in startWpsPbc()
|
D | WifiP2pServiceImpl.java | 2753 ret = mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage() 2883 mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 1636 when(mISupplicantStaIfaceMock.startWpsPbc(any(byte[].class))).thenReturn(mStatusSuccess); in testStartWpsPbc() 1642 assertFalse(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1643 verify(mISupplicantStaIfaceMock, never()).startWpsPbc(any(byte[].class)); in testStartWpsPbc() 1647 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1648 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(bssidBytes)); in testStartWpsPbc() 1650 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, null)); in testStartWpsPbc() 1651 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(anyBssidBytes)); in testStartWpsPbc()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 2128 public boolean startWpsPbc(@NonNull String ifaceName, String bssidStr) { in startWpsPbc() method in SupplicantStaIfaceHal 2131 return startWpsPbc(ifaceName, NativeUtil.macAddressToByteArray(bssidStr)); in startWpsPbc() 2140 private boolean startWpsPbc(@NonNull String ifaceName, byte[/* 6 */] bssid) { in startWpsPbc() method in SupplicantStaIfaceHal 2146 SupplicantStatus status = iface.startWpsPbc(bssid); in startWpsPbc()
|
D | WifiNative.java | 1834 public boolean startWpsPbc(@NonNull String ifaceName, String bssid) { in startWpsPbc() method in WifiNative 1835 return mSupplicantStaIfaceHal.startWpsPbc(ifaceName, bssid); in startWpsPbc()
|