Home
last modified time | relevance | path

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

123

/system/core/libvndksupport/tests/
Dlinker_test.cpp37 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
/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/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp40 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); in populate_open_files_list()
/system/vold/
DProcess.cpp89 DIR *dir = opendir(path); in checkFileDescriptorSymLinks()
185 if (!(dir = opendir("/proc"))) { in killProcessesWithOpenFiles()
Dmain.cpp210 DIR *d = opendir(path); in coldboot()
DMoveTask.cpp66 DIR* dir = opendir(path.c_str()); in pushBackContents()
/system/netd/server/
DPppController.cpp138 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
DInterfaceController.cpp85 DIR* dir = opendir(dirname.c_str()); in forEachInterface()
/system/libhidl/base/
DHidlInternal.cpp85 DIR *dir = opendir(path.c_str()); in registerInstrumentationCallbacks()
/system/core/bootstat/
Dboot_event_record_store.cpp114 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
Dboot_event_record_store_test.cpp71 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory()
/system/extras/libpagemap/
Dpm_kernel.c69 proc = opendir("/proc"); in pm_kernel_pids()
/system/core/libprocessgroup/
Dprocessgroup.cpp207 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path), closedir); in removeUidProcessGroups()
232 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path), closedir); in removeAllProcessGroups()
/system/core/init/
Dinit_parser.cpp115 std::unique_ptr<DIR, int(*)(DIR*)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
Dbootchart.cpp107 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp81 DIR* dir = opendir(buf); in iterate_siblings()
/system/security/keystore/
Dkeystore.cpp228 DIR* dir = opendir(userState->getUserDirName()); in isEmpty()
385 DIR* dir = opendir(userState->getUserDirName()); in list()
739 DIR* dir = opendir("."); in upgradeKeystore()
770 DIR* otherdir = opendir(otherUser->getUserDirName()); in upgradeKeystore()
Duser_state.cpp207 DIR* dir = opendir(getUserDirName()); in reset()
/system/extras/ext4_utils/
Dext4_crypt.cpp84 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
/system/core/libutils/
DProcessCallStack.cpp130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update()
/system/tools/hidl/
DCoordinator.cpp35 DIR *dir = opendir(name); in existdir()
279 DIR *dir = opendir(packagePath.c_str()); in getPackageInterfaceFiles()
/system/core/adb/client/
Dusb_linux.cpp126 std::unique_ptr<DIR, int(*)(DIR*)> bus_dir(opendir(base.c_str()), closedir); in find_usb_device()
135 std::unique_ptr<DIR, int(*)(DIR*)> dev_dir(opendir(bus_name.c_str()), closedir); in find_usb_device()
/system/core/toolbox/
Dgetevent.c290 dir = opendir(dirname); in print_hid_descriptor()
479 dir = opendir(dirname); in scan_dir()
/system/extras/perfprofd/
Dperfprofdcore.cc364 DIR* dir = opendir(psdir.c_str()); in get_charging()
639 DIR* dir = opendir(dest_dir.c_str()); in cleanup_destination_dir()

123