/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | power_supply_provider.cpp | 235 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 D | std_directory.cpp | 282 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 D | std_directory.h | 44 static void FormatPath(BASE_NS::string& path, bool isDirectory);
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | power_supply_provider.cpp | 88 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 D | power_supply_provider.h | 64 …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 D | FileMonitor.cpp | 39 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 D | power_supply_provider.h | 144 …void FormatPath(std::string& path, size_t size, const char* format, const char* basePath, const ch…
|