| /base/request/request/services/src/manage/events/ |
| D | mod.rs | 50 pub(crate) fn construct(config: TaskConfig) -> (Self, Recv<Result<u32, ErrorCode>>) { in construct() argument 61 pub(crate) fn pause(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in pause() 69 pub(crate) fn start(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in start() 77 pub(crate) fn stop(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in stop() 85 pub(crate) fn remove(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in remove() 93 pub(crate) fn resume(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in resume() 114 pub(crate) fn set_mode(uid: u64, task_id: u32, mode: Mode) -> (Self, Recv<ErrorCode>) { in set_mode() 126 pub(crate) fn subscribe(task_id: u32, token_id: u64) -> (Self, Recv<ErrorCode>) { in subscribe() 138 ) -> (Self, Recv<ErrorCode>) { in attach_group() 146 pub(crate) fn set_max_speed(uid: u64, task_id: u32, max_speed: i64) -> (Self, Recv<ErrorCode>) { in set_max_speed()
|
| D | pause.rs | 18 pub(crate) fn pause(&mut self, uid: u64, task_id: u32) -> ErrorCode { in pause()
|
| D | start.rs | 18 pub(crate) fn start(&mut self, uid: u64, task_id: u32) -> ErrorCode { in start()
|
| D | resume.rs | 18 pub(crate) fn resume(&mut self, uid: u64, task_id: u32) -> ErrorCode { in resume()
|
| D | set_mode.rs | 19 pub(crate) fn set_mode(&mut self, uid: u64, task_id: u32, mode: Mode) -> ErrorCode { in set_mode()
|
| D | remove.rs | 20 pub(crate) fn remove(&mut self, uid: u64, task_id: u32) -> ErrorCode { in remove()
|
| D | stop.rs | 20 pub(crate) fn stop(&mut self, uid: u64, task_id: u32) -> ErrorCode { in stop()
|
| D | set_max_speed.rs | 20 pub(crate) fn set_max_speed(&mut self, uid: u64, task_id: u32, max_speed: i64) -> ErrorCode { in set_max_speed()
|
| D | construct.rs | 30 pub(crate) fn create(&mut self, mut config: TaskConfig) -> Result<u32, ErrorCode> { in create() argument
|
| /base/request/request/services/src/service/command/ |
| D | mod.rs | 42 pub(crate) fn set_code_with_index(vec: &mut [ErrorCode], index: usize, code: ErrorCode) { in set_code_with_index() 51 vec: &mut [(ErrorCode, T)], in set_code_with_index_other() 53 code: ErrorCode, in set_code_with_index_other()
|
| /base/request/request/services/src/ |
| D | error.rs | 18 pub(crate) enum ErrorCode { enum 35 impl From<ServiceError> for ErrorCode { implementation 47 ErrorCode(ErrorCode), enumerator
|
| /base/request/request/services/src/manage/scheduler/ |
| D | mod.rs | 119 pub(crate) fn start_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in start_task() argument 123 pub(crate) fn resume_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in resume_task() argument 127 fn start_inner(&mut self, uid: u64, task_id: u32, is_resume: bool) -> Result<(), ErrorCode> { in start_inner() argument 169 pub(crate) fn pause_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in pause_task() argument 186 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in remove_task() argument 203 pub(crate) fn stop_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in stop_task() argument 219 ) -> Result<(), ErrorCode> { in set_max_speed() argument 231 ) -> Result<(), ErrorCode> { in task_set_mode() argument 478 pub(crate) fn check_config_satisfy(&self, task_id: u32) -> Result<bool, ErrorCode> { in check_config_satisfy() argument 536 fn change_status(&self, task_id: u32, new_state: State) -> Result<(), ErrorCode> { in change_status() argument [all …]
|
| /base/request/request/services/src/service/run_count/ |
| D | manager.rs | 57 pub(crate) fn subscribe_run_count(&self, pid: u64, obj: RemoteObj) -> ErrorCode { in subscribe_run_count() 64 pub(crate) fn unsubscribe_run_count(&self, pid: u64) -> ErrorCode { in unsubscribe_run_count() 125 fn subscribe_run_count(&mut self, pid: u64, obj: RemoteObj, tx: Sender<ErrorCode>) { in subscribe_run_count() 134 fn unsubscribe_run_count(&mut self, subscribe_pid: u64, tx: Sender<ErrorCode>) { in unsubscribe_run_count()
|
| /base/request/request/services/src/service/client/ |
| D | manager.rs | 183 fn handle_open_channel(&mut self, pid: u64, tx: Sender<Result<Arc<UnixDatagram>, ErrorCode>>) { in handle_open_channel() argument 207 tx: Sender<ErrorCode>, in handle_subscribe() 218 fn handle_unsubscribe(&mut self, tid: u32, tx: Sender<ErrorCode>) { in handle_unsubscribe() 241 fn handle_process_terminated(&mut self, pid: u64, tx: Sender<ErrorCode>) { in handle_process_terminated()
|
| D | mod.rs | 59 pub(crate) fn open_channel(&self, pid: u64) -> Result<Arc<UnixDatagram>, ErrorCode> { in open_channel() argument 80 pub(crate) fn subscribe(&self, tid: u32, pid: u64, uid: u64, token_id: u64) -> ErrorCode { in subscribe() 101 pub(crate) fn unsubscribe(&self, tid: u32) -> ErrorCode { in unsubscribe() 123 pub(crate) fn notify_process_terminate(&self, pid: u64) -> ErrorCode { in notify_process_terminate()
|
| /base/notification/distributed_notification_service/services/distributed/include/helper/ |
| D | distributed_const_define.h | 25 enum ErrorCode : int32_t { enum
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
| D | ark_web_url_resource_error_impl.cpp | 27 int ArkWebUrlResourceErrorImpl::ErrorCode() in ErrorCode() function in OHOS::ArkWeb::ArkWebUrlResourceErrorImpl
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
| D | ark_web_url_resource_error_wrapper.cpp | 27 int ArkWebUrlResourceErrorWrapper::ErrorCode() in ErrorCode() function in OHOS::ArkWeb::ArkWebUrlResourceErrorWrapper
|
| /base/request/request/services/src/service/notification_bar/ |
| D | task_handle.rs | 38 pub(crate) fn attach_group(&self, uid: u64, task_ids: Vec<u32>, group_id: u32) -> ErrorCode { in attach_group() 123 F: Fn(u64, u32) -> (TaskManagerEvent, Recv<ErrorCode>), in event_inner()
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
| D | kernel_stack_async_collector.h | 30 enum ErrorCode : int32_t { enum
|
| /base/hiviewdfx/hiview/plugins/reliability/leak_detectors/base/ |
| D | fault_common_base.h | 36 } ErrorCode; typedef
|
| /base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/ |
| D | feature_analysis.h | 35 enum ErrorCode { enum
|
| /base/update/updater/services/include/log/ |
| D | log.h | 96 ErrorCode(enum UpdaterErrorCode level) {} in ErrorCode() function
|
| /base/security/certificate_manager/interfaces/kits/napi/include/dialog/ |
| D | cm_napi_dialog_common.h | 76 enum ErrorCode { enum
|
| /base/theme/wallpaper_mgr/utils/include/ |
| D | wallpaper_common.h | 45 enum ErrorCode : int32_t { enum
|