Home
last modified time | relevance | path

Searched refs:AddNetworkResult (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java20 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_ADD_WIFI_CONFIG_FAILURE;
21 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_SUCCESS;
33 private final @WifiManager.AddNetworkResult.AddNetworkStatusCode int mStatusCode;
88 public @WifiManager.AddNetworkResult.AddNetworkStatusCode int getStatusCode() { in getStatusCode()
DWifiServiceImpl.java153 import android.net.wifi.WifiManager.AddNetworkResult;
3811 public @NonNull WifiManager.AddNetworkResult addOrUpdateNetworkPrivileged( in addOrUpdateNetworkPrivileged()
3938 private @NonNull AddNetworkResult addOrUpdateNetworkInternal(WifiConfiguration config, in addOrUpdateNetworkInternal()
3943 return new AddNetworkResult( in addOrUpdateNetworkInternal()
3944 AddNetworkResult.STATUS_INVALID_CONFIGURATION, -1); in addOrUpdateNetworkInternal()
3955 return new AddNetworkResult( in addOrUpdateNetworkInternal()
3956 AddNetworkResult.STATUS_ADD_PASSPOINT_FAILURE, -1); in addOrUpdateNetworkInternal()
3972 return new AddNetworkResult( in addOrUpdateNetworkInternal()
3973 AddNetworkResult.STATUS_ADD_PASSPOINT_FAILURE, -1); in addOrUpdateNetworkInternal()
3976 return new AddNetworkResult(AddNetworkResult.STATUS_SUCCESS, 0); in addOrUpdateNetworkInternal()
[all …]
DWifiConfigManager.java20 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_INVALID_CONFIGURATION;
21 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_INVALID_CONFIGURATION_ENTERPRISE;
22 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_NO_PERMISSION_MODIFY_CONFIG;
23 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_SUCCESS;
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.aidl19 parcelable WifiManager.AddNetworkResult;
DWifiManager.java2875 public AddNetworkResult addNetworkPrivileged(@NonNull WifiConfiguration config) { in addNetworkPrivileged()
2892 public static final class AddNetworkResult implements Parcelable { class in WifiManager
2967 public static final @android.annotation.NonNull Creator<AddNetworkResult> CREATOR =
2968 new Creator<AddNetworkResult>() {
2969 public AddNetworkResult createFromParcel(Parcel in) {
2970 return new AddNetworkResult(in.readInt(), in.readInt());
2973 public AddNetworkResult[] newArray(int size) {
2974 return new AddNetworkResult[size];
2989 public AddNetworkResult(@AddNetworkStatusCode int statusCode, int networkId) { in AddNetworkResult() method in WifiManager.AddNetworkResult
DIWifiManager.aidl124 …WifiManager.AddNetworkResult addOrUpdateNetworkPrivileged(in WifiConfiguration config, String pack… in addOrUpdateNetworkPrivileged()
DBaseWifiService.java153 public WifiManager.AddNetworkResult addOrUpdateNetworkPrivileged(WifiConfiguration config, in addOrUpdateNetworkPrivileged()
/packages/modules/Wifi/framework/api/
Dcurrent.txt440 …ROVISIONING}, conditional=true) public android.net.wifi.WifiManager.AddNetworkResult addNetworkPri…
632 public static final class WifiManager.AddNetworkResult implements android.os.Parcelable {
633 ctor public WifiManager.AddNetworkResult(int, int);
636 … static final android.os.Parcelable.Creator<android.net.wifi.WifiManager.AddNetworkResult> CREATOR;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java7123 WifiManager.AddNetworkResult result = mWifiServiceImpl.addOrUpdateNetworkPrivileged( in testAddOrUpdateNetworkInvalidConfiguration()
7127 assertEquals(WifiManager.AddNetworkResult.STATUS_ADD_WIFI_CONFIG_FAILURE, in testAddOrUpdateNetworkInvalidConfiguration()
DWifiConfigManagerTest.java19 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_INVALID_CONFIGURATION_ENTERPRISE;
DClientModeImplTest.java36 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_SUCCESS;