Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkIdentitySet.java19 import android.net.NetworkIdentity;
36 public class NetworkIdentitySet extends HashSet<NetworkIdentity> implements
92 oemNetCapabilities = NetworkIdentity.OEM_NONE; in NetworkIdentitySet()
95 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered, in NetworkIdentitySet()
103 for (NetworkIdentity ident : this) { in writeToStream()
120 for (NetworkIdentity ident : this) { in isAnyMemberMetered()
133 for (NetworkIdentity ident : this) { in isAnyMemberRoaming()
147 for (NetworkIdentity ident : this) { in areAllMembersOnDefaultNetwork()
177 final NetworkIdentity ident = iterator().next(); in compareTo()
178 final NetworkIdentity anotherIdent = another.iterator().next(); in compareTo()
[all …]
H A DNetworkStatsService.java27 import static android.net.NetworkIdentity.SUBTYPE_COMBINED;
98 import android.net.NetworkIdentity;
1312 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, snapshot,
1331 NetworkIdentity vtIdent = new NetworkIdentity(ident.getType(),
H A DNetworkPolicyManagerService.java66 import static android.net.NetworkIdentity.OEM_NONE;
189 import android.net.NetworkIdentity;
1462 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in findRelevantSubIdNL()
1701 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE, in maybeUpdateCarrierPolicyCycleAL()
1932 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE,
2034 final ArrayMap<NetworkStateSnapshot, NetworkIdentity> identified = new ArrayMap<>();
2041 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, snapshot,
2239 final NetworkIdentity probeIdent = new NetworkIdentity(TYPE_MOBILE,
H A DNetworkStatsCollection.java36 import android.net.NetworkIdentity;
758 for (NetworkIdentity ident : identSet) { in templateMatches()
/aosp12/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java39 public class NetworkIdentity implements Comparable<NetworkIdentity> { class
69 public NetworkIdentity( in NetworkIdentity() method in NetworkIdentity
90 if (obj instanceof NetworkIdentity) { in equals()
91 final NetworkIdentity ident = (NetworkIdentity) obj; in equals()
187 public static NetworkIdentity buildNetworkIdentity(Context context, in buildNetworkIdentity()
209 return new NetworkIdentity(legacyType, subType, subscriberId, networkId, roaming, metered, in buildNetworkIdentity()
231 public int compareTo(NetworkIdentity another) { in compareTo()
H A DNetworkTemplate.java26 import static android.net.NetworkIdentity.OEM_NONE;
511 public boolean matches(NetworkIdentity ident) { in matches()
541 private boolean matchesMetered(NetworkIdentity ident) { in matchesMetered()
547 private boolean matchesRoaming(NetworkIdentity ident) { in matchesRoaming()
559 private boolean matchesOemNetwork(NetworkIdentity ident) { in matchesOemNetwork()
593 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile()
679 private boolean matchesWifi(NetworkIdentity ident) { in matchesWifi()
692 private boolean matchesEthernet(NetworkIdentity ident) { in matchesEthernet()
702 private boolean matchesCarrier(NetworkIdentity ident) { in matchesCarrier()
729 private boolean matchesBluetooth(NetworkIdentity ident) { in matchesBluetooth()
[all …]
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DNetworkIdentityTest.kt19 import android.net.NetworkIdentity.OEM_NONE
20 import android.net.NetworkIdentity.OEM_PAID
21 import android.net.NetworkIdentity.OEM_PRIVATE
22 import android.net.NetworkIdentity.getOemBitfield
H A DNetworkTemplateTest.kt22 import android.net.NetworkIdentity.OEM_NONE
23 import android.net.NetworkIdentity.OEM_PAID
24 import android.net.NetworkIdentity.OEM_PRIVATE
25 import android.net.NetworkIdentity.SUBTYPE_COMBINED
26 import android.net.NetworkIdentity.buildNetworkIdentity
101 private fun NetworkTemplate.assertMatches(ident: NetworkIdentity) =
104 private fun NetworkTemplate.assertDoesNotMatch(ident: NetworkIdentity) =
/aosp12/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
H A DMetricDisplay.java33 import android.net.NetworkIdentity;
205 sendMessage(NetworkIdentity.OEM_PAID, combinedTrafficFor(NetworkIdentity.OEM_PAID)); in updateStats()
206 sendMessage(NetworkIdentity.OEM_PRIVATE, combinedTrafficFor(NetworkIdentity.OEM_PRIVATE)); in updateStats()
/aosp12/packages/modules/Connectivity/Tethering/apex/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt744 Landroid/net/NetworkIdentity;->compareTo(Landroid/net/NetworkIdentity;)I
746 Landroid/net/NetworkIdentity;->getMetered()Z
748 Landroid/net/NetworkIdentity;->getRoaming()Z
750 Landroid/net/NetworkIdentity;->getSubType()I
751 Landroid/net/NetworkIdentity;->getType()I
752 Landroid/net/NetworkIdentity;->mDefaultNetwork:Z
753 Landroid/net/NetworkIdentity;->mMetered:Z
755 Landroid/net/NetworkIdentity;->mRoaming:Z
757 Landroid/net/NetworkIdentity;->mSubType:I
758 Landroid/net/NetworkIdentity;->mType:I
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMultipathPolicyTracker.java49 import android.net.NetworkIdentity;
272 private NetworkIdentity getTemplateMatchingNetworkIdentity(NetworkCapabilities nc) { in getTemplateMatchingNetworkIdentity()
273 return new NetworkIdentity( in getTemplateMatchingNetworkIdentity()
301 final NetworkIdentity identity = getTemplateMatchingNetworkIdentity( in getUserPolicyOpportunisticQuotaBytes()
/aosp12/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
H A DManagerFragment.java29 import android.net.NetworkIdentity;
179 case NetworkIdentity.OEM_PAID: in updateMetricIndicatorByType()
183 case NetworkIdentity.OEM_PRIVATE: in updateMetricIndicatorByType()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
H A DNetworkStatsObserversTest.java20 import static android.net.NetworkIdentity.OEM_NONE;
39 import android.net.NetworkIdentity;
224 identSet.add(new NetworkIdentity( in makeTestIdentSet()
H A DNetworkStatsCollectionTest.java20 import static android.net.NetworkIdentity.OEM_NONE;
41 import android.net.NetworkIdentity;
216 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, in testAccessLevels()
471 ident.add(new NetworkIdentity(ConnectivityManager.TYPE_MOBILE, -1, TEST_IMSI, null, in testAugmentPlanGigantic()
H A DNetworkStatsServiceTest.java27 import static android.net.NetworkIdentity.OEM_PAID;
28 import static android.net.NetworkIdentity.OEM_PRIVATE;
/aosp12/frameworks/base/core/proto/android/service/
H A Dnetstats.proto63 // Corresponds to NetworkIdentity.
/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java28 import static android.net.NetworkIdentity.OEM_PAID;
29 import static android.net.NetworkIdentity.OEM_PRIVATE;
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes5060 android.net.NetworkIdentity
H A Dboot-image-profile.txt28327 Landroid/net/NetworkIdentity;
/aosp12/frameworks/base/services/
H A Dart-profile15268 …tchingNetworkIdentity(Landroid/net/NetworkCapabilities;)Landroid/net/NetworkIdentity;+]Landroid/ne…
25265 …ySet;->areAllMembersOnDefaultNetwork()Z+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25266 …ndroid/server/net/NetworkIdentitySet;)I+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25267 …ndroid/util/proto/ProtoOutputStream;J)V+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25268 …workIdentitySet;->isAnyMemberMetered()Z+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25269 …workIdentitySet;->isAnyMemberRoaming()Z+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25272 …;->writeToStream(Ljava/io/DataOutput;)V+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
25844 …k;[Landroid/net/NetworkStateSnapshot;)V+]Landroid/net/NetworkIdentity;Landroid/net/NetworkIdentity
/aosp12/frameworks/base/config/
H A Dpreloaded-classes5058 android.net.NetworkIdentity
H A Dboot-image-profile.txt37964 Landroid/net/NetworkIdentity;
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto6399 // {@link NetworkTemplate#OEM_MANAGED_ANY} and {@code NetworkIdentity#OEM_*}.