Searched refs:jsonFilePath (Results 1 – 2 of 2) sorted by relevance
130 …string jsonFilePath = string(BConstants::BACKUP_CONFIG_EXTENSION_PATH).append(BConstants::BACKUP_C… in GetJSonSource() local131 return BFile::ReadFile(UniqueFd(open(jsonFilePath.c_str(), O_RDONLY))).get(); in GetJSonSource()143 string jsonFilePath = string(BConstants::GetSaBundleBackupRootDir(BConstants::DEFAULT_USER_ID)). in GetJSonSource() local147 if (access(jsonFilePath.c_str(), F_OK) != 0) { in GetJSonSource()148 HILOGI("Failed to access jsonFilePath : %{public}s", jsonFilePath.c_str()); in GetJSonSource()151 return BFile::ReadFile(UniqueFd(open(jsonFilePath.c_str(), O_RDONLY))).get(); in GetJSonSource()
307 …string jsonFilePath = string(BConstants::BACKUP_CONFIG_EXTENSION_PATH).append(BConstants::BACKUP_C… variable308 SaveStringToFile(jsonFilePath, jsonContent);341 string jsonFilePath = jsonFileDir.append("/").append(BConstants::BACKUP_CONFIG_JSON); variable342 SaveStringToFile(jsonFilePath, jsonContent);