Searched refs:ssid (Results 1 – 7 of 7) sorted by relevance
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | WifiConfigCreator.java | 58 public int addNetwork(String ssid, boolean hidden, int securityType, in addNetwork() argument 64 WifiConfiguration wifiConf = createConfig(ssid, hidden, securityType, password); in addNetwork() 71 Log.w(TAG, "Unable to add SSID '" + ssid + "': netId = " + netId); in addNetwork() 80 public int updateNetwork(WifiConfiguration wifiConf, String ssid, boolean hidden, in updateNetwork() argument 89 WifiConfiguration conf = createConfig(ssid, hidden, securityType, password); in updateNetwork() 98 Log.w(TAG, "Unable to update SSID '" + ssid + "': netId = " + newNetId); in updateNetwork() 107 public int updateNetwork(int netId, String ssid, boolean hidden, in updateNetwork() argument 121 return updateNetwork(wifiConf, ssid, hidden, securityType, password); in updateNetwork() 137 private WifiConfiguration createConfig(String ssid, boolean hidden, int securityType, in createConfig() argument 140 if (!TextUtils.isEmpty(ssid)) { in createConfig() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WifiTest.java | 113 private boolean awaitNetworkState(String ssid, boolean exists) { in awaitNetworkState() argument 118 if ((getNetworkForSsid(ssid) != null) == exists) { in awaitNetworkState() 131 private WifiConfiguration getNetworkForSsid(String ssid) { in getNetworkForSsid() argument 132 if (!ssid.startsWith("\"")) { in getNetworkForSsid() 133 ssid = '"' + ssid + '"'; in getNetworkForSsid() 136 if (ssid.equals(config.SSID)) { in getNetworkForSsid()
|
/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/ |
D | WifiConfigCreatorActivity.java | 49 String ssid = intent.getStringExtra(EXTRA_SSID); in onCreate() local 52 configCreator.addNetwork(ssid, false, securityType, password); in onCreate() 55 String ssid = intent.getStringExtra(EXTRA_SSID); in onCreate() local 58 configCreator.updateNetwork(netId, ssid, false, securityType, password); in onCreate()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 125 String ssid = wifiInfo.getSSID(); in testWifiInfoProperties() local 126 if (ssid.startsWith("0x") == false) { in testWifiInfoProperties() 128 assertTrue(ssid.charAt(0) == '"'); in testWifiInfoProperties() 129 assertTrue(ssid.charAt(ssid.length() - 1) == '"'); in testWifiInfoProperties()
|
D | WifiEnterpriseConfigTest.java | 124 private boolean doesSsidExist(String ssid) { in doesSsidExist() argument 126 if (w.SSID.equals(ssid)) in doesSsidExist()
|
D | WifiManagerTest.java | 197 private boolean existSSID(String ssid) { in existSSID() argument 199 if (w.SSID.equals(ssid)) in existSSID()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 165 private void startRegularActivity(String action, int netId, String ssid, int securityType, in startRegularActivity() argument 169 createRegularConfig.putExtra(EXTRA_SSID, ssid); in startRegularActivity()
|