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.java48 public WpsInfo wps; field in WifiP2pConfig
111 wps = new WpsInfo(); in WifiP2pConfig()
112 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
130 wps = new WpsInfo(); in WifiP2pConfig()
144 wps.setup = WpsInfo.DISPLAY; in WifiP2pConfig()
148 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
152 wps.setup = WpsInfo.KEYPAD; in WifiP2pConfig()
155 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
164 sbuf.append("\n wps: ").append(wps); in toString()
183 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.java1866 mSavedPeerConfig.wps.setup = WpsInfo.PBC; in processMessage()
1868 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
1870 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
1900 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
1902 mSavedPeerConfig.wps.pin = provDisc.pin; in processMessage()
2146 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC in enter()
2147 || TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) { in enter()
2171 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
2251 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { in processMessage()
2268 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.proto1472 // Total number of wps connection attempts
1475 // Total number of wps connection successes
1478 // Total number of wps failures on start
1481 // Total number of wps overlap failure
1484 // Total number of wps timeout failure
1487 // Total number of other wps failure during connection
1490 // Total number of supplicant failure after wps
1493 // Total number of wps cancellation
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...