Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java291 assertThat(evaluate(mCandidate1.setScanRssi(-77).setEphemeral(false).setMetered(false)), in testPreferMeteredSavedOverUnmeteredSuggestion()
294 .setMetered(true) in testPreferMeteredSavedOverUnmeteredSuggestion()
304 assertThat(evaluate(mCandidate1.setScanRssi(-77).setEphemeral(true).setMetered(true)), in testPreferTrustedOverUntrusted()
320 .setMetered(true) in testPreferCarrierUntrustedOverOtherUntrusted()
DConcreteCandidate.java149 public ConcreteCandidate setMetered(boolean isMetered) { in setMetered() method in ConcreteCandidate
/frameworks/base/packages/Tethering/tests/unit/src/android/net/dhcp/
DDhcpServingParamsParcelExtTest.java104 mParcel.setMetered(true); in testSetMetered()
106 mParcel.setMetered(false); in testSetMetered()
/frameworks/base/packages/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java160 public DhcpServingParamsParcelExt setMetered(boolean metered) { in setMetered() method in DhcpServingParamsParcelExt
/frameworks/base/tests/net/java/android/net/
DVpnManagerTest.java116 .setMetered(true) in getPlatformVpnProfile()
DIkev2VpnProfileTest.java92 builder.setMetered(true); in getBuilderWithDefaultOptions()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java467 builder.setMetered(profile.isMetered); in fromVpnProfile()
838 public Builder setMetered(boolean isMetered) { in setMetered() method in Ikev2VpnProfile.Builder
DVpnService.java843 public Builder setMetered(boolean isMetered) { in setMetered() method in VpnService.Builder
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java526 .setMetered(true) in makeServingParams()
/frameworks/base/api/
Dcurrent.txt30024 method @NonNull public android.net.Ikev2VpnProfile.Builder setMetered(boolean);
30697 method @NonNull public android.net.VpnService.Builder setMetered(boolean);