HomeSort by relevance Sort by last modified time
    Searched refs:WifiConfiguration (Results 1 - 25 of 50) sorted by null

1 2

  /frameworks/base/wifi/java/android/net/wifi/
WifiConfiguration.aidl 19 parcelable WifiConfiguration;
IWifiManager.aidl 21 import android.net.wifi.WifiConfiguration;
36 List<WifiConfiguration> getConfiguredNetworks();
38 int addOrUpdateNetwork(in WifiConfiguration config);
92 void setWifiApEnabled(in WifiConfiguration wifiConfig, boolean enable);
96 WifiConfiguration getWifiApConfiguration();
98 void setWifiApConfiguration(in WifiConfiguration wifiConfig);
WifiConfigStore.java 27 import android.net.wifi.WifiConfiguration.IpAssignment;
28 import android.net.wifi.WifiConfiguration.KeyMgmt;
29 import android.net.wifi.WifiConfiguration.ProxySettings;
30 import android.net.wifi.WifiConfiguration.Status;
32 import static android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID;
75 * - Add/update/remove a WifiConfiguration
124 private HashMap<Integer, WifiConfiguration> mConfiguredNetworks =
125 new HashMap<Integer, WifiConfiguration>();
208 List<WifiConfiguration> getConfiguredNetworks() {
209 List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>()
    [all...]
NetworkUpdateResult.java 19 import static android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID;
WifiApConfigStore.java 20 import android.net.wifi.WifiConfiguration.KeyMgmt;
60 private WifiConfiguration mWifiApConfig = null;
103 mWifiApConfig = (WifiConfiguration) message.obj;
143 WifiConfiguration config = new WifiConfiguration();
175 private void writeApConfiguration(final WifiConfiguration config) {
204 WifiConfiguration config = new WifiConfiguration();
WifiConfiguration.java 30 public class WifiConfiguration implements Parcelable {
31 private static final String TAG = "WifiConfiguration";
329 public WifiConfiguration() {
377 if (this.status == WifiConfiguration.Status.CURRENT) {
379 } else if (this.status == WifiConfiguration.Status.DISABLED) {
462 * Construct a WifiConfiguration from a scanned network
466 public WifiConfiguration(ScanResult scannedAP) {
502 String getKeyIdForCredentials(WifiConfiguration current) {
579 public WifiConfiguration(WifiConfiguration source)
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
WifiClientTest.java 25 import android.net.wifi.WifiConfiguration;
26 import android.net.wifi.WifiConfiguration.KeyMgmt;
27 import android.net.wifi.WifiConfiguration.Status;
117 WifiConfiguration config = new WifiConfiguration();
126 List<WifiConfiguration> configList = mWifiManager.getConfiguredNetworks();
128 for (WifiConfiguration c : configList) {
142 for (WifiConfiguration c : configList) {
154 WifiConfiguration config = new WifiConfiguration();
    [all...]
WifiSoftAPTest.java 21 import android.net.wifi.WifiConfiguration;
22 import android.net.wifi.WifiConfiguration.KeyMgmt;
35 private WifiConfiguration mWifiConfig = null;
63 WifiConfiguration config = new WifiConfiguration();
  /cts/tests/tests/net/src/android/net/wifi/cts/
WifiConfigurationTest.java 22 import android.net.wifi.WifiConfiguration;
40 List<WifiConfiguration> wifiConfigurations = mWifiManager.getConfiguredNetworks();
43 WifiConfiguration wifiConfiguration = wifiConfigurations.get(i);
44 assertNotNull(wifiConfiguration);
45 assertNotNull(wifiConfiguration.toString());
WifiManagerTest.java 26 import android.net.wifi.WifiConfiguration;
27 import android.net.wifi.WifiConfiguration.Status;
192 for (final WifiConfiguration w : mWifiManager.getConfiguredNetworks()) {
199 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) {
200 for (final WifiConfiguration w : networks) {
207 private void assertDisableOthers(WifiConfiguration wifiConfiguration, boolean disableOthers) {
208 for (WifiConfiguration w : mWifiManager.getConfiguredNetworks()) {
209 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) {
281 WifiConfiguration wifiConfiguration
    [all...]
WifiEnterpriseConfigTest.java 20 import android.net.wifi.WifiConfiguration;
81 WifiConfiguration config = new WifiConfiguration();
96 for (final WifiConfiguration w : mWifiManager.getConfiguredNetworks()) {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowWifiManager.java 4 import android.net.wifi.WifiConfiguration;
27 private Map<Integer, WifiConfiguration> networkIdToConfiguredNetworks = new LinkedHashMap<Integer, WifiConfiguration>();
59 public List<WifiConfiguration> getConfiguredNetworks() {
60 final ArrayList<WifiConfiguration> wifiConfigurations = new ArrayList<WifiConfiguration>();
61 for (WifiConfiguration wifiConfiguration : networkIdToConfiguredNetworks.values()) {
62 wifiConfigurations.add(wifiConfiguration);
68 public int addNetwork(WifiConfiguration config)
    [all...]
ShadowWifiConfiguration.java 3 import android.net.wifi.WifiConfiguration;
9 @Implements(WifiConfiguration.class)
11 @RealObject WifiConfiguration realObject;
32 public WifiConfiguration copy(){
33 WifiConfiguration config = new WifiConfiguration();
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
WifiManagerTest.java 4 import android.net.wifi.WifiConfiguration;
86 WifiConfiguration wifiConfiguration = new WifiConfiguration();
87 wifiConfiguration.networkId = -1;
88 int networkId = wifiManager.addNetwork(wifiConfiguration);
90 assertThat(wifiManager.getConfiguredNetworks().get(0), not(sameInstance(wifiConfiguration)));
91 assertThat(wifiConfiguration.networkId, equalTo(-1));
94 WifiConfiguration anotherConfig = new WifiConfiguration();
    [all...]
WifiConfigurationTest.java 3 import android.net.wifi.WifiConfiguration;
17 WifiConfiguration wifiConfiguration = new WifiConfiguration();
18 assertNotNull(wifiConfiguration.allowedAuthAlgorithms);
23 WifiConfiguration wifiConfiguration = new WifiConfiguration();
25 wifiConfiguration.networkId = 1;
26 wifiConfiguration.SSID = "SSID"
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
WifiConnectionTest.java 23 import android.net.wifi.WifiConfiguration;
46 private List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>();
67 for (WifiConfiguration config : networks) {
83 private void connectToWifi(WifiConfiguration config) {
WifiAssociationTest.java 25 import android.net.wifi.WifiConfiguration;
26 import android.net.wifi.WifiConfiguration.KeyMgmt;
27 import android.net.wifi.WifiConfiguration.AuthAlgorithm;
28 import android.net.wifi.WifiConfiguration.GroupCipher;
29 import android.net.wifi.WifiConfiguration.PairwiseCipher;
30 import android.net.wifi.WifiConfiguration.Protocol;
96 private void connectToWifi(WifiConfiguration config) {
126 WifiConfiguration config = new WifiConfiguration();
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
WifiApStress.java 23 import android.net.wifi.WifiConfiguration;
24 import android.net.wifi.WifiConfiguration.KeyMgmt;
25 import android.net.wifi.WifiConfiguration.AuthAlgorithm;
76 WifiConfiguration config = new WifiConfiguration();
WifiStressTest.java 23 import android.net.wifi.WifiConfiguration;
24 import android.net.wifi.WifiConfiguration.IpAssignment;
25 import android.net.wifi.WifiConfiguration.KeyMgmt;
26 import android.net.wifi.WifiConfiguration.ProxySettings;
226 WifiConfiguration config = new WifiConfiguration();
  /packages/apps/Settings/src/com/android/settings/wifi/
AccessPoint.java 24 import android.net.wifi.WifiConfiguration;
25 import android.net.wifi.WifiConfiguration.KeyMgmt;
68 private WifiConfiguration mConfig;
75 static int getSecurity(WifiConfiguration config) {
143 AccessPoint(Context context, WifiConfiguration config) {
185 private void loadConfig(WifiConfiguration config) {
236 if (networkId != WifiConfiguration.INVALID_NETWORK_ID
237 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1;
238 if (networkId == WifiConfiguration.INVALID_NETWORK_ID
239 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1
    [all...]
WifiApDialog.java 22 import android.net.wifi.WifiConfiguration;
23 import android.net.wifi.WifiConfiguration.AuthAlgorithm;
24 import android.net.wifi.WifiConfiguration.KeyMgmt;
58 WifiConfiguration mWifiConfig;
61 WifiConfiguration wifiConfig) {
70 public static int getSecurityTypeIndex(WifiConfiguration wifiConfig) {
79 public WifiConfiguration getConfig() {
81 WifiConfiguration config = new WifiConfiguration();
84 * TODO: SSID in WifiConfiguration for soft a
    [all...]
WifiConfigInfo.java 23 import android.net.wifi.WifiConfiguration;
50 final List<WifiConfiguration> wifiConfigs = mWifiManager.getConfiguredNetworks();
  /cts/tests/tests/permission/src/android/permission/cts/
NoWifiStatePermissionTest.java 20 import android.net.wifi.WifiConfiguration;
31 private static final WifiConfiguration TEST_WIFI_CONFIGURATION = new WifiConfiguration();
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
AccessPointParserHelper.java 26 import android.net.wifi.WifiConfiguration;
27 import android.net.wifi.WifiConfiguration.AuthAlgorithm;
28 import android.net.wifi.WifiConfiguration.IpAssignment;
29 import android.net.wifi.WifiConfiguration.KeyMgmt;
30 import android.net.wifi.WifiConfiguration.ProxySettings;
75 List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>();
117 WifiConfiguration config = null;
126 config = new WifiConfiguration();
371 public List<WifiConfiguration> getNetworkConfigurations() throws Exception
    [all...]
  /packages/apps/Settings/src/com/android/settings/net/
DataUsageMeteredSettings.java 28 import android.net.wifi.WifiConfiguration;
84 for (WifiConfiguration config : mWifiManager.getConfiguredNetworks()) {
103 private Preference buildWifiPref(Context context, WifiConfiguration config) {

Completed in 245 milliseconds

1 2