Home
last modified time | relevance | path

Searched refs:TaskResult (Results 1 – 6 of 6) sorted by relevance

/system/iorap/include/binder/
Dtask_result.h27 struct TaskResult : public AutoParcelable<TaskResult> { struct
38 TaskResult() = default; argument
39 explicit TaskResult(State state) : state(state) {} in TaskResult() function
41 constexpr bool operator==(const TaskResult& other) const {
45 constexpr bool operator!=(const TaskResult& other) const {
50 IORAP_INTROSPECT_ADAPT_STRUCT(TaskResult, state);
54 IORAP_JAVA_NAMESPACE_BINDER_TYPEDEF(TaskResult)
/system/iorap/binder/com/google/android/startop/iorap/
DITaskListener.aidl19 import com.google.android.startop.iorap.TaskResult;
29 void onProgress(in RequestId requestId, in TaskResult result); in onProgress()
30 void onComplete(in RequestId requestId, in TaskResult result); in onComplete()
DTaskResult.aidl20 parcelable TaskResult cpp_header "binder/task_result.h";
/system/iorap/src/binder/
Diiorap_impl.cc103 …virtual void OnProgress(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnProgress()
106 …virtual void OnComplete(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnComplete()
128 void ReplyWithResult(const RequestId& request_id, TaskResult::State result_state) { in ReplyWithResult()
138 TaskResult result; in ReplyWithResult()
142 if (result_state == TaskResult::State::kCompleted) { in ReplyWithResult()
151 void ReplyWithResult(const RequestId& request_id, bool completed, TaskResult result) { in ReplyWithResult()
267 ReplyWithResult(request_id, TaskResult::State::kBegan); in HandleFakeBehavior()
268 ReplyWithResult(request_id, TaskResult::State::kOngoing); in HandleFakeBehavior()
269 ReplyWithResult(request_id, TaskResult::State::kCompleted); in HandleFakeBehavior()
/system/iorap/src/manager/
Devent_manager.h50 …virtual void OnProgress(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnProgress()
51 …virtual void OnComplete(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnComplete()
Devent_manager.cc56 using binder::TaskResult;
1149 this->NotifyProgress(e.first, TaskResult{TaskResult::State::kBegan}); in InitializeRxGraphForJobScheduledEvents()
1179 this->NotifyComplete(e.first, TaskResult{TaskResult::State::kCompleted}); in InitializeRxGraphForJobScheduledEvents()
1205 void NotifyComplete(RequestId request_id, TaskResult result) { in NotifyComplete()
1214 void NotifyProgress(RequestId request_id, TaskResult result) { in NotifyProgress()