Home
last modified time | relevance | path

Searched refs:cg2_path (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/netd/
DBpfBaseTest.cpp58 std::string cg2_path; in TEST_F() local
59 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)); in TEST_F()
60 ASSERT_EQ(0, access(cg2_path.c_str(), R_OK)); in TEST_F()
61 ASSERT_EQ(0, access((cg2_path + "/cgroup.controllers").c_str(), R_OK)); in TEST_F()
DBpfHandler.cpp73 static Status initPrograms(const char* cg2_path) { in initPrograms() argument
74 if (!cg2_path) return Status("cg2_path is NULL"); in initPrograms()
90 if (modules::sdklevel::IsAtLeastU() && !!strcmp(cg2_path, "/sys/fs/cgroup")) { in initPrograms()
94 unique_fd cg_fd(open(cg2_path, O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in initPrograms()
206 Status BpfHandler::init(const char* cg2_path) { in init() argument
241 RETURN_IF_NOT_OK(initPrograms(cg2_path)); in init()
DNetdUpdatable.cpp28 int libnetd_updatable_init(const char* cg2_path) { in libnetd_updatable_init() argument
32 android::netdutils::Status ret = sBpfHandler.init(cg2_path); in libnetd_updatable_init()
DBpfHandler.h34 netdutils::Status init(const char* cg2_path);
/packages/modules/Connectivity/netd/include/
DNetdUpdatablePublic.h35 int libnetd_updatable_init(const char* cg2_path);