/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_manager.cpp | 85 std::string tempPath(path); in Init() 86 auto pos = tempPath.rfind('\\'); in Init() 88 u_setDataDirectory(tempPath.substr(0, pos).c_str()); in Init() 94 std::string tempPath(info.dli_fname); in Init() 95 auto pos = tempPath.rfind('/'); in Init() 97 u_setDataDirectory(tempPath.substr(0, pos).c_str()); in Init() 421 const std::string tempPath = (*iter)->GetIndexPath(); in GetValidAppPath() local 425 appPath = tempPath; in GetValidAppPath() 761 const std::string tempPath = (*iter)->GetIndexPath(); in GetValidHapPath() local 762 if (Utils::ContainsTail(tempPath, Util in GetValidHapPath() 774 const std::string tempPath = (*iter)->GetIndexPath(); GetValidIndexPath() local 792 std::string tempPath = (*iter)->GetIndexPath(); FindRawFileFromHap() local 841 std::string tempPath = (*iter)->GetIndexPath(); GetRawFd() local 1187 const std::string tempPath = (*iter)->GetIndexPath(); IsRawDirFromHap() local [all...] |
/base/powermgr/thermal_manager/application/protector/src/ |
H A D | thermal_sensor_provision.cpp | 113 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/ |
H A D | thermal_sensor_provision.h | 29 char tempPath[PATH_MAX]; member
|
/base/hiviewdfx/faultloggerd/test/utils/ |
H A D | dfx_test_util.h | 87 std::string GetCppCrashFileName(const pid_t pid, const std::string& tempPath = TEMP_DIR);
|
H A D | dfx_test_util.cpp | 212 std::string GetCppCrashFileName(const pid_t pid, const std::string& tempPath) in GetCppCrashFileName() argument 220 OHOS::GetDirFiles(tempPath, files); in GetCppCrashFileName()
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 285 std::string tempPath = patchPath.empty() ? hapPath : patchPath; in ReadRawFileFromHap() local 286 auto extractor = AbilityBase::ExtractorUtil::GetExtractor(tempPath, isNewExtractor); in ReadRawFileFromHap() 288 RESMGR_HILOGE(RESMGR_TAG, "failed to get extractor hapPath, %{public}s", tempPath.c_str()); in ReadRawFileFromHap() 294 "the rawfile file %{public}s is not exist in %{public}s", rawfilePath.c_str(), tempPath.c_str()); in ReadRawFileFromHap() 300 RESMGR_HILOGE(RESMGR_TAG, "failed to get extractor hapPath, %{public}s", tempPath.c_str()); in ReadRawFileFromHap() 306 "the rawfile file %{public}s is not exist in %{public}s", rawfilePath.c_str(), tempPath.c_str()); in ReadRawFileFromHap() 313 rawfilePath.c_str(), tempPath.c_str()); in ReadRawFileFromHap() 327 const char *tempPath = sPatchPath.empty() ? hapPath : patchPath; in ReadRawFileDescriptor() local 328 Utils::CanonicalizePath(tempPath, outPath, PATH_MAX); in ReadRawFileDescriptor()
|
/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | dump_utils.cpp | 312 std::string tempPath = file.substr(0, pos + 1); in FdToWrite() local 316 if (realpath(tempPath.c_str(), path) != nullptr) { in FdToWrite() 334 DUMPER_HILOGD(MODULE_COMMON, "realpath, no such file. path=[%{public}s], tempPath=[%{public}s]", in FdToWrite() 335 path, tempPath.c_str()); in FdToWrite()
|
/base/telephony/call_manager/services/video/src/ |
H A D | video_control_manager.cpp | 123 std::string tempPath(Str16ToStr8(path)); in SetPausePicture() 131 ret = netCall->SetPausePicture(tempPath); in SetPausePicture()
|
/base/update/updater/services/package/pkg_manager/ |
H A D | pkg_managerImpl.cpp | 355 const std::string tempPath = GetExtraPath(path);
in ExtraAndLoadPackage() local 356 if (stat(tempPath.c_str(), &st) != 0) {
in ExtraAndLoadPackage() 358 (void)mkdir(tempPath.c_str(), 0775); // 0775 : rwxrwxr-x
in ExtraAndLoadPackage() 364 ret = CreatePkgStream(stream, tempPath + name + ".tmp", info->unpackedSize, PkgStream::PkgStreamType_Write);
in ExtraAndLoadPackage() 366 ret = CreatePkgStream(stream, tempPath + name + ".tmp", info->unpackedSize, PkgStream::PkgStreamType_MemoryMap);
in ExtraAndLoadPackage()
|
/base/hiviewdfx/hiview/base/event_publish/ |
H A D | event_publish.cpp | 261 std::string tempPath = GetTempFilePath(uid); in SaveEventToTempFile() local 262 WriteEventJson(eventJson, tempPath); in SaveEventToTempFile()
|
/base/hiviewdfx/faultloggerd/test/systemtest/ |
H A D | faultloggerd_system_test.cpp | 103 int waitSec = 1, const std::string& tempPath = TEMP_DIR) in TriggerCrasherAndGetFileName() 111 crashFileName = GetCppCrashFileName(pid, tempPath); in TriggerCrasherAndGetFileName()
|