Home
last modified time | relevance | path

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

12

/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
/system/vold/
DProcess.cpp89 DIR *dir = opendir(path); in checkFileDescriptorSymLinks()
185 if (!(dir = opendir("/proc"))) { in killProcessesWithOpenFiles()
Dmain.cpp203 DIR *d = opendir(path); in coldboot()
DMoveTask.cpp64 DIR* dir = opendir(path.c_str()); in pushBackContents()
DCommandListener.cpp315 if (!(dir = opendir("/proc"))) { in runCommand()
354 DIR *d = opendir(directory); in listAsecsInDirectory()
683 const android::vold::ScopedDir dir(opendir("/proc")); in runCommandInNamespace()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp62 d = opendir(kSoundDir); in getPcmNodes()
81 d = opendir(kSoundDir); in getSndDev()
/system/core/toolbox/
Dps.c247 d = opendir(tmp); in ps_threads()
319 d = opendir("/proc"); in ps_main()
Dtop.c235 proc_dir = opendir("/proc"); in read_procs()
284 task_dir = opendir(filename); in read_procs()
Dgetevent.c291 dir = opendir(dirname); in print_hid_descriptor()
480 dir = opendir(dirname); in scan_dir()
/system/netd/server/
DPppController.cpp138 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
DInterfaceController.cpp64 DIR* dir = opendir(dirname); in setOnAllInterfaces()
/system/core/libprocessgroup/
Dprocessgroup.cpp204 DIR *uid = opendir(uid_path); in removeUidProcessGroups()
231 DIR *root = opendir(cgroup_root_path); in removeAllProcessGroups()
/system/extras/libpagemap/
Dpm_kernel.c69 proc = opendir("/proc"); in pm_kernel_pids()
/system/core/init/
Dinit_parser.cpp119 std::unique_ptr<DIR, int(*)(DIR*)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
Dbootchart.cpp118 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in do_log_procs()
/system/core/bootstat/
Dboot_event_record_store.cpp140 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
Dboot_event_record_store_test.cpp79 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory()
/system/security/keystore/
Dkeystore.cpp181 DIR* dir = opendir(userState->getUserDirName()); in isEmpty()
353 DIR* dir = opendir(userState->getUserDirName()); in list()
707 DIR* dir = opendir("."); in upgradeKeystore()
738 DIR* otherdir = opendir(otherUser->getUserDirName()); in upgradeKeystore()
Duser_state.cpp205 DIR* dir = opendir(getUserDirName()); in reset()
/system/extras/ext4_utils/
Dext4_crypt.cpp75 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
/system/core/debuggerd/
Dgetevent.cpp148 dir = opendir(dirname); in scan_dir()
/system/core/libutils/
DProcessCallStack.cpp137 dp = opendir(PATH_SELF_TASK); in update()
/system/extras/simpleperf/
Dutils.cpp110 DIR* dir = opendir(dirpath.c_str()); in GetEntriesInDir()
/system/core/adb/
Dusb_linux.cpp122 std::unique_ptr<DIR, int(*)(DIR*)> bus_dir(opendir(base.c_str()), closedir); in find_usb_device()
131 std::unique_ptr<DIR, int(*)(DIR*)> dev_dir(opendir(bus_name.c_str()), closedir); in find_usb_device()
/system/extras/perfprofd/
Dperfprofdcore.cc349 DIR* dir = opendir(psdir.c_str()); in get_charging()
621 DIR* dir = opendir(dest_dir.c_str()); in cleanup_destination_dir()

12