Home
last modified time | relevance | path

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

12

/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.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/security/asset/interfaces/inner_kits/c/src/
Dlib.rs299 type Error = AssetError; typedef
301 fn try_from(vec: &Vec<u8>) -> Result<Self, Self::Error> { in try_from() argument
324 type Error = AssetError; typedef
326 fn try_from(value: &Value) -> Result<Self, Self::Error> { in try_from() argument
344 type Error = AssetError; typedef
346 fn try_from(map: &AssetMap) -> Result<Self, Self::Error> { in try_from() argument
377 type Error = AssetError; typedef
379 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/request/request/frameworks/native/cache_core/src/data/
Dfile.rs59 fn drop_inner(me: &mut FileCache) -> Result<(), io::Error> { in drop()
128 fn create_file(task_id: &TaskId, cache: Arc<RamCache>) -> Result<(), io::Error> { in create_file()
144 pub(crate) fn open(&self) -> Result<File, io::Error> { in open()
188 entry: Result<DirEntry, io::Error>, in filter_map_entry()
/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/common/netstack_rs/src/
Dwrapper.rs419 type Error = ffi::TaskStatus; typedef
420 fn try_from(status: ffi::TaskStatus) -> Result<Self, Self::Error> { in try_from() argument
433 type Error = ffi::ResponseCode; typedef
434 fn try_from(value: ffi::ResponseCode) -> Result<Self, Self::Error> { in try_from() argument
481 type Error = ffi::HttpErrorCode; typedef
482 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_lite/frameworks/featured/
Dhilog.cpp52 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/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/request/request/services/src/task/
Dtask_control.rs91 pub(crate) async fn clear_downloaded_file(task: Arc<RequestTask>) -> Result<(), std::io::Error> { in clear_downloaded_file()
/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.rs431 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/ets/ani/hilog/src/
Dhilog_ani_base.cpp192 void HilogAniBase::Error(ani_env *env, ani_double domain, ani_string tag, in Error() function in OHOS::HiviewDFX::HilogAniBase
/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.cpp178 napi_value HilogNapiBase::Error(napi_env env, napi_callback_info info) in Error() function in OHOS::HiviewDFX::HilogNapiBase

12