Home
last modified time | relevance | path

Searched refs:AsyncTask (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java20 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> {
/cts/tests/app/app/src/android/app/stubs/
DActivityManagerMemoryClassTestActivity.java20 import android.os.AsyncTask;
44 private class AllocateMemoryTask extends AsyncTask<Void, Void, Void> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java22 import android.os.AsyncTask;
199 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi()
206 private class SetupTestKeyStoreTask extends AsyncTask<Void, Void, Void> {
261 private class InstallCredentialsTask extends AsyncTask<Void, Void, Void> {
285 private class TestHttpsRequestTask extends AsyncTask<Void, Void, Void> {
355 private class ClearCredentialsTask extends AsyncTask<Void, Void, Void> {
471 AsyncTask<Void, Void, Void> task;
473 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DCommon.java21 import android.os.AsyncTask;
84 AsyncTask.execute(() -> { in notifyNetworkStateObserver()
DMyActivity.java27 import android.os.AsyncTask;
DMyForegroundService.java27 import android.os.AsyncTask;
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java22 import android.os.AsyncTask;
34 class GenerateBitmapTask extends AsyncTask<Void, Void, Boolean> {
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java39 import android.os.AsyncTask;
189 new AsyncTask<Void, Void, Void>() { in doGpsUpdate() method
222 new AsyncTask<Void, Void, Void>() { in doScheduleJob() method
241 new AsyncTask<Void, Void, Void>() { in doSync() method
289 new AsyncTask<Void, Void, Void>() { in doWifiDownload() method
305 new AsyncTask<Void, Void, Void>() { in doWifiUpload() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DIdleConstraintTestActivity.java27 import android.os.AsyncTask;
140 private class TestIdleModeTaskNotIdle extends AsyncTask<Void, Void, Void> {
155 private class TestIdleModeTaskIdle extends AsyncTask<PowerManager.WakeLock, Void, Void> {
DChargingConstraintTestActivity.java10 import android.os.AsyncTask;
203 private class TestDeviceUnpluggedConstraint extends AsyncTask<Void, Void, Void> {
219 private class TestDevicePluggedInConstraint extends AsyncTask<Void, Void, Void> {
DConnectivityConstraintTestActivity.java11 import android.os.AsyncTask;
150 private class TestConnectivityConstraint extends AsyncTask<Void, Void, Void> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java21 import android.os.AsyncTask;
41 public class ReportExporter extends AsyncTask<Void, Void, String> {
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DMainInteractionSession.java23 import android.os.AsyncTask;
160 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> {
/cts/hostsidetests/compilation/app/src/android/cts/compilation/
DCompilationTargetActivity.java20 import android.os.AsyncTask;
35 private AsyncTask<Integer, String, Void> mTask;
41 mTask = new AsyncTask<Integer, String, Void>() { in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DSelfManagedIncomingCallTestActivity.java21 import android.os.AsyncTask;
86 (new AsyncTask<Void, Void, Throwable>() { in onCreate()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java21 import android.os.AsyncTask;
82 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java26 import android.os.AsyncTask;
182 class RefreshTestResultsTask extends AsyncTask<Void, Void, RefreshResult> {
260 class ClearTestResultsTask extends AsyncTask<Void, Void, Void> {
270 class SetTestResultTask extends AsyncTask<Void, Void, Void> {
DReportExporter.java21 import android.os.AsyncTask;
53 class ReportExporter extends AsyncTask<Void, Void, String> {
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSession.java33 import android.os.AsyncTask;
180 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> {
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java27 import android.os.AsyncTask;
376 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method
392 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked()
395 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked() method
415 }.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in openDocumentUnchecked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java31 import android.os.AsyncTask;
236 private class LookupRtspUrlTask extends AsyncTask<String, Void, String> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java15 import android.os.AsyncTask;
136 private class SetupServicesTask extends AsyncTask<ComponentName, Void, Boolean> {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java38 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/tv/
DTvInputDiscoveryTestActivity.java24 import android.os.AsyncTask;
197 new AsyncTask<Void, Void, Boolean>() { in verifyGlobalSearch() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java28 import android.os.AsyncTask;
91 (new AsyncTask<Void, Void, Throwable>() { in onAttached() method

12