Home
last modified time | relevance | path

Searched refs:newPath (Results 51 - 63 of 63) sorted by relevance

123

/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_rdb.h223 const std::string newPath, const std::string backupPath, const std::vector<uint8_t>& newKey) in ChangeDbFileForRestore()
222 ChangeDbFileForRestore( const std::string newPath, const std::string backupPath, const std::vector<uint8_t>& newKey) ChangeDbFileForRestore() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Dmock_app_provision_info.h227 virtual int ChangeDbFileForRestore(const std::string newPath, const std::string backupPath, in ChangeDbFileForRestore() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp71 int RenameModuleDir(const std::string &oldPath, const std::string &newPath) const;
177 int BmsInstallDaemonTest::RenameModuleDir(const std::string &oldPath, const std::string &newPath) const in RenameModuleDir()
182 return InstalldClient::GetInstance()->RenameModuleDir(oldPath, newPath); in RenameModuleDir()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_impl_test.cpp498 const std::string newPath = DATABASE_NAME; in HWTEST_F() local
502 // newPath == currentPath, writeConnectionUsed == true in HWTEST_F()
505 errCode = connectionPool->ChangeDbFileForRestore(newPath, backupPath, newKey, curStatus); in HWTEST_F()
508 // newPath == currentPath in HWTEST_F()
509 errCode = connectionPool->ChangeDbFileForRestore(newPath, backupPath, newKey, curStatus); in HWTEST_F()
511 // newPath != currentPath in HWTEST_F()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dothers_clone_restore.cpp197 NativeRdb::ValuesBucket OthersCloneRestore::GetInsertValue(const FileInfo &fileInfo, const std::string &newPath, in GetInsertValue() argument
201 values.PutString(MediaColumn::MEDIA_FILE_PATH, newPath); in GetInsertValue()
H A Dbase_restore.cpp116 std::string &newPath, std::string &relativePath) in ConvertPathToRealPath()
144 newPath = prefix + relativePath; in ConvertPathToRealPath()
115 ConvertPathToRealPath(const std::string &srcPath, const std::string &prefix, std::string &newPath, std::string &relativePath) ConvertPathToRealPath() argument
H A Dclone_restore.cpp824 NativeRdb::ValuesBucket CloneRestore::GetInsertValue(const FileInfo &fileInfo, const string &newPath, in GetInsertValue() argument
828 values.PutString(MediaColumn::MEDIA_FILE_PATH, newPath); in GetInsertValue()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dunistdndk.cpp1215 char *newPath = static_cast<char *>(malloc(sizeof(char) * lenV)); in Link() local
1217 napi_get_value_string_utf8(env, args[PARAM_1], newPath, lenV, &lenA); in Link()
1219 int value = link(oldPath, newPath); in Link()
1236 char *newPath = static_cast<char *>(malloc(sizeof(char) * lenV)); in LinkAt() local
1239 napi_get_value_string_utf8(env, args[PARAM_1], newPath, lenV, &lenA); in LinkAt()
1241 int newFd = creat(newPath, PARAM_666); in LinkAt()
1242 int value = linkat(AT_FDCWD, oldPath, newFd, newPath, AT_SYMLINK_FOLLOW); in LinkAt()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp1192 string newPath = path; in GetIdByPathFromDb() local
1193 if (newPath.back() == '/') { in GetIdByPathFromDb()
1194 newPath.pop_back(); in GetIdByPathFromDb()
1202 cmd.GetAbsRdbPredicates()->EqualTo(MEDIA_DATA_DB_FILE_PATH, newPath)->And()-> in GetIdByPathFromDb()
H A Dmedialibrary_asset_operations.cpp1923 string newPath = path; in ConvertMediaPathFromCloudPath() local
1924 if (newPath.find(cloudPath) != string::npos) { in ConvertMediaPathFromCloudPath()
1925 newPath.replace(newPath.find(cloudPath), cloudPath.length(), mediaPath); in ConvertMediaPathFromCloudPath()
1927 return newPath; in ConvertMediaPathFromCloudPath()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dclone_restore.h45 NativeRdb::ValuesBucket GetInsertValue(const FileInfo &fileInfo, const std::string &newPath,
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drdb_store_test.cpp498 const std::string newPath = DATABASE_NAME; in HWTEST_F() local
502 // newPath == currentPath, writeConnectionUsed == true in HWTEST_F()
505 errCode = connectionPool->ChangeDbFileForRestore(newPath, backupPath, newKey, curStatus); in HWTEST_F()
508 // newPath == currentPath in HWTEST_F()
509 errCode = connectionPool->ChangeDbFileForRestore(newPath, backupPath, newKey, curStatus); in HWTEST_F()
511 // newPath != currentPath in HWTEST_F()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dfile_fs_impl.cpp379 int FileFsImpl::Rename(std::string oldPath, std::string newPath) in Rename() argument
387 int ret = uv_fs_rename(nullptr, rename_req.get(), oldPath.c_str(), newPath.c_str(), nullptr); in Rename()

Completed in 29 milliseconds

123