HomeSort by relevance Sort by last modified time
    Searched defs:asyncTask (Results 1 - 3 of 3) sorted by null

  /external/robolectric/src/main/java/android/os/
ShadowAsyncTaskBridge.java 7 private AsyncTask<Params, Progress, Result> asyncTask;
9 public ShadowAsyncTaskBridge(AsyncTask<Params, Progress, Result> asyncTask) {
10 this.asyncTask = asyncTask;
14 return asyncTask.doInBackground(params);
18 asyncTask.onPreExecute();
22 asyncTask.onPostExecute(result);
26 asyncTask.onProgressUpdate(values)
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AsyncTaskTest.java 9 import android.os.AsyncTask;
32 AsyncTask<String, String, String> asyncTask = new MyAsyncTask();
34 asyncTask.execute("a", "b");
39 assertEquals("Result should get stored in the AsyncTask", "c", asyncTask.get(100, TimeUnit.MILLISECONDS));
47 AsyncTask<String, String, String> asyncTask = new MyAsyncTask();
49 asyncTask.execute("a", "b");
52 assertTrue(asyncTask.cancel(true))
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupOptions.java 31 import android.os.AsyncTask;
376 AsyncTask<Void, Void, Void> asyncTask = new AsyncTask<Void, Void, Void>() {
393 asyncTask.execute();

Completed in 1255 milliseconds