Home
last modified time | relevance | path

Searched refs:readValue (Results 1 – 12 of 12) 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.cpp342 auto configuration = mConfigurationMap.readValue(CURRENT_STATS_MAP_CONFIGURATION_KEY); in tagSocket()
547 auto oldMatch = mUidOwnerMap.readValue(uid); in removeRule()
571 auto oldMatch = mUidOwnerMap.readValue(uid); in addRule()
731 auto oldConfiguration = mConfigurationMap.readValue(key); in toggleUidOwnerMap()
774 auto oldConfiguration = mConfigurationMap.readValue(key); in swapActiveStatsMap()
988 auto ifname = mIfaceIndexNameMap.readValue(ifIndex); in dump()
1028 auto ifname = mIfaceIndexNameMap.readValue(key); in dump()
1044 auto configuration = mConfigurationMap.readValue(key); in dump()
1054 configuration = mConfigurationMap.readValue(key); in dump()
1076 auto ifname = mIfaceIndexNameMap.readValue(value.iif); in dump()
DTetherControllerTest.cpp528 base::Result<uint64_t> result = mFakeTetherLimitMap.readValue(ifindex); in TEST_F()
DTetherController.cpp1059 auto statsEntry = mBpfStatsMap.readValue(ifIndex); in setBpfLimit()
1183 const auto stats = mBpfStatsMap.readValue(ifIndex); in getAndClearTetherOffloadStats()
/system/netd/tests/
Dbpf_base_test.cpp109 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
114 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
129 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
137 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
153 Result<uint8_t> counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F()
157 counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F()
180 Result<StatsValue> statsResult = statsMapA.readValue(key); in TEST_F()
183 statsResult = appUidStatsMap.readValue(TEST_UID); in TEST_F()
187 statsResult = statsMapB.readValue(key); in TEST_F()
Dbinder_test.cpp3048 android::base::Result<uint8_t> permission = uidPermissionMap.readValue(uid); in checkUidsInPermissionMap()
/system/tools/aidl/tests/java_app/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.cpp101 auto tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag()
165 auto tagResult = mFakeCookieTagMap.readValue(curCookie); in TEST_F()
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h88 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.cpp126 Result<uint32_t> value_read = testMap.readValue(key); in TEST_F()
175 Result<uint32_t> value_read = testMap2.readValue(key); in TEST_F()