/cts/tests/tests/os/src/android/os/cts/ |
D | AsyncTaskTest.java | 20 import android.os.AsyncTask; 38 private static AsyncTask mAsyncTask; 60 return mMyAsyncTask.getStatus() == AsyncTask.Status.FINISHED; in doTestAsyncTask() 75 assertEquals(AsyncTask.Status.FINISHED, mMyAsyncTask.getStatus()); in doTestAsyncTask() 146 mAsyncTask = new AsyncTask() { in testCancellationWithException() 181 mAsyncTask = new AsyncTask() { in testException() 221 assertEquals(AsyncTask.Status.PENDING, mMyAsyncTask.getStatus()); in startAsyncTask() 223 assertEquals(AsyncTask.Status.RUNNING, mMyAsyncTask.getStatus()); in startAsyncTask() 228 private static class MyAsyncTask extends AsyncTask<String, Integer, Long> {
|
D | FileUtilsTest.java | 19 import android.os.AsyncTask; 83 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileStreamListener() 104 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileDescriptorListener()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InlineSuggestionTest.java | 25 import android.os.AsyncTask; 86 () -> suggestion.inflate(context, new Size(10, 10), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateInvalidSizeThrowsException() 99 suggestion.inflate(context, new Size(100, 100), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateNoContentProviderAcceptNullView() 110 suggestion.inflate(context, new Size(100, 100), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateTwiceThrowsException() 114 AsyncTask.THREAD_POOL_EXECUTOR, mockConsumer)); in testInflateTwiceThrowsException()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityManagerMemoryClassTestActivity.java | 20 import android.os.AsyncTask; 44 private class AllocateMemoryTask extends AsyncTask<Void, Void, Void> {
|
D | TrimMemService.java | 24 import android.os.AsyncTask; 159 instanceName, AsyncTask.THREAD_POOL_EXECUTOR, conn); in bindToTrimMemService()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | VideoPlayerActivity.java | 21 import android.os.AsyncTask; 73 new AsyncTask<Void, Void, Void>() { in delay() method
|
D | StatsdCtsForegroundActivity.java | 31 import android.os.AsyncTask; 129 new AsyncTask<Void, Void, Void>() { in doSleepWhileTop() method 235 new AsyncTask<Void, Void, Void>() { in doBusyWork() method
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateBitmapTask.java | 22 import android.os.AsyncTask; 34 class GenerateBitmapTask extends AsyncTask<Void, Void, Boolean> {
|
/cts/tests/tests/nfc/src/android/nfc/cts/interactive/ |
D | TagVerifierActivity.java | 29 import android.os.AsyncTask; 124 class WriteTagTask extends AsyncTask<Tag, Void, TagVerifier> { 156 class VerifyTagTask extends AsyncTask<Tag, Void, Result> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 22 import android.os.AsyncTask; 202 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi() 209 private class SetupTestKeyStoreTask extends AsyncTask<Void, Void, Void> { 264 private class InstallCredentialsTask extends AsyncTask<Void, Void, Void> { 326 private class TestHttpsRequestTask extends AsyncTask<Void, Void, Void> { 407 private class ClearCredentialsTask extends AsyncTask<Void, Void, Void> { 523 AsyncTask<Void, Void, Void> task; 525 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/ |
D | OtherUserActivity.java | 7 import android.os.AsyncTask; 40 private class MakeProviderBad extends AsyncTask<Void, Void, Exception> {
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 22 import android.os.AsyncTask; 178 requestDirectActions(mActivityId, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in getDirectActions() 198 performDirectAction(action, arguments, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in performDirectAction() 227 AsyncTask.THREAD_POOL_EXECUTOR, (b) -> in performDirectActionAndCancel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | ReportExporter.java | 21 import android.os.AsyncTask; 41 public class ReportExporter extends AsyncTask<Void, Void, String> {
|
/cts/tests/tests/telephony4/src/android/telephony4/cts/ |
D | SimRestrictedApisTest.java | 26 import android.os.AsyncTask; 362 AsyncTask.SERIAL_EXECUTOR, resultFuture::complete); in testGetNetworkSlicingConfiguration()
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | GbaServiceTest.java | 29 import android.os.AsyncTask; 153 Uri.parse(NAF), builder.build(), true, AsyncTask.SERIAL_EXECUTOR, cb), in testAuthSuccess() 210 Uri.parse(NAF), builder.build(), true, AsyncTask.SERIAL_EXECUTOR, cb), permission); in runGbaFailCase()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 21 import android.os.AsyncTask; 83 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> {
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | MemoryConsumerService.java | 24 import android.os.AsyncTask; 166 instanceName, AsyncTask.THREAD_POOL_EXECUTOR, conn); in bindToService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | StreamingVideoActivity.java | 25 import android.os.AsyncTask; 229 private class LookupRtspUrlTask extends AsyncTask<String, Void, String> {
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 33 import android.os.AsyncTask; 183 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioMicrophoneMuteToggleActivity.java | 23 import android.os.AsyncTask; 188 private class WavAnalyzerTask extends AsyncTask<Void, String, String>
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 27 import android.os.AsyncTask; 392 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method 408 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked() 411 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method 431 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | TagVerifierActivity.java | 38 import android.os.AsyncTask; 211 class WriteTagTask extends AsyncTask<Tag, Void, TagVerifier> { 255 class VerifyTagTask extends AsyncTask<Tag, Void, Result> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 22 import android.os.AsyncTask; 76 class GenerateKeyTask extends AsyncTask<KeyGenParameterSpec, Integer, AttestedKeyPair> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | SelfManagedIncomingCallTestActivity.java | 21 import android.os.AsyncTask; 151 (new AsyncTask<Void, Void, Throwable>() { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | GarageModeChecker.java | 28 import android.os.AsyncTask; 187 private final class GarageModeCheckerTask extends AsyncTask<Void, Void, Boolean> {
|