Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java107 public int deviceCapability; field in WifiP2pDevice
224 deviceCapability = parseHex(match.group(7)); in WifiP2pDevice()
257 return (deviceCapability & DEVICE_CAPAB_SERVICE_DISCOVERY) != 0; in isServiceDiscoveryCapable()
262 return (deviceCapability & DEVICE_CAPAB_INVITATION_PROCEDURE) != 0; in isInvitationCapable()
267 return (deviceCapability & DEVICE_CAPAB_DEVICE_LIMIT) != 0; in isDeviceLimit()
308 deviceCapability = device.deviceCapability; in updateSupplicantDetails()
339 sbuf.append("\n devcapab: ").append(deviceCapability); in toString()
359 deviceCapability = source.deviceCapability; in WifiP2pDevice()
376 dest.writeInt(deviceCapability); in writeToParcel()
398 device.deviceCapability = in.readInt();
DWifiP2pDeviceList.java101 d.deviceCapability = device.deviceCapability; in updateSupplicantDetails()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java44 assertEquals(devA.deviceCapability, devB.deviceCapability); in compareWifiP2pDevices()
92 device.deviceCapability = 1; in testCopyConstructorWithUpdatedValues()
111 device.deviceCapability = 1; in testCopyConstructorWithNullWfdInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackTest.java107 assertEquals(device.deviceCapability, fakeCapabilities); in testOnDeviceFound_success()
162 assertEquals(fakeCapabilities, device.deviceCapability); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
DWifiP2pServiceImplTest.java660 assertEquals(mTestThisDevice.deviceCapability, device.deviceCapability); in checkSendThisDeviceChangedBroadcast()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java123 device.deviceCapability = deviceCapabilities; in onDeviceFound()