Searched refs:setMetered (Results 1 – 10 of 10) sorted by relevance
291 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()
149 public ConcreteCandidate setMetered(boolean isMetered) { in setMetered() method in ConcreteCandidate
104 mParcel.setMetered(true); in testSetMetered()106 mParcel.setMetered(false); in testSetMetered()
160 public DhcpServingParamsParcelExt setMetered(boolean metered) { in setMetered() method in DhcpServingParamsParcelExt
116 .setMetered(true) in getPlatformVpnProfile()
92 builder.setMetered(true); in getBuilderWithDefaultOptions()
467 builder.setMetered(profile.isMetered); in fromVpnProfile()838 public Builder setMetered(boolean isMetered) { in setMetered() method in Ikev2VpnProfile.Builder
843 public Builder setMetered(boolean isMetered) { in setMetered() method in VpnService.Builder
526 .setMetered(true) in makeServingParams()
30024 method @NonNull public android.net.Ikev2VpnProfile.Builder setMetered(boolean);30697 method @NonNull public android.net.VpnService.Builder setMetered(boolean);