Home
last modified time | relevance | path

Searched refs:isMetered (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java107 public boolean isMetered = true; field in VpnConfig
135 isMetered = other.isMetered; in VpnConfig()
195 out.writeInt(isMetered ? 1 : 0); in writeToParcel()
224 config.isMetered = in.readInt() != 0;
259 .append(", isMetered=").append(isMetered) in toString()
DVpnProfile.java147 public boolean isMetered = false; // 21 field in VpnProfile
212 isMetered = in.readBoolean(); in VpnProfile()
267 out.writeBoolean(isMetered); in writeToParcel()
396 profile.isMetered = Boolean.parseBoolean(values[21]); in decode()
460 builder.append(VALUE_DELIMITER).append(isMetered); in encode()
560 proxy, mAllowedAlgorithms, isBypassable, isMetered, maxMtu, areAuthParamsInline, in hashCode()
593 && isMetered == other.isMetered in equals()
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DNetworkPriorityClassifier.java146 final boolean isMetered = !caps.hasCapability(NET_CAPABILITY_NOT_METERED); in checkMatchesPriorityRule()
147 if (meteredMatch == MATCH_REQUIRED && !isMetered in checkMatchesPriorityRule()
148 || meteredMatch == MATCH_FORBIDDEN && isMetered) { in checkMatchesPriorityRule()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java157 boolean isMetered, in Ikev2VpnProfile() argument
188 mIsMetered = isMetered; in Ikev2VpnProfile()
405 public boolean isMetered() { in isMetered() method in Ikev2VpnProfile
509 profile.isMetered = mIsMetered; in toVpnProfile()
614 builder.setMetered(profile.isMetered); in fromVpnProfile()
1064 public Builder setMetered(boolean isMetered) { in setMetered() argument
1065 mIsMetered = isMetered; in setMetered()
DVpnService.java922 public Builder setMetered(boolean isMetered) { in setMetered() argument
923 mConfig.isMetered = isMetered; in setMetered()
/frameworks/base/services/tests/VpnTests/java/com/android/internal/net/
DVpnProfileTest.java81 assertFalse(p.isMetered); in testDefaults()
120 p.isMetered = true; in getSampleIkev2Profile()
151 p.isMetered = true; in getSampleIkev2ProfileWithIkeTunConnParams()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkRequestEntry.java47 public synchronized boolean isMetered() { in isMetered() method in NetworkRequestEntry
DWifiEntry.java482 public boolean isMetered() { in isMetered() method in WifiEntry
1290 if (isMetered()) { in toString()
DPasspointWifiEntry.java282 public synchronized boolean isMetered() { in isMetered() method in PasspointWifiEntry
DStandardWifiEntry.java274 public synchronized boolean isMetered() { in isMetered() method in StandardWifiEntry
DUtils.java522 return wifiEntry.isMetered() ? context.getString( in getMeteredDescription()
/frameworks/base/services/tests/VpnTests/java/android/net/
DIkev2VpnProfileTest.java110 assertTrue(profile.isMetered()); in testBuildValidProfileWithOptions()
290 assertTrue(profile.isMetered); in verifyVpnProfileCommon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java213 } else if (mAccessPoint.isMetered()) { in bindFrictionImage()
DAccessPoint.java539 builder.append(",metered=").append(isMetered()); in toString()
983 public boolean isMetered() { in isMetered() method in AccessPoint
985 || WifiConfiguration.isMetered(mConfig, mInfo); in isMetered()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java326 assertThat(accessPoint.isMetered()).isTrue();
343 assertThat(accessPoint.isMetered()).isTrue();
359 assertThat(ap.isMetered()).isTrue();
375 assertThat(accessPoint.isMetered()).isFalse();
DWifiTrackerTest.java633 assertFalse(ap.isMetered()); in scoreCacheUpdateMeteredShouldUpdateAccessPointMetering()
635 assertTrue(ap.isMetered()); in scoreCacheUpdateMeteredShouldUpdateAccessPointMetering()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1613 if (mIsPackageTargetingAtLeastQ && mConfig.isMetered) { in agentConnect()
4184 config.isMetered = true; in startVpnProfilePrivileged()
4187 config.isMetered = profile.isMetered; in startVpnProfilePrivileged()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt28722 method public boolean isMetered();