/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/ |
H A D | service_proxy.cpp | 54 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in InitRestoreSession() 81 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in InitBackupSession() 101 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in Start() 152 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in PublishFile() 184 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppFileReady() 208 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppDone() 238 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in ServiceResultReport() 266 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in GetFileHandle() 304 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppendBundlesRestoreSession() 341 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppendBundlesRestoreSession() [all …]
|
H A D | service_incremental_proxy.cpp | 35 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in Release() 47 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in Release() 55 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in GetLocalCapabilitiesIncremental() 84 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in GetAppLocalListAndDoIncrementalBackup() 107 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "remote is nullptr"); in InitIncrementalBackupSession() 119 return BError(BError::Codes::SDK_INVAL_ARG, "Empty reverse stub").GetCode(); in InitIncrementalBackupSession() 216 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in PublishIncrementalFile() 246 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in PublishSAIncrementalFile() 282 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppIncrementalFileReady() 306 return BError(BError::Codes::SDK_INVAL_ARG, str.data()).GetCode(); in AppIncrementalDone() [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_extension_proxy.cpp | 33 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in GetFileHandle() 38 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send the fileName"); in GetFileHandle() 65 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in HandleClear() 86 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in HandleBackup() 89 return BError(BError::Codes::SDK_INVAL_ARG, "build param fail."); in HandleBackup() 109 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in PublishFile() 114 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send the fileName"); in PublishFile() 135 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in HandleRestore() 138 return BError(BError::Codes::SDK_INVAL_ARG, "build param fail."); in HandleRestore() 192 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send bundleName"); in UpdateFdSendRate() [all …]
|
H A D | svc_extension_incremental_proxy.cpp | 32 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in GetIncrementalFileHandle() 37 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send the fileName"); in GetIncrementalFileHandle() 58 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in PublishIncrementalFile() 63 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send the fileName"); in PublishIncrementalFile() 84 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in HandleIncrementalBackup() 108 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalOnBackup() 111 return BError(BError::Codes::SDK_INVAL_ARG, "build param fail."); in IncrementalOnBackup() 131 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in User0OnBackup() 152 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in GetIncrementalBackupFileHandle()
|
H A D | service_incremental_reverse_proxy.cpp | 29 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnFileReady() 54 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnBundleStarted() 72 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnResultReport() 90 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnBundleFinished() 108 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnAllBundlesFinished() 126 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalBackupOnProcessInfo() 144 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalRestoreOnBundleStarted() 162 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalRestoreOnBundleFinished() 180 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalRestoreOnAllBundlesFinished() 199 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in IncrementalRestoreOnResultReport() [all …]
|
H A D | service_reverse_proxy.cpp | 27 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnFileReady() 46 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnBundleStarted() 64 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnResultReport() 82 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnBundleFinished() 100 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnAllBundlesFinished() 117 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in BackupOnProcessInfo() 134 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in RestoreOnBundleStarted() 152 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in RestoreOnBundleFinished() 170 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in RestoreOnAllBundlesFinished() 188 BExcepUltils::BAssert(Remote(), BError::Codes::SDK_INVAL_ARG, "Remote is nullptr"); in RestoreOnFileReady() [all …]
|
H A D | service.cpp | 1263 NoticeClientFinish(bundleName, BError(BError::Codes::SDK_INVAL_ARG)); in ExtConnectDone()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | session_restore_n_exporter.cpp | 319 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in VerifyAppendBundlesParam() 382 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in VerifyPublishFileParam() 395 … NError(BError(BError::Codes::SDK_INVAL_ARG, "ParseFileMeta failed.").GetCode()).ThrowErr(env); in VerifyPublishFileParam() 459 … NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to init restore").GetCode()).ThrowErr(env); in Constructor() 482 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "restore session is nullptr").GetCode()); in GetAppendBundlesCBExec() 486 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "AppendBundles fd is invalid.").GetCode()); in GetAppendBundlesCBExec() 555 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "restore session is nullptr").GetCode()); in GetPublishFileCBExec() 565 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "PublishFile fd is invalid.").GetCode()); in GetPublishFileCBExec() 623 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "restore session is nullptr").GetCode()); in GetFileHandleCBExec() 664 … NError(BError(BError::Codes::SDK_INVAL_ARG, "ParseFileMeta failed.").GetCode()).ThrowErr(env); in GetFileHandle() [all …]
|
H A D | session_backup_n_exporter.cpp | 322 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in Constructor() 329 …NError(BError(BError::Codes::SDK_INVAL_ARG, "First argument is not an object.").GetCode()).ThrowEr… in Constructor() 345 … NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to init backup").GetCode()).ThrowErr(env); in Constructor() 350 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to set BackupEntity entity").GetCode()).ThrowE… in Constructor() 363 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in VerifyParamSuccess() 370 …NError(BError(BError::Codes::SDK_INVAL_ARG, "First argument is not bundles array.").GetCode()).Thr… in VerifyParamSuccess() 415 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to get backupSession entity.").GetCode()).Thro… in AppendBundles() 421 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "backup session is nullptr").GetCode()); in AppendBundles() 461 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in Release() 468 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to get backupSession entity.").GetCode()).Thro… in Release() [all …]
|
H A D | session_incremental_backup_n_exporter.cpp | 328 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in Constructor() 335 …NError(BError(BError::Codes::SDK_INVAL_ARG, "First argument is not an object.").GetCode()).ThrowEr… in Constructor() 352 … NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to init backup").GetCode()).ThrowErr(env); in Constructor() 357 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to set BackupEntity entity.").GetCode()).Throw… in Constructor() 429 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in VerifyParamSuccess() 435 … NError(BError(BError::Codes::SDK_INVAL_ARG, "bundles array invalid.").GetCode()).ThrowErr(env); in VerifyParamSuccess() 480 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to get backupSession entity.").GetCode()).Thro… in AppendBundles() 486 … return NError(BError(BError::Codes::SDK_INVAL_ARG, "backup session is nullptr").GetCode()); in AppendBundles() 523 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in Release() 530 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Failed to get backupSession entity.").GetCode()).Thro… in Release() [all …]
|
H A D | prop_n_operation.cpp | 138 … NError(BError(BError::Codes::SDK_INVAL_ARG, "bundles array invalid.").GetCode()).ThrowErr(env); in AsyncDataList() 184 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in Async() 216 …NError(BError(BError::Codes::SDK_INVAL_ARG, "Number of arguments unmatched.").GetCode()).ThrowErr(… in DoGetBackupInfo()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_error/ |
H A D | b_error.h | 78 SDK_INVAL_ARG = 0x4000, enumerator 251 {Codes::SDK_INVAL_ARG, "SDK received invalid arguments"}, 286 {static_cast<int>(Codes::SDK_INVAL_ARG), BackupErrorCode::E_INVAL},
|