/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AsyncTaskTest.java | 9 import android.os.AsyncTask; 32 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testNormalFlow() 47 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testCancelBeforeBackground() 64 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testCancelBeforePostExecute() 82 AsyncTask<String, String, String> asyncTask = new MyAsyncTask() { in progressUpdatesAreQueuedUntilBackgroundThreadFinishes() 109 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in executeReturnsAsyncTask() 115 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in shouldGetStatusForAsyncTask() 116 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.PENDING)); in shouldGetStatusForAsyncTask() 118 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.RUNNING)); in shouldGetStatusForAsyncTask() 120 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.FINISHED)); in shouldGetStatusForAsyncTask() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAsyncTask.java | 3 import android.os.AsyncTask; 17 @Implements(AsyncTask.class) 20 @RealObject private AsyncTask<Params, Progress, Result> realAsyncTask; 24 private AsyncTask.Status status = AsyncTask.Status.PENDING; 31 status = AsyncTask.Status.FINISHED; in ShadowAsyncTask() 76 public AsyncTask<Params, Progress, Result> execute(final Params... params) { in execute() 77 status = AsyncTask.Status.RUNNING; in execute() 92 public AsyncTask.Status getStatus() { in getStatus()
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
D | ChromeSigninController.java | 9 import android.os.AsyncTask; 114 new AsyncTask<Void, Void, Void>() { in ensureGcmIsInitialized() method 130 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in ensureGcmIsInitialized()
|
D | AccountManagerHelper.java | 17 import android.os.AsyncTask; 266 new AsyncTask<Void, Void, String>() { in getAuthTokenAsynchronously() method
|
/external/robolectric/src/main/java/android/os/ |
D | ShadowAsyncTaskBridge.java | 7 private AsyncTask<Params, Progress, Result> asyncTask; 9 public ShadowAsyncTaskBridge(AsyncTask<Params, Progress, Result> asyncTask) { in ShadowAsyncTaskBridge()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | DefaultVideoPosterRequestHandler.java | 8 import android.os.AsyncTask; 44 AsyncTask.THREAD_POOL_EXECUTOR.execute(new Runnable() { in getInputStream()
|
D | AwContents.java | 18 import android.os.AsyncTask; 1278 new AsyncTask<Void, Void, String>() { in saveWebArchive() method
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
D | DelayedSyncController.java | 11 import android.os.AsyncTask; 64 new AsyncTask<Void, Void, Void>() { in requestSyncOnBackgroundThread() method
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | ResourceExtractor.java | 12 import android.os.AsyncTask; 47 private class ExtractTask extends AsyncTask<Void, Void, Void> { 303 mExtractTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in startExtractingResources()
|
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
D | AppRTCClient.java | 31 import android.os.AsyncTask; 161 private class RedirectResolver extends AsyncTask<String, Void, String> { 204 extends AsyncTask<String, Void, AppRTCSignalingParameters> { 405 (new AsyncTask<Void, Void, Void>() { in requestQueueDrainInBackground() method
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | SSLClientCertificateRequest.java | 9 import android.os.AsyncTask; 28 class SSLClientCertificateRequest extends AsyncTask<Void, Void, Void>
|
D | WebappAuthenticator.java | 8 import android.os.AsyncTask; 204 AsyncTask.THREAD_POOL_EXECUTOR.execute(sMacKeyGenerator); in triggerMacKeyGeneration()
|
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
D | MockSyncContentResolverDelegate.java | 11 import android.os.AsyncTask; 191 new AsyncTask<Void, Void, Void>() { in notifyObserverAsync() method
|
D | MockAccountManager.java | 20 import android.os.AsyncTask; 581 new AsyncTask<Void, Void, Void>() {
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
D | MediaPlayerBridge.java | 10 import android.os.AsyncTask; 176 private class LoadDataUriTask extends AsyncTask <Void, Void, Boolean> {
|
D | MediaDrmBridge.java | 9 import android.os.AsyncTask; 791 private class PostRequestTask extends AsyncTask<String, Void, Void> {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
D | Robolectric.java | 463 public static ShadowAsyncTask shadowOf(AsyncTask instance){ in shadowOf()
|