/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | StatsMapKey.java | 37 public final int ifaceIndex; field in StatsMapKey 40 final int ifaceIndex) { in StatsMapKey() argument 44 this.ifaceIndex = ifaceIndex; in StatsMapKey()
|
D | NetworkStatsService.java | 3232 final String ifName = mInterfaceMapHelper.getIfNameByIndex(key.ifaceIndex); 3233 return key.ifaceIndex + " "
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | BpfNetworkStatsTest.cpp | 110 void populateFakeStats(uid_t uid, uint32_t tag, uint32_t ifaceIndex, uint32_t counterSet, in populateFakeStats() argument 113 .uid = (uint32_t)uid, .tag = tag, .counterSet = counterSet, .ifaceIndex = ifaceIndex}; in populateFakeStats() 117 void updateIfaceMap(const char* ifaceName, uint32_t ifaceIndex) { in updateIfaceMap() argument 120 EXPECT_RESULT_OK(mFakeIfaceIndexNameMap.writeValue(ifaceIndex, iface, BPF_ANY)); in updateIfaceMap() 342 uint32_t ifaceIndex = UNKNOWN_IFACE; in TEST_F() local 343 populateFakeStats(TEST_UID1, 0, ifaceIndex, TEST_COUNTERSET0, value1, mFakeStatsMap); in TEST_F() 356 .ifaceIndex = ifaceIndex, in TEST_F() 359 ASSERT_EQ(false, mFakeIfaceIndexNameMap.readValue(ifaceIndex).ok()); in TEST_F() 360 maybeLogUnknownIface(ifaceIndex, mFakeStatsMap, curKey, &unknownIfaceBytesTotal); in TEST_F() 363 curKey.ifaceIndex = IFACE_INDEX2; in TEST_F() [all …]
|
D | BpfNetworkStats.cpp | 156 Result<IfaceValue> ifname = ifindex2name(key.ifaceIndex); in parseBpfNetworkStatsDetailInternal() 158 maybeLogUnknownIface(key.ifaceIndex, statsMap, key, &unknownIfaceBytesTotal); in parseBpfNetworkStatsDetailInternal()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Utils.cpp | 53 uint32_t ifaceIndex = if_nametoindex(name.c_str()); in getIfaceList() local 54 if (ifaceIndex) { in getIfaceList() 55 ifacePairs.insert(std::pair<std::string, uint32_t>(name, ifaceIndex)); in getIfaceList()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSocketProvider.java | 136 final int ifaceIndex = 138 createSocket(LOCAL_NET, createLPForTetheredInterface(newP2pIface, ifaceIndex)); 430 private void maybeUpdateTetheringSocketAddress(int ifaceIndex, in maybeUpdateTetheringSocketAddress() argument 435 == ifaceIndex) { in maybeUpdateTetheringSocketAddress() 455 int ifaceIndex) { in createLPForTetheredInterface() argument 457 new LinkProperties(mIfaceIdxToLinkProperties.get(ifaceIndex)); in createLPForTetheredInterface() 488 int ifaceIndex = mDependencies.getNetworkInterfaceIndexByName(name, mSharedLog); in handleTetherInterfacesChanged() local 489 createSocket(LOCAL_NET, createLPForTetheredInterface(name, ifaceIndex)); in handleTetherInterfacesChanged() 659 int ifaceIndex = mDependencies.getNetworkInterfaceIndexByName(interfaceName, in retrieveAndNotifySocketFromInterface() local 663 createLPForTetheredInterface(interfaceName, ifaceIndex)); in retrieveAndNotifySocketFromInterface()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/ |
D | BpfNetworkStats.h | 81 void maybeLogUnknownIface(int ifaceIndex, const BpfMapRO<Key, StatsValue>& statsMap, in maybeLogUnknownIface() argument 97 ALOGE("Unknown name for ifindex %d with more than %" PRId64 " bytes of traffic", ifaceIndex, in maybeLogUnknownIface()
|
/packages/modules/Connectivity/netd/ |
D | BpfHandlerTest.cpp | 105 *key = {.uid = uid, .tag = tag, .counterSet = TEST_COUNTERSET, .ifaceIndex = 1}; in populateFakeStats() 131 StatsKey key = {.uid = uid, .tag = 0, .counterSet = TEST_COUNTERSET, .ifaceIndex = 1}; in expectTagSocketReachLimit()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 1209 int ifaceIndex = 0; in getAllChipInfo() local 1220 staIfaces[ifaceIndex++] = ifaceInfo; in getAllChipInfo() 1223 ifaceIndex = 0; in getAllChipInfo() 1239 apIfaces[ifaceIndex++] = ifaceInfo; in getAllChipInfo() 1266 ifaceIndex = 0; in getAllChipInfo() 1282 p2pIfaces[ifaceIndex++] = ifaceInfo; in getAllChipInfo() 1285 ifaceIndex = 0; in getAllChipInfo() 1301 nanIfaces[ifaceIndex++] = ifaceInfo; in getAllChipInfo()
|
/packages/modules/Connectivity/bpf_progs/ |
D | netd.h | 47 uint32_t ifaceIndex; member
|
D | netd.c | 504 StatsKey key = {.uid = uid, .tag = tag, .counterSet = 0, .ifaceIndex = skb->ifindex}; in bpf_traffic_account()
|