Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 136) sorted by relevance

123456

/hardware/google/aemu/windows/includes/
Dmsvc-files.h9 #define fopen(path, mode) android_fopen( (path), (mode) ) argument
10 #define popen(path, mode) android_popen( (path), (mode) ) argument
11 #define stat(path, buf) android_stat( (path), (buf)) argument
12 #define lstat(path, buf) android_lstat ( (path), (buf) ) argument
13 #define access(path, mode) android_access( (path), (mode)) argument
14 #define mkdir(path, mode) android_mkdir( (path), (mode)) argument
15 #define mkdir(path) android_mkdir( (path), 0755) argument
16 #define creat(path, mode) android_creat( (path), (mode)) argument
17 #define unlink(path) android_unlink((path)) argument
18 #define chmod(path, mode) android_chmod( (path), (mode)) argument
[all …]
/hardware/google/aemu/base/testing/
Dfile_io.cpp50 FILE* android_fopen(const char* path, const char* mode) { in android_fopen()
70 FILE* android_popen(const char* path, const char* mode) { in android_popen()
81 int android_open_without_mode(const char* path, int flags) { in android_open_without_mode()
87 int android_open_with_mode(const char* path, int flags, mode_t mode) { in android_open_with_mode()
94 int android_stat(const char* path, struct _stati64* buf) { in android_stat()
98 int android_stat(const char* path, struct stat* buf) { in android_stat()
104 int android_lstat(const char* path, struct stat* buf) { in android_lstat()
109 int android_access(const char* path, int mode) { in android_access()
116 int android_mkdir(const char* path, mode_t) { in android_mkdir()
120 int android_mkdir(const char* path, mode_t mode) { in android_mkdir()
[all …]
/hardware/google/aemu/base/include/aemu/base/files/
DPathUtils.h161 static std::string removeTrailingDirSeparator(const char* path) { in removeTrailingDirSeparator()
172 static std::string addTrailingDirSeparator(const std::string& path) { in addTrailingDirSeparator()
188 static size_t rootPrefixSize(const char* path, HostType hostType) { in rootPrefixSize()
191 static size_t rootPrefixSize(const char* path) { in rootPrefixSize()
199 static bool isAbsolute(const char* path) { in isAbsolute()
233 static bool split(const char* path, in split()
277 static std::vector<std::string> decompose(std::string&& path) { in decompose()
280 static std::vector<std::string> decompose(const std::string& path) { in decompose()
328 const std::string& path) { in relativeTo()
349 static Win32UnicodeString asUnicodePath(const char* path) { return Win32UnicodeString(path); } in asUnicodePath()
[all …]
/hardware/google/aemu/base/include/aemu/base/testing/
DTestTempDir.h107 const char* path() const { return mPath.size() ? mPath.c_str() : NULL; } in path() function
128 std::string path = makeSubPath(subdir); in makeSubDir() local
138 std::string path = makeSubPath(file); in makeSubFile() local
151 void DeleteRecursive(const std::string& path) { in DeleteRecursive()
192 char* mkdtemp(char* path) { in mkdtemp()
/hardware/google/aemu/base/
DPathUtils.cpp60 size_t PathUtils::rootPrefixSize(const std::string& path, HostType hostType) { in rootPrefixSize()
90 bool PathUtils::isAbsolute(const char* path, HostType hostType) { in isAbsolute()
102 std::string_view PathUtils::extension(const std::string& path, in extension()
125 std::string PathUtils::removeTrailingDirSeparator(const char* path, in removeTrailingDirSeparator()
136 std::string PathUtils::addTrailingDirSeparator(const char* path, in addTrailingDirSeparator()
146 bool PathUtils::split(const char* path, in split()
216 static std::vector<String> decomposeImpl(const String& path, PathUtils::HostType hostType) { in decomposeImpl()
242 std::vector<std::string> PathUtils::decompose(std::string&& path, in decompose()
247 std::vector<std::string> PathUtils::decompose(const std::string& path, in decompose()
329 const std::string& path, in relativeTo()
[all …]
DSharedLibrary.cpp41 void addPath(const char* path) { in addPath()
46 for (const auto& path: mPaths) { in forEachPath() local
101 sSearchPaths()->forEachPath([&lib, libraryName](const std::string& path) { in do_open()
189 char* path = NULL; in do_open() local
224 sSearchPaths()->forEachPath([&lib, libraryName, libPath](const std::string& path) { in do_open()
248 sSearchPaths()->forEachPath([&lib, libPath, libraryName](const std::string& path) { in do_open()
290 void SharedLibrary::addLibrarySearchPath(const char* path) { in addLibrarySearchPath()
/hardware/google/pixel/atrace/
Dgenerate_rc.py19 path = line.lstrip(" \t") variable
39 path = line.lstrip(" \t") variable
/hardware/google/pixel/pixelstats/test/mm/
DMockMmMetricsReporter.h45 void setBasePath(const std::string &path) { base_path_ = path; } in setBasePath()
97 virtual std::string getSysfsPath(const std::string &path) { in getSysfsPath()
/hardware/google/pixel/pixelstats/
DBatteryEEPROMReporter.cpp48 bool BatteryEEPROMReporter::ReadFileToInt(const std::string &path, int32_t *val) { in ReadFileToInt()
70 for (const auto& path : paths) { // Use range-based for loop in checkPaths() local
80 const std::string &path) { in checkAndReport()
247 std::string path = checkPaths(paths); in checkAndReportGMSR() local
279 const std::string &path) { in checkAndReportMaxfgHistory()
346 std::string path = checkPaths(paths); in checkAndReportFGModelLoading() local
382 std::string path = checkPaths(paths); in checkAndReportFGLearning() local
430 std::string path = checkPaths(paths); in checkAndReportValidation() local
DDisplayStatsReporter.cpp45 bool DisplayStatsReporter::readDisplayErrorCount(const std::string &path, int64_t *val) { in readDisplayErrorCount()
82 std::string path; in captureDisplayPanelErrorStats() local
193 std::string path; in captureDisplayPortErrorStats() local
261 std::string path; in captureHDCPAuthTypeStats() local
328 std::string path; in captureDisplayPortFECDSCStats() local
397 std::string path; in captureDisplayPortMaxResStats() local
DMmMetricsReporter.cpp141 static bool file_exists(const char *const path) { in file_exists()
159 for (auto &path : require_all) { in checkKernelMMMetricSupport() local
170 for (auto &path : require_one_ion_total_pools_path) { in checkKernelMMMetricSupport() local
226 bool MmMetricsReporter::ReadFileToUint(const std::string &path, uint64_t *val) { in ReadFileToUint()
261 static int ReadFileToLongs(const std::string &path, std::vector<long> *data, int start_idx, in ReadFileToLongs()
315 static inline bool ReadFileToLongsCheck(const std::string &path, std::vector<long> *store, in ReadFileToLongsCheck()
350 std::map<std::string, uint64_t> MmMetricsReporter::readSysfsNameValue(const std::string &path) { in readSysfsNameValue()
388 const std::string &path) { in readProcStat()
834 std::string path = android::base::StringPrintf("/proc/%s/comm", dp->d_name); in findPidByProcessName() local
851 int64_t MmMetricsReporter::getStimeByPathAndVerifyName(const std::string &path, in getStimeByPathAndVerifyName()
[all …]
DMitigationStatsReporter.cpp43 bool MitigationStatsReporter::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt()
60 const std::string &path) { in logMitigationStatsPerHour()
DWaterEventReporter.cpp46 static bool fileExists(const std::string &path) { in fileExists()
52 static bool readFileToInt(const char *const path, int *val) { in readFileToInt()
65 static inline bool readFileToInt(const std::string &path, int *val) { in readFileToInt()
DBatteryCapacityReporter.cpp62 const std::string &path) { in checkAndReport()
74 bool BatteryCapacityReporter::parse(const std::string &path) { in parse()
DThermalStatsReporter.cpp44 bool ThermalStatsReporter::readDfsCount(const std::string &path, int64_t *val) { in readDfsCount()
78 std::string path; in captureThermalDfsStats() local
/hardware/interfaces/radio/aidl/minradio/libminradio/sim/
DFilesystem.cpp47 void Filesystem::write(const Path& path, FileView contents) { in write()
53 void Filesystem::write(const Path& path, std::string_view contents) { in write()
59 void Filesystem::write(const Path& path, std::vector<uint8_t>&& contents) { in write()
71 void Filesystem::writeBch(const Path& path, std::string_view contents) { in writeBch()
/hardware/libhardware/
Dhardware.c80 const char *path, in load()
158 static bool __attribute__ ((unused)) path_in_path(const char *path, const char *in_path) { in path_in_path()
178 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists()
222 char path[PATH_MAX] = {0}; in hw_get_module_by_class() local
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.cpp53 DrmHalVTSVendorModule* VendorModules::getModule(const string& path) { in getModule()
75 for (const auto &path : mPathList) { in getModuleByName() local
/hardware/google/pixel/health/
DChargerDetect.cpp41 int ChargerDetect::readFromFile(const std::string& path, std::string* buf) { in readFromFile()
48 int ChargerDetect::getIntField(const std::string& path) { in getIntField()
87 int ChargerDetect::getPsyUsbType(const std::string& path, std::string* type) { in getPsyUsbType()
/hardware/interfaces/cas/aidl/default/
DFactoryLoader.h148 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath()
168 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath()
186 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
/hardware/interfaces/cas/1.1/default/
DFactoryLoader.h151 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath()
170 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath()
188 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
/hardware/interfaces/cas/1.2/default/
DFactoryLoader.h151 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath()
170 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath()
188 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
/hardware/interfaces/cas/1.0/default/
DFactoryLoader.h163 const String8 &path, int32_t CA_system_id, in loadFactoryForSchemeFromPath()
183 const String8 &path, vector<HidlCasPluginDescriptor>* results) { in queryPluginsFromPath()
201 bool FactoryLoader<T>::openFactory(const String8 &path) { in openFactory()
/hardware/google/pixel/powerstats/include/dataproviders/
DWlanStateResidencyDataProvider.h29 WlanStateResidencyDataProvider(std::string name, std::string path) in WlanStateResidencyDataProvider()
/hardware/interfaces/drm/1.0/default/include/
DPluginLoader.h52 String8 path = pluginDir + "/" + pEntry->d_name; in PluginLoader() local
76 T* loadOne(const char *path, const char *entry) { in loadOne()

123456