Home
last modified time | relevance | path

Searched refs:opendir (Results 1 – 25 of 87) sorted by relevance

1234

/system/iorap/src/inode2filename/
Dsystem_call.h33 virtual DIR *opendir(const char *name) = 0;
55 virtual DIR *opendir(const char *name) override { in opendir() function
56 return ::opendir(name); in opendir()
/system/vold/
DProcess.cpp87 auto proc_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/proc"), closedir); in KillProcessesWithOpenFiles()
109 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); in KillProcessesWithOpenFiles()
Dvold_prepare_subdirs.cpp97 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(path.c_str()), closedir); in rmrf_contents()
126 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/apex"), closedir); in prepare_apex_subdirs()
DLoop.cpp130 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(root.c_str()), closedir); in destroyAll()
/system/core/libvndksupport/tests/
Dlinker_test.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
/system/libbase/include/android-base/
Dprocess.h55 PidIterator begin() { return opendir("/proc"); } in begin()
/system/bpf/bpfloader/
DBpfLoader.cpp61 if ((dir = opendir(BPF_PROG_PATH)) != NULL) { in loadAllElfObjects()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp59 d = opendir(kSoundDir); in getPcmNodes()
78 d = opendir(kSoundDir); in getSndDev()
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp30 d = opendir(dir_path); in get_files_in_dirs()
/system/apex/libs/libapexutil/
Dapexutil.cpp55 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages()
/system/core/init/
Dpersistent_properties.cpp57 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in LoadLegacyPersistentProperties()
106 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in RemoveLegacyPersistentPropertyFiles()
Dfirst_stage_init.cpp127 std::unique_ptr<DIR, decltype(&closedir)> base_dir(opendir(MODULE_BASE_DIR), closedir); in LoadKernelModules()
254 auto old_root_dir = std::unique_ptr<DIR, decltype(&closedir)>{opendir("/"), closedir}; in FirstStageMain()
Dbootchart.cpp109 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes()
/system/core/fs_mgr/
Dfs_mgr_vendor_overlay.cpp53 std::unique_ptr<DIR, decltype(&closedir)> vendor_overlay_top(opendir(overlay_top.c_str()), in fs_mgr_get_vendor_overlay_dirs()
/system/libvintf/
DFileSystem.cpp42 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); in listFiles()
/system/netd/server/
DPppController.cpp139 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
/system/incremental_delivery/incfs/
Dpath.h63 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(::opendir(path), &::closedir); in openDir()
/system/core/bootstat/
Dboot_event_record_store.cpp116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp132 std::unique_ptr<DIR, int (*)(DIR*)> dirp(opendir(dir.c_str()), closedir); in ListFiles()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp43 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); in populate_open_files_list()
/system/libhidl/base/
DHidlInternal.cpp147 DIR *dir = opendir(path.c_str()); in registerInstrumentationCallbacks()
/system/core/libprocessgroup/
Dprocessgroup.cpp147 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path.c_str()), closedir); in RemoveUidProcessGroups()
187 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path.c_str()), closedir); in removeAllProcessGroups()
/system/tools/aidl/
Dio_delegate.cpp205 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files()
/system/core/libutils/
DProcessCallStack.cpp130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update()

1234