/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAsyncTaskTest.java | 9 import android.os.AsyncTask; 34 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testNormalFlow() 51 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testCancelBeforeBackground() 69 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in testCancelBeforePostExecute() 89 AsyncTask<String, String, String> asyncTask = new MyAsyncTask() { in progressUpdatesAreQueuedUntilBackgroundThreadFinishes() 119 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in executeReturnsAsyncTask() 125 AsyncTask<String, String, String> asyncTask = new MyAsyncTask(); in shouldGetStatusForAsyncTask() 126 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.PENDING); in shouldGetStatusForAsyncTask() 128 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.RUNNING); in shouldGetStatusForAsyncTask() 130 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.FINISHED); in shouldGetStatusForAsyncTask() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAsyncTask.java | 3 import android.os.AsyncTask; 15 @Implements(AsyncTask.class) 18 @RealObject private AsyncTask<Params, Progress, Result> realAsyncTask; 22 private AsyncTask.Status status = AsyncTask.Status.PENDING; 29 status = AsyncTask.Status.FINISHED; in ShadowAsyncTask() 84 protected AsyncTask<Params, Progress, Result> execute(final Params... params) { in execute() 85 status = AsyncTask.Status.RUNNING; in execute() 101 protected AsyncTask<Params, Progress, Result> executeOnExecutor( in executeOnExecutor() 103 status = AsyncTask.Status.RUNNING; in executeOnExecutor() 118 protected AsyncTask.Status getStatus() { in getStatus()
|
D | ShadowAsyncTaskBridge.java | 3 import android.os.AsyncTask; 13 private AsyncTask<Params, Progress, Result> asyncTask; 15 public ShadowAsyncTaskBridge(AsyncTask<Params, Progress, Result> asyncTask) { in ShadowAsyncTaskBridge()
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
D | InterpreterInstaller.java | 21 import android.os.AsyncTask; 42 public abstract class InterpreterInstaller extends AsyncTask<Void, Void, Boolean> { 52 protected volatile AsyncTask<Void, Integer, Long> mTaskHolder; 67 AsyncTask<Void, Integer, Long> newTask = null; 243 protected AsyncTask<Void, Integer, Long> download(String in) throws MalformedURLException { in download() 248 protected AsyncTask<Void, Integer, Long> downloadInterpreter() throws MalformedURLException { in downloadInterpreter() 252 …protected AsyncTask<Void, Integer, Long> downloadInterpreterExtras() throws MalformedURLException { in downloadInterpreterExtras() 256 protected AsyncTask<Void, Integer, Long> downloadScripts() throws MalformedURLException { in downloadScripts() 260 protected AsyncTask<Void, Integer, Long> extract(String in, String out, boolean replaceAll) in extract() 265 protected AsyncTask<Void, Integer, Long> extractInterpreter() throws Sl4aException { in extractInterpreter() [all …]
|
D | InterpreterUninstaller.java | 24 import android.os.AsyncTask; 40 public abstract class InterpreterUninstaller extends AsyncTask<Void, Void, Boolean> {
|
D | UrlDownloaderTask.java | 22 import android.os.AsyncTask; 40 public class UrlDownloaderTask extends AsyncTask<Void, Integer, Long> {
|
D | ZipExtractorTask.java | 24 import android.os.AsyncTask; 41 public class ZipExtractorTask extends AsyncTask<Void, Integer, Long> {
|
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/asynctask/ |
D | BackgroundShadowAsyncTask.java | 13 import org.chromium.base.AsyncTask; 27 @Implements(AsyncTask.class) 35 public final AsyncTask<Params, Progress, Result> execute(final Params... params) { in execute() 38 .submit(new Callable<AsyncTask<Params, Progress, Result>>() { in execute() 40 public AsyncTask<Params, Progress, Result> call() throws Exception { in execute()
|
D | CustomShadowAsyncTask.java | 10 import org.chromium.base.AsyncTask; 22 @Implements(AsyncTask.class) 28 public final AsyncTask<Params, Progress, Result> executeOnExecutor( in executeOnExecutor()
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | AsyncTaskTest.java | 31 private static class SpecialChromeAsyncTask extends AsyncTask<Void, Void, Void> { 38 private static class SpecialOsAsyncTask extends android.os.AsyncTask<Void, Void, Void> { 62 Executor executor = new AsyncTask.ChromeThreadPoolExecutor(1, 1, 1, TimeUnit.SECONDS, in testChromeThreadPoolExecutorRunnables() 87 Executor executor = new AsyncTask.ChromeThreadPoolExecutor(1, 1, 1, TimeUnit.SECONDS, in testChromeThreadPoolExecutorChromeAsyncTask() 111 Executor executor = new AsyncTask.ChromeThreadPoolExecutor(1, 1, 1, TimeUnit.SECONDS, in testChromeThreadPoolExecutorOsAsyncTask()
|
/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/ |
D | HelloworldActivity.java | 20 import android.os.AsyncTask; 84 AsyncTask.THREAD_POOL_EXECUTOR, in sendMessage() 100 runServerTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, port); in startOrStopServer() 106 private static class RunServerTask extends AsyncTask<Integer, Void, Void> { 124 private static class GrpcTask extends AsyncTask<String, Void, String> {
|
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/ |
D | InteropActivity.java | 20 import android.os.AsyncTask; 71 AsyncTask.THREAD_POOL_EXECUTOR, in doPingPong() 76 private static class GrpcTask extends AsyncTask<String, Void, String> {
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | PathUtils.java | 39 private static AsyncTask<Void, Void, String[]> sDirPathFetchTask; 151 sDirPathFetchTask = new AsyncTask<Void, Void, String[]>() { in setPrivateDataDirectorySuffix() 156 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in setPrivateDataDirectorySuffix()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | CancellationTests.cpp | 81 std::thread AsyncTask(TaskToBeCancelled, std::move(Task.first)); in TEST() local 84 AsyncTask.join(); in TEST()
|
/external/grpc-grpc-java/examples/example-kotlin/android/helloworld/app/src/main/kotlin/io/grpc/helloworldexample/ |
D | HelloworldActivity.kt | 21 import android.os.AsyncTask 60 private class GrpcTask constructor(activity: Activity) : AsyncTask<String, Void, String>() {
|
/external/v4l2_codec2/tests/c2_e2e_test/src/org/chromium/c2/test/ |
D | E2eTestActivity.java | 14 import android.os.AsyncTask; 88 AsyncTask.execute( in maybeStartTest()
|
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/ |
D | InteropTask.java | 19 import android.os.AsyncTask; 31 final class InteropTask extends AsyncTask<Void, Void, String> {
|
/external/grpc-grpc-java/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/ |
D | HelloworldActivity.java | 21 import android.os.AsyncTask; 72 private static class GrpcTask extends AsyncTask<String, Void, String> {
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingAction.java | 32 import android.os.AsyncTask; 45 public class PollingAction extends AsyncTask<Void, Integer, Integer> {
|
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/ |
D | LibraryLoader.java | 20 import org.chromium.base.AsyncTask; 347 new LibraryPrefetchTask(coldStart).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in asyncPrefetchLibrariesToMemory() 350 private static class LibraryPrefetchTask extends AsyncTask<Void, Void, Void> { 622 AsyncTask.THREAD_POOL_EXECUTOR.execute(new Runnable() { in initializeAlreadyLocked()
|
/external/perfetto/test/trace_processor/smoke/ |
D | thread_cpu_time_example_android_trace_30s.out | 186 5658,5506,"AsyncTask #1","com.google.android.GoogleCamera",15154766434 197 5696,5506,"AsyncTask #2","com.google.android.GoogleCamera",15154766434 208 5743,5506,"AsyncTask #3","com.google.android.GoogleCamera",15154766434 241 5865,5506,"AsyncTask #4","com.google.android.GoogleCamera",15154766434 483 2002,1572,"AsyncTask #1","com.android.systemui",3072242745 494 5155,1572,"AsyncTask #6","com.android.systemui",3072242745 495 5486,1572,"AsyncTask #7","com.android.systemui",3072242745 496 5487,1572,"AsyncTask #8","com.android.systemui",3072242745 860 5440,5416,"AsyncTask #1","com.google.vr.vrcore",270533097 911 5582,5563,"AsyncTask #1","com.google.android.contacts",205871264 [all …]
|
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/ |
D | ClientCacheExampleActivity.java | 21 import android.os.AsyncTask; 93 private static class GrpcTask extends AsyncTask<Object, Void, String> {
|
/external/cpuinfo/test/dmesg/ |
D | huawei-mate-8.log | 7427 [ 24.279388s][pid:2763,cpu5,AsyncTask #1][I/nfc] pn547_dev_open : 10,26 7428 [ 24.279388s][pid:2763,cpu5,AsyncTask #1][I/nfc] pn547_dev_ioctl power off 7429 [ 24.279388s][pid:2763,cpu5,AsyncTask #1][I/nfc] nfc_gpio_set_value: gpio_set_value 7430 [ 24.279418s][pid:2763,cpu5,AsyncTask #1][I/nfc] pn547_bulk_disable: Nfc off by GPIO ! 7431 [ 24.279418s][pid:2763,cpu5,AsyncTask #1][I/nfc] pn547_enable_clk: current nfc clk status is the … 7432 [ 24.347259s][pid:2763,cpu7,AsyncTask #1][I/nfc] pn547_dev_ioctl power on 7433 [ 24.347290s][pid:2763,cpu7,AsyncTask #1][I/nfc] nfc_gpio_set_value: gpio_set_value 7434 [ 24.347290s][pid:2763,cpu7,AsyncTask #1][I/nfc] pn547_bulk_enable: Nfc on by GPIO ! 7435 [ 24.347290s][pid:2763,cpu7,AsyncTask #1][I/nfc] pn547_enable_clk: enable clock output 7440 [ 24.376312s][pid:2794,cpu7,AsyncTask #1][I/nfc] pn547_dev_write : retry = 0, ret = 4, count = … [all …]
|
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/java/io/grpc/routeguideexample/ |
D | RouteGuideActivity.java | 20 import android.os.AsyncTask; 141 private static class GrpcTask extends AsyncTask<Void, Void, String> {
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | InlineDexmakerMockMaker.java | 19 import android.os.AsyncTask; 507 AsyncTask.THREAD_POOL_EXECUTOR.execute(new Runnable() {
|