Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pConfig.java49 public WpsInfo wps; field in WifiP2pConfig
112 wps = new WpsInfo(); in WifiP2pConfig()
113 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
131 wps = new WpsInfo(); in WifiP2pConfig()
145 wps.setup = WpsInfo.DISPLAY; in WifiP2pConfig()
149 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
153 wps.setup = WpsInfo.KEYPAD; in WifiP2pConfig()
156 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
165 sbuf.append("\n wps: ").append(wps); in toString()
184 wps = new WpsInfo(source.wps); in WifiP2pConfig()
[all …]
DWifiP2pManager.java1370 public void startWps(Channel c, WpsInfo wps, ActionListener listener) { in startWps() argument
1372 c.mAsyncChannel.sendMessage(START_WPS, 0, c.putListener(listener), wps); in startWps()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java187 config.wps = new WpsInfo(); in onGoNegotiationRequest()
191 config.wps.setup = WpsInfo.DISPLAY; in onGoNegotiationRequest()
195 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
199 config.wps.setup = WpsInfo.KEYPAD; in onGoNegotiationRequest()
203 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
DWifiP2pServiceImpl.java1884 mSavedPeerConfig.wps.setup = WpsInfo.PBC; in processMessage()
1886 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
1888 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
1918 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
1920 mSavedPeerConfig.wps.pin = provDisc.pin; in processMessage()
2164 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC in enter()
2165 || TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) { in enter()
2189 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
2269 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { in processMessage()
2286 if (mSavedPeerConfig.wps.setup == WpsInfo.KEYPAD) { in processMessage()
[all …]
DSupplicantP2pIfaceHal.java803 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
816 int provisionMethod = wpsInfoToConfigMethod(config.wps.setup); in connect()
818 Log.e(TAG, "Invalid WPS config method: " + config.wps.setup); in connect()
822 String preSelectedPin = TextUtils.isEmpty(config.wps.pin) ? "" : config.wps.pin; in connect()
891 int targetMethod = wpsInfoToConfigMethod(config.wps.setup); in provisionDiscovery()
893 Log.e(TAG, "Unrecognized WPS configuration method: " + config.wps.setup); in provisionDiscovery()
917 "provisionDiscovery(" + config.deviceAddress + ", " + config.wps.setup + ")"); in provisionDiscovery()
DWifiP2pMetrics.java338 mCurrentConnectionEvent.wpsMethod = config.wps.setup; in startConnectionEvent()
/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/
DWifiP2pServiceImplTest.java443 private void sendStartWpsMsg(Messenger replyMessenger, WpsInfo wps) throws Exception { in sendStartWpsMsg() argument
447 msg.obj = wps; in sendStartWpsMsg()
2475 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcSuccess() local
2476 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcSuccess()
2477 sendStartWpsMsg(mClientMessenger, wps); in testStartWpsWithPbcSuccess()
2508 WpsInfo wps = new WpsInfo(); in testStartWpsWithPinKeypadSuccess() local
2509 wps.setup = WpsInfo.KEYPAD; in testStartWpsWithPinKeypadSuccess()
2510 wps.pin = "1234"; in testStartWpsWithPinKeypadSuccess()
2511 sendStartWpsMsg(mClientMessenger, wps); in testStartWpsWithPinKeypadSuccess()
2533 WpsInfo wps = null; in testStartWpsFailureWhenObjectIsNull() local
[all …]
DSupplicantP2pIfaceHalTest.java730 config.wps.setup = -1; in testConnect_invalidArguments()
734 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
741 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
742 config.wps.pin = null; in testConnect_invalidArguments()
746 config.wps.setup = WpsInfo.PBC; in testConnect_invalidArguments()
747 config.wps.pin = "03455323"; in testConnect_invalidArguments()
865 config.wps.setup = -1; in testProvisionDiscovery_invalidArguments()
868 config.wps.setup = WpsInfo.PBC; in testProvisionDiscovery_invalidArguments()
2859 config.wps = new WpsInfo(); in createDummyP2pConfig()
2862 config.wps.setup = wpsProvMethod; in createDummyP2pConfig()
[all …]
DSupplicantP2pIfaceCallbackTest.java292 assertNotNull(config.wps); in testOnGoNegotiationRequest_success()
293 setups.add(config.wps.setup); in testOnGoNegotiationRequest_success()
/frameworks/base/proto/src/
Dwifi.proto1563 // Total number of wps connection attempts
1566 // Total number of wps connection successes
1569 // Total number of wps failures on start
1572 // Total number of wps overlap failure
1575 // Total number of wps timeout failure
1578 // Total number of other wps failure during connection
1581 // Total number of supplicant failure after wps
1584 // Total number of wps cancellation
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18147 field public android.net.wifi.WpsInfo wps;
/frameworks/base/non-updatable-api/
Dcurrent.txt30519 field public android.net.wifi.WpsInfo wps;
/frameworks/base/api/
Dcurrent.txt30663 field public android.net.wifi.WpsInfo wps;