Searched refs:setWfdDeviceInfo (Results 1 – 6 of 6) sorted by relevance
435 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() method in WifiP2pNative436 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex); in setWfdDeviceInfo()
1881 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHal1900 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
3782 && mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex()); in setWfdInfo()
302 when(mSupplicantP2pIfaceHalMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()303 assertTrue(mWifiP2pNative.setWfdDeviceInfo(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()304 verify(mSupplicantP2pIfaceHalMock).setWfdDeviceInfo(eq(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
2406 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(eq(mValidServiceRequestBytes))) in testSetWfdDeviceInfo_success()2409 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2411 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2420 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_invalidArguments()2423 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2424 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2433 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_failure()2435 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2446 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_exception()2448 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
2924 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()2931 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoSuccessWithWfdEnabled()3055 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()3062 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()