Home
last modified time | relevance | path

Searched refs:NetworkIdentity (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkTemplate.java23 import static android.net.NetworkIdentity.COMBINE_SUBTYPE_ENABLED;
24 import static android.net.NetworkIdentity.scrubSubscriberId;
208 public boolean matches(NetworkIdentity ident) { in matches()
232 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile()
245 private boolean matchesMobile3gLower(NetworkIdentity ident) { in matchesMobile3gLower()
263 private boolean matchesMobile4g(NetworkIdentity ident) { in matchesMobile4g()
280 private boolean matchesWifi(NetworkIdentity ident) { in matchesWifi()
293 private boolean matchesEthernet(NetworkIdentity ident) { in matchesEthernet()
300 private boolean matchesMobileWildcard(NetworkIdentity ident) { in matchesMobileWildcard()
308 private boolean matchesWifiWildcard(NetworkIdentity ident) { in matchesWifiWildcard()
DNetworkIdentity.java37 public class NetworkIdentity { class
52 public NetworkIdentity( in NetworkIdentity() method in NetworkIdentity
68 if (obj instanceof NetworkIdentity) { in equals()
69 final NetworkIdentity ident = (NetworkIdentity) obj; in equals()
139 public static NetworkIdentity buildNetworkIdentity(Context context, NetworkState state) { in buildNetworkIdentity()
171 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming); in buildNetworkIdentity()
/frameworks/base/services/java/com/android/server/net/
DNetworkIdentitySet.java19 import android.net.NetworkIdentity;
32 public class NetworkIdentitySet extends HashSet<NetworkIdentity> {
63 add(new NetworkIdentity(type, subType, subscriberId, networkId, false)); in NetworkIdentitySet()
70 for (NetworkIdentity ident : this) { in writeToStream()
DNetworkPolicyManagerService.java97 import android.net.NetworkIdentity;
983 final HashMap<NetworkIdentity, String> networks = Maps.newHashMap();
988 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state);
1000 for (Map.Entry<NetworkIdentity, String> entry : networks.entrySet()) {
1001 final NetworkIdentity ident = entry.getKey();
1106 final NetworkIdentity probeIdent = new NetworkIdentity( in ensureActiveMobilePolicyLocked()
1536 private NetworkPolicy findPolicyForNetworkLocked(NetworkIdentity ident) { in findPolicyForNetworkLocked()
1560 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in getNetworkQuotaInfoUnchecked()
1590 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in isNetworkMetered()
DNetworkStatsCollection.java26 import android.net.NetworkIdentity;
490 for (NetworkIdentity ident : identSet) { in templateMatches()
DNetworkStatsService.java31 import static android.net.NetworkIdentity.COMBINE_SUBTYPE_ENABLED;
87 import android.net.NetworkIdentity;
900 ident.add(NetworkIdentity.buildNetworkIdentity(mContext, state)); in updateIfacesLocked()