/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/ |
H A D | mock_rdb.h | 223 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 D | mock_app_provision_info.h | 227 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 D | bms_install_daemon_test.cpp | 71 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 D | rdb_store_impl_test.cpp | 498 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 D | others_clone_restore.cpp | 197 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 D | base_restore.cpp | 116 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 D | clone_restore.cpp | 824 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 D | unistdndk.cpp | 1215 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 D | medialibrary_object_utils.cpp | 1192 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 D | medialibrary_asset_operations.cpp | 1923 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 D | clone_restore.h | 45 NativeRdb::ValuesBucket GetInsertValue(const FileInfo &fileInfo, const std::string &newPath,
|
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/ |
H A D | rdb_store_test.cpp | 498 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 D | file_fs_impl.cpp | 379 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()
|