Searched refs:setWfdDeviceInfo (Results 1 – 6 of 6) sorted by relevance
2437 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(eq(mValidServiceRequestBytes))) in testSetWfdDeviceInfo_success()2440 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2442 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2451 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_invalidArguments()2454 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2455 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2464 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_failure()2466 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2477 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_exception()2479 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
299 when(mSupplicantP2pIfaceHalMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()300 assertTrue(mWifiP2pNative.setWfdDeviceInfo(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()301 verify(mSupplicantP2pIfaceHalMock).setWfdDeviceInfo(eq(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
3084 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()3091 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoSuccessWithWfdEnabled()3215 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()3222 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()4379 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoSuccessWithWfdEnabled()4387 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoSuccessWithWfdEnabled()4413 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()4421 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()
402 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() method in WifiP2pNative403 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex); in setWfdDeviceInfo()
1985 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHal2004 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
4032 if (!mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex())) { in setWfdInfo()