Searched refs:netId (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/ |
D | WifiConfigCreatorActivity.java | 54 int netId = intent.getIntExtra(EXTRA_NETID, -1); in onCreate() local 58 configCreator.updateNetwork(netId, ssid, false, securityType, password); in onCreate() 60 int netId = intent.getIntExtra(EXTRA_NETID, -1); in onCreate() local 61 if (netId != -1) { in onCreate() 62 configCreator.removeNetwork(netId); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiNetworkConfigurationWithoutFineLocationPermissionTest.java | 67 int netId = mWifiConfigCreator.addNetwork(NETWORK_SSID, /* hidden */ false, in testAddAndRetrieveCallerConfiguredNetworks() local 69 assertWithMessage("id of added network").that(netId).isNotEqualTo(INVALID_NETWORK_ID); in testAddAndRetrieveCallerConfiguredNetworks() 77 Log.d(TAG, "Removing network " + netId); in testAddAndRetrieveCallerConfiguredNetworks() 78 mWifiManager.removeNetwork(netId); in testAddAndRetrieveCallerConfiguredNetworks()
|
D | WifiConfigLockdownTest.java | 86 int netId = mWifiConfigCreator.updateNetwork(config, in testDeviceOwnerCanUpdateConfig() local 88 Log.d(TAG, "netid after updateNetwork(REGULAR_SSID):" + netId); in testDeviceOwnerCanUpdateConfig() 90 .that(netId).isNotEqualTo(-1); in testDeviceOwnerCanUpdateConfig() 94 int netId = mWifiConfigCreator.updateNetwork(config, in testDeviceOwnerCanUpdateConfig() local 96 Log.d(TAG, "netid after updateNetwork(REGULAR_SSID):" + netId); in testDeviceOwnerCanUpdateConfig() 98 .that(netId).isNotEqualTo(-1); in testDeviceOwnerCanUpdateConfig() 190 private void startRegularActivity(String action, int netId, String ssid, int securityType, in startRegularActivity() argument 193 createRegularConfig.putExtra(EXTRA_NETID, netId); in startRegularActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | WifiLockdownTestActivity.java | 118 int netId; in onCreate() 120 netId = mConfigCreator.addNetwork(ssidEditor.getText().toString(), false, in onCreate() 123 netId = -1; in onCreate() 125 if (netId == -1) { in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | MeteredDataRestrictionTest.java | 208 final String netId = ssid.trim().replaceAll("\"", ""); // remove quotes, if any. in setWifiMeteredStatus() local 212 setWifiMeteredStatus(netId, metered); in setWifiMeteredStatus() 213 return netId; in setWifiMeteredStatus()
|