Searched refs:jsonFilePath (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_entity_extension_config.cpp | 140 …string jsonFilePath = string(BConstants::BACKUP_CONFIG_EXTENSION_PATH).append(BConstants::BACKUP_C… in GetJSonSource() local 141 UniqueFd fd(open(jsonFilePath.c_str(), O_RDONLY)); in GetJSonSource() 157 string jsonFilePath = string(BConstants::GetSaBundleBackupRootDir(BConstants::DEFAULT_USER_ID)). in GetJSonSource() local 161 if (access(jsonFilePath.c_str(), F_OK) != 0) { in GetJSonSource() 162 HILOGI("Failed to access jsonFilePath : %{public}s", jsonFilePath.c_str()); in GetJSonSource() 165 UniqueFd fd(open(jsonFilePath.c_str(), O_RDONLY)); in GetJSonSource()
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_extension_config_test.cpp | 307 …string jsonFilePath = string(BConstants::BACKUP_CONFIG_EXTENSION_PATH).append(BConstants::BACKUP_C… variable 308 SaveStringToFile(jsonFilePath, jsonContent); 341 string jsonFilePath = jsonFileDir.append("/").append(BConstants::BACKUP_CONFIG_JSON); variable 342 SaveStringToFile(jsonFilePath, jsonContent);
|
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlogger.cpp | 1035 std::string jsonFilePath = FreezeJsonUtil::GetFilePath(info.pid, info.id, info.time); in GetFreezeJsonCollector() local 1036 if (!FileUtil::FileExists(jsonFilePath)) { in GetFreezeJsonCollector() 1037 HIVIEW_LOGE("Not Exist FreezeJsonFile: %{public}s.", jsonFilePath.c_str()); in GetFreezeJsonCollector() 1040 FreezeJsonUtil::LoadCollectorFromFile(jsonFilePath, collector); in GetFreezeJsonCollector() 1042 FreezeJsonUtil::DelFile(jsonFilePath); in GetFreezeJsonCollector()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 329 std::string jsonFilePath = FreezeJsonUtil::GetFilePath(event->GetEventIntValue("PID"), in StartLogCollect() local 331 jsonFd = FreezeJsonUtil::GetFd(jsonFilePath); in StartLogCollect()
|