Home
last modified time | relevance | path

Searched refs:wfdInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java111 public WifiP2pWfdInfo wfdInfo; field in WifiP2pDevice
211 wfdInfo = new WifiP2pWfdInfo(parseHex(str.substring(0,4)), in WifiP2pDevice()
272 wfdInfo = device.wfdInfo; in update()
297 sbuf.append("\n wfdInfo: ").append(wfdInfo); in toString()
317 wfdInfo = source.wfdInfo; in WifiP2pDevice()
331 if (wfdInfo != null) { in writeToParcel()
333 wfdInfo.writeToParcel(dest, flags); in writeToParcel()
353 device.wfdInfo = WifiP2pWfdInfo.CREATOR.createFromParcel(in);
DWifiP2pDeviceList.java79 d.wfdInfo = device.wfdInfo; in update()
DWifiP2pManager.java1311 Channel c, WifiP2pWfdInfo wfdInfo, in setWFDInfo() argument
1314 c.mAsyncChannel.sendMessage(SET_WFD_INFO, 0, c.putListener(listener), wfdInfo); in setWFDInfo()
DWifiP2pService.java2271 private boolean setWfdInfo(WifiP2pWfdInfo wfdInfo) { in setWfdInfo() argument
2274 if (!wfdInfo.isWfdEnabled()) { in setWfdInfo()
2279 && mWifiNative.setWfdDeviceInfo(wfdInfo.getDeviceInfoHex()); in setWfdInfo()
2287 mThisDevice.wfdInfo = wfdInfo; in setWfdInfo()
/frameworks/base/services/java/com/android/server/display/
DWifiDisplayController.java249 WifiP2pWfdInfo wfdInfo = new WifiP2pWfdInfo(); in updateWfdEnableState() local
250 wfdInfo.setWfdEnabled(true); in updateWfdEnableState()
251 wfdInfo.setDeviceType(WifiP2pWfdInfo.WFD_SOURCE); in updateWfdEnableState()
252 wfdInfo.setSessionAvailable(true); in updateWfdEnableState()
253 wfdInfo.setControlPort(DEFAULT_CONTROL_PORT); in updateWfdEnableState()
254 wfdInfo.setMaxThroughput(MAX_THROUGHPUT); in updateWfdEnableState()
255 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState()
879 return device.wfdInfo != null in isWifiDisplay()
880 && device.wfdInfo.isWfdEnabled() in isWifiDisplay()
881 && isPrimarySinkDeviceType(device.wfdInfo.getDeviceType()); in isWifiDisplay()