/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 72 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/ |
D | EasyConnectStatusCallbackTest.java | 153 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()
|
D | WifiManagerTest.java | 1163 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 …]
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 189 mWifiManager.disableNetwork(savedNetwork.networkId); in setUp() 207 mWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDown()
|
D | WifiBackupRestoreTest.java | 214 int networkId = mWifiManager.updateNetwork(modNetwork); in testCanRestoreBackupData() local 215 assertThat(networkId).isEqualTo(origNetwork.networkId); in testCanRestoreBackupData() 470 mWifiManager.removeNetwork(network.networkId);
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 191 mWifiManager.disableNetwork(savedNetwork.networkId); in setUp() 210 mWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDown()
|
D | WifiNetworkSpecifierTest.java | 240 wifiManager.enableNetwork(savedNetwork.networkId, false); in enableAllSavedNetworks() 249 wifiManager.disableNetwork(savedNetwork.networkId); in disableAllSavedNetworks()
|
D | ConnectedNetworkScorerTest.java | 683 mWifiManager.disableNetwork(savedNetwork.networkId); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion() 721 mWifiManager.enableNetwork(savedNetwork.networkId, false); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
|
D | WifiNetworkSuggestionTest.java | 170 sWifiManager.disableNetwork(savedNetwork.networkId); in setUpClass() 190 sWifiManager.enableNetwork(savedNetwork.networkId, false); in tearDownClass()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WifiTest.java | 94 if (config != null && config.networkId != -1) { in testRemoveWifiNetworkIfExists() 95 mWifiConfigCreator.removeNetwork(config.networkId); in testRemoveWifiNetworkIfExists()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoWifiStatePermissionTest.java | 175 TEST_WIFI_CONFIGURATION.networkId = 2; in testUpdateNetwork()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellInfoTest.java | 405 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/ |
D | MultiNetworkConnectivityTestActivity.java | 510 return configuration.networkId; in getOrAddLegacyNetwork()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | wifi-current.txt | 141 field @Deprecated public int networkId; 498 field public final int networkId;
|