Home
last modified time | relevance | path

Searched refs:FormatPath (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp235 void PowerSupplyProvider::FormatPath(std::string& path, in FormatPath() function in OHOS::HDI::Battery::V2_0::PowerSupplyProvider
254 FormatPath(batterySysfsInfo_.capacityPath, PATH_MAX, "%s/%s/capacity", path_.c_str(), in FormatSysfsPaths()
256 FormatPath(batterySysfsInfo_.voltagePath, PATH_MAX, "%s/%s/voltage_now", path_.c_str(), in FormatSysfsPaths()
258 FormatPath(batterySysfsInfo_.temperaturePath, PATH_MAX, "%s/%s/temp", path_.c_str(), in FormatSysfsPaths()
260 FormatPath(batterySysfsInfo_.healthStatePath, PATH_MAX, "%s/%s/health", path_.c_str(), in FormatSysfsPaths()
262 FormatPath(batterySysfsInfo_.chargeStatePath, PATH_MAX, "%s/%s/status", path_.c_str(), in FormatSysfsPaths()
264 FormatPath(batterySysfsInfo_.presentPath, PATH_MAX, "%s/%s/present", path_.c_str(), in FormatSysfsPaths()
268 FormatPath(batterySysfsInfo_.technologyPath, PATH_MAX, "%s/%s/technology", path_.c_str(), in FormatSysfsPaths()
270 FormatPath(batterySysfsInfo_.totalEnergyPath, PATH_MAX, "%s/%s/charge_full", path_.c_str(), in FormatSysfsPaths()
272 FormatPath(batterySysfsInfo_.curAveragePath, PATH_MAX, "%s/%s/current_avg", path_.c_str(), in FormatSysfsPaths()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_directory.cpp282 FormatPath(absolutePath, isDirectory); in ResolveAbsolutePath()
287 void StdDirectory::FormatPath(string& path, bool isDirectory) in FormatPath() function in StdDirectory
305 StdDirectory::FormatPath(path, false); in GetDirName()
318 StdDirectory::FormatPath(path, false); in GetBaseName()
H A Dstd_directory.h44 static void FormatPath(BASE_NS::string& path, bool isDirectory);
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dpower_supply_provider.cpp88 void PowerSupplyProvider::FormatPath( in FormatPath() function in OHOS::PowerMgr::PowerSupplyProvider
107 FormatPath(batterySysfsInfo_.capacityPath, PATH_MAX, "%s/%s/capacity", path_.c_str(), in FormatSysfsPaths()
109 FormatPath( in FormatSysfsPaths()
111 FormatPath( in FormatSysfsPaths()
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dpower_supply_provider.h64 …void FormatPath(std::string& path, size_t size, const char* format, const char* basePath, const ch…
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/io/dev/
H A DFileMonitor.cpp39 void FormatPath(std::string& aPath, bool isDirectory) in FormatPath() function
99 FormatPath(absolutePath, isDirectory); in ResolveAbsolutePath()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h144 …void FormatPath(std::string& path, size_t size, const char* format, const char* basePath, const ch…