Searched refs:getMap (Results 1 – 6 of 6) sorted by relevance
/system/netd/tests/ |
D | bpf_base_test.cpp | 103 ASSERT_LE(0, cookieTagMap.getMap()); in TEST_F() 123 ASSERT_LE(0, cookieTagMap.getMap()); in TEST_F() 150 ASSERT_LE(0, uidCounterSetMap.getMap()); in TEST_F() 166 ASSERT_LE(0, statsMapA.getMap()); in TEST_F() 168 ASSERT_LE(0, statsMapB.getMap()); in TEST_F() 170 ASSERT_LE(0, appUidStatsMap.getMap()); in TEST_F()
|
/system/bpf/libbpf_android/ |
D | BpfMapTest.cpp | 75 EXPECT_EQ(-1, map.getMap().get()); in checkMapInvalid() 79 EXPECT_LE(0, map.getMap().get()); in checkMapValid() 86 ASSERT_EQ(0, findMapEntry(map.getMap(), &key, &value_read)); in writeToMapAndCheck() 131 ASSERT_GT(0, findMapEntry(testMap.getMap(), &key, &value_read)); in TEST_F() 145 ASSERT_GT(0, findMapEntry(testMap.getMap(), &key, &value_write)); in TEST_F() 166 ASSERT_EQ(0, bpfFdPin(testMap1.getMap(), PINNED_MAP_PATH)); in TEST_F() 233 ASSERT_GT(0, findMapEntry(testMap.getMap(), &key, &value_write)); in TEST_F()
|
/system/netd/server/ |
D | TrafficController.cpp | 345 strerror(configuration.error().code()), mConfigurationMap.getMap().get()); in tagSocket() 357 ALOGE("Failed to count the stats entry in map %d: %s", currentMap.getMap().get(), in tagSocket() 377 mCookieTagMap.getMap().get()); in tagSocket() 426 mUidCounterSetMap.getMap().get()); in setCounterSet() 903 getMapStatus(mCookieTagMap.getMap(), COOKIE_TAG_MAP_PATH).c_str()); in dump() 905 getMapStatus(mUidCounterSetMap.getMap(), UID_COUNTERSET_MAP_PATH).c_str()); in dump() 907 getMapStatus(mAppUidStatsMap.getMap(), APP_UID_STATS_MAP_PATH).c_str()); in dump() 909 getMapStatus(mStatsMapA.getMap(), STATS_MAP_A_PATH).c_str()); in dump() 911 getMapStatus(mStatsMapB.getMap(), STATS_MAP_B_PATH).c_str()); in dump() 913 getMapStatus(mIfaceIndexNameMap.getMap(), IFACE_INDEX_NAME_MAP_PATH).c_str()); in dump() [all …]
|
D | TrafficControllerTest.cpp | 107 mTc.mCookieTagMap.reset(dupFd(mFakeCookieTagMap.getMap())); in SetUp() 109 mTc.mUidCounterSetMap.reset(dupFd(mFakeUidCounterSetMap.getMap())); in SetUp() 111 mTc.mAppUidStatsMap.reset(dupFd(mFakeAppUidStatsMap.getMap())); in SetUp() 113 mTc.mStatsMapA.reset(dupFd(mFakeStatsMapA.getMap())); in SetUp() 115 mTc.mConfigurationMap.reset(dupFd(mFakeConfigurationMap.getMap())); in SetUp() 121 mTc.mUidOwnerMap.reset(dupFd(mFakeUidOwnerMap.getMap())); in SetUp() 123 mTc.mUidPermissionMap.reset(dupFd(mFakeUidPermissionMap.getMap())); in SetUp()
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 85 ASSERT_LE(0, mFakeCookieTagMap.getMap()); in SetUp() 88 ASSERT_LE(0, mFakeAppUidStatsMap.getMap()); in SetUp() 91 ASSERT_LE(0, mFakeStatsMap.getMap()); in SetUp() 94 ASSERT_LE(0, mFakeIfaceIndexNameMap.getMap()); in SetUp() 97 ASSERT_LE(0, mFakeIfaceStatsMap.getMap()); in SetUp()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfMap.h | 129 const base::unique_fd& getMap() const { return mMapFd; }; in getMap() function
|