Home
last modified time | relevance | path

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

/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp71 std::string tempPath(path); in Init() local
72 auto pos = tempPath.rfind('\\'); in Init()
74 u_setDataDirectory(tempPath.substr(0, pos).c_str()); in Init()
80 std::string tempPath(info.dli_fname); in Init()
81 auto pos = tempPath.rfind('/'); in Init()
83 u_setDataDirectory(tempPath.substr(0, pos).c_str()); in Init()
326 const std::string tempPath = (*iter)->GetIndexPath(); in GetValidAppPath() local
330 appPath = tempPath; in GetValidAppPath()
670 const std::string tempPath = (*iter)->GetIndexPath(); in GetValidHapPath() local
671 if (Utils::ContainsTail(tempPath, Utils::tailSet)) { in GetValidHapPath()
[all …]
/base/telephony/call_manager/services/video/src/
Dvideo_control_manager.cpp77 std::string tempPath(Str16ToStr8(path)); in SetPausePicture() local
79 if (FileExists(tempPath) && IsPngFile(tempPath)) { in SetPausePicture()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp113 std::string tempPath = file.substr(0, pos + 1); in FdToWrite() local
117 if (realpath(tempPath.c_str(), path) != nullptr) { in FdToWrite()
128 path, tempPath.c_str()); in FdToWrite()
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp113 FormatThermalPaths(tzSysPathInfo_.tempPath, sizeof(tzSysPathInfo_.tempPath), in FormatThermalSysfsPaths()
200 tzPathMap.insert(std::make_pair(tzType, iter->tempPath)); in ParseThermalZoneInfo()
/base/powermgr/thermal_manager/application/protector/include/
Dthermal_sensor_provision.h29 char tempPath[PATH_MAX]; member
/base/web/webview/ohos_nweb/src/
Dnweb_helper.cpp126 char tempPath[PATH_MAX] = {0}; in DoPreReadLib() local
127 if (realpath(libPathWebEngine.c_str(), tempPath) == nullptr) { in DoPreReadLib()
133 int ret = stat(tempPath, &stats); in DoPreReadLib()
146 int fd = open(tempPath, O_RDONLY); in DoPreReadLib()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp341 const std::string tempPath = path.find(Updater::SDCARD_CARD_PATH) != string::npos ? in ExtraAndLoadPackage() local
343 if (stat(tempPath.c_str(), &st) != 0) { in ExtraAndLoadPackage()
345 (void)mkdir(tempPath.c_str(), 0775); // 0775 : rwxrwxr-x in ExtraAndLoadPackage()
346 …(void)chown(tempPath.c_str(), Updater::Utils::USER_UPDATE_AUTHORITY, Updater::Utils::GROUP_UPDATE_… in ExtraAndLoadPackage()
352 …ret = CreatePkgStream(stream, tempPath + name + ".tmp", info->unpackedSize, PkgStream::PkgStreamTy… in ExtraAndLoadPackage()
354 …ret = CreatePkgStream(stream, tempPath + name + ".tmp", info->unpackedSize, PkgStream::PkgStreamTy… in ExtraAndLoadPackage()