Searched refs:NetworkIdentity (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 19 import android.net.NetworkIdentity; 36 public class NetworkIdentitySet extends HashSet<NetworkIdentity> implements 79 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered)); in NetworkIdentitySet() 86 for (NetworkIdentity ident : this) { in writeToStream() 101 for (NetworkIdentity ident : this) { in isAnyMemberMetered() 114 for (NetworkIdentity ident : this) { in isAnyMemberRoaming() 144 final NetworkIdentity ident = iterator().next(); in compareTo() 145 final NetworkIdentity anotherIdent = another.iterator().next(); in compareTo() 152 for (NetworkIdentity ident : this) { in writeToProto()
|
D | NetworkPolicyManagerService.java | 129 import android.net.NetworkIdentity; 1118 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in isTemplateRelevant() 1324 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in maybeUpdateMobilePolicyCycleNL() 1358 + NetworkIdentity.scrubSubscriberId(subscriberId) in maybeUpdateMobilePolicyCycleNL() 1561 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, 1589 final ArrayList<Pair<String, NetworkIdentity>> connIdents = new ArrayList<>(states.length); 1593 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); 1620 final Pair<String, NetworkIdentity> ident = connIdents.get(j); 1751 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in ensureActiveMobilePolicyAL() 1758 + NetworkIdentity.scrubSubscriberId(subscriberId)); in ensureActiveMobilePolicyAL() [all …]
|
D | NetworkStatsService.java | 84 import android.net.NetworkIdentity; 980 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in updateIfacesLocked() 998 NetworkIdentity vtIdent = new NetworkIdentity(ident.getType(), in updateIfacesLocked()
|
D | NetworkStatsCollection.java | 31 import android.net.NetworkIdentity; 637 for (NetworkIdentity ident : identSet) { in templateMatches()
|
/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 26 import static android.net.NetworkIdentity.COMBINE_SUBTYPE_ENABLED; 211 NetworkIdentity.scrubSubscriberId(mSubscriberId)); in toString() 215 Arrays.toString(NetworkIdentity.scrubSubscriberId(mMatchSubscriberIds))); in toString() 276 public boolean matches(NetworkIdentity ident) { in matches() 304 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile() 319 private boolean matchesMobile3gLower(NetworkIdentity ident) { in matchesMobile3gLower() 338 private boolean matchesMobile4g(NetworkIdentity ident) { in matchesMobile4g() 355 private boolean matchesWifi(NetworkIdentity ident) { in matchesWifi() 368 private boolean matchesEthernet(NetworkIdentity ident) { in matchesEthernet() 375 private boolean matchesMobileWildcard(NetworkIdentity ident) { in matchesMobileWildcard() [all …]
|
D | NetworkIdentity.java | 40 public class NetworkIdentity implements Comparable<NetworkIdentity> { class 62 public NetworkIdentity( in NetworkIdentity() method in NetworkIdentity 80 if (obj instanceof NetworkIdentity) { in equals() 81 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() 177 res[i] = NetworkIdentity.scrubSubscriberId(subscriberId[i]); in scrubSubscriberId() 186 public static NetworkIdentity buildNetworkIdentity(Context context, NetworkState state) { in buildNetworkIdentity() 219 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered); in buildNetworkIdentity() 223 public int compareTo(NetworkIdentity another) { in compareTo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 38 import android.net.NetworkIdentity; 228 identSet.add(new NetworkIdentity( in testUpdateStats_initialSample_doesNotNotify() 258 identSet.add(new NetworkIdentity( in testUpdateStats_belowThreshold_doesNotNotify() 295 identSet.add(new NetworkIdentity( in testUpdateStats_deviceAccess_notifies() 332 identSet.add(new NetworkIdentity( in testUpdateStats_defaultAccess_notifiesSameUid() 370 identSet.add(new NetworkIdentity( in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 408 identSet.add(new NetworkIdentity( in testUpdateStats_userAccess_usageSameUser_notifies() 446 identSet.add(new NetworkIdentity( in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
|
D | NetworkStatsCollectionTest.java | 28 import android.net.NetworkIdentity; 164 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, in testAccessLevels()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 27 import android.net.NetworkIdentity; 424 + NetworkIdentity.scrubSubscriberId(subscriberId) + "'."); in createTemplate()
|
/frameworks/base/core/proto/android/service/ |
D | netstats.proto | 55 // Corresponds to NetworkIdentity.
|
/frameworks/base/services/ |
D | profile-classes | 1775 Landroid/net/NetworkIdentity;
|
/frameworks/base/ |
D | compiled-classes-phone | 2864 android.net.NetworkIdentity
|