Searched refs:ServiceEvent (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/request/request/services/src/manage/events/ |
H A D | mod.rs | 37 Service(ServiceEvent), 51 Self::Service(ServiceEvent::Construct( in construct() 62 Self::Service(ServiceEvent::Pause(uid, task_id, tx)), in pause() 70 Self::Service(ServiceEvent::Start(uid, task_id, tx)), in start() 78 Self::Service(ServiceEvent::Stop(uid, task_id, tx)), in stop() 86 Self::Service(ServiceEvent::Remove(uid, task_id, tx)), in remove() 94 Self::Service(ServiceEvent::Resume(uid, task_id, tx)), in resume() 101 (Self::Service(ServiceEvent::DumpAll(tx)), Recv::new(rx)) in dump_all() 107 Self::Service(ServiceEvent::DumpOne(task_id, tx)), in dump_one() 132 pub(crate) enum ServiceEvent { enum [all …]
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | task_manager.rs | 31 QueryEvent, ScheduleEvent, ServiceEvent, StateEvent, TaskEvent, TaskManagerEvent, 178 fn handle_service_event(&mut self, event: ServiceEvent) { in handle_service_event() argument 182 ServiceEvent::Construct(msg, tx) => { in handle_service_event() 185 ServiceEvent::Start(uid, task_id, tx) => { in handle_service_event() 188 ServiceEvent::Stop(uid, task_id, tx) => { in handle_service_event() 191 ServiceEvent::Pause(uid, task_id, tx) => { in handle_service_event() 194 ServiceEvent::Resume(uid, task_id, tx) => { in handle_service_event() 197 ServiceEvent::Remove(uid, task_id, tx) => { in handle_service_event() 200 ServiceEvent::DumpAll(tx) => { in handle_service_event() 203 ServiceEvent::DumpOne(task_id, tx) => { in handle_service_event()
|