Home
last modified time | relevance | path

Searched refs:ScopedDir (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc150 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcesses()
157 base::ScopedDir task_dir(opendir(task_path)); in WriteAllProcesses()
273 base::ScopedDir ProcessStatsDataSource::OpenProcDir() { in OpenProcDir()
274 base::ScopedDir proc_dir(opendir("/proc")); in OpenProcDir()
289 base::ScopedDir ProcessStatsDataSource::OpenProcTaskDir(int32_t pid) { in OpenProcTaskDir()
292 return base::ScopedDir(opendir(task_path)); in OpenProcTaskDir()
396 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcessStats()
Dprocess_stats_data_source_unittest.cc59 MOCK_METHOD0(OpenProcDir, base::ScopedDir());
61 MOCK_METHOD1(OpenProcTaskDir, base::ScopedDir(int32_t pid));
343 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()
420 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()
506 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()
524 return base::ScopedDir(opendir(fake_proc_task.path().c_str())); in TEST_F()
551 return base::ScopedDir(opendir(fake_ignored_proc_task.path().c_str())); in TEST_F()
Dprocess_stats_data_source.h74 virtual base::ScopedDir OpenProcDir();
76 virtual base::ScopedDir OpenProcTaskDir(int32_t pid);
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp286 struct ScopedDir { struct
288 ScopedDir(const Twine &Name, bool Unique=false) { in ScopedDir() function
300 ~ScopedDir() { in ~ScopedDir() argument
309 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST()
317 ScopedDir _a(TestDirectory+"/a"); in TEST()
318 ScopedDir _ab(TestDirectory+"/a/b"); in TEST()
319 ScopedDir _c(TestDirectory+"/c"); in TEST()
320 ScopedDir _cd(TestDirectory+"/c/d"); in TEST()
336 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST()
344 ScopedDir _a(TestDirectory+"/a"); in TEST()
[all …]
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dfile_utils.h29 using ScopedDir = ScopedResource<DIR*, closedir>; variable
Dfile_utils.cc34 ScopedDir autoclose(root_dir); in ForEachPidInProcPath()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner.h67 base::ScopedDir current_dir_handle_;
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc221 base::ScopedDir devfreq_dir = OpenDevfreqDir(); in ReadDevfreq()
237 base::ScopedDir SysStatsDataSource::OpenDevfreqDir() { in OpenDevfreqDir()
239 base::ScopedDir devfreq_dir(opendir(base_dir)); in OpenDevfreqDir()
Dsys_stats_data_source.h68 virtual base::ScopedDir OpenDevfreqDir();
Dsys_stats_data_source_unittest.cc206 MOCK_METHOD0(OpenDevfreqDir, base::ScopedDir());
393 return base::ScopedDir(opendir(fake_devfreq_symdir.path().c_str())); in TEST_F()
/external/perfetto/src/profiling/common/
Dproc_utils.h41 base::ScopedDir proc_dir(opendir("/proc")); in ForEachPid()
/external/perfetto/include/perfetto/ext/base/
Dscoped_file.h116 using ScopedDir = ScopedResource<DIR*, closedir, nullptr>; variable
/external/perfetto/src/traced/probes/common/
Dcpu_freq_info.cc46 base::ScopedDir cpu_dir(opendir(cpu_dir_path.c_str())); in CpuFreqInfo()
/external/perfetto/src/base/
Dscoped_file_unittest.cc54 ScopedDir scoped_dir(dir_handle); in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs.cc336 base::ScopedDir dir(opendir(full_path.c_str())); in GetEventNamesForGroup()