Home
last modified time | relevance | path

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

/system/netd/server/
DTrafficControllerTest.cpp143 Result<UidTagValue> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag()
149 void expectNoTag(uint64_t cookie) { EXPECT_FALSE(mFakeCookieTagMap.readValue(cookie).ok()); } in expectNoTag()
169 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
175 value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
180 value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
186 value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
192 value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
199 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in checkEachUidValue()
226 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in expectUidOwnerMapValues()
246 Result<uint8_t> value = mFakeUidPermissionMap.readValue(uid); in expectUidPermissionMapValues()
[all …]
DTrafficController.cpp334 auto configuration = mConfigurationMap.readValue(CURRENT_STATS_MAP_CONFIGURATION_KEY); in tagSocket()
512 auto oldMatch = mUidOwnerMap.readValue(uid); in removeRule()
536 auto oldMatch = mUidOwnerMap.readValue(uid); in addRule()
677 auto oldConfiguration = mConfigurationMap.readValue(key); in toggleUidOwnerMap()
715 auto oldConfiguration = mConfigurationMap.readValue(key); in swapActiveStatsMap()
916 auto ifname = mIfaceIndexNameMap.readValue(ifIndex); in dump()
956 auto ifname = mIfaceIndexNameMap.readValue(key); in dump()
972 auto configuration = mConfigurationMap.readValue(key); in dump()
982 configuration = mConfigurationMap.readValue(key); in dump()
1004 auto ifname = mIfaceIndexNameMap.readValue(value.iif); in dump()
/system/netd/tests/
Dbpf_base_test.cpp95 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
100 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
113 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
121 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
135 Result<uint8_t> counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F()
139 counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F()
160 Result<StatsValue> statsResult = statsMapA.readValue(key); in TEST_F()
163 statsResult = appUidStatsMap.readValue(TEST_UID); in TEST_F()
167 statsResult = statsMapB.readValue(key); in TEST_F()
Dbinder_test.cpp2997 android::base::Result<uint8_t> permission = uidPermissionMap.readValue(uid); in checkUidsInPermissionMap()
/system/tools/aidl/tests/java/src/android/aidl/tests/generic/
DPair.java37 mFirst = (A) source.readValue(null); in readFromParcel()
38 mSecond = (B) source.readValue(null); in readFromParcel()
/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h77 auto iface = ifaceMap.readValue(ifaceIndex); in getIfaceNameFromMap()
95 auto statsEntry = statsMap.readValue(curKey); in maybeLogUnknownIface()
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp49 auto statsEntry = appUidStatsMap.readValue(uid); in bpfGetUidStatsInternal()
87 Result<StatsValue> statsEntry = ifaceStatsMap.readValue(key); in bpfGetIfaceStatsInternal()
159 Result<StatsValue> statsEntry = statsMap.readValue(key); in parseBpfNetworkStatsDetailInternal()
202 auto configuration = configurationMap.readValue(CURRENT_STATS_MAP_CONFIGURATION_KEY); in parseBpfNetworkStatsDetail()
DBpfNetworkStatsTest.cpp100 auto tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag()
162 auto tagResult = mFakeCookieTagMap.readValue(curCookie); in TEST_F()
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h87 base::Result<Value> readValue(const Key key) const { in readValue() function
211 base::Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
242 base::Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
/system/bpf/libbpf_android/
DBpfMapTest.cpp118 Result<uint32_t> value_read = testMap.readValue(key); in TEST_F()
161 Result<uint32_t> value_read = testMap2.readValue(key); in TEST_F()
/system/memory/libmeminfo/
Dsysmeminfo.cpp336 auto res = map.readValue(kBpfKeyGpuTotalUsage); in ReadGpuTotalUsageKb()