Searched refs:ifaceMap (Results 1 – 4 of 4) sorted by relevance
/system/netd/libnetdbpf/include/netdbpf/ |
D | BpfNetworkStats.h | 69 const BpfMap<uint32_t, IfaceValue>& ifaceMap); 74 int getIfaceNameFromMap(const BpfMap<uint32_t, IfaceValue>& ifaceMap, in getIfaceNameFromMap() argument 77 auto iface = ifaceMap.readValue(ifaceIndex); in getIfaceNameFromMap() 112 const BpfMap<uint32_t, IfaceValue>& ifaceMap);
|
/system/hwservicemanager/ |
D | ServiceManager.cpp | 118 PackageInterfaceMap &ifaceMap = ifaceIt->second; in lookup() local 120 HidlService *hidlService = ifaceMap.lookup(name); in lookup() 435 PackageInterfaceMap &ifaceMap = mServiceMap[fqName]; in addImpl() local 436 HidlService *hidlService = ifaceMap.lookup(name); in addImpl() 439 ifaceMap.insertService( in addImpl() 445 ifaceMap.sendPackageRegistrationNotification(fqName, name); in addImpl() 544 PackageInterfaceMap &ifaceMap = mServiceMap[fqName]; in registerForNotifications() local 552 ifaceMap.addPackageListener(callback); in registerForNotifications() 556 HidlService *service = ifaceMap.lookup(name); in registerForNotifications() 567 ifaceMap.insertService(std::move(adding)); in registerForNotifications() [all …]
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStats.cpp | 136 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDetailInternal() argument 139 [lines, &limitIfaces, &limitTag, &limitUid, &unknownIfaceBytesTotal, &ifaceMap]( in parseBpfNetworkStatsDetailInternal() 143 if (getIfaceNameFromMap(ifaceMap, statsMap, key.ifaceIndex, ifname, key, in parseBpfNetworkStatsDetailInternal() 236 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDevInternal() argument 238 const auto processDetailIfaceStats = [lines, &unknownIfaceBytesTotal, &ifaceMap, &statsMap]( in parseBpfNetworkStatsDevInternal() 242 if (getIfaceNameFromMap(ifaceMap, statsMap, key, ifname, key, &unknownIfaceBytesTotal)) { in parseBpfNetworkStatsDevInternal()
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 195 StatusOr<std::map<std::string, uint32_t>> ifaceMap = InterfaceController::getIfaceList(); in TEST_F() local 196 EXPECT_EQ(ok, ifaceMap.status()); in TEST_F() 201 const auto ifacePair = ifaceMap.value().find(ifa->ifa_name); in TEST_F() 202 EXPECT_NE(ifaceMap.value().end(), ifacePair); in TEST_F()
|