Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pDevice.java135 public int deviceCapability; field in WifiP2pDevice
276 deviceCapability = parseHex(match.group(7)); in WifiP2pDevice()
321 return (deviceCapability & DEVICE_CAPAB_SERVICE_DISCOVERY) != 0; in isServiceDiscoveryCapable()
326 return (deviceCapability & DEVICE_CAPAB_INVITATION_PROCEDURE) != 0; in isInvitationCapable()
331 return (deviceCapability & DEVICE_CAPAB_DEVICE_LIMIT) != 0; in isDeviceLimit()
372 deviceCapability = device.deviceCapability; in updateSupplicantDetails()
500 sbuf.append("\n devcapab: ").append(deviceCapability); in toString()
524 deviceCapability = source.deviceCapability; in WifiP2pDevice()
552 dest.writeInt(deviceCapability); in writeToParcel()
585 device.deviceCapability = in.readInt();
DWifiP2pDeviceList.java102 d.deviceCapability = device.deviceCapability; in updateSupplicantDetails()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java60 assertEquals(devA.deviceCapability, devB.deviceCapability); in compareWifiP2pDevices()
108 device.deviceCapability = 1; in testCopyConstructorWithUpdatedValues()
127 device.deviceCapability = 1; in testCopyConstructorWithNullWfdInfo()
158 device.deviceCapability = 1; in testParcelReadWrite()
175 assertEquals(device.deviceCapability, unparceledDevice.deviceCapability); in testParcelReadWrite()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlV1_4Impl.java307 device.deviceCapability = deviceCapabilities; in onR2DeviceFound()
DSupplicantP2pIfaceCallbackAidlImpl.java794 device.deviceCapability = deviceCapabilities; in onR2DeviceFound()
915 device.deviceCapability = deviceCapabilities; in handleDeviceFound()
DSupplicantP2pIfaceCallbackHidlImpl.java130 device.deviceCapability = deviceCapabilities; in onDeviceFound()
DWifiP2pShellCommand.java145 d.deviceCapability, d.groupCapability, in handleCommand()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImplTest.java116 assertEquals(device.deviceCapability, fakeCapabilities); in testOnDeviceFound_success()
170 assertEquals(fakeCapabilities, device.deviceCapability); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
DSupplicantP2pIfaceCallbackAidlImplTest.java141 assertEquals(device.deviceCapability, fakeCapabilities); in testOnDeviceFound_success()
221 assertEquals(device.deviceCapability, fakeCapabilities); in testOnDeviceFoundWithParams_success()
268 assertEquals(fakeCapabilities, device.deviceCapability); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
DWifiP2pServiceImplTest.java1261 assertEquals(mTestThisDevice.deviceCapability, device.deviceCapability); in verifyDeviceChangedBroadcastIntent()