Searched refs:wfdInfo (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pDeviceTest.java | 47 if (devA.wfdInfo != null) { in compareWifiP2pDevices() 48 assertEquals(devA.wfdInfo.isWfdEnabled(), devB.wfdInfo.isWfdEnabled()); in compareWifiP2pDevices() 49 assertEquals(devA.wfdInfo.getDeviceInfoHex(), devB.wfdInfo.getDeviceInfoHex()); in compareWifiP2pDevices() 50 assertEquals(devA.wfdInfo.getControlPort(), devB.wfdInfo.getControlPort()); in compareWifiP2pDevices() 51 assertEquals(devA.wfdInfo.getMaxThroughput(), devB.wfdInfo.getMaxThroughput()); in compareWifiP2pDevices() 53 assertEquals(devA.wfdInfo, devB.wfdInfo); in compareWifiP2pDevices() 95 device.wfdInfo = new WifiP2pWfdInfo(); in testCopyConstructorWithUpdatedValues() 114 device.wfdInfo = null; in testCopyConstructorWithNullWfdInfo()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 127 public WifiP2pWfdInfo wfdInfo; field in WifiP2pDevice 228 wfdInfo = new WifiP2pWfdInfo(parseHex(str.substring(0,4)), in WifiP2pDevice() 310 wfdInfo = device.wfdInfo; in updateSupplicantDetails() 341 sbuf.append("\n wfdInfo: ").append(wfdInfo); in toString() 362 if (source.wfdInfo != null) { in WifiP2pDevice() 363 wfdInfo = new WifiP2pWfdInfo(source.wfdInfo); in WifiP2pDevice() 379 if (wfdInfo != null) { in writeToParcel() 381 wfdInfo.writeToParcel(dest, flags); in writeToParcel() 402 device.wfdInfo = WifiP2pWfdInfo.CREATOR.createFromParcel(in);
|
D | WifiP2pDeviceList.java | 103 d.wfdInfo = device.wfdInfo; in updateSupplicantDetails()
|
D | WifiP2pManager.java | 1628 Channel c, WifiP2pWfdInfo wfdInfo, in setWFDInfo() argument 1636 c.mAsyncChannel.sendMessage(SET_WFD_INFO, 0, c.putListener(listener), wfdInfo); in setWFDInfo()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayController.java | 284 WifiP2pWfdInfo wfdInfo = new WifiP2pWfdInfo(); in updateWfdEnableState() local 285 wfdInfo.setWfdEnabled(true); in updateWfdEnableState() 286 wfdInfo.setDeviceType(WifiP2pWfdInfo.WFD_SOURCE); in updateWfdEnableState() 287 wfdInfo.setSessionAvailable(true); in updateWfdEnableState() 288 wfdInfo.setControlPort(DEFAULT_CONTROL_PORT); in updateWfdEnableState() 289 wfdInfo.setMaxThroughput(MAX_THROUGHPUT); in updateWfdEnableState() 290 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState() 316 WifiP2pWfdInfo wfdInfo = new WifiP2pWfdInfo(); in updateWfdEnableState() local 317 wfdInfo.setWfdEnabled(false); in updateWfdEnableState() 318 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 475 Messenger replyMessenger, WifiP2pWfdInfo wfdInfo) throws Exception { in sendSetWfdInfoMsg() argument 479 msg.obj = wfdInfo; in sendSetWfdInfoMsg() 663 if (mTestThisDevice.wfdInfo != null) { in checkSendThisDeviceChangedBroadcast() 664 assertEquals(mTestThisDevice.wfdInfo.isWfdEnabled(), in checkSendThisDeviceChangedBroadcast() 665 device.wfdInfo.isWfdEnabled()); in checkSendThisDeviceChangedBroadcast() 666 assertEquals(mTestThisDevice.wfdInfo.getDeviceInfoHex(), in checkSendThisDeviceChangedBroadcast() 667 device.wfdInfo.getDeviceInfoHex()); in checkSendThisDeviceChangedBroadcast() 668 assertEquals(mTestThisDevice.wfdInfo.getControlPort(), in checkSendThisDeviceChangedBroadcast() 669 device.wfdInfo.getControlPort()); in checkSendThisDeviceChangedBroadcast() 670 assertEquals(mTestThisDevice.wfdInfo.getMaxThroughput(), in checkSendThisDeviceChangedBroadcast() [all …]
|
D | SupplicantP2pIfaceCallbackTest.java | 168 assertNotNull(device.wfdInfo); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 171 device.wfdInfo.getControlPort()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 173 device.wfdInfo.getMaxThroughput()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallback.java | 129 device.wfdInfo = new WifiP2pWfdInfo( in onDeviceFound()
|
D | SupplicantP2pIfaceHal.java | 1882 byte[] wfdInfo = null; in setWfdDeviceInfo() 1884 wfdInfo = NativeUtil.hexStringToByteArray(info); in setWfdDeviceInfo() 1893 result.setResult(mISupplicantP2pIface.setWfdDeviceInfo(wfdInfo)); in setWfdDeviceInfo()
|
D | WifiP2pServiceImpl.java | 3668 private boolean setWfdInfo(WifiP2pWfdInfo wfdInfo) { in setWfdInfo() argument 3671 if (!wfdInfo.isWfdEnabled()) { in setWfdInfo() 3676 && mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex()); in setWfdInfo() 3684 mThisDevice.wfdInfo = wfdInfo; in setWfdInfo()
|