Home
last modified time | relevance | path

Searched refs:defaultNetwork (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkStats.java121 private int[] defaultNetwork; field in NetworkStats
150 public int defaultNetwork; field in NetworkStats.Entry
173 int defaultNetwork, long rxBytes, long rxPackets, long txBytes, long txPackets, in Entry() argument
181 this.defaultNetwork = defaultNetwork; in Entry()
215 builder.append(" defaultNetwork=").append(defaultNetworkToString(defaultNetwork)); in toString()
229 && roaming == e.roaming && defaultNetwork == e.defaultNetwork in equals()
239 return Objects.hash(uid, set, tag, metered, roaming, defaultNetwork, iface); in hashCode()
254 this.defaultNetwork = new int[initialSize]; in NetworkStats()
276 defaultNetwork = parcel.createIntArray(); in NetworkStats()
295 dest.writeIntArray(defaultNetwork); in writeToParcel()
[all …]
DNetworkIdentity.java65 boolean metered, boolean defaultNetwork) { in NetworkIdentity() argument
72 mDefaultNetwork = defaultNetwork; in NetworkIdentity()
197 boolean defaultNetwork) { in buildNetworkIdentity() argument
231 defaultNetwork); in buildNetworkIdentity()
DNetworkTemplate.java187 String networkId, int metered, int roaming, int defaultNetwork) { in NetworkTemplate() argument
194 mDefaultNetwork = defaultNetwork; in NetworkTemplate()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java80 final boolean defaultNetwork; in NetworkIdentitySet()
82 defaultNetwork = in.readBoolean(); in NetworkIdentitySet()
84 defaultNetwork = true; in NetworkIdentitySet()
88 defaultNetwork)); in NetworkIdentitySet()
DNetworkStatsCollection.java379 entry.defaultNetwork = key.ident.areAllMembersOnDefaultNetwork() ? in getSummary()
/frameworks/base/core/jni/
Dcom_android_internal_net_NetworkStatsFactory.cpp55 jfieldID defaultNetwork; member
232 ScopedIntArrayRW defaultNetwork(env, get_int_array(env, stats, in statsLinesToNetworkStats() local
233 gNetworkStatsClassInfo.defaultNetwork, size, grow)); in statsLinesToNetworkStats()
234 if (defaultNetwork.get() == NULL) return -1; in statsLinesToNetworkStats()
274 env->SetObjectField(stats, gNetworkStatsClassInfo.defaultNetwork, in statsLinesToNetworkStats()
275 defaultNetwork.getJavaArray()); in statsLinesToNetworkStats()
353 gNetworkStatsClassInfo.defaultNetwork = GetFieldIDOrDie(env, clazz, "defaultNetwork", "[I"); in register_com_android_internal_net_NetworkStatsFactory()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java861 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertContains() argument
863 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains()
865 assertValues(stats, index, iface, uid, set, tag, metered, roaming, defaultNetwork, in assertContains()
870 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument
873 assertValues(entry, iface, uid, set, tag, metered, roaming, defaultNetwork); in assertValues()
879 int roaming, int defaultNetwork) { in assertValues() argument
886 assertEquals(defaultNetwork, entry.defaultNetwork); in assertValues()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1064 int roaming, int defaultNetwork, long rxBytes, long rxPackets, long txBytes, in assertUidTotal() argument
1075 assertValues(stats, IFACE_ALL, uid, set, TAG_NONE, metered, roaming, defaultNetwork, in assertUidTotal()
1165 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument
1190 if (defaultNetwork == DEFAULT_NETWORK_ALL) { in assertValues()
1194 defaultNetworks = new int[] { defaultNetwork }; in assertValues()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java613 mRecycledSummaryEntry.defaultNetwork); in fillBucketFromSummaryEntry()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3762 NetworkAgentInfo defaultNetwork = getDefaultNetwork(); in createVpnInfo() local
3763 if (defaultNetwork != null && defaultNetwork.linkProperties != null) { in createVpnInfo()
5763 NetworkAgentInfo defaultNetwork = getDefaultNetwork(); in getDefaultNetworks() local
5765 if (nai.everConnected && (nai == defaultNetwork || nai.isVPN())) { in getDefaultNetworks()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3500 Landroid/net/NetworkStats;->defaultNetwork:[I