Home
last modified time | relevance | path

Searched refs:Convert2JsErrNum (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.cpp69 return result == E_PERMISSION_DENIED? NError(Convert2JsErrNum(E_PERMISSION_DENIED)) : in ChangeAppCloudSwitch()
70 NError(Convert2JsErrNum(E_PERMISSION_SYSTEM)); in ChangeAppCloudSwitch()
112 return result == E_PERMISSION_DENIED? NError(Convert2JsErrNum(E_PERMISSION_DENIED)) : in NotifyDataChangeInner()
113 NError(Convert2JsErrNum(E_PERMISSION_SYSTEM)); in NotifyDataChangeInner()
175 return result == E_PERMISSION_DENIED? NError(Convert2JsErrNum(E_PERMISSION_DENIED)) : in NotifyEventChange()
176 NError(Convert2JsErrNum(E_PERMISSION_SYSTEM)); in NotifyEventChange()
230 return result == E_PERMISSION_DENIED? NError(Convert2JsErrNum(E_PERMISSION_DENIED)) : in DisableCloud()
231 NError(Convert2JsErrNum(E_PERMISSION_SYSTEM)); in DisableCloud()
312 return result == E_PERMISSION_DENIED? NError(Convert2JsErrNum(E_PERMISSION_DENIED)) : in EnableCloud()
313 NError(Convert2JsErrNum(E_PERMISSION_SYSTEM)); in EnableCloud()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_n_exporter.cpp66 return NError(Convert2JsErrNum(errNum)); in GetTotalSizeOfVolume()
115 return NError(Convert2JsErrNum(errNum)); in GetFreeSizeOfVolume()
193 return NError(Convert2JsErrNum(errNum)); in GetBundleStats()
245 return NError(Convert2JsErrNum(errNum)); in GetCurrentBundleStats()
286 return NError(Convert2JsErrNum(errNum)); in GetSystemSize()
342 return NError(Convert2JsErrNum(errNum)); in GetUserStorageStats()
389 return NError(Convert2JsErrNum(errNum)); in GetTotalSize()
426 return NError(Convert2JsErrNum(errNum)); in GetFreeSize()
463 NError(Convert2JsErrNum(errNum)).ThrowErr(env); in GetTotalSizeSync()
486 NError(Convert2JsErrNum(errNum)).ThrowErr(env); in GetFreeSizeSync()
H A Dvolumemanager_n_exporter.cpp61 return NError(Convert2JsErrNum(errNum)); in GetAllVolumes()
135 return NError(Convert2JsErrNum(result)); in Mount()
175 return NError(Convert2JsErrNum(result)); in Unmount()
217 return NError(Convert2JsErrNum(errNum)); in GetVolumeByUuid()
271 return NError(Convert2JsErrNum(errNum)); in GetVolumeById()
335 return NError(Convert2JsErrNum(result)); in SetVolumeDescription()
388 return NError(Convert2JsErrNum(result)); in Format()
440 return NError(Convert2JsErrNum(result)); in Partition()
H A Dstorage_manager_connect.cpp331 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() function
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/log/
H A Ddfs_error_test.cpp63 int32_t ret = Convert2JsErrNum(errNum);
66 ret = Convert2JsErrNum(errNum);
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_file_cache_napi.cpp128 NError(Convert2JsErrNum(ret)).ThrowErr(env); in CleanCloudFileCache()
168 return NError(Convert2JsErrNum(ret)); in StartFileCache()
218 return NError(Convert2JsErrNum(ret)); in StopFileCache()
263 return NError(Convert2JsErrNum(ret)); in StartBatchFileCache()
316 return NError(Convert2JsErrNum(ret)); in StopBatchFileCache()
381 NError(Convert2JsErrNum(ret)).ThrowErr(env); in On()
426 NError(Convert2JsErrNum(ret)).ThrowErr(env); in Off()
H A Dcloud_file_napi.cpp66 return NError(Convert2JsErrNum(ret)); in Start()
212 NError(Convert2JsErrNum(ret)).ThrowErr(env); in On()
245 NError(Convert2JsErrNum(ret)).ThrowErr(env); in Off()
288 return NError(Convert2JsErrNum(ret)); in Stop()
H A Dfile_sync_napi.cpp56 return NError(Convert2JsErrNum(ret)); in GetLastSyncTime()
H A Dcloud_sync_napi.cpp272 NError(Convert2JsErrNum(ret)).ThrowErr(env); in OnCallback()
304 NError(Convert2JsErrNum(ret)).ThrowErr(env); in OffCallback()
327 return NError(Convert2JsErrNum(ret)); in Start()
357 return NError(Convert2JsErrNum(ret)); in Stop()
/ohos5.0/foundation/filemanagement/dfs_service/utils/log/src/
H A Ddfs_error.cpp19 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() function
/ohos5.0/foundation/filemanagement/dfs_service/utils/log/include/
H A Ddfs_error.h134 int32_t Convert2JsErrNum(int32_t errNum);
/ohos5.0/foundation/filemanagement/storage_service/interfaces/kits/js/storage_manager/include/
H A Dstorage_manager_connect.h68 int32_t Convert2JsErrNum(int32_t errNum);