Searched refs:Convert2JsErrNum (Results 1 – 12 of 12) sorted by relevance
69 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 …]
66 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()
61 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()
331 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() function
63 int32_t ret = Convert2JsErrNum(errNum);66 ret = Convert2JsErrNum(errNum);
128 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()
66 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()
56 return NError(Convert2JsErrNum(ret)); in GetLastSyncTime()
272 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()
19 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() function
134 int32_t Convert2JsErrNum(int32_t errNum);
68 int32_t Convert2JsErrNum(int32_t errNum);