Home
last modified time | relevance | path

Searched refs:basePath (Results 1 – 10 of 10) sorted by relevance

/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DSystemUtils.ets21 const basePath = "/sys/devices/system/cpu/cpufreq"
26 let policyArr = travelFile(basePath, "policy")
38 var affected_cpus = fileOpen(basePath + "/" + policy + "/affected_cpus")
/developtools/hiperf/src/
Dutilities.cpp467 std::vector<std::string> GetEntriesInDir(const std::string &basePath) in GetEntriesInDir() argument
470 std::string resolvedPath = CanonicalizeSpecPath(basePath.c_str()); in GetEntriesInDir()
489 std::vector<std::string> GetSubDirs(const std::string &basePath) in GetSubDirs() argument
491 std::vector<std::string> entries = GetEntriesInDir(basePath); in GetSubDirs()
494 if (IsDir(basePath + "/" + entries[index])) { in GetSubDirs()
602 const std::string basePath {"/proc/"}; in GetAppPackagePid() local
606 std::vector<std::string> subDirs = GetSubDirs(basePath); in GetAppPackagePid()
611 std::string fileName {basePath + subDir}; in GetAppPackagePid()
Dperf_events.cpp688 std::string basePath {"/sys/kernel/tracing/events"}; in LoadTracepointEventTypesFromSystem() local
689 if (access(basePath.c_str(), R_OK) != 0) { in LoadTracepointEventTypesFromSystem()
690 basePath = "/sys/kernel/debug/tracing/events"; in LoadTracepointEventTypesFromSystem()
692 for (const auto &eventName : GetSubDirs(basePath)) { in LoadTracepointEventTypesFromSystem()
693 std::string eventPath = basePath + "/" + eventName; in LoadTracepointEventTypesFromSystem()
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp391 std::vector<std::string> GetEntriesInDir(const std::string &basePath) in GetEntriesInDir() argument
394 DIR *dir = opendir(basePath.c_str()); in GetEntriesInDir()
409 std::vector<std::string> GetSubDirs(const std::string &basePath) in GetSubDirs() argument
411 std::vector<std::string> entries = GetEntriesInDir(basePath); in GetSubDirs()
414 if (IsDir(basePath + "/" + entries[index])) { in GetSubDirs()
/developtools/hdc/src/daemon/
Ddaemon_usb.cpp106 basePath = GetDevPath(USB_FFS_BASE); in Initial()
107 if (access((basePath + "/ep0").c_str(), F_OK) != 0) { in Initial()
159 string ep0Path = basePath + "/ep0"; in ConnectEPPoint()
176 string outPath = basePath + "/ep1"; in ConnectEPPoint()
181 string inPath = basePath + "/ep2"; in ConnectEPPoint()
Ddaemon_usb.h61 string basePath; // usb device's base path variable
/developtools/profiler/host/smartperf/client/client_command/
Dsp_utils.cpp213 std::string basePath = "/sys/devices/system/cpu/cpufreq/"; in GetCpuInfo() local
215 DIR *dir = opendir(basePath.c_str()); in GetCpuInfo()
227 policyFiles.push_back(IncludePathDelimiter(basePath) + std::string(ptr->d_name)); in GetCpuInfo()
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h196 std::vector<std::string> GetEntriesInDir(const std::string &basePath);
198 std::vector<std::string> GetSubDirs(const std::string &basePath);
/developtools/hiperf/include/
Dutilities.h213 std::vector<std::string> GetEntriesInDir(const std::string &basePath);
215 std::vector<std::string> GetSubDirs(const std::string &basePath);
/developtools/ace_ets2bundle/compiler/src/
Dets_checker.ts95 const basePath: string = path.resolve(projectConfig.projectPath); constant
99 allPath.push(path.join(path.relative(basePath, item), '*'));
119 'baseUrl': basePath,