/cts/tests/tests/os/src/android/os/cts/ |
D | AsyncTaskTest.java | 20 import android.os.AsyncTask; 36 private static AsyncTask mAsyncTask; 58 return mMyAsyncTask.getStatus() == AsyncTask.Status.FINISHED; in doTestAsyncTask() 73 assertEquals(AsyncTask.Status.FINISHED, mMyAsyncTask.getStatus()); in doTestAsyncTask() 144 mAsyncTask = new AsyncTask() { in testCancellationWithException() 179 mAsyncTask = new AsyncTask() { in testException() 219 assertEquals(AsyncTask.Status.PENDING, mMyAsyncTask.getStatus()); in startAsyncTask() 221 assertEquals(AsyncTask.Status.RUNNING, mMyAsyncTask.getStatus()); in startAsyncTask() 226 private static class MyAsyncTask extends AsyncTask<String, Integer, Long> {
|
D | FileUtilsTest.java | 19 import android.os.AsyncTask; 81 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileStreamListener() 102 final Executor executor = AsyncTask.THREAD_POOL_EXECUTOR; in testCopyFileDescriptorListener()
|
/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/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 21 import android.os.AsyncTask; 141 requestDirectActions(mActivityId, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in getDirectActions() 159 performDirectAction(action, arguments, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in performDirectAction() 186 AsyncTask.THREAD_POOL_EXECUTOR, (b) -> in performDirectActionAndCancel()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ClearApplicationDataTest.java | 19 import android.os.AsyncTask; 52 packageName, AsyncTask.THREAD_POOL_EXECUTOR, in clearApplicationDataTest()
|
/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> {
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | VideoPlayerActivity.java | 21 import android.os.AsyncTask; 73 new AsyncTask<Void, Void, Void>() { in delay() method
|
D | StatsdCtsForegroundActivity.java | 28 import android.os.AsyncTask; 92 new AsyncTask<Void, Void, Void>() { in doSleepWhileTop() method
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | Common.java | 21 import android.os.AsyncTask; 84 AsyncTask.execute(() -> { in notifyNetworkStateObserver()
|
D | MyActivity.java | 27 import android.os.AsyncTask;
|
/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/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/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 27 import android.os.AsyncTask; 391 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method 407 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked() 410 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method 430 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsBgVsFgActions.java | 40 import android.os.AsyncTask; 281 new AsyncTask<Void, Void, Void>() { in doScheduleJob() method 292 new AsyncTask<Void, Void, Void>() { in doNothingAsync() method 318 new AsyncTask<Void, Void, Void>() { in doSync() method
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 21 import android.os.AsyncTask; 82 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 27 import android.os.AsyncTask; 209 class RefreshTestResultsTask extends AsyncTask<Void, Void, RefreshResult> { 297 class ClearTestResultsTask extends AsyncTask<Void, Void, Void> { 307 class SetTestResultTask extends AsyncTask<Void, Void, Void> {
|
D | ReportExporter.java | 21 import android.os.AsyncTask; 47 class ReportExporter extends AsyncTask<Void, Void, String> {
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | DirectActionsActivity.java | 23 import android.os.AsyncTask; 123 interactor.registerOnDestroyedCallback(AsyncTask.THREAD_POOL_EXECUTOR, () -> { in detectDestroyedInteractor()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 33 import android.os.AsyncTask; 180 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | TagVerifierActivity.java | 38 import android.os.AsyncTask; 199 class WriteTagTask extends AsyncTask<Tag, Void, TagVerifier> { 243 class VerifyTagTask extends AsyncTask<Tag, Void, Result> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | BaseEmulatorActivity.java | 15 import android.os.AsyncTask; 136 private class SetupServicesTask extends AsyncTask<ComponentName, Void, Boolean> {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | StreamingVideoActivity.java | 31 import android.os.AsyncTask; 236 private class LookupRtspUrlTask extends AsyncTask<String, Void, String> {
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 39 import android.os.AsyncTask; 327 AsyncTask.SERIAL_EXECUTOR, callbackNoOpportunisticSubAvailable); in testUpdateAvailableNetworksWithCarrierPrivilege() 332 AsyncTask.SERIAL_EXECUTOR, callbackNoOpportunisticSubAvailable); in testUpdateAvailableNetworksWithCarrierPrivilege() 344 AsyncTask.SERIAL_EXECUTOR, callbackSuccess); in testUpdateAvailableNetworksWithCarrierPrivilege() 351 preferSubId, false, AsyncTask.SERIAL_EXECUTOR, setOpCallbackSuccess); in testUpdateAvailableNetworksWithCarrierPrivilege() 360 AsyncTask.SERIAL_EXECUTOR, callbackSuccess); in testUpdateAvailableNetworksWithCarrierPrivilege() 364 AsyncTask.SERIAL_EXECUTOR, callbackSuccess); in testUpdateAvailableNetworksWithCarrierPrivilege()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | SelfManagedIncomingCallTestActivity.java | 21 import android.os.AsyncTask; 137 (new AsyncTask<Void, Void, Throwable>() { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvInputDiscoveryTestActivity.java | 24 import android.os.AsyncTask; 197 new AsyncTask<Void, Void, Boolean>() { in verifyGlobalSearch() method
|