Home
last modified time | relevance | path

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

/frameworks/base/wifi/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.java3833 public void startWps(WpsInfo config, WpsCallback listener) { in startWps()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pConfig.java24 import android.net.wifi.WpsInfo;
49 public WpsInfo wps;
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()
184 wps = new WpsInfo(source.wps); in WifiP2pConfig()
[all …]
DWifiP2pManager.java29 import android.net.wifi.WpsInfo;
1370 public void startWps(Channel c, WpsInfo wps, ActionListener listener) { in startWps()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java21 import android.net.wifi.WpsInfo;
187 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.java46 import android.net.wifi.WpsInfo;
1884 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()
2164 if (mSavedPeerConfig.wps.setup == WpsInfo.PBC 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()
2312 if (mSavedPeerConfig.wps.setup == WpsInfo.DISPLAY) { in processMessage()
[all …]
DSupplicantP2pIfaceHal.java32 import android.net.wifi.WpsInfo;
527 case WpsInfo.PBC: in wpsInfoToConfigMethod()
530 case WpsInfo.DISPLAY: in wpsInfoToConfigMethod()
533 case WpsInfo.KEYPAD: in wpsInfoToConfigMethod()
534 case WpsInfo.LABEL: in wpsInfoToConfigMethod()
803 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) { in connect()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java33 import android.net.wifi.WpsInfo;
158 private int mWifiDisplayWpsConfig = WpsInfo.INVALID;
201 mWifiDisplayWpsConfig = WpsInfo.INVALID; in updateSettings()
204 Settings.Global.WIFI_DISPLAY_WPS_CONFIG, WpsInfo.INVALID); in updateSettings()
674 WpsInfo wps = new WpsInfo(); in updateConnection()
675 if (mWifiDisplayWpsConfig != WpsInfo.INVALID) { in updateConnection()
678 wps.setup = WpsInfo.PBC; in updateConnection()
681 wps.setup = WpsInfo.KEYPAD; in updateConnection()
683 wps.setup = WpsInfo.DISPLAY; in updateConnection()
/frameworks/base/wifi/aidl-export/android/net/wifi/
DWpsInfo.aidl19 parcelable WpsInfo;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackTest.java30 import android.net.wifi.WpsInfo;
302 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequest_success()
306 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
310 assertTrue(setups.contains(WpsInfo.KEYPAD)); in testOnGoNegotiationRequest_success()
315 assertTrue(setups.contains(WpsInfo.PBC)); in testOnGoNegotiationRequest_success()
DSupplicantP2pIfaceHalTest.java41 import android.net.wifi.WpsInfo;
684 WifiP2pConfig config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_success()
695 config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_success()
700 config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.PBC, ""); in testConnect_success()
705 config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.KEYPAD, configPin); in testConnect_success()
727 WifiP2pConfig config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_invalidArguments()
734 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
741 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
746 config.wps.setup = WpsInfo.PBC; in testConnect_invalidArguments()
757 WifiP2pConfig config = createDummyP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_failure()
[all …]
DWifiP2pServiceImplTest.java52 import android.net.wifi.WpsInfo;
443 private void sendStartWpsMsg(Messenger replyMessenger, WpsInfo wps) throws Exception { in sendStartWpsMsg()
2475 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcSuccess()
2476 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcSuccess()
2508 WpsInfo wps = new WpsInfo(); in testStartWpsWithPinKeypadSuccess()
2509 wps.setup = WpsInfo.KEYPAD; in testStartWpsWithPinKeypadSuccess()
2533 WpsInfo wps = null; in testStartWpsFailureWhenObjectIsNull()
2556 WpsInfo wps = new WpsInfo(); in testStartWpsWithPbcFailureWhenNativeCallFailure()
2557 wps.setup = WpsInfo.PBC; in testStartWpsWithPbcFailureWhenNativeCallFailure()
2582 WpsInfo wps = new WpsInfo(); in testStartWpsWithPinDisplayFailureWhenNativeCallFailure()
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18061 method public void startWps(android.net.wifi.WpsInfo, android.net.wifi.WifiManager.WpsCallback);
18119 public class WpsInfo implements android.os.Parcelable {
18120 ctor public WpsInfo();
18121 ctor public WpsInfo(android.net.wifi.WpsInfo);
18125 field public static final android.os.Parcelable.Creator<android.net.wifi.WpsInfo> CREATOR;
18147 field public android.net.wifi.WpsInfo wps;
/frameworks/base/non-updatable-api/
Dcurrent.txt30106 …method @Deprecated public void startWps(android.net.wifi.WpsInfo, android.net.wifi.WifiManager.Wps…
30235 public class WpsInfo implements android.os.Parcelable {
30236 ctor public WpsInfo();
30237 ctor public WpsInfo(android.net.wifi.WpsInfo);
30241 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WpsInfo> CREATOR;
30519 field public android.net.wifi.WpsInfo wps;
/frameworks/base/api/
Dcurrent.txt30250 …method @Deprecated public void startWps(android.net.wifi.WpsInfo, android.net.wifi.WifiManager.Wps…
30379 public class WpsInfo implements android.os.Parcelable {
30380 ctor public WpsInfo();
30381 ctor public WpsInfo(android.net.wifi.WpsInfo);
30385 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WpsInfo> CREATOR;
30663 field public android.net.wifi.WpsInfo wps;
/frameworks/base/config/
Dboot-image-profile.txt11026 HSPLandroid/net/wifi/WpsInfo$1;-><init>()V
35041 Landroid/net/wifi/WpsInfo$1;
35042 Landroid/net/wifi/WpsInfo;