Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pConfig.java51 public WpsInfo wps; field in WifiP2pConfig
156 wps = new WpsInfo(); in WifiP2pConfig()
157 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
175 wps = new WpsInfo(); in WifiP2pConfig()
189 wps.setup = WpsInfo.DISPLAY; in WifiP2pConfig()
193 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
197 wps.setup = WpsInfo.KEYPAD; in WifiP2pConfig()
200 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
209 sbuf.append("\n wps: ").append(wps); in toString()
228 wps = new WpsInfo(source.wps); in WifiP2pConfig()
[all …]
DWifiP2pManager.java1421 public void startWps(Channel c, WpsInfo wps, ActionListener listener) { in startWps() argument
1423 c.mAsyncChannel.sendMessage(START_WPS, 0, c.putListener(listener), wps); in startWps()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackImpl.java192 config.wps = new WpsInfo(); in onGoNegotiationRequest()
196 config.wps.setup = WpsInfo.DISPLAY; in onGoNegotiationRequest()
200 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
204 config.wps.setup = WpsInfo.KEYPAD; in onGoNegotiationRequest()
208 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
DWifiP2pServiceImpl.java2121 mSavedPeerConfig.wps.setup = WpsInfo.PBC; in processMessage()
2123 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
2125 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
2155 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessage()
2157 mSavedPeerConfig.wps.pin = provDisc.pin; in processMessage()
2408 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC in enter()
2409 || TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) { in enter()
2434 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessage()
2517 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { in processMessage()
2534 if (mSavedPeerConfig.wps.setup == WpsInfo.KEYPAD) { in processMessage()
[all …]
DSupplicantP2pIfaceHal.java894 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
907 int provisionMethod = wpsInfoToConfigMethod(config.wps.setup); in connect()
909 Log.e(TAG, "Invalid WPS config method: " + config.wps.setup); in connect()
913 String preSelectedPin = TextUtils.isEmpty(config.wps.pin) ? "" : config.wps.pin; in connect()
978 int targetMethod = wpsInfoToConfigMethod(config.wps.setup); in provisionDiscovery()
980 Log.e(TAG, "Unrecognized WPS configuration method: " + config.wps.setup); in provisionDiscovery()
1004 "provisionDiscovery(" + config.deviceAddress + ", " + config.wps.setup + ")"); in provisionDiscovery()
DWifiP2pMetrics.java338 mCurrentConnectionEvent.wpsMethod = config.wps.setup; in startConnectionEvent()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pConnectionProcedure.java79 config.wps.setup = WpsInfo.PBC; in configForPeer()
81 config.wps.setup = WpsInfo.KEYPAD; in configForPeer()
83 config.wps.setup = WpsInfo.DISPLAY; in configForPeer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java509 private void sendStartWpsMsg(Messenger replyMessenger, WpsInfo wps) throws Exception { in sendStartWpsMsg() argument
513 msg.obj = wps; in sendStartWpsMsg()
2763 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcSuccess() local
2764 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcSuccess()
2765 sendStartWpsMsg(mClientMessenger, wps); in testStartWpsWithPbcSuccess()
2797 WpsInfo wps = new WpsInfo(); in testStartWpsWithPinKeypadSuccess() local
2798 wps.setup = WpsInfo.KEYPAD; in testStartWpsWithPinKeypadSuccess()
2799 wps.pin = "1234"; in testStartWpsWithPinKeypadSuccess()
2800 sendStartWpsMsg(mClientMessenger, wps); in testStartWpsWithPinKeypadSuccess()
2823 WpsInfo wps = null; in testStartWpsFailureWhenObjectIsNull() local
[all …]
DSupplicantP2pIfaceHalTest.java752 config.wps.setup = -1; in testConnect_invalidArguments()
756 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
763 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
764 config.wps.pin = null; in testConnect_invalidArguments()
768 config.wps.setup = WpsInfo.PBC; in testConnect_invalidArguments()
769 config.wps.pin = "03455323"; in testConnect_invalidArguments()
889 config.wps.setup = -1; in testProvisionDiscovery_invalidArguments()
892 config.wps.setup = WpsInfo.PBC; in testProvisionDiscovery_invalidArguments()
2911 config.wps = new WpsInfo(); in createPlaceholderP2pConfig()
2914 config.wps.setup = wpsProvMethod; in createPlaceholderP2pConfig()
[all …]
DSupplicantP2pIfaceCallbackImplTest.java297 assertNotNull(config.wps); in testOnGoNegotiationRequest_success()
298 setups.add(config.wps.setup); in testOnGoNegotiationRequest_success()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java445 config.wps.setup = forceWps; in onPreferenceTreeClick()
448 config.wps.setup = WpsInfo.PBC; in onPreferenceTreeClick()
450 config.wps.setup = WpsInfo.KEYPAD; in onPreferenceTreeClick()
452 config.wps.setup = WpsInfo.DISPLAY; in onPreferenceTreeClick()
/packages/modules/Wifi/framework/api/
Dcurrent.txt964 field public android.net.wifi.WpsInfo wps;