Searched refs:TaskResult (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
H A D | TaskResult.java | 53 public class TaskResult implements Parcelable { class 82 } else if (other instanceof TaskResult) { in equals() 83 return equals((TaskResult) other); in equals() 88 private boolean equals(TaskResult other) { in equals() 92 public TaskResult(@State int state) { in TaskResult() method in TaskResult 108 private TaskResult(Parcel in) { in TaskResult() method in TaskResult 120 = new Parcelable.Creator<TaskResult>() { 121 public TaskResult createFromParcel(Parcel in) { 122 return new TaskResult(in); 125 public TaskResult[] newArray(int size) { [all …]
|
H A D | IorapForwardingService.java | 710 public void onProgress(RequestId requestId, TaskResult result) throws RemoteException { 720 public void onComplete(RequestId requestId, TaskResult result) throws RemoteException {
|
/aosp12/system/iorap/include/binder/ |
H A D | task_result.h | 27 struct TaskResult : public AutoParcelable<TaskResult> { struct 38 TaskResult() = default; argument 39 explicit TaskResult(State state) : state(state) {} in TaskResult() argument 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)
|
/aosp12/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/ |
H A D | ParcelablesTest.kt | 71 TaskResult(TaskResult.STATE_COMPLETED), 72 TaskResult(TaskResult.STATE_COMPLETED), 73 TaskResult(TaskResult.STATE_ONGOING))
|
H A D | IIorapIntegrationTest.kt | 50 override fun onProgress(requestId: RequestId?, result: TaskResult?) { 53 override fun onComplete(requestId: RequestId?, result: TaskResult?) { 80 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_BEGAN }) 82 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_ONGOING }) 84 .onComplete(eq(requestId), argThat { it!!.state == TaskResult.STATE_COMPLETED })
|
/aosp12/system/iorap/binder/com/google/android/startop/iorap/ |
H A D | ITaskListener.aidl | 19 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()
|
H A D | TaskResult.aidl | 20 parcelable TaskResult cpp_header "binder/task_result.h";
|
/aosp12/system/iorap/src/binder/ |
H A D | iiorap_impl.cc | 103 …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()
|
/aosp12/system/iorap/src/manager/ |
H A D | event_manager.h | 50 …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()
|
H A D | event_manager.cc | 56 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()
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 51060 …ogle/android/startop/iorap/RequestId;Lcom/google/android/startop/iorap/TaskResult;)V+]Lcom/google/… 51061 …rogress(Lcom/google/android/startop/iorap/RequestId;Lcom/google/android/startop/iorap/TaskResult;)V 51105 PLcom/google/android/startop/iorap/TaskResult$1;-><init>()V 51106 …oogle/android/startop/iorap/TaskResult$1;->createFromParcel(Landroid/os/Parcel;)Lcom/google/androi… 51107 …TaskResult$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;+]Lcom/google/android/starto… 51108 PLcom/google/android/startop/iorap/TaskResult;-><clinit>()V 51109 HPLcom/google/android/startop/iorap/TaskResult;-><init>(Landroid/os/Parcel;)V+]Landroid/os/Parcel;L… 51110 …PLcom/google/android/startop/iorap/TaskResult;-><init>(Landroid/os/Parcel;Lcom/google/android/star… 51111 HPLcom/google/android/startop/iorap/TaskResult;->checkConstructorArguments()V 56833 Lcom/google/android/startop/iorap/TaskResult$1; [all …]
|