Searched refs:setWfdDeviceInfo (Results 1 – 11 of 11) sorted by relevance
2314 doNothing().when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(eq(mValidServiceRequestBytes)); in testSetWfdDeviceInfo_success()2316 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2318 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2327 doNothing().when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_invalidArguments()2328 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2329 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2339 .when(mISupplicantP2pIfaceMock).setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_failure()2340 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2352 .setWfdDeviceInfo(any(byte[].class)); in testSetWfdDeviceInfo_exception()2353 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
2453 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(eq(mValidServiceRequestBytes))) in testSetWfdDeviceInfo_success()2456 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2458 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()2467 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_invalidArguments()2470 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()2471 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()2480 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_failure()2482 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()2493 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_exception()2495 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
641 when(mP2pIfaceHalAidlMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()642 assertTrue(mDut.setWfdDeviceInfo(PARAMS)); in testSetWfdDeviceInfo()643 verify(mP2pIfaceHalAidlMock).setWfdDeviceInfo(eq(PARAMS)); in testSetWfdDeviceInfo()
563 when(mSupplicantP2pIfaceHalMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()564 assertTrue(mWifiP2pNative.setWfdDeviceInfo(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()565 verify(mSupplicantP2pIfaceHalMock).setWfdDeviceInfo(eq(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
5058 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()5065 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoSuccessWithWfdEnabled()5189 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()5196 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()6454 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoSuccessWithWfdEnabled()6462 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoSuccessWithWfdEnabled()6488 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()6496 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdR2InfoFailureWithWfdEnabledWhenNativeCallFailure2()6602 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testWfdInfoIsSetAtP2pEnabledStateForIdleShutdown()6615 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testWfdInfoIsSetAtP2pEnabledStateForIdleShutdown()[all …]
464 boolean setWfdDeviceInfo(String info); in setWfdDeviceInfo() method
474 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() method in WifiP2pNative475 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex); in setWfdDeviceInfo()
855 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHal861 return mP2pIfaceHal.setWfdDeviceInfo(info); in setWfdDeviceInfo()
1941 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHalAidlImpl1961 mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo); in setWfdDeviceInfo()
2053 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHalHidlImpl2072 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
6828 if (!mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex())) { in setWfdInfo()