| /hardware/google/aemu/base/testing/ |
| D | file_io.cpp | 50 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/ |
| D | PathUtils.h | 161 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/ |
| D | PathUtils.cpp | 60 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 …]
|
| D | SharedLibrary.cpp | 41 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() 289 void SharedLibrary::addLibrarySearchPath(const char* path) { in addLibrarySearchPath()
|
| /hardware/google/aemu/base/include/aemu/base/testing/ |
| D | TestTempDir.h | 126 const char* path() const { return mPath.size() ? mPath.c_str() : NULL; } in path() function 147 std::string path = makeSubPath(subdir); in makeSubDir() local 157 std::string path = makeSubPath(file); in makeSubFile() local 170 void DeleteRecursive(const std::string& path) { in DeleteRecursive() 211 char* mkdtemp(char* path) { in mkdtemp()
|
| /hardware/google/graphics/common/memtrack-pixel/core/ |
| D | filesystem.h | 20 path(const std::string _path) : strPath(_path) {} in path() function 42 class path path() { in path() function
|
| /hardware/libhardware/ |
| D | hardware.c | 76 const char *path, in load() 154 static bool path_in_path(const char *path, const char *in_path) { in path_in_path() 174 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists() 202 char path[PATH_MAX] = {0}; in hw_get_module_by_class() local
|
| /hardware/google/graphics/common/libhwjpeg/ |
| D | hwjpeg-base.cpp | 28 CHWJpegBase::CHWJpegBase(const char *path) : m_iFD(-1), m_uiDeviceCaps(0), m_uiAuxFlags(0) { in CHWJpegBase() 92 bool WriteToFile(const char *path, const char *data, size_t len) { in WriteToFile() 111 bool WriteToFile(const char *path, int dmabuf, size_t len) { in WriteToFile()
|
| /hardware/interfaces/drm/1.0/vts/functional/ |
| D | vendor_modules.cpp | 53 DrmHalVTSVendorModule* VendorModules::getModule(const string& path) { in getModule() 75 for (const auto &path : mPathList) { in getModuleByName() local
|
| /hardware/google/pixel/health/ |
| D | ChargerDetect.cpp | 41 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()
|
| D | BatteryDefender.cpp | 93 int BatteryDefender::readFileToInt(const std::string &path, const bool silent) { in readFileToInt() 115 bool BatteryDefender::writeIntToFile(const std::string &path, const int value) { in writeIntToFile() 124 void BatteryDefender::writeTimeToFile(const std::string &path, const int value, int64_t *previous) { in writeTimeToFile() 171 bool BatteryDefender::isTypeCSink(const std::string &path) { in isTypeCSink() 199 std::string path = kTypeCPath + portName + "/power_role"; in isWiredPresent() local
|
| /hardware/interfaces/cas/1.1/default/ |
| D | FactoryLoader.h | 150 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() 169 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath() 187 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
|
| /hardware/interfaces/cas/aidl/default/ |
| D | FactoryLoader.h | 147 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() 167 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath() 185 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
|
| /hardware/interfaces/cas/1.0/default/ |
| D | FactoryLoader.h | 162 const String8 &path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() 182 const String8 &path, vector<HidlCasPluginDescriptor>* results) { in queryPluginsFromPath() 200 bool FactoryLoader<T>::openFactory(const String8 &path) { in openFactory()
|
| /hardware/interfaces/cas/1.2/default/ |
| D | FactoryLoader.h | 150 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() 169 bool FactoryLoader<T>::queryPluginsFromPath(const String8& path, in queryPluginsFromPath() 187 bool FactoryLoader<T>::openFactory(const String8& path) { in openFactory()
|
| /hardware/google/pixel/pixelstats/ |
| D | MmMetricsReporter.cpp | 110 static bool file_exists(const char *path) { in file_exists() 127 for (auto &path : require_all) { in checkKernelMMMetricSupport() local 135 for (auto &path : require_one) { in checkKernelMMMetricSupport() local 171 bool MmMetricsReporter::ReadFileToUint(const char *const path, uint64_t *val) { in ReadFileToUint() 206 static int ReadFileToLongs(const std::string &path, std::vector<long> *data, int start_idx, in ReadFileToLongs() 260 static inline bool ReadFileToLongsCheck(const std::string &path, std::vector<long> *store, in ReadFileToLongsCheck() 293 std::map<std::string, uint64_t> MmMetricsReporter::readVmStat(const char *path) { in readVmStat() 490 std::string path = android::base::StringPrintf("/proc/%d/comm", pid); in isValidPid() local 521 std::string path = android::base::StringPrintf("/proc/%s/comm", dp->d_name); in findPidByProcessName() local 542 std::string path = android::base::StringPrintf("/proc/%d/stat", pid); in getStimeByPid() local [all …]
|
| D | MitigationStatsReporter.cpp | 43 bool MitigationStatsReporter::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt() 60 const std::string &path) { in logMitigationStatsPerHour()
|
| D | ThermalStatsReporter.cpp | 44 bool ThermalStatsReporter::readDfsCount(const std::string &path, int64_t *val) { in readDfsCount() 78 std::string path; in captureThermalDfsStats() local
|
| D | BatteryCapacityReporter.cpp | 62 const std::string &path) { in checkAndReport() 74 bool BatteryCapacityReporter::parse(const std::string &path) { in parse()
|
| D | DisplayStatsReporter.cpp | 45 bool DisplayStatsReporter::readDisplayPanelErrorCount(const std::string &path, int64_t *val) { in readDisplayPanelErrorCount() 72 std::string path; in captureDisplayPanelErrorStats() local
|
| /hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
| D | resourcemanager.cpp | 42 std::ostringstream path; in Init() local 55 int ResourceManager::AddDrmDevice(std::string path) { in AddDrmDevice()
|
| /hardware/google/pixel/atrace/ |
| D | generate_rc.py | 17 path = line.lstrip(" \t") variable
|
| /hardware/google/pixel/powerstats/include/dataproviders/ |
| D | WlanStateResidencyDataProvider.h | 29 WlanStateResidencyDataProvider(std::string name, std::string path) in WlanStateResidencyDataProvider()
|
| /hardware/interfaces/drm/1.0/default/include/ |
| D | PluginLoader.h | 50 String8 path = pluginDir + "/" + pEntry->d_name; in PluginLoader() local 74 T* loadOne(const char *path, const char *entry) { in loadOne()
|
| /hardware/google/camera/common/hal/aidl_service/ |
| D | libc_wrappers.cc | 67 extern "C" int chdir(const char* path) { in chdir() 102 extern "C" int chmod(const char* path, mode_t mode) { in chmod() 109 extern "C" int chown(const char* path, uid_t owner, gid_t group) { in chown() 130 extern "C" int execl(const char* path, const char* arg, ...) { in execl() 137 extern "C" int execle(const char* path, const char* arg, ...) { in execle() 151 extern "C" int execv(const char* path, char* const argv[]) { in execv()
|