Home
last modified time | relevance | path

Searched refs:setWfdDeviceInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java281 when(mSupplicantP2pIfaceHalMock.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdDeviceInfo()
282 assertTrue(mWifiP2pNative.setWfdDeviceInfo(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
283 verify(mSupplicantP2pIfaceHalMock).setWfdDeviceInfo(eq(TEST_WFD_DEVICE_INFO)); in testSetWfdDeviceInfo()
DSupplicantP2pIfaceHalTest.java2386 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(eq(mValidServiceRequestBytes))) in testSetWfdDeviceInfo_success()
2389 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()
2391 assertTrue(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_success()
2400 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_invalidArguments()
2403 assertFalse(mDut.setWfdDeviceInfo(null)); in testSetWfdDeviceInfo_invalidArguments()
2404 assertFalse(mDut.setWfdDeviceInfo(mInvalidServiceRequestString)); in testSetWfdDeviceInfo_invalidArguments()
2413 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_failure()
2415 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_failure()
2426 when(mISupplicantP2pIfaceMock.setWfdDeviceInfo(any(byte[].class))) in testSetWfdDeviceInfo_exception()
2428 assertFalse(mDut.setWfdDeviceInfo(mValidServiceRequestString)); in testSetWfdDeviceInfo_exception()
DWifiP2pServiceImplTest.java2773 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()
2780 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoSuccessWithWfdEnabled()
2904 when(mWifiNative.setWfdDeviceInfo(anyString())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()
2911 verify(mWifiNative).setWfdDeviceInfo(eq(mTestThisDevice.wfdInfo.getDeviceInfoHex())); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java428 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() method in WifiP2pNative
429 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex); in setWfdDeviceInfo()
DSupplicantP2pIfaceHal.java1874 public boolean setWfdDeviceInfo(String info) { in setWfdDeviceInfo() method in SupplicantP2pIfaceHal
1893 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
DWifiP2pServiceImpl.java3676 && mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex()); in setWfdInfo()