Home
last modified time | relevance | path

Searched refs:deleteValue (Results 1 – 9 of 9) sorted by relevance

/system/netd/server/
DClatdController.cpp284 ret = mClatEgressMap.deleteValue(txKey); in maybeStartBpf()
301 ret = mClatEgressMap.deleteValue(txKey); in maybeStartBpf()
304 ret = mClatIngressMap.deleteValue(rxKey); in maybeStartBpf()
324 ret = mClatEgressMap.deleteValue(txKey); in maybeStartBpf()
327 ret = mClatIngressMap.deleteValue(rxKey); in maybeStartBpf()
351 ret = mClatEgressMap.deleteValue(txKey); in maybeStartBpf()
354 ret = mClatIngressMap.deleteValue(rxKey); in maybeStartBpf()
397 auto ret = mClatEgressMap.deleteValue(txKey); in maybeStopBpf()
406 ret = mClatIngressMap.deleteValue(rxKey); in maybeStopBpf()
DTrafficController.cpp291 Status s = mCookieTagMap.deleteValue(sock_cookie); in start()
392 base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie); in untagSocket()
414 Status res = mUidCounterSetMap.deleteValue(uid); in setCounterSet()
450 auto res = map.deleteValue(key); in deleteTagData()
466 auto res = map.deleteValue(key); in deleteTagData()
482 auto res = mUidCounterSetMap.deleteValue(uid); in deleteTagData()
491 auto res = map.deleteValue(key); in deleteTagData()
554 RETURN_IF_NOT_OK(mUidOwnerMap.deleteValue(uid)); in removeRule()
816 Status ret = mUidPermissionMap.deleteValue(uid); in setPermissionForUids()
848 Status ret = mUidPermissionMap.deleteValue(uid); in setPermissionForUids()
DTetherController.cpp888 Result<void> ret = mBpfIngressMap.deleteValue(key); in removeOffloadRule()
1188 auto res = mBpfStatsMap.deleteValue(ifIndex); in getAndClearTetherOffloadStats()
1193 res = mBpfLimitMap.deleteValue(ifIndex); in getAndClearTetherOffloadStats()
/system/bpf/libbpf_android/
DBpfMapTest.cpp130 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
191 return map.deleteValue(key); in TEST_F()
213 return map.deleteValue(key); in TEST_F()
232 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
/system/netd/tests/
Dnetd_test.cpp293 ASSERT_OK(bpfIngressMap.deleteValue(key)); in TEST()
294 ASSERT_OK(bpfStatsMap.deleteValue(k)); in TEST()
295 ASSERT_OK(bpfLimitMap.deleteValue(k)); in TEST()
Dnetlink_listener_test.cpp82 Result<void> res = map.deleteValue(key); in TearDown()
/system/netd/tests/benchmarks/
Dbpf_benchmark.cpp61 mBpfTestMap.deleteValue(state.range(0)); in BENCHMARK_DEFINE_F()
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h96 base::Result<void> deleteValue(const Key& key) { in deleteValue() function
156 auto res = deleteValue(key.value()); in clear()
/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp158 EXPECT_RESULT_OK(mFakeCookieTagMap.deleteValue((nextCookie.value()))); in TEST_F()
162 EXPECT_RESULT_OK(mFakeCookieTagMap.deleteValue((nextCookie.value()))); in TEST_F()