Home
last modified time | relevance | path

Searched refs:ifaceMap (Results 1 – 4 of 4) sorted by relevance

/system/hwservicemanager/
DServiceManager.cpp118 PackageInterfaceMap &ifaceMap = ifaceIt->second; in lookup() local
120 HidlService *hidlService = ifaceMap.lookup(name); in lookup()
378 PackageInterfaceMap &ifaceMap = mServiceMap[fqName]; in addImpl() local
379 HidlService *hidlService = ifaceMap.lookup(name); in addImpl()
382 ifaceMap.insertService( in addImpl()
388 ifaceMap.sendPackageRegistrationNotification(fqName, name); in addImpl()
487 PackageInterfaceMap &ifaceMap = mServiceMap[fqName]; in registerForNotifications() local
495 ifaceMap.addPackageListener(callback); in registerForNotifications()
499 HidlService *service = ifaceMap.lookup(name); in registerForNotifications()
510 ifaceMap.insertService(std::move(adding)); in registerForNotifications()
[all …]
/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h68 const BpfMap<uint32_t, IfaceValue>& ifaceMap);
73 int getIfaceNameFromMap(const BpfMap<uint32_t, IfaceValue>& ifaceMap, in getIfaceNameFromMap() argument
76 auto iface = ifaceMap.readValue(ifaceIndex); in getIfaceNameFromMap()
111 const BpfMap<uint32_t, IfaceValue>& ifaceMap);
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp135 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDetailInternal() argument
139 &ifaceMap](const StatsKey& key, in parseBpfNetworkStatsDetailInternal()
142 if (getIfaceNameFromMap(ifaceMap, statsMap, key.ifaceIndex, ifname, key, in parseBpfNetworkStatsDetailInternal()
234 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDevInternal() argument
236 const auto processDetailIfaceStats = [lines, &unknownIfaceBytesTotal, &ifaceMap, &statsMap]( in parseBpfNetworkStatsDevInternal()
240 if (getIfaceNameFromMap(ifaceMap, statsMap, key, ifname, key, &unknownIfaceBytesTotal)) { in parseBpfNetworkStatsDevInternal()
/system/netd/server/
DInterfaceControllerTest.cpp195 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()