/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 2153 when(mISupplicantP2pIfaceMock.startWpsPbc(eq(mIfaceName), eq(mPeerMacAddressBytes))) in testStartWpsPbc_success() 2156 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2158 assertTrue(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_success() 2167 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_invalidArguments() 2171 assertFalse(mDut.startWpsPbc(mIfaceName, address)); in testStartWpsPbc_invalidArguments() 2174 assertFalse(mDut.startWpsPbc(null, mPeerMacAddress)); in testStartWpsPbc_invalidArguments() 2183 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_failure() 2185 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_failure() 2196 when(mISupplicantP2pIfaceMock.startWpsPbc(anyString(), any(byte[].class))) in testStartWpsPbc_exception() 2198 assertFalse(mDut.startWpsPbc(mIfaceName, mPeerMacAddress)); in testStartWpsPbc_exception()
|
D | WifiP2pNativeTest.java | 197 when(mSupplicantP2pIfaceHalMock.startWpsPbc(anyString(), anyString())).thenReturn(true); in testStartWpsPbc() 198 assertTrue(mWifiP2pNative.startWpsPbc(TEST_IFACE, TEST_BSSID)); in testStartWpsPbc() 199 verify(mSupplicantP2pIfaceHalMock).startWpsPbc(eq(TEST_IFACE), eq(TEST_BSSID)); in testStartWpsPbc()
|
D | WifiP2pServiceImplTest.java | 2762 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(true); in testStartWpsWithPbcSuccess() 2766 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcSuccess() 2846 when(mWifiNative.startWpsPbc(anyString(), any())).thenReturn(false); in testStartWpsWithPbcFailureWhenNativeCallFailure() 2850 verify(mWifiNative).startWpsPbc(eq(IFACE_NAME_P2P), isNull()); in testStartWpsWithPbcFailureWhenNativeCallFailure()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 280 public boolean startWpsPbc(String iface, String bssid) { in startWpsPbc() method in WifiP2pNative 281 return mSupplicantP2pIfaceHal.startWpsPbc(iface, bssid); in startWpsPbc()
|
D | SupplicantP2pIfaceHal.java | 1819 public boolean startWpsPbc(String groupIfName, String bssid) { in startWpsPbc() method in SupplicantP2pIfaceHal 1838 result.setResult(mISupplicantP2pIface.startWpsPbc(groupIfName, macAddress)); in startWpsPbc()
|
D | WifiP2pServiceImpl.java | 3039 ret = mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage() 3197 mWifiNative.startWpsPbc(mGroup.getInterface(), null); in processMessage()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 1709 when(mISupplicantStaIfaceMock.startWpsPbc(any(byte[].class))).thenReturn(mStatusSuccess); in testStartWpsPbc() 1715 assertFalse(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1716 verify(mISupplicantStaIfaceMock, never()).startWpsPbc(any(byte[].class)); in testStartWpsPbc() 1720 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, bssid)); in testStartWpsPbc() 1721 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(bssidBytes)); in testStartWpsPbc() 1723 assertTrue(mDut.startWpsPbc(WLAN0_IFACE_NAME, null)); in testStartWpsPbc() 1724 verify(mISupplicantStaIfaceMock).startWpsPbc(eq(anyBssidBytes)); in testStartWpsPbc()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 2440 public boolean startWpsPbc(@NonNull String ifaceName, String bssidStr) { in startWpsPbc() method in SupplicantStaIfaceHal 2443 return startWpsPbc(ifaceName, NativeUtil.macAddressToByteArray(bssidStr)); in startWpsPbc() 2452 private boolean startWpsPbc(@NonNull String ifaceName, byte[/* 6 */] bssid) { in startWpsPbc() method in SupplicantStaIfaceHal 2458 SupplicantStatus status = iface.startWpsPbc(bssid); in startWpsPbc()
|
D | WifiNative.java | 2311 public boolean startWpsPbc(@NonNull String ifaceName, String bssid) { 2312 return mSupplicantStaIfaceHal.startWpsPbc(ifaceName, bssid);
|