Home
last modified time | relevance | path

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

/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DTaskResult.java53 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
119 public static final Parcelable.Creator<TaskResult> CREATOR
120 = new Parcelable.Creator<TaskResult>() {
121 public TaskResult createFromParcel(Parcel in) {
122 return new TaskResult(in);
[all …]
DIorapForwardingService.java341 public void onProgress(RequestId requestId, TaskResult result) throws RemoteException {
351 public void onComplete(RequestId requestId, TaskResult result) throws RemoteException {
/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/
DIIorapIntegrationTest.kt47 override fun onProgress(requestId: RequestId?, result: TaskResult?) { in <lambda>()
50 override fun onComplete(requestId: RequestId?, result: TaskResult?) { in <lambda>()
74 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_BEGAN }) in <lambda>()
76 .onProgress(eq(requestId), argThat { it!!.state == TaskResult.STATE_ONGOING }) in <lambda>()
78 .onComplete(eq(requestId), argThat { it!!.state == TaskResult.STATE_COMPLETED }) in <lambda>()
DParcelablesTest.kt71 TaskResult(TaskResult.STATE_COMPLETED), in <lambda>()
72 TaskResult(TaskResult.STATE_COMPLETED), in <lambda>()
73 TaskResult(TaskResult.STATE_ONGOING)) in <lambda>()