Home
last modified time | relevance | path

Searched refs:wps (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pConfig.java38 public WpsInfo wps; field in WifiP2pConfig
59 wps = new WpsInfo(); in WifiP2pConfig()
60 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
77 wps = new WpsInfo(); in WifiP2pConfig()
91 wps.setup = WpsInfo.DISPLAY; in WifiP2pConfig()
95 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
99 wps.setup = WpsInfo.KEYPAD; in WifiP2pConfig()
102 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
111 sbuf.append("\n wps: ").append(wps); in toString()
126 wps = new WpsInfo(source.wps); in WifiP2pConfig()
[all …]
DWifiP2pManager.java1120 public void startWps(Channel c, WpsInfo wps, ActionListener listener) { in startWps() argument
1122 c.mAsyncChannel.sendMessage(START_WPS, 0, c.putListener(listener), wps); in startWps()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java181 config.wps = new WpsInfo(); in onGoNegotiationRequest()
185 config.wps.setup = WpsInfo.DISPLAY; in onGoNegotiationRequest()
189 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
193 config.wps.setup = WpsInfo.KEYPAD; in onGoNegotiationRequest()
197 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
DWifiP2pServiceImpl.java1542 mSavedPeerConfig.wps.setup = WpsInfo.PBC; in processMessage()
1544 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
1546 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
1860 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { in processMessage()
1877 if (mSavedPeerConfig.wps.setup == WpsInfo.KEYPAD) { in processMessage()
1880 if (!TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) { in processMessage()
1903 if (mSavedPeerConfig.wps.setup == WpsInfo.DISPLAY) { in processMessage()
1905 mSavedPeerConfig.wps.pin = provDisc.pin; in processMessage()
2313 WpsInfo wps = (WpsInfo) message.obj; in processMessage() local
2314 if (wps == null) { in processMessage()
[all …]
DSupplicantP2pIfaceHal.java777 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
790 int provisionMethod = wpsInfoToConfigMethod(config.wps.setup); in connect()
792 Log.e(TAG, "Invalid WPS config method: " + config.wps.setup); in connect()
796 String preSelectedPin = TextUtils.isEmpty(config.wps.pin) ? "" : config.wps.pin; in connect()
865 int targetMethod = wpsInfoToConfigMethod(config.wps.setup); in provisionDiscovery()
867 Log.e(TAG, "Unrecognized WPS configuration method: " + config.wps.setup); in provisionDiscovery()
891 "provisionDiscovery(" + config.deviceAddress + ", " + config.wps.setup + ")"); in provisionDiscovery()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java674 WpsInfo wps = new WpsInfo(); in updateConnection() local
676 wps.setup = mWifiDisplayWpsConfig; in updateConnection()
678 wps.setup = WpsInfo.PBC; in updateConnection()
681 wps.setup = WpsInfo.KEYPAD; in updateConnection()
683 wps.setup = WpsInfo.DISPLAY; in updateConnection()
685 config.wps = wps; in updateConnection()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java711 config.wps.setup = -1; in testConnect_invalidArguments()
715 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
722 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
723 config.wps.pin = null; in testConnect_invalidArguments()
727 config.wps.setup = WpsInfo.PBC; in testConnect_invalidArguments()
728 config.wps.pin = "03455323"; in testConnect_invalidArguments()
846 config.wps.setup = -1; in testProvisionDiscovery_invalidArguments()
849 config.wps.setup = WpsInfo.PBC; in testProvisionDiscovery_invalidArguments()
2716 config.wps = new WpsInfo(); in createDummyP2pConfig()
2719 config.wps.setup = wpsProvMethod; in createDummyP2pConfig()
[all …]
DSupplicantP2pIfaceCallbackTest.java241 assertNotNull(config.wps); in testOnGoNegotiationRequest_success()
242 setups.add(config.wps.setup); in testOnGoNegotiationRequest_success()
/frameworks/base/proto/src/
Dwifi.proto1255 // Total number of wps connection attempts
1258 // Total number of wps connection successes
1261 // Total number of wps failures on start
1264 // Total number of wps overlap failure
1267 // Total number of wps timeout failure
1270 // Total number of other wps failure during connection
1273 // Total number of supplicant failure after wps
1276 // Total number of wps cancellation
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18147 field public android.net.wifi.WpsInfo wps;
/frameworks/base/config/
Dhiddenapi-public-dex.txt26417 Landroid/net/wifi/p2p/WifiP2pConfig;->wps:Landroid/net/wifi/WpsInfo;
/frameworks/base/api/
Dcurrent.txt28496 field public android.net.wifi.WpsInfo wps;