Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 22 of 22) sorted by relevance

/base/update/updater/services/rust/hash_signed_data/src/
Dhsd.rs32 type Error = String; typedef
33 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() argument
46 type Error = String; typedef
47 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() argument
/base/security/code_signature/services/key_enable/src/
Dfile_utils.rs56 pub fn create_file_path(path_name: &str) -> Result<(), std::io::Error> { in create_file_path()
62 pub fn write_bytes_to_file(filename: &str, data: &[u8]) -> Result<(), std::io::Error> { in write_bytes_to_file()
68 pub fn load_bytes_from_file(filename: &str, buffer: &mut Vec<u8>) -> Result<(), std::io::Error> { in load_bytes_from_file()
78 pub fn delete_file_path(file_path: &str) -> Result<(), std::io::Error> { in delete_file_path()
Dprofile_utils.rs116 ) -> Result<(String, String, u32), Box<dyn Error>> { in parse_pkcs7_data()
126 ) -> Result<Vec<u8>, Box<dyn Error>> { in verify_pkcs7_signature()
137 ) -> Result<(), Box<dyn Error>> { in validate_bundle_and_distribution_type()
172 ) -> Result<JsonValue, Box<dyn Error>> { in parse_and_validate_profile()
178 fn get_cert_details(profile_json: &JsonValue) -> Result<(String, String, u32), Box<dyn Error>> { in get_cert_details()
228 ) -> Result<(), Box<dyn Error>> { in verify_signers()
/base/security/asset/interfaces/inner_kits/c/src/
Dlib.rs248 type Error = AssetError; typedef
250 fn try_from(vec: &Vec<u8>) -> Result<Self, Self::Error> { in try_from() argument
273 type Error = AssetError; typedef
275 fn try_from(value: &Value) -> Result<Self, Self::Error> { in try_from() argument
293 type Error = AssetError; typedef
295 fn try_from(map: &AssetMap) -> Result<Self, Self::Error> { in try_from() argument
326 type Error = AssetError; typedef
328 fn try_from(maps: &Vec<AssetMap>) -> Result<Self, Self::Error> { in try_from() argument
/base/msdp/device_status/rust/utils/src/
Derrors.rs47 type Error = FusionErrorCode; typedef
49 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() argument
/base/powermgr/battery_manager/frameworks/napi/include/
Dnapi_error.h33 inline void Error(BatteryError code) in Error() function
/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_errors.h33 inline void Error(ThermalErrors code) in Error() function
/base/powermgr/battery_statistics/frameworks/napi/include/
Dnapi_error.h33 inline void Error(StatsError code) in Error() function
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_errors.h33 inline void Error(PowerErrors code) in Error() function
/base/hiviewdfx/hilog/platform/interface/native/
Dlog.h31 Error, enumerator
/base/hiviewdfx/hilog/platform/
Dhilog.cpp55 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() function in OHOS::HiviewDFX::HiLog
/base/hiviewdfx/hilog/frameworks/libhilog/
Dhilog.cpp53 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() function in OHOS::HiviewDFX::HiLog
/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhilog.cpp52 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() function in OHOS::HiviewDFX::HiLog
/base/msdp/device_status/rust/data/sys/src/ipc/
Dbasic.rs104 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> in fmt() argument
Ddrag.rs181 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> in fmt() argument
/base/hiviewdfx/hilog/interfaces/rust/src/
Dlib.rs42 Error = 6, enumerator
/base/security/asset/frameworks/definition/src/
Dlib.rs405 fn get_enum_attr<T: TryFrom<u32, Error = AssetError>>(&self, key: &K) -> Result<T>; in get_enum_attr() argument
Dextension.rs108 fn get_enum_attr<T: TryFrom<u32, Error = AssetError>>(&self, key: &K) -> Result<T> { in get_enum_attr() argument
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/
Dhilog_napi_base.cpp164 napi_value HilogNapiBase::Error(napi_env env, napi_callback_info info) in Error() function in OHOS::HiviewDFX::HilogNapiBase
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
Dhilog_module.cpp152 JSIValue HilogModule::Error(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Error() function in OHOS::ACELite::HilogModule
/base/powermgr/display_manager/state_manager/frameworks/napi/
Dbrightness.cpp222 void Brightness::Result::Error(int32_t code, const std::string& msg) in Error() function in OHOS::DisplayPowerMgr::Brightness::Result
/base/request/request/services/src/task/
Drequest_task.rs317 pub(crate) async fn clear_downloaded_file(&self) -> Result<(), std::io::Error> { in clear_downloaded_file()