Home
last modified time | relevance | path

Searched refs:setMetered (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java386 assertThat(evaluate(mCandidate1.setScanRssi(-77).setEphemeral(false).setMetered(false)), in testPreferMeteredSavedOverUnmeteredSuggestion()
389 .setMetered(true) in testPreferMeteredSavedOverUnmeteredSuggestion()
399 assertThat(evaluate(mCandidate1.setScanRssi(-77).setEphemeral(true).setMetered(true)), in testPreferTrustedOverUntrusted()
434 .setMetered(true) in testPreferNotOemPaidMeteredOverOemPaid()
469 .setMetered(true) in testPreferNotOemPrivateMeteredOverOemPrivate()
502 .setMetered(true) in testPreferCarrierUntrustedOverOtherUntrusted()
DConcreteCandidate.java189 public ConcreteCandidate setMetered(boolean isMetered) { in setMetered() method in ConcreteCandidate
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/
DDhcpServingParamsParcelExtTest.java104 mParcel.setMetered(true); in testSetMetered()
106 mParcel.setMetered(false); in testSetMetered()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java160 .setMetered(parcel.metered) in fromParcelableObject()
339 public Builder setMetered(boolean metered) { in setMetered() method in DhcpServingParams.Builder
/packages/modules/Connectivity/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java160 public DhcpServingParamsParcelExt setMetered(boolean metered) { in setMetered() method in DhcpServingParamsParcelExt
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java404 setMetered(!snapshot.getNetworkCapabilities().hasCapability( in setNetworkStateSnapshot()
534 public Builder setMetered(boolean metered) { in setMetered() method in NetworkIdentity.Builder
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h94 constexpr Builder& setMetered(const bool metered) { in setMetered() function
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java178 builder.setMetered(isAlwaysMetered); in start()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java253 .setMetered(false); in buildIkev2VpnProfileCommon()
284 .setMetered(false); in buildIkev2VpnProfileIkeTunConnParams()
DNetworkStatsManagerTest.java131 public void setMetered(boolean metered) { in setMetered() method in NetworkStatsManagerTest.NetworkInterfaceToTest
392 mNetworkInterfacesToTest[networkTypeIndex].setMetered(callback.metered); in shouldTestThisNetworkType()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java79 .setMetered(TEST_METERED) in setUp()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-current.txt91 method @NonNull public android.net.NetworkIdentity.Builder setMetered(boolean);
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp469 const auto resolverParams = ResolverParams::Builder().setMetered(GetParam()).build(); in TEST_P()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java596 .setMetered(true) in makeServingParams()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java2408 .setRoaming(ident.isRoaming()).setMetered(true)