Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pDevice.java142 public int groupCapability; field in WifiP2pDevice
277 groupCapability = parseHex(match.group(8)); in WifiP2pDevice()
336 return (groupCapability & GROUP_CAPAB_GROUP_OWNER) != 0; in isGroupOwner()
341 return (groupCapability & GROUP_CAPAB_GROUP_LIMIT) != 0; in isGroupLimit()
373 groupCapability = device.groupCapability; in updateSupplicantDetails()
499 sbuf.append("\n grpcapab: ").append(groupCapability); in toString()
525 groupCapability = source.groupCapability; in WifiP2pDevice()
553 dest.writeInt(groupCapability); in writeToParcel()
586 device.groupCapability = in.readInt();
DWifiP2pDeviceList.java103 d.groupCapability = device.groupCapability; in updateSupplicantDetails()
116 d.groupCapability = groupCapab; in updateGroupCapability()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java61 assertEquals(devA.groupCapability, devB.groupCapability); in compareWifiP2pDevices()
109 device.groupCapability = 1; in testCopyConstructorWithUpdatedValues()
128 device.groupCapability = 1; in testCopyConstructorWithNullWfdInfo()
159 device.groupCapability = 1; in testParcelReadWrite()
176 assertEquals(device.groupCapability, unparceledDevice.groupCapability); in testParcelReadWrite()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlV1_4Impl.java308 device.groupCapability = groupCapabilities; in onR2DeviceFound()
DSupplicantP2pIfaceCallbackAidlImpl.java795 device.groupCapability = groupCapabilities; in onR2DeviceFound()
916 device.groupCapability = groupCapabilities; in handleDeviceFound()
DSupplicantP2pIfaceCallbackHidlImpl.java131 device.groupCapability = groupCapabilities; in onDeviceFound()
DWifiP2pShellCommand.java145 d.deviceCapability, d.groupCapability, in handleCommand()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImplTest.java117 assertEquals(device.groupCapability, fakeGroupCapabilities); in testOnDeviceFound_success()
171 assertEquals(fakeGroupCapabilities, device.groupCapability); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
DSupplicantP2pIfaceCallbackAidlImplTest.java142 assertEquals(device.groupCapability, fakeGroupCapabilities); in testOnDeviceFound_success()
222 assertEquals(device.groupCapability, fakeGroupCapabilities); in testOnDeviceFoundWithParams_success()
269 assertEquals(fakeGroupCapabilities, device.groupCapability); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
DWifiP2pServiceImplTest.java1262 assertEquals(mTestThisDevice.groupCapability, device.groupCapability); in verifyDeviceChangedBroadcastIntent()