Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java72 Log.d(TAG, "Removing " + config.networkId); in tearDown()
73 mWifiManager.removeNetwork(config.networkId); in tearDown()
118 .noneMatch(c -> c.networkId == config.networkId)) continue; in testDeviceOwnerCanRemoveConfig()
120 assertWithMessage("mWifiManager.removeNetwork(%s)", config.networkId) in testDeviceOwnerCanRemoveConfig()
121 .that(mWifiManager.removeNetwork(config.networkId)).isTrue(); in testDeviceOwnerCanRemoveConfig()
136 startRegularActivity(ACTION_UPDATE_WIFI_CONFIG, config.networkId, in testRegularAppCannotUpdateDeviceOwnerConfig()
167 startRegularActivity(ACTION_REMOVE_WIFI_CONFIG, config.networkId, in testRegularAppCannotRemoveDeviceOwnerConfig()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java153 int networkId = mWifiManager.addNetwork(config); in testConfiguratorInitiatorOnFailure() local
154 assertFalse(networkId == -1); in testConfiguratorInitiatorOnFailure()
156 mWifiManager.startEasyConnectAsConfiguratorInitiator(TEST_DPP_URI, networkId, in testConfiguratorInitiatorOnFailure()
162 mWifiManager.removeNetwork(networkId); in testConfiguratorInitiatorOnFailure()
DWifiManagerTest.java1163 int networkId = 5; in testAddNetworkResultCreation() local
1165 statusCode, networkId); in testAddNetworkResultCreation()
1167 assertEquals("networkId should match", networkId, result.networkId); in testAddNetworkResultCreation()
1237 assertTrue(result.networkId >= 0); in testAddNetworkPrivilegedSuccess()
1241 if (config.networkId == result.networkId in testAddNetworkPrivilegedSuccess()
1254 if (config.networkId == result.networkId in testAddNetworkPrivilegedSuccess()
1267 if (config.networkId == result.networkId in testAddNetworkPrivilegedSuccess()
1277 mWifiManager.removeNetwork(result.networkId); in testAddNetworkPrivilegedSuccess()
1312 if (config.networkId == expectedConfig.networkId in assertConfigsAreFound()
1355 assertTrue(result.networkId >= 0); in testAddNetworkPrivilegedMergingTypeSuccess()
[all …]
DMultiStaConcurrencyWifiNetworkSpecifierTest.java189 mWifiManager.disableNetwork(savedNetwork.networkId); in setUp()
207 mWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDown()
DWifiBackupRestoreTest.java214 int networkId = mWifiManager.updateNetwork(modNetwork); in testCanRestoreBackupData() local
215 assertThat(networkId).isEqualTo(origNetwork.networkId); in testCanRestoreBackupData()
470 mWifiManager.removeNetwork(network.networkId);
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java191 mWifiManager.disableNetwork(savedNetwork.networkId); in setUp()
210 mWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDown()
DWifiNetworkSpecifierTest.java240 wifiManager.enableNetwork(savedNetwork.networkId, false); in enableAllSavedNetworks()
249 wifiManager.disableNetwork(savedNetwork.networkId); in disableAllSavedNetworks()
DConnectedNetworkScorerTest.java683 mWifiManager.disableNetwork(savedNetwork.networkId); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
721 mWifiManager.enableNetwork(savedNetwork.networkId, false); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
DWifiNetworkSuggestionTest.java170 sWifiManager.disableNetwork(savedNetwork.networkId); in setUpClass()
190 sWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDownClass()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWifiTest.java94 if (config != null && config.networkId != -1) { in testRemoveWifiNetworkIfExists()
95 mWifiConfigCreator.removeNetwork(config.networkId); in testRemoveWifiNetworkIfExists()
/cts/tests/tests/permission/src/android/permission/cts/
DNoWifiStatePermissionTest.java175 TEST_WIFI_CONFIGURATION.networkId = 2; in testUpdateNetwork()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java405 int networkId = cdma.getNetworkId(); in verifyCellIdentityCdma() local
406 assertTrue("getNetworkId() out of range [0,65535], networkId=" + networkId, in verifyCellIdentityCdma()
407 networkId == CellInfo.UNAVAILABLE || (networkId >= 0 && networkId <= NETWORK_ID)); in verifyCellIdentityCdma()
430 assertTrue("NID is required for registered cells", networkId != CellInfo.UNAVAILABLE); in verifyCellIdentityCdma()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java510 return configuration.networkId; in getOrAddLegacyNetwork()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dwifi-current.txt141 field @Deprecated public int networkId;
498 field public final int networkId;