Searched refs:metered (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkPolicy.java | 45 public boolean metered; field in NetworkPolicy 52 long warningBytes, long limitBytes, boolean metered) { in NetworkPolicy() argument 54 SNOOZE_NEVER, metered, false); in NetworkPolicy() 59 boolean metered, boolean inferred) { in NetworkPolicy() argument 67 this.metered = metered; in NetworkPolicy() 79 metered = in.readInt() != 0; in NetworkPolicy() 92 dest.writeInt(metered ? 1 : 0); in writeToParcel() 150 lastWarningSnooze, lastLimitSnooze, metered, inferred); in hashCode() 160 && lastLimitSnooze == other.lastLimitSnooze && metered == other.metered in equals() 178 builder.append(", metered=").append(metered); in toString()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 143 byte[] metered = "ANDROID_METERED".getBytes("US-ASCII"); in testDomainName() 145 byte[] meteredEmbeddedNull = metered.clone(); in testDomainName() 148 byte[] meteredTrailingNull = metered.clone(); in testDomainName() 153 assertDomainAndVendorInfoParses("goo.gl", nonNullDomain, "ANDROID_METERED", metered); in testDomainName()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 744 policy.metered = meteredHint; 1208 if (hasLimit || policy.metered) { 1376 final boolean metered; in readPolicyLocked() 1378 metered = readBooleanAttribute(in, ATTR_METERED); in readPolicyLocked() 1384 metered = true; in readPolicyLocked() 1387 metered = false; in readPolicyLocked() 1407 lastLimitSnooze, metered, inferred)); in readPolicyLocked() 1497 writeBooleanAttribute(out, ATTR_METERED, policy.metered); in writePolicyLocked() 1882 return policy.metered; in isNetworkMetered()
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 64 <p>Wi-Fi is typically faster. Also, mobile data is often metered, which can get
|
/frameworks/base/docs/html/about/versions/ |
D | lollipop.jd | 138 …etworks for available features such as whether they are Wi-Fi, cellular, metered, or provide certa…
|
D | android-4.1.jd | 543 check whether the device is currently connected to a metered network. By checking this state
|
D | jelly-bean.jd | 1478 …>connected to a metered network</strong>, including tethering to a mobile hotspot. Apps can query …
|
D | android-4.4.jd | 439 …s the ability to specify that a sync should be dropped if the network is metered, by enabling {@li…
|
D | android-4.0-highlights.jd | 261 <strong>tiered or metered data plans</strong>, Android 4.0 adds new controls for
|
D | android-4.0.jd | 462 the region of the camera’s current view that should be focused or metered. An instance of the {@link
|