/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() 290 void SharedLibrary::addLibrarySearchPath(const char* path) { in addLibrarySearchPath()
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | TestTempDir.h | 107 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/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/google/pixel/pixelstats/test/mm/ |
D | MockMmMetricsReporter.h | 45 void setBasePath(const std::string &path) { base_path_ = path; } in setBasePath() 87 virtual std::string getSysfsPath(const std::string &path) { in getSysfsPath()
|
/hardware/libhardware/ |
D | hardware.c | 80 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() 224 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/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/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/interfaces/cas/1.1/default/ |
D | FactoryLoader.h | 151 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/ |
D | FactoryLoader.h | 151 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/ |
D | FactoryLoader.h | 163 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/interfaces/cas/aidl/default/ |
D | FactoryLoader.h | 148 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/google/pixel/pixelstats/ |
D | MmMetricsReporter.cpp | 127 static bool file_exists(const char *path) { in file_exists() 145 for (auto &path : require_all) { in checkKernelMMMetricSupport() local 156 for (auto &path : require_one_ion_total_pools_path) { in checkKernelMMMetricSupport() local 184 bool MmMetricsReporter::ReadFileToUint(const std::string &path, uint64_t *val) { in ReadFileToUint() 219 static int ReadFileToLongs(const std::string &path, std::vector<long> *data, int start_idx, in ReadFileToLongs() 273 static inline bool ReadFileToLongsCheck(const std::string &path, std::vector<long> *store, in ReadFileToLongsCheck() 308 std::map<std::string, uint64_t> MmMetricsReporter::readSysfsNameValue(const std::string &path) { in readSysfsNameValue() 346 const std::string &path) { in readProcStat() 760 std::string path = android::base::StringPrintf("/proc/%s/comm", dp->d_name); in findPidByProcessName() local 777 int64_t MmMetricsReporter::getStimeByPathAndVerifyName(const std::string &path, in getStimeByPathAndVerifyName() [all …]
|
D | BatteryEEPROMReporter.cpp | 47 const std::string &path) { in checkAndReport() 277 std::string path; in checkAndReportGMSR() local 317 const std::string &path) { in checkAndReportMaxfgHistory() 386 std::string path; in checkAndReportFGModelLoading() local 441 std::string path = paths[path_idx]; in checkAndReportFGLearning() local 510 std::string path = paths[i]; in checkAndReportValidation() local
|
D | MitigationStatsReporter.cpp | 43 bool MitigationStatsReporter::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt() 60 const std::string &path) { in logMitigationStatsPerHour()
|
D | DisplayStatsReporter.cpp | 45 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
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | process_test.c | 69 static void posixify_path(char *path) { in posixify_path() 85 char path[PATH_MAX]; in test_util_get_process_exec_path() 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/interfaces/drm/1.0/default/include/ |
D | PluginLoader.h | 52 String8 path = pluginDir + "/" + pEntry->d_name; in PluginLoader() local 76 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()
|
/hardware/google/pixel/powerstats/include/dataproviders/ |
D | WlanStateResidencyDataProvider.h | 29 WlanStateResidencyDataProvider(std::string name, std::string path) in WlanStateResidencyDataProvider()
|