Searched refs:opendir (Results 1 – 25 of 50) sorted by relevance
12
/system/extras/iotop/ |
D | tasklist.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
|
/system/vold/ |
D | Process.cpp | 89 DIR *dir = opendir(path); in checkFileDescriptorSymLinks() 185 if (!(dir = opendir("/proc"))) { in killProcessesWithOpenFiles()
|
D | main.cpp | 203 DIR *d = opendir(path); in coldboot()
|
D | MoveTask.cpp | 64 DIR* dir = opendir(path.c_str()); in pushBackContents()
|
D | CommandListener.cpp | 315 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/ |
D | pcmtest.cpp | 62 d = opendir(kSoundDir); in getPcmNodes() 81 d = opendir(kSoundDir); in getSndDev()
|
/system/core/toolbox/ |
D | ps.c | 247 d = opendir(tmp); in ps_threads() 319 d = opendir("/proc"); in ps_main()
|
D | top.c | 235 proc_dir = opendir("/proc"); in read_procs() 284 task_dir = opendir(filename); in read_procs()
|
D | getevent.c | 291 dir = opendir(dirname); in print_hid_descriptor() 480 dir = opendir(dirname); in scan_dir()
|
/system/netd/server/ |
D | PppController.cpp | 138 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
|
D | InterfaceController.cpp | 64 DIR* dir = opendir(dirname); in setOnAllInterfaces()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 204 DIR *uid = opendir(uid_path); in removeUidProcessGroups() 231 DIR *root = opendir(cgroup_root_path); in removeAllProcessGroups()
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 69 proc = opendir("/proc"); in pm_kernel_pids()
|
/system/core/init/ |
D | init_parser.cpp | 119 std::unique_ptr<DIR, int(*)(DIR*)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
|
D | bootchart.cpp | 118 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in do_log_procs()
|
/system/core/bootstat/ |
D | boot_event_record_store.cpp | 140 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
|
D | boot_event_record_store_test.cpp | 79 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory()
|
/system/security/keystore/ |
D | keystore.cpp | 181 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()
|
D | user_state.cpp | 205 DIR* dir = opendir(getUserDirName()); in reset()
|
/system/extras/ext4_utils/ |
D | ext4_crypt.cpp | 75 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
|
/system/core/debuggerd/ |
D | getevent.cpp | 148 dir = opendir(dirname); in scan_dir()
|
/system/core/libutils/ |
D | ProcessCallStack.cpp | 137 dp = opendir(PATH_SELF_TASK); in update()
|
/system/extras/simpleperf/ |
D | utils.cpp | 110 DIR* dir = opendir(dirpath.c_str()); in GetEntriesInDir()
|
/system/core/adb/ |
D | usb_linux.cpp | 122 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/ |
D | perfprofdcore.cc | 349 DIR* dir = opendir(psdir.c_str()); in get_charging() 621 DIR* dir = opendir(dest_dir.c_str()); in cleanup_destination_dir()
|
12