Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 25 of 25) 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/asset/interfaces/inner_kits/c/src/
Dlib.rs254 type Error = AssetError; typedef
256 fn try_from(vec: &Vec<u8>) -> Result<Self, Self::Error> { in try_from() argument
279 type Error = AssetError; typedef
281 fn try_from(value: &Value) -> Result<Self, Self::Error> { in try_from() argument
299 type Error = AssetError; typedef
301 fn try_from(map: &AssetMap) -> Result<Self, Self::Error> { in try_from() argument
332 type Error = AssetError; typedef
334 fn try_from(maps: &Vec<AssetMap>) -> 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.rs118 ) -> Result<(String, String, u32, String), Box<dyn Error>> { in parse_pkcs7_data()
128 ) -> Result<Vec<u8>, Box<dyn Error>> { in verify_pkcs7_signature()
139 ) -> Result<(), Box<dyn Error>> { in validate_bundle_and_distribution_type()
174 ) -> Result<JsonValue, Box<dyn Error>> { in parse_and_validate_profile()
180 …t_cert_details(profile_json: &JsonValue) -> Result<(String, String, u32, String), Box<dyn Error>> { in get_cert_details()
234 ) -> Result<(), Box<dyn Error>> { in verify_signers()
/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/thermal_manager/frameworks/napi/
Dnapi_errors.h33 inline void Error(ThermalErrors code) in Error() function
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_errors.h33 inline void Error(PowerErrors code) in Error() function
/base/powermgr/battery_statistics/frameworks/napi/include/
Dnapi_error.h33 inline void Error(StatsError code) in Error() function
/base/powermgr/battery_manager/frameworks/napi/include/
Dnapi_error.h33 inline void Error(BatteryError code) in Error() function
/base/hiviewdfx/hilog/platform/interface/native/
Dlog.h31 Error, enumerator
/base/request/request/frameworks/native/cache_core/src/data/
Dfile.rs54 fn drop_inner(me: &mut FileCache) -> Result<(), io::Error> { in drop()
124 fn create_file(task_id: &TaskId, cache: Arc<RamCache>) -> Result<(), io::Error> { in create_file()
140 pub(crate) fn open(&self) -> Result<File, io::Error> { in open()
176 entry: Result<DirEntry, io::Error>, in filter_map_entry()
/base/request/request/common/netstack_rs/src/
Dwrapper.rs234 type Error = ffi::TaskStatus; typedef
235 fn try_from(status: ffi::TaskStatus) -> Result<Self, Self::Error> { in try_from() argument
248 type Error = ffi::ResponseCode; typedef
249 fn try_from(value: ffi::ResponseCode) -> Result<Self, Self::Error> { in try_from() argument
296 type Error = ffi::HttpErrorCode; typedef
297 fn try_from(value: ffi::HttpErrorCode) -> Result<Self, Self::Error> { in try_from() argument
/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/msdp/device_status/rust/subsystem/device_profile/sys/src/
Ddevice_profile.rs64 type Error = FusionErrorCode; typedef
66 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() argument
/base/security/asset/frameworks/definition/src/
Dlib.rs427 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_lite/frameworks/js/builtin/src/
Dhilog_module.cpp155 JSIValue HilogModule::Error(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Error() function in OHOS::ACELite::HilogModule
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/
Dhilog_napi_base.cpp180 napi_value HilogNapiBase::Error(napi_env env, napi_callback_info info) in Error() function in OHOS::HiviewDFX::HilogNapiBase
/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.rs324 pub(crate) async fn clear_downloaded_file(&self) -> Result<(), std::io::Error> { in clear_downloaded_file()