Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java19 import android.net.NetworkIdentity;
36 public class NetworkIdentitySet extends HashSet<NetworkIdentity> implements
87 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered, in NetworkIdentitySet()
95 for (NetworkIdentity ident : this) { in writeToStream()
111 for (NetworkIdentity ident : this) { in isAnyMemberMetered()
124 for (NetworkIdentity ident : this) { in isAnyMemberRoaming()
138 for (NetworkIdentity ident : this) { in areAllMembersOnDefaultNetwork()
168 final NetworkIdentity ident = iterator().next(); in compareTo()
169 final NetworkIdentity anotherIdent = another.iterator().next(); in compareTo()
176 for (NetworkIdentity ident : this) { in dumpDebug()
DNetworkPolicyManagerService.java154 import android.net.NetworkIdentity;
1313 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in findRelevantSubIdNL()
1544 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in maybeUpdateMobilePolicyCycleAL()
1772 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE,
1873 final ArrayMap<NetworkState, NetworkIdentity> identified = new ArrayMap<>();
1882 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state,
2069 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in ensureActiveMobilePolicyAL()
2076 + NetworkIdentity.scrubSubscriberId(subscriberId)); in ensureActiveMobilePolicyAL()
2082 Slog.i(TAG, "No policy for subscriber " + NetworkIdentity.scrubSubscriberId(subscriberId) in ensureActiveMobilePolicyAL()
3479 fout.println(subId + "=" + NetworkIdentity.scrubSubscriberId(subscriberId)); in dump()
[all …]
DNetworkStatsService.java29 import static android.net.NetworkIdentity.SUBTYPE_COMBINED;
97 import android.net.NetworkIdentity;
1281 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state, in updateIfacesLocked()
1300 NetworkIdentity vtIdent = new NetworkIdentity(ident.getType(), in updateIfacesLocked()
DNetworkStatsCollection.java35 import android.net.NetworkIdentity;
767 for (NetworkIdentity ident : identSet) { in templateMatches()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java40 public class NetworkIdentity implements Comparable<NetworkIdentity> { class
53 public NetworkIdentity( in NetworkIdentity() method in NetworkIdentity
73 if (obj instanceof NetworkIdentity) { in equals()
74 final NetworkIdentity ident = (NetworkIdentity) obj; in equals()
175 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()
224 public int compareTo(NetworkIdentity another) { in compareTo()
DNetworkTemplate.java298 NetworkIdentity.scrubSubscriberId(mSubscriberId)); in toString()
302 Arrays.toString(NetworkIdentity.scrubSubscriberId(mMatchSubscriberIds))); in toString()
381 public boolean matches(NetworkIdentity ident) { in matches()
408 private boolean matchesMetered(NetworkIdentity ident) { in matchesMetered()
414 private boolean matchesRoaming(NetworkIdentity ident) { in matchesRoaming()
420 private boolean matchesDefaultNetwork(NetworkIdentity ident) { in matchesDefaultNetwork()
426 private boolean matchesCollapsedRatType(NetworkIdentity ident) { in matchesCollapsedRatType()
438 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile()
524 private boolean matchesWifi(NetworkIdentity ident) { in matchesWifi()
537 private boolean matchesEthernet(NetworkIdentity ident) { in matchesEthernet()
[all …]
/frameworks/base/tests/net/java/android/net/
DNetworkTemplateTest.kt22 import android.net.NetworkIdentity.SUBTYPE_COMBINED
23 import android.net.NetworkIdentity.buildNetworkIdentity
74 private fun NetworkTemplate.assertMatches(ident: NetworkIdentity) = in NetworkTemplate()
77 private fun NetworkTemplate.assertDoesNotMatch(ident: NetworkIdentity) = in NetworkTemplate()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java47 import android.net.NetworkIdentity;
264 private NetworkIdentity getTemplateMatchingNetworkIdentity(NetworkCapabilities nc) { in getTemplateMatchingNetworkIdentity()
265 return new NetworkIdentity( in getTemplateMatchingNetworkIdentity()
292 final NetworkIdentity identity = getTemplateMatchingNetworkIdentity( in getUserPolicyOpportunisticQuotaBytes()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java31 import android.net.NetworkIdentity;
630 + NetworkIdentity.scrubSubscriberId(subscriberId) + "'."); in createTemplate()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java39 import android.net.NetworkIdentity;
215 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, in testAccessLevels()
470 ident.add(new NetworkIdentity(ConnectivityManager.TYPE_MOBILE, -1, TEST_IMSI, null, in testAugmentPlanGigantic()
DNetworkStatsObserversTest.java38 import android.net.NetworkIdentity;
220 identSet.add(new NetworkIdentity( in makeTestIdentSet()
/frameworks/base/core/proto/android/service/
Dnetstats.proto63 // Corresponds to NetworkIdentity.
/frameworks/base/config/
Dboot-image-profile.txt14201 HSPLandroid/net/NetworkIdentity;-><init>(IILjava/lang/String;Ljava/lang/String;ZZZ)V
14202 HSPLandroid/net/NetworkIdentity;->equals(Ljava/lang/Object;)Z
14203 HPLandroid/net/NetworkIdentity;->getDefaultNetwork()Z
14204 HPLandroid/net/NetworkIdentity;->getMetered()Z
14205 HPLandroid/net/NetworkIdentity;->getNetworkId()Ljava/lang/String;
14206 HPLandroid/net/NetworkIdentity;->getRoaming()Z
14207 HPLandroid/net/NetworkIdentity;->getSubType()I
14208 HPLandroid/net/NetworkIdentity;->getSubscriberId()Ljava/lang/String;
14209 HPLandroid/net/NetworkIdentity;->getType()I
14210 HSPLandroid/net/NetworkIdentity;->hashCode()I
[all …]
Dpreloaded-classes4250 android.net.NetworkIdentity
/frameworks/base/services/
Dart-profile12637 …>getTemplateMatchingNetworkIdentity(Landroid/net/NetworkCapabilities;)Landroid/net/NetworkIdentity;