Home
last modified time | relevance | path

Searched refs:clearCapabilities (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentTests.kt133 .clearCapabilities() in keepScore()
247 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in keepScore()
323 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities() in keepScore()
375 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities() in keepScore()
427 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities() in keepScore()
484 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in keepScore()
549 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in keepScore()
592 cm.requestNetwork(NetworkRequest.Builder().clearCapabilities() in keepScore()
598 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in keepScore()
644 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in keepScore()
DCSNetworkActivityTest.kt84 .clearCapabilities() in <lambda>()
166 .clearCapabilities() in <lambda>()
184 .clearCapabilities() in <lambda>()
DCSDestroyedNetworkTests.kt45 .clearCapabilities() in testDestroyNetworkNotKeptWhenUnvalidated()
DCSKeepConnectedTest.kt68 cm.registerNetworkCallback(NetworkRequest.Builder().clearCapabilities().build(), cb) in doTestKeepConnected()
DCSIngressDiscardRuleTests.kt73 .clearCapabilities() in vpnNc()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java111 final NetworkRequest nr = new NetworkRequest.Builder().clearCapabilities().build(); in testCapabilities()
129 builder.clearCapabilities(); in testForbiddenCapabilities()
175 .clearCapabilities() in testSpecifier()
207 .clearCapabilities() in testRequestorPackageName()
403 .clearCapabilities().build().getRequestorUid()); in testRequestorUid()
509 .clearCapabilities() in testGetCapabilities()
DNetworkScoreTest.kt85 NetworkRequest.Builder().clearCapabilities() in <lambda>()
105 mCm.registerBestMatchingNetworkCallback(NetworkRequest.Builder().clearCapabilities() in <lambda>()
DNetworkAgentTest.kt292 clearCapabilities() in asEthSpecifier()
474 .clearCapabilities() in testSignalStrengthThresholds()
1137 .clearCapabilities() in testSetLingerDuration()
1186 .clearCapabilities() in testRegisterBestMatchingNetworkCallback()
DIkev2VpnTest.java527 .clearCapabilities().addTransportType(TRANSPORT_VPN).build(); in checkStartStopVpnProfileBuildsNetworks()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSAgentWrapper.kt142 clearCapabilities() in ArgumentCaptor()
171 clearCapabilities() in ArgumentCaptor()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConnectivityManagerShimImpl.java70 return new NetworkRequest.Builder().clearCapabilities(); in makeEmptyCapabilitiesRequest()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketBridge.kt120 .clearCapabilities() in createTestNetwork()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt287 .clearCapabilities() in testValidation()
320 .clearCapabilities() in testCapportApi()
DNetworkStatsIntegrationTest.kt168 .clearCapabilities() in <lambda>()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DCurrentEthernetNetworksViewModel.java68 .clearCapabilities() in CurrentEthernetNetworksViewModel()
DMainActivity.java250 .clearCapabilities() in checkNetworkConnectionAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java100 .clearCapabilities().addTransportType(TRANSPORT_WIFI).build();
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java161 .clearCapabilities() in setupAndGetTestNetwork()
509 final NetworkRequest request = new NetworkRequest.Builder().clearCapabilities().build(); in awaitPrivateDnsSetting()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiNoInternetDialog.java90 final NetworkRequest request = new NetworkRequest.Builder().clearCapabilities().build(); in onCreate()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DWifiBackhaulMonitor.java161 .clearCapabilities() in registerForRttStatusChange()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java452 public Builder clearCapabilities() { in clearCapabilities() method in NetworkRequest.Builder
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java171 .clearCapabilities().build(); in startObserveAllNetworks()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java271 NetworkRequest.Builder builder = new NetworkRequest.Builder().clearCapabilities(); in newUpstreamNetworkRequest()
746 .clearCapabilities() in requestThreadNetwork()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java457 NetworkRequest request = new NetworkRequest.Builder().clearCapabilities().build(); in makeRequest()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java157 b.clearCapabilities(); in getRequestForNetwork()

12