Home
last modified time | relevance | path

Searched refs:securityType (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWifiConfigCreator.java72 public int addNetwork(String ssid, boolean hidden, int securityType, in addNetwork() argument
76 WifiConfiguration wifiConf = createConfig(ssid, hidden, securityType, password); in addNetwork()
136 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument
142 WifiConfiguration conf = createConfig(ssid, hidden, securityType, password); in updateNetwork()
161 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument
172 return updateNetwork(wifiConf, ssid, hidden, securityType, password); in updateNetwork()
188 private WifiConfiguration createConfig(String ssid, boolean hidden, int securityType, in createConfig() argument
196 switch (securityType) { in createConfig()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java72 public int addNetwork(String ssid, boolean hidden, int securityType, in addNetwork() argument
76 WifiConfiguration wifiConf = createConfig(ssid, hidden, securityType, password); in addNetwork()
136 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument
142 WifiConfiguration conf = createConfig(ssid, hidden, securityType, password); in updateNetwork()
161 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument
172 return updateNetwork(wifiConf, ssid, hidden, securityType, password); in updateNetwork()
188 private WifiConfiguration createConfig(String ssid, boolean hidden, int securityType, in createConfig() argument
196 switch (securityType) { in createConfig()
/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/
DWifiConfigCreatorActivity.java50 int securityType = intent.getIntExtra(EXTRA_SECURITY_TYPE, SECURITY_TYPE_NONE); in onCreate() local
52 configCreator.addNetwork(ssid, false, securityType, password); in onCreate()
56 int securityType = intent.getIntExtra(EXTRA_SECURITY_TYPE, SECURITY_TYPE_NONE); in onCreate() local
58 configCreator.updateNetwork(netId, ssid, false, securityType, password); in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java165 private void startRegularActivity(String action, int netId, String ssid, int securityType, in startRegularActivity() argument
170 createRegularConfig.putExtra(EXTRA_SECURITY_TYPE, securityType); in startRegularActivity()