Searched refs:inferred (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkPolicy.java46 public boolean inferred; field in class:NetworkPolicy
59 boolean metered, boolean inferred) {
68 this.inferred = inferred;
80 inferred = in.readInt() != 0;
93 dest.writeInt(inferred ? 1 : 0);
150 lastWarningSnooze, lastLimitSnooze, metered, inferred);
161 && inferred == other.inferred
179 builder.append(", inferred
57 NetworkPolicy(NetworkTemplate template, int cycleDay, String cycleTimezone, long warningBytes, long limitBytes, long lastWarningSnooze, long lastLimitSnooze, boolean metered, boolean inferred) argument
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkPolicyManagerService.java210 private static final String ATTR_INFERRED = "inferred";
590 // metered: create an inferred policy.
596 } else if (policy != null && policy.inferred) {
597 // policy exists, and was inferred: update its current
601 // since this is inferred for each wifi session, just update
1216 final boolean inferred;
1218 inferred = readBooleanAttribute(in, ATTR_INFERRED);
1220 inferred = false;
1227 lastLimitSnooze, metered, inferred));
1317 writeBooleanAttribute(out, ATTR_INFERRED, policy.inferred);
[all...]

Completed in 64 milliseconds