Home
last modified time | relevance | path

Searched refs:WpsInfo (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DWpsInfo.java27 public class WpsInfo implements Parcelable { class
49 public WpsInfo() { in WpsInfo() method in WpsInfo
72 public WpsInfo(WpsInfo source) { in WpsInfo() method in WpsInfo
88 public static final @android.annotation.NonNull Creator<WpsInfo> CREATOR =
89 new Creator<WpsInfo>() {
90 public WpsInfo createFromParcel(Parcel in) {
91 WpsInfo config = new WpsInfo();
98 public WpsInfo[] newArray(int size) {
99 return new WpsInfo[size];
DWifiManager.java7782 public void startWps(WpsInfo config, WpsCallback listener) { in startWps()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pConfig.java29 import android.net.wifi.WpsInfo;
63 public WpsInfo wps;
248 wps = new WpsInfo(); in WifiP2pConfig()
249 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
267 wps = new WpsInfo(); in WifiP2pConfig()
281 wps.setup = WpsInfo.DISPLAY; in WifiP2pConfig()
285 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
289 wps.setup = WpsInfo.KEYPAD; in WifiP2pConfig()
292 wps.setup = WpsInfo.PBC; in WifiP2pConfig()
334 wps = new WpsInfo(source.wps); in WifiP2pConfig()
[all …]
DWifiP2pManager.java36 import android.net.wifi.WpsInfo;
2578 public void startWps(Channel channel, WpsInfo wps, ActionListener listener) { in startWps()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pConnectionProcedure.java23 import android.net.wifi.WpsInfo;
79 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/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImpl.java23 import android.net.wifi.WpsInfo;
194 config.wps = new WpsInfo(); in onGoNegotiationRequest()
198 config.wps.setup = WpsInfo.DISPLAY; in onGoNegotiationRequest()
202 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
206 config.wps.setup = WpsInfo.KEYPAD; in onGoNegotiationRequest()
210 config.wps.setup = WpsInfo.PBC; in onGoNegotiationRequest()
DSupplicantP2pIfaceCallbackAidlImpl.java39 import android.net.wifi.WpsInfo;
198 config.wps = new WpsInfo(); in handleGoNegotiationRequestEvent()
202 config.wps.setup = WpsInfo.DISPLAY; in handleGoNegotiationRequestEvent()
205 config.wps.setup = WpsInfo.PBC; in handleGoNegotiationRequestEvent()
208 config.wps.setup = WpsInfo.KEYPAD; in handleGoNegotiationRequestEvent()
211 config.wps.setup = WpsInfo.PBC; in handleGoNegotiationRequestEvent()
DWifiP2pServiceImpl.java67 import android.net.wifi.WpsInfo;
1802 case WpsInfo.DISPLAY: in getWhatToString()
1804 case WpsInfo.KEYPAD: in getWhatToString()
3731 mSavedPeerConfig.wps.setup = WpsInfo.PBC; in processMessageImpl()
3733 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessageImpl()
3735 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessageImpl()
3765 mSavedPeerConfig.wps.setup = WpsInfo.KEYPAD; in processMessageImpl()
4239 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC in enterImpl()
4297 mSavedPeerConfig.wps.setup = WpsInfo.DISPLAY; in processMessageImpl()
4473 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { in processMessageImpl()
[all …]
DSupplicantP2pIfaceHalAidlImpl.java39 import android.net.wifi.WpsInfo;
399 case WpsInfo.PBC: in wpsInfoToConfigMethod()
401 case WpsInfo.DISPLAY: in wpsInfoToConfigMethod()
403 case WpsInfo.KEYPAD: in wpsInfoToConfigMethod()
404 case WpsInfo.LABEL: in wpsInfoToConfigMethod()
838 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
DSupplicantP2pIfaceHalHidlImpl.java35 import android.net.wifi.WpsInfo;
654 case WpsInfo.PBC: in wpsInfoToConfigMethod()
657 case WpsInfo.DISPLAY: in wpsInfoToConfigMethod()
660 case WpsInfo.KEYPAD: in wpsInfoToConfigMethod()
661 case WpsInfo.LABEL: in wpsInfoToConfigMethod()
985 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java33 import android.net.wifi.WpsInfo;
118 private int mWpsConfig = WpsInfo.INVALID;
255 Settings.Global.WIFI_DISPLAY_WPS_CONFIG, WpsInfo.INVALID); in update()
419 Settings.Global.WIFI_DISPLAY_WPS_CONFIG, WpsInfo.INVALID); in buildCertificationMenu()
422 "" + WpsInfo.INVALID, in buildCertificationMenu()
423 "" + WpsInfo.PBC, in buildCertificationMenu()
424 "" + WpsInfo.KEYPAD, in buildCertificationMenu()
425 "" + WpsInfo.DISPLAY}; in buildCertificationMenu()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java63 import android.net.wifi.WpsInfo;
694 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_V2_success()
705 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_V2_success()
710 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.PBC, ""); in testConnect_V2_success()
715 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.KEYPAD, configPin); in testConnect_V2_success()
749 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_V3_success()
760 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_V3_success()
765 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.PBC, ""); in testConnect_V3_success()
770 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.KEYPAD, configPin); in testConnect_V3_success()
789 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_invalidArguments()
[all …]
DSupplicantP2pIfaceHalHidlImplTest.java51 import android.net.wifi.WpsInfo;
743 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_success()
754 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_success()
759 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.PBC, ""); in testConnect_success()
764 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.KEYPAD, configPin); in testConnect_success()
785 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_invalidArguments()
792 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
799 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
804 config.wps.setup = WpsInfo.PBC; in testConnect_invalidArguments()
816 WpsInfo.DISPLAY, configPin); in testConnect_failure()
[all …]
DSupplicantP2pIfaceCallbackAidlImplTest.java49 import android.net.wifi.WpsInfo;
400 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequest_success()
403 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
406 assertTrue(setups.contains(WpsInfo.KEYPAD)); in testOnGoNegotiationRequest_success()
411 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
466 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequestWithParams_success()
471 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequestWithParams_success()
476 assertTrue(setups.contains(WpsInfo.KEYPAD)); in testOnGoNegotiationRequestWithParams_success()
483 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequestWithParams_success()
DSupplicantP2pIfaceCallbackHidlImplTest.java35 import android.net.wifi.WpsInfo;
308 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequest_success()
312 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
316 assertTrue(setups.contains(WpsInfo.KEYPAD)); in testOnGoNegotiationRequest_success()
321 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
DWifiP2pServiceImplTest.java96 import android.net.wifi.WpsInfo;
750 private void sendStartWpsMsg(Messenger replyMessenger, WpsInfo wps) throws Exception { in sendStartWpsMsg()
1652 config.wps = new WpsInfo(); in mockEnterUserAuthorizingNegotiationRequestState()
4634 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcSuccess()
4635 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcSuccess()
4659 WpsInfo wps = new WpsInfo(); in testStartWpsWithPinKeypadSuccess()
4660 wps.setup = WpsInfo.KEYPAD; in testStartWpsWithPinKeypadSuccess()
4676 WpsInfo wps = null; in testStartWpsFailureWhenObjectIsNull()
4691 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcFailureWhenNativeCallFailure()
4692 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcFailureWhenNativeCallFailure()
[all …]
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/
DWpsInfo.aidl19 parcelable WpsInfo;
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java29 import android.net.wifi.WpsInfo;
441 config.wps.setup = WpsInfo.PBC; in onPreferenceTreeClick()
443 config.wps.setup = WpsInfo.KEYPAD; in onPreferenceTreeClick()
445 config.wps.setup = WpsInfo.DISPLAY; in onPreferenceTreeClick()
/packages/modules/Wifi/framework/api/
Dcurrent.txt546 …method @Deprecated public void startWps(android.net.wifi.WpsInfo, android.net.wifi.WifiManager.Wps…
819 public class WpsInfo implements android.os.Parcelable {
820 ctor public WpsInfo();
821 ctor public WpsInfo(android.net.wifi.WpsInfo);
825 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WpsInfo> CREATOR;
1269 field public android.net.wifi.WpsInfo wps;