/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 134 private int[] defaultNetwork; field in NetworkStats 172 public int defaultNetwork; field in NetworkStats.Entry 200 int defaultNetwork, long rxBytes, long rxPackets, long txBytes, long txPackets, in Entry() argument 208 this.defaultNetwork = defaultNetwork; in Entry() 242 builder.append(" defaultNetwork=").append(defaultNetworkToString(defaultNetwork)); in toString() 256 && roaming == e.roaming && defaultNetwork == e.defaultNetwork in equals() 266 return Objects.hash(uid, set, tag, metered, roaming, defaultNetwork, iface); in hashCode() 282 this.defaultNetwork = new int[initialSize]; in NetworkStats() 305 defaultNetwork = parcel.createIntArray(); in NetworkStats() 324 dest.writeIntArray(defaultNetwork); in writeToParcel() [all …]
|
D | NetworkIdentity.java | 65 boolean metered, boolean defaultNetwork) { in NetworkIdentity() argument 72 mDefaultNetwork = defaultNetwork; in NetworkIdentity() 197 boolean defaultNetwork) { in buildNetworkIdentity() argument 231 defaultNetwork); in buildNetworkIdentity()
|
D | NetworkTemplate.java | 207 String networkId, int metered, int roaming, int defaultNetwork) { in NetworkTemplate() argument 214 mDefaultNetwork = defaultNetwork; in NetworkTemplate()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 80 final boolean defaultNetwork; in NetworkIdentitySet() 82 defaultNetwork = in.readBoolean(); in NetworkIdentitySet() 84 defaultNetwork = true; in NetworkIdentitySet() 88 defaultNetwork)); in NetworkIdentitySet()
|
D | NetworkStatsCollection.java | 379 entry.defaultNetwork = key.ident.areAllMembersOnDefaultNetwork() ? in getSummary()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsFactory.cpp | 54 jfieldID defaultNetwork; member 231 ScopedIntArrayRW defaultNetwork(env, get_int_array(env, stats, in statsLinesToNetworkStats() local 232 gNetworkStatsClassInfo.defaultNetwork, size, grow)); in statsLinesToNetworkStats() 233 if (defaultNetwork.get() == NULL) return -1; in statsLinesToNetworkStats() 273 env->SetObjectField(stats, gNetworkStatsClassInfo.defaultNetwork, in statsLinesToNetworkStats() 274 defaultNetwork.getJavaArray()); in statsLinesToNetworkStats() 351 gNetworkStatsClassInfo.defaultNetwork = env->GetFieldID(clazz, "defaultNetwork", "[I"); in register_android_server_net_NetworkStatsFactory()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 562 public TestNetworkAgent defaultNetwork = null; field in UpstreamNetworkMonitorTest.TestConnectivityManager 613 if (Objects.equals(defaultNetwork, agent)) return; in makeDefaultNetwork() 615 final TestNetworkAgent formerDefault = defaultNetwork; in makeDefaultNetwork() 616 defaultNetwork = agent; in makeDefaultNetwork() 619 if (defaultNetwork != null) { in makeDefaultNetwork() 620 cb.onAvailable(defaultNetwork.networkId); in makeDefaultNetwork() 622 defaultNetwork.networkId, defaultNetwork.networkCapabilities); in makeDefaultNetwork() 624 defaultNetwork.networkId, defaultNetwork.linkProperties); in makeDefaultNetwork()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 929 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertContains() argument 931 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains() 933 assertValues(stats, index, iface, uid, set, tag, metered, roaming, defaultNetwork, in assertContains() 938 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument 941 assertValues(entry, iface, uid, set, tag, metered, roaming, defaultNetwork); in assertValues() 947 int roaming, int defaultNetwork) { in assertValues() argument 954 assertEquals(defaultNetwork, entry.defaultNetwork); in assertValues()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1169 int roaming, int defaultNetwork, long rxBytes, long rxPackets, long txBytes, in assertUidTotal() argument 1180 assertValues(stats, IFACE_ALL, uid, set, TAG_NONE, metered, roaming, defaultNetwork, in assertUidTotal() 1268 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument 1293 if (defaultNetwork == DEFAULT_NETWORK_ALL) { in assertValues() 1297 defaultNetworks = new int[] { defaultNetwork }; in assertValues()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 613 mRecycledSummaryEntry.defaultNetwork); in fillBucketFromSummaryEntry()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 4404 NetworkAgentInfo defaultNetwork = getDefaultNetwork(); in createVpnInfo() local 4405 if (defaultNetwork != null && defaultNetwork.linkProperties != null) { in createVpnInfo() 4447 Network defaultNetwork = getNetwork(getDefaultNetwork()); in updateAllVpnsCapabilities() local 4451 NetworkCapabilities nc = vpn.updateCapabilities(defaultNetwork); in updateAllVpnsCapabilities() 4806 Network defaultNetwork = getNetwork(getDefaultNetwork()); in onUserAdded() local 4812 NetworkCapabilities nc = vpn.updateCapabilities(defaultNetwork); in onUserAdded() 4820 Network defaultNetwork = getNetwork(getDefaultNetwork()); in onUserRemoved() local 4826 NetworkCapabilities nc = vpn.updateCapabilities(defaultNetwork); in onUserRemoved() 6784 NetworkAgentInfo defaultNetwork = getDefaultNetwork(); in getDefaultNetworks() local 6786 if (nai.everConnected && (nai == defaultNetwork || nai.isVPN())) { in getDefaultNetworks()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 280 @Nullable Network defaultNetwork) { in updateCapabilities() 287 if (underlyingNetworks == null && defaultNetwork != null) { in updateCapabilities() 289 underlyingNetworks = new Network[] { defaultNetwork }; in updateCapabilities()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1052 public NetworkCapabilities updateCapabilities(Network defaultNetwork) { in updateCapabilities() argument 1054 super.updateCapabilities(defaultNetwork); in updateCapabilities()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47922 Landroid/net/NetworkStats$Entry;->defaultNetwork:I
|