Searched refs:restorePath (Results 1 - 6 of 6) sorted by relevance
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_restore.cpp | 113 it->restorePath = it->data; in CheckRestoreFileInfos() 144 info.displayName = RingtoneFileUtils::GetFileNameFromPath(info.restorePath); in UpdateRestoreFileInfo() 146 info.title = RingtoneFileUtils::GetBaseNameFromPath(info.restorePath); in UpdateRestoreFileInfo() 150 if (stat(info.restorePath.c_str(), &statInfo) != 0) { in UpdateRestoreFileInfo() 177 info.restorePath = destPath + "/" + fileName; in OnPrepare() 178 while (RingtoneFileUtils::IsFileExists(info.restorePath)) { in OnPrepare() 179 if (RingtoneFileUtils::IsSameFile(srcPath, info.restorePath)) { in OnPrepare() 182 info.restorePath.c_str()); in OnPrepare() 185 info.restorePath = destPath + "/" + baseName + "(" + to_string(repeatCount++) + ")" + "." + extensionName; in OnPrepare() 188 if (!RingtoneRestoreBase::MoveFile(srcPath, info.restorePath)) { in OnPrepare() [all...] |
H A D | ringtone_dualfwk_restore.cpp | 408 RINGTONE_INFO_LOG("DupToneFile from %{private}s to %{private}s", info.data.c_str(), info.restorePath.c_str()); in DupToneFile() 409 std::string absDstPath = info.restorePath; in DupToneFile() 410 RINGTONE_INFO_LOG("converted dst path from %{private}s to realpath %{private}s", info.restorePath.c_str(), in DupToneFile() 429 info.restorePath = absSrcPath; in DupToneFile() 438 if (stat(info.restorePath.c_str(), &statInfo) != 0) { in UpdateRestoreFileInfo() 443 info.displayName = RingtoneFileUtils::GetFileNameFromPath(info.restorePath); in UpdateRestoreFileInfo() 465 info.restorePath = dstPath + "/" + fileName; in OnPrepare() 466 while (RingtoneFileUtils::IsFileExists(info.restorePath)) { in OnPrepare() 468 if (stat(info.restorePath.c_str(), &dstStatInfo) != 0) { in OnPrepare() 470 info.restorePath in OnPrepare() [all...] |
H A D | ringtone_restore_base.cpp | 147 settingMgr_->CommitSetting(info.toneId, info.restorePath, TONE_SETTING_TYPE_SHOT, info.shotToneType, in CheckSetting() 154 settingMgr_->CommitSetting(info.toneId, info.restorePath, TONE_SETTING_TYPE_RINGTONE, info.ringToneType, in CheckSetting() 162 settingMgr_->CommitSetting(info.toneId, info.restorePath, TONE_SETTING_TYPE_NOTIFICATION, in CheckSetting() 169 settingMgr_->CommitSetting(info.toneId, info.restorePath, TONE_SETTING_TYPE_ALARM, info.alarmToneType, in CheckSetting() 263 if (fileInfo.restorePath.empty() || fileInfo.data.empty()) { in SetInsertValue() 267 values.PutString(RINGTONE_COLUMN_DATA, fileInfo.restorePath); in SetInsertValue()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/include/ |
H A D | ringtone_restore_type.h | 64 std::string restorePath {}; 101 "|restorePath=" + restorePath; in toString()
|
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_store_test.cpp | 441 std::string restorePath = "error.db"; in HWTEST_F() local 442 errCode = OH_Rdb_Restore(storeTestRdbStore_, restorePath.c_str()); in HWTEST_F() 490 std::string restorePath = RDB_TEST_PATH; in HWTEST_F() local 491 errCode = OH_Rdb_Restore(storeTestRdbStore_, restorePath.c_str()); in HWTEST_F()
|
/foundation/multimedia/ringtone_library/test/unittest/ringtone_restore_test/src/ |
H A D | ringtone_restore_test.cpp | 278 fileInfo.restorePath = "restore_MoveDirectory_test_0001"; in HWTEST_F()
|
Completed in 5 milliseconds