Searched refs:setWfdDeviceInfo (Results 1 – 11 of 11) sorted by relevance
2460 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(eq(mValidServiceRequestBytes))) in testSetWfdDeviceInfo_success()2463 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2465 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2474 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_invalidArguments()2477 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2478 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2487 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_failure()2489 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2500 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_exception()2502 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
2371 doNothing().when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(eq(mValidServiceRequestBytes)); in testSetWfdDeviceInfo_success()2373 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2375 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2384 doNothing().when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_invalidArguments()2385 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2386 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2396 .when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_failure()2397 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2409 .setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_exception()2410 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
664 when(mP2pIfaceHalAidlMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()665 assertTrue(mDut.setWfdDeviceInfo(PARAMS)); in testSetWfdDeviceInfo()666 verify(mP2pIfaceHalAidlMock).setWfdDeviceInfo(eq(PARAMS)); in testSetWfdDeviceInfo()
618 when(mSupplicantP2pIfaceHalMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()619 assertTrue(mWifiP2pNative.setWfdDeviceInfo(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()620 verify(mSupplicantP2pIfaceHalMock).setWfdDeviceInfo(eq(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
5120 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()5127 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoSuccessWithWfdEnabled()5251 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()5258 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()6516 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoSuccessWithWfdEnabled()6524 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoSuccessWithWfdEnabled()6550 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()6558 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()6664 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testWfdInfoIsSetAtP2pEnabledStateForIdleShutdown()6677 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testWfdInfoIsSetAtP2pEnabledStateForIdleShutdown()[all …]
472 boolean setWfdDeviceInfo(String info); in setWfdDeviceInfo() method
864 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHal870 return mP2pIfaceHal.setWfdDeviceInfo(info); in setWfdDeviceInfo()
520 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() method in WifiP2pNative521 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex); in setWfdDeviceInfo()
2065 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHalHidlImpl2084 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
2244 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHalAidlImpl2264 mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo); in setWfdDeviceInfo()
7630 if (!mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex())) { in setWfdInfo()