Home | History | Annotate | Download | only in util

Lines Matching refs:AsyncTask

20 import android.os.AsyncTask;
44 * methods, so that different ordering of AsyncTask execution can be simulated.
46 * The onPreExecute method of the submitted AsyncTask will be called synchronously during the
47 * call to {@link #submit(Object, AsyncTask, Object...)}.
72 AsyncTask<?, ?, ?> getAsyncTask();
78 private final AsyncTask<?, ?, ?> mAsyncTask;
81 AsyncTask<?, ?, ?> asyncTask) {
84 mAsyncTask = asyncTask;
98 public AsyncTask<?, ?, ?> getAsyncTask() {
111 @GuardedBy("mNextLock") private AsyncTask<?, ?, ?> mNextTask;
124 public <T> AsyncTask<T, ?, ?> submit(Object identifier,
125 AsyncTask<T, ?, ?> task, T... params) {
141 public <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params) {
154 * This method blocks until the AsyncTask has completely finished executing.
170 * This method blocks until the AsyncTask objects have completely finished executing.
188 // Unfortunately we can't be sure when the AsyncTask will have posted its result handling
194 if (submittedTask.getAsyncTask().getStatus() == AsyncTask.Status.FINISHED) {