/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCandidates.java | 108 boolean isMetered(); in isMetered() method 198 boolean isMetered, in CandidateImpl() argument 209 this.mIsMetered = isMetered; in CandidateImpl() 270 public boolean isMetered() { in isMetered() method in WifiCandidates.CandidateImpl 361 + (isMetered() ? "metered, " : "") in toString() 490 boolean isMetered, in add() argument 498 isMetered, in add() 530 boolean isMetered, in add() argument 552 isMetered, in add()
|
D | ThroughputScorer.java | 106 int unmeteredAward = candidate.isMetered() in scoreCandidate()
|
D | SavedNetworkNominator.java | 222 if (WifiConfiguration.isMetered(network, null) in isSimBasedNetworkAbleToAutoJoin()
|
D | HostapdHal.java | 407 boolean isMetered, @NonNull Runnable onFailureListener) { in addAccessPoint() argument 455 nwParamsV1_3.isMetered = isMetered; in addAccessPoint()
|
D | WifiNetworkSuggestionsManager.java | 1148 if (!WifiConfiguration.isMetered(wns.wifiConfiguration, null)) { in isValidCarrierMergedNetworkSuggestion() 1873 if (WifiConfiguration.isMetered(config, null) in isPasspointSuggestionSharedWithUser() 2452 boolean isOpenSuggestionMetered = WifiConfiguration.isMetered( in hasSecureSuggestionFromSameCarrierAvailable() 2467 if (WifiConfiguration.isMetered(ewns.wns.wifiConfiguration, null) in hasSecureSuggestionFromSameCarrierAvailable()
|
D | NetworkSuggestionNominator.java | 303 if (WifiConfiguration.isMetered(config, null) in isCarrierNetworkAvailableToAutoConnect()
|
D | WifiNetworkSelector.java | 679 boolean metered = WifiConfiguration.isMetered(config, info); in isEverMetered() 864 WifiConfiguration.isMetered(currentNetwork, cmmState.wifiInfo), in getCandidatesFromScan()
|
D | WifiMetrics.java | 6008 boolean isMetered = detectedAsMetered; 6010 isMetered = true; 6012 isMetered = false; 6014 meteredDetail.isMetered = isMetered; 6031 if (meteredDetail.isMetered) { 6037 if (meteredDetail.isMetered) { 6048 public boolean isMetered;
|
D | ClientModeImpl.java | 1031 boolean isMetered = WifiConfiguration.isMetered(newConfig, mWifiInfo); in onNetworkUpdated() 1032 boolean wasMetered = WifiConfiguration.isMetered(oldConfig, mWifiInfo); in onNetworkUpdated() 1033 if (isMetered == wasMetered) { in onNetworkUpdated() 1043 if (isMetered) { in onNetworkUpdated() 3942 if (!WifiConfiguration.isMetered(currentWifiConfiguration, mWifiInfo)) {
|
D | WifiNative.java | 1940 @NonNull String ifaceName, SoftApConfiguration config, boolean isMetered, 1957 if (!mHostapdHal.addAccessPoint(ifaceName, config, isMetered, listener::onFailure)) {
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | TestNetworkManager.java | 76 boolean isMetered, in setupTestNetwork() argument 80 mService.setupTestNetwork(iface, lp, isMetered, administratorUids, binder); in setupTestNetwork() 97 @NonNull LinkProperties lp, boolean isMetered, @NonNull IBinder binder) { in setupTestNetwork() argument 99 setupTestNetwork(lp.getInterfaceName(), lp, isMetered, new int[0], binder); in setupTestNetwork() local
|
D | ITestNetworkManager.aidl | 35 void setupTestNetwork(in String iface, in LinkProperties lp, in boolean isMetered, in setupTestNetwork() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteCandidate.java | 64 mIsMetered = candidate.isMetered(); in ConcreteCandidate() 172 public ConcreteCandidate setMetered(boolean isMetered) { in setMetered() argument 173 mIsMetered = isMetered; in setMetered() 178 public boolean isMetered() { in isMetered() method in ConcreteCandidate
|
D | HostapdHalTest.java | 1286 boolean isMetered = true; in testAddAccessPointSuccess_WithMeteredSAE() 1310 configurationBuilder.build(), isMetered, in testAddAccessPointSuccess_WithMeteredSAE() 1326 assertTrue(mNetworkParamsV13Captor.getValue().isMetered); in testAddAccessPointSuccess_WithMeteredSAE() 1334 boolean isMetered = false; in testAddAccessPointSuccess_WithNonMeteredSAE() 1358 configurationBuilder.build(), isMetered, in testAddAccessPointSuccess_WithNonMeteredSAE() 1374 assertFalse(mNetworkParamsV13Captor.getValue().isMetered); in testAddAccessPointSuccess_WithNonMeteredSAE() 1480 boolean isMetered = true; in testAddAccessPointSuccess_WithMeteredSAEOn11AXSupportedDevice() 1505 configurationBuilder.build(), isMetered, in testAddAccessPointSuccess_WithMeteredSAEOn11AXSupportedDevice() 1522 assertTrue(mNetworkParamsV13Captor.getValue().isMetered); in testAddAccessPointSuccess_WithMeteredSAEOn11AXSupportedDevice() 1533 boolean isMetered = true; in testAddAccessPointSuccess_WithMeteredSAEOn11AXSupportedDeviceBut11AXDisabled() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 236 boolean isMetered, in registerTestNetworkAgent() argument 254 if (!isMetered) { in registerTestNetworkAgent() 313 boolean isMetered, in setupTestNetwork() argument 340 isMetered, in setupTestNetwork()
|
D | ConnectivityService.java | 1697 final boolean metered = nc == null ? true : nc.isMetered(); in isNetworkWithCapabilitiesBlocked() 5433 final boolean curMetered = nai.networkCapabilities.isMetered(); in handleSetRequireVpnForUids() 7414 final boolean oldMetered = prevNc.isMetered(); in updateCapabilities() 7415 final boolean newMetered = newNc.isMetered(); in updateCapabilities() 8581 final boolean metered = nai.networkCapabilities.isMetered(); in notifyNetworkAvailable() 8650 final boolean metered = nai.networkCapabilities.isMetered(); in maybeNotifyNetworkBlockedForNewState()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | PeriodicProvisioner.java | 93 boolean isMetered = cm.isActiveNetworkMetered(); in run() 95 if (isMetered) { in run() 116 if (!isMetered) { in run()
|
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/ |
D | VpnProfileTest.java | 75 assertFalse(p.isMetered); in testDefaults() 107 p.isMetered = true; in getSampleIkev2Profile()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 687 public @NonNull Builder setIsMetered(boolean isMetered) { in setIsMetered() argument 688 if (isMetered) { in setIsMetered() 1393 public boolean isMetered() { in isMetered() method in WifiNetworkSuggestion
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | Ikev2VpnProfileTest.java | 115 assertTrue(profile.isMetered()); in testBuildValidProfileWithOptions() 278 assertTrue(profile.isMetered); in verifyVpnProfileCommon()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1731 private static NetworkStateSnapshot buildWifiState(boolean isMetered, @NonNull String iface) { 1732 return buildWifiState(isMetered, iface, null); 1735 private static NetworkStateSnapshot buildWifiState(boolean isMetered, @NonNull String iface, 1740 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED, !isMetered);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | AccessPointPreference.java | 190 } else if (mAccessPoint.isMetered()) { in bindFrictionImage()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | Ikev2VpnTest.java | 252 assertFalse(profile.isMetered()); in checkBasicIkev2VpnProfile()
|
D | ConnectivityManagerTest.java | 1145 private void setWifiMeteredStatusAndWait(String ssid, boolean isMetered) throws Exception { in setWifiMeteredStatusAndWait() argument 1146 setWifiMeteredStatus(ssid, Boolean.toString(isMetered) /* metered */); in setWifiMeteredStatusAndWait() 1148 isMetered /* requestedMeteredness */, in setWifiMeteredStatusAndWait() 2337 final boolean oldMeteredValue = wifiNetworkCapabilities.isMetered();
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 691 assertTrue(WifiConfiguration.isMetered(candidates.get(0).second, null)); in evaluateScansWithAntIsChargeablePublic()
|