Home
last modified time | relevance | path

Searched refs:errNum (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_n_exporter.cpp65 if (errNum != E_OK) { in GetTotalSizeOfVolume()
114 if (errNum != E_OK) { in GetFreeSizeOfVolume()
192 if (errNum != E_OK) { in GetBundleStats()
244 if (errNum != E_OK) { in GetCurrentBundleStats()
285 if (errNum != E_OK) { in GetSystemSize()
335 int32_t errNum; in GetUserStorageStats() local
341 if (errNum != E_OK) { in GetUserStorageStats()
388 if (errNum != E_OK) { in GetTotalSize()
425 if (errNum != E_OK) { in GetFreeSize()
462 if (errNum != E_OK) { in GetTotalSizeSync()
[all …]
H A Dvolumemanager_n_exporter.cpp59 …int32_t errNum = DelayedSingleton<StorageManagerConnect>::GetInstance()->GetAllVolumes(*volumeInfo… in GetAllVolumes() local
60 if (errNum != E_OK) { in GetAllVolumes()
61 return NError(Convert2JsErrNum(errNum)); in GetAllVolumes()
214 …int32_t errNum = DelayedSingleton<StorageManagerConnect>::GetInstance()->GetVolumeByUuid(uuidStrin… in GetVolumeByUuid() local
216 if (errNum != E_OK) { in GetVolumeByUuid()
217 return NError(Convert2JsErrNum(errNum)); in GetVolumeByUuid()
268 …int32_t errNum = DelayedSingleton<StorageManagerConnect>::GetInstance()->GetVolumeById(volumeIdStr… in GetVolumeById() local
270 if (errNum != E_OK) { in GetVolumeById()
271 return NError(Convert2JsErrNum(errNum)); in GetVolumeById()
H A Dstorage_manager_connect.cpp331 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() argument
361 if (errCodeTable.find(errNum) != errCodeTable.end()) { in Convert2JsErrNum()
362 return errCodeTable.at(errNum); in Convert2JsErrNum()
364 return errNum; in Convert2JsErrNum()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/log/
H A Ddfs_error_test.cpp62 int32_t errNum = -1; variable
63 int32_t ret = Convert2JsErrNum(errNum);
64 EXPECT_EQ(ret, errNum);
65 errNum = E_PERMISSION_DENIED;
66 ret = Convert2JsErrNum(errNum);
/ohos5.0/foundation/filemanagement/dfs_service/utils/log/src/
H A Ddfs_error.cpp19 int32_t Convert2JsErrNum(int32_t errNum) in Convert2JsErrNum() argument
21 if (errCodeTable.find(errNum) != errCodeTable.end()) { in Convert2JsErrNum()
22 return errCodeTable.at(errNum); in Convert2JsErrNum()
24 return errNum; in Convert2JsErrNum()
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_mgr_client.cpp205 int errNum = 0; in IsValidPath() local
209 regerror(errNum, &reg, errbuf, sizeof(errbuf)); in IsValidPath()
213 errNum = regexec(&reg, bematch, nm, pmatch, 0); in IsValidPath()
214 if (errNum == REG_NOMATCH) { in IsValidPath()
217 } else if (errNum) { in IsValidPath()
218 regerror(errNum, &reg, errbuf, sizeof(errbuf)); in IsValidPath()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/c/common/
H A Derror_code.h58 static int GetErrorCode(int errNum) in GetErrorCode() argument
61 if (g_map[i].errNo == errNum) { in GetErrorCode()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-init-sysparam.md502 SetParameter failed! the errNum is: xx!
504 SystemSetParameter failed! name is : xxx, errNum is: xx!
508 GetParameter_ failed! the errNum is: xx!
510 SystemReadParam failed! name is: xxxx, errNum is: xx!
514 WaitParameter failed! the errNum is: xx!
516 SystemWaitParameter failed! name is: xxx, errNum is: xx!
520 WatchParameter failed! the errNum is xx!
522 SystemWatchParameter is failed! keyPrefix is:xxx, errNum is:xx!
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dcooperate_free.cpp138 …int32_t errNum = (ret == RET_ERR ? static_cast<int32_t>(CoordinationErrCode::OPEN_SESSION_FAILED) … in OnStart() local
141 .errCode = errNum in OnStart()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/asrcontroller/
H A Dnapi_asr_processing_controller.cpp51 static int32_t GetResInt(int32_t errNum) in GetResInt() argument
53 auto it = ERR_MAP.find(errNum); in GetResInt()
63 static std::string GetResStr(int32_t errNum) in GetResStr() argument
65 auto it = ERR_INFO_MAP.find(errNum); in GetResStr()
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_free.cpp131 …int32_t errNum = (ret == RET_ERR ? static_cast<int32_t>(CoordinationErrCode::OPEN_SESSION_FAILED) … in OnStart() local
134 .errCode = errNum in OnStart()
/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);
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-init-sysparam.md501 SetParameter failed! the errNum is: xx!
503 SystemSetParameter failed! name is : xxx, errNum is: xx!
507 GetParameter_ failed! the errNum is: xx!
509 SystemReadParam failed! name is: xxxx, errNum is: xx!
513 WaitParameter failed! the errNum is: xx!
515 SystemWaitParameter failed! name is: xxx, errNum is: xx!
519 WatchParameter failed! the errNum is xx!
521 SystemWatchParameter is failed! keyPrefix is:xxx, errNum is:xx!
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dbm-tool.md958 //查询设备persist.bms.supportIsolationMode值,若返回errNum is:106说明没配置
/ohos5.0/docs/en/application-dev/tools/
H A Dbm-tool.md958 …//Query the value of persist.bms.supportIsolationMode. If errNum is:106 is returned, persist.bms.s…