Home
last modified time | relevance | path

Searched refs:configMethods (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImpl.java111 String deviceName, int configMethods, byte deviceCapabilities, int groupCapabilities, in onDeviceFound() argument
114 configMethods, deviceCapabilities, groupCapabilities, wfdDeviceInfo, in onDeviceFound()
507 byte status, int configMethods, String generatedPin) { in onProvisionDiscoveryCompleted() argument
509 p2pDeviceAddress, isRequest, status, configMethods, generatedPin, null, null); in onProvisionDiscoveryCompleted()
530 provisionDiscoveryCompletedEventParams.configMethods, in onProvisionDiscoveryCompletedEvent()
540 int configMethods, in handleProvisionDiscoveryCompletedEvent() argument
548 + configMethods in handleProvisionDiscoveryCompletedEvent()
577 if ((configMethods & WpsConfigMethods.PUSHBUTTON) != 0) { in handleProvisionDiscoveryCompletedEvent()
585 } else if (!isRequest && (configMethods & WpsConfigMethods.KEYPAD) != 0) { in handleProvisionDiscoveryCompletedEvent()
589 } else if (!isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in handleProvisionDiscoveryCompletedEvent()
[all …]
DSupplicantP2pIfaceCallbackHidlV1_4Impl.java101 String deviceName, short configMethods, byte deviceCapabilities, int groupCapabilities, in onDeviceFound() argument
104 deviceName, configMethods, deviceCapabilities, groupCapabilities, wfdDeviceInfo); in onDeviceFound()
224 byte status, short configMethods, String generatedPin) { in onProvisionDiscoveryCompleted() argument
226 status, configMethods, generatedPin); in onProvisionDiscoveryCompleted()
283 byte[] primaryDeviceType, String deviceName, short configMethods, in onR2DeviceFound() argument
309 device.wpsConfigMethodsSupported = configMethods; in onR2DeviceFound()
DSupplicantP2pIfaceCallbackHidlImpl.java107 String deviceName, short configMethods, byte deviceCapabilities, int groupCapabilities, in onDeviceFound() argument
132 device.wpsConfigMethodsSupported = configMethods; in onDeviceFound()
415 byte status, short configMethods, String generatedPin) { in onProvisionDiscoveryCompleted() argument
417 + " for WPS Config method: " + configMethods in onProvisionDiscoveryCompleted()
439 if ((configMethods & WpsConfigMethods.PUSHBUTTON) != 0) { in onProvisionDiscoveryCompleted()
447 } else if (!isRequest && (configMethods & WpsConfigMethods.KEYPAD) != 0) { in onProvisionDiscoveryCompleted()
451 } else if (!isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in onProvisionDiscoveryCompleted()
455 } else if (isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in onProvisionDiscoveryCompleted()
459 } else if (isRequest && (configMethods & WpsConfigMethods.KEYPAD) != 0) { in onProvisionDiscoveryCompleted()
463 Log.e(TAG, "Unsupported config methods: " + configMethods); in onProvisionDiscoveryCompleted()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImplTest.java426 short configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted() local
432 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
437 configMethods = WpsConfigMethods.KEYPAD; in testOnProvisionDiscoveryCompleted()
439 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
446 configMethods = WpsConfigMethods.KEYPAD; in testOnProvisionDiscoveryCompleted()
448 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
453 configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
455 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
462 configMethods = WpsConfigMethods.PUSHBUTTON; in testOnProvisionDiscoveryCompleted()
464 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
[all …]
DSupplicantP2pIfaceCallbackAidlImplTest.java208 params.configMethods = fakeConfigMethods; in testOnDeviceFoundWithParams_success()
731 short configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted() local
737 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
742 configMethods = WpsConfigMethods.KEYPAD; in testOnProvisionDiscoveryCompleted()
744 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
751 configMethods = WpsConfigMethods.KEYPAD; in testOnProvisionDiscoveryCompleted()
753 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
758 configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
760 p2pDeviceAddr, isRequest, status, configMethods, generatedPin); in testOnProvisionDiscoveryCompleted()
767 configMethods = WpsConfigMethods.PUSHBUTTON; in testOnProvisionDiscoveryCompleted()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImpl.java1387 private boolean setWpsConfigMethods(@NonNull String ifaceName, int configMethods) { in setWpsConfigMethods() argument
1395 iface.setWpsConfigMethods(configMethods); in setWpsConfigMethods()
DSupplicantStaIfaceHalHidlImpl.java1767 private boolean setWpsConfigMethods(@NonNull String ifaceName, short configMethods) { in setWpsConfigMethods() argument
1773 SupplicantStatus status = iface.setWpsConfigMethods(configMethods); in setWpsConfigMethods()