Home
last modified time | relevance | path

Searched refs:skipUids (Results 1 – 6 of 6) sorted by relevance

/system/netd/server/
DSockDiag.cpp425 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids, in destroySockets() argument
433 skipUids.find(msg->idiag_uid) == skipUids.end() && in destroySockets()
448 uidRanges.toString().c_str(), android::base::Join(skipUids, " ").c_str(), in destroySockets()
DSockDiag.h77 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids,
DSockDiagTest.cpp388 std::set<uid_t> skipUids { 8007, 8043, 8098, 8099 }; in destroySockets() local
391 ret = mSd.destroySockets(uidRanges, skipUids, excludeLoopback); in destroySockets()
DNetdNativeService.cpp452 const std::vector<int32_t>& skipUids) { in socketDestroy() argument
462 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy()
DNetdNativeService.h115 const std::vector<int32_t>& skipUids) override;
/system/netd/tests/
Dbinder_test.cpp766 std::vector<int32_t> skipUids { baseUid + 123, baseUid + 1600 }; in TEST_F() local
769 EXPECT_TRUE(mNetd->socketDestroy(uidRanges, skipUids).isOk()); in TEST_F()
779 skipUids.push_back(uid); in TEST_F()
782 EXPECT_TRUE(mNetd->socketDestroy(uidRanges, skipUids).isOk()); in TEST_F()
786 skipUids.resize(skipUids.size() - 1); in TEST_F()
787 EXPECT_TRUE(mNetd->socketDestroy(uidRanges, skipUids).isOk()); in TEST_F()