/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustmentTest.java | 77 new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten() 79 public Void answer(InvocationOnMock invocation) { in testAllPagesWantedAndAllPagesWritten() 97 new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten() 99 public Void answer(InvocationOnMock invocation) throws Throwable { in testAllPagesWantedAndAllPagesWritten() 111 }, new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten() 113 public Void answer(InvocationOnMock invocation) throws Throwable { in testAllPagesWantedAndAllPagesWritten() 125 }, new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten() 127 public Void answer(InvocationOnMock invocation) throws Throwable { in testAllPagesWantedAndAllPagesWritten() 180 new Answer<Void>() { in testSomePagesWantedAndAllPagesWritten() 182 public Void answer(InvocationOnMock invocation) { in testSomePagesWantedAndAllPagesWritten() [all …]
|
D | PrintDocumentAdapterContractTest.java | 73 new Answer<Void>() { in testNoPrintOptionsOrPrinterChange() 75 public Void answer(InvocationOnMock invocation) throws Throwable { in testNoPrintOptionsOrPrinterChange() 87 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChange() 89 public Void answer(InvocationOnMock invocation) throws Throwable { in testNoPrintOptionsOrPrinterChange() 101 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChange() 103 public Void answer(InvocationOnMock invocation) throws Throwable { in testNoPrintOptionsOrPrinterChange() 193 new Answer<Void>() { in testNoPrintOptionsOrPrinterChangeCanceled() 195 public Void answer(InvocationOnMock invocation) throws Throwable { in testNoPrintOptionsOrPrinterChangeCanceled() 206 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChangeCanceled() 208 public Void answer(InvocationOnMock invocation) throws Throwable { in testNoPrintOptionsOrPrinterChangeCanceled() [all …]
|
D | PrinterDiscoverySessionLifecycleTest.java | 79 new Answer<Void>() { in testNormalLifecycle() 81 public Void answer(InvocationOnMock invocation) { in testNormalLifecycle() 176 new Answer<Void>() { in testStartPrinterDiscoveryWithHistoricalPrinters() 178 public Void answer(InvocationOnMock invocation) { in testStartPrinterDiscoveryWithHistoricalPrinters() 310 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks() 312 public Void answer(InvocationOnMock invocation) { in createFirstMockPrinterDiscoverySessionCallbacks() 340 }, null, null, new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks() 342 public Void answer(InvocationOnMock invocation) throws Throwable { in createFirstMockPrinterDiscoverySessionCallbacks() 388 }, null, new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks() 390 public Void answer(InvocationOnMock invocation) throws Throwable { in createFirstMockPrinterDiscoverySessionCallbacks() [all …]
|
D | BasePrintTest.java | 414 protected PrintDocumentAdapter createMockPrintDocumentAdapter(Answer<Void> layoutAnswer, in createMockPrintDocumentAdapter() 415 Answer<Void> writeAnswer, Answer<Void> finishAnswer) { in createMockPrintDocumentAdapter() 436 Answer<Void> onStartPrinterDiscovery, Answer<Void> onStopPrinterDiscovery, in createMockPrinterDiscoverySessionCallbacks() 437 Answer<Void> onValidatePrinters, Answer<Void> onStartPrinterStateTracking, in createMockPrinterDiscoverySessionCallbacks() 438 Answer<Void> onStopPrinterStateTracking, Answer<Void> onDestroy) { in createMockPrinterDiscoverySessionCallbacks() 472 Answer<Void> onPrintJobQueued, Answer<Void> onRequestCancelPrintJob) { in createMockPrintServiceCallbacks()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTestActivity.java | 44 private class AllocateMemoryTask extends AsyncTask<Void, Void, Void> { 53 protected Void doInBackground(Void... params) { in doInBackground() 69 protected void onPostExecute(Void result) { in onPostExecute()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | ChargingConstraintTestActivity.java | 143 private class TestDeviceUnpluggedConstraint extends AsyncTask<Void, Void, Void> { 145 protected Void doInBackground(Void... voids) { in doInBackground() 155 private class TestDevicePluggedInConstraint extends AsyncTask<Void, Void, Void> { 157 protected Void doInBackground(Void... voids) { in doInBackground()
|
D | IdleConstraintTestActivity.java | 110 private class TestIdleModeTask extends AsyncTask<Void, Void, Void> { 113 protected Void doInBackground(Void... voids) { in doInBackground()
|
D | ConnectivityConstraintTestActivity.java | 158 private class TestConnectivityConstraint extends AsyncTask<Void, Void, Void> { 161 protected Void doInBackground(Void... voids) { in doInBackground()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 197 private class SetupTestKeyStoreTask extends AsyncTask<Void, Void, Void> { 199 protected Void doInBackground(Void... params) { in doInBackground() 246 private class InstallCredentialsTask extends AsyncTask<Void, Void, Void> { 248 protected Void doInBackground(Void... params) { in doInBackground() 269 private class TestHttpsRequestTask extends AsyncTask<Void, Void, Void> { 271 protected Void doInBackground(Void... params) { in doInBackground() 340 private class ClearCredentialsTask extends AsyncTask<Void, Void, Void> { 342 protected Void doInBackground(Void... params) { in doInBackground() 456 AsyncTask<Void, Void, Void> task; 458 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 182 class RefreshTestResultsTask extends AsyncTask<Void, Void, RefreshResult> { 184 protected RefreshResult doInBackground(Void... params) { in doInBackground() 260 class ClearTestResultsTask extends AsyncTask<Void, Void, Void> { 263 protected Void doInBackground(Void... params) { in doInBackground() 270 class SetTestResultTask extends AsyncTask<Void, Void, Void> { 292 protected Void doInBackground(Void... params) { in doInBackground()
|
D | ReportExporter.java | 40 class ReportExporter extends AsyncTask<Void, Void, String> { 52 protected String doInBackground(Void... params) { in doInBackground()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 239 new AsyncTask<Void, Void, Void>() { in openDocument() 241 protected Void doInBackground(Void... params) { in openDocument() 258 new AsyncTask<Void, Void, Void>() { in openDocument() 260 protected Void doInBackground(Void... params) { in openDocument()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateBitmapTask.java | 34 class GenerateBitmapTask extends AsyncTask<Void, Void, Boolean> { 65 protected Boolean doInBackground(Void... ignored) { in doInBackground()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | OpenSSLEarlyCCSTest.java | 191 mExecutorService.submit(new Callable<Void>() { in handshake() 193 public Void call() throws Exception { in handshake() 199 Future<Void> serverFuture = mExecutorService.submit(new Callable<Void>() { in handshake() 201 public Void call() throws Exception { in handshake() 207 Future<Void> clientFuture = mExecutorService.submit(new Callable<Void>() { in handshake() 209 public Void call() throws Exception { in handshake() 344 Future<Void> serverToClientTask = mExecutorService.submit(new Callable<Void>() { in mitmAcceptAndForward() 346 public Void call() throws Exception { in mitmAcceptAndForward()
|
D | OpenSSLHeartbleedTest.java | 191 mExecutorService.submit(new Callable<Void>() { in handshake() 193 public Void call() throws Exception { in handshake() 202 Future<Void> serverFuture = mExecutorService.submit(new Callable<Void>() { in handshake() 204 public Void call() throws Exception { in handshake() 210 Future<Void> clientFuture = mExecutorService.submit(new Callable<Void>() { in handshake() 212 public Void call() throws Exception { in handshake() 345 Future<Void> serverToClientTask = mExecutorService.submit(new Callable<Void>() { in mitmAcceptAndForward() 347 public Void call() throws Exception { in mitmAcceptAndForward()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 782 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaComponentName() 784 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaComponentName() 861 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetId() 863 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetId() 950 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetIds() 952 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetIds() 1031 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetId() 1033 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetId() 1111 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds() 1113 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvInputDiscoveryTestActivity.java | 151 new AsyncTask<Void, Void, Boolean>() { in verifyGlobalSearch() 153 protected Boolean doInBackground(Void... params) { in verifyGlobalSearch()
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
D | MainInteractionSession.java | 160 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> { 162 protected Void doInBackground(AsyncTaskArg... params) { in doInBackground()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 82 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> { 83 protected Boolean doInBackground(Void... nothing) { in doInBackground()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupTestActivity.java | 106 class LoadBackupItemsTask extends AsyncTask<Void, Void, List<BackupItem>> { 115 protected List<BackupItem> doInBackground(Void... params) { in doInBackground() 180 class GenerateValuesTask extends AsyncTask<Void, Void, Exception> { 183 protected Exception doInBackground(Void... params) { in doInBackground()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 176 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> { 178 protected Void doInBackground(AsyncTaskArg... params) { in doInBackground()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | IssueReporter.java | 170 class Issue implements Callable<Void> { 177 public Void call() throws Exception { in call()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 255 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> { 257 protected Void doInBackground(AsyncTaskArg... params) { in doInBackground()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Vp8CodecTestBase.java | 1039 runCallable( new Callable<Void>() { in createCodec() 1041 public Void call() throws Exception { in createCodec() 1085 runCallable( new Callable<Void>() { in feedInput() 1087 public Void call() throws Exception { in feedInput() 1156 runCallable( new Callable<Void>() { in getOutput() 1158 public Void call() throws Exception { in getOutput() 1169 runCallable( new Callable<Void>() { in forceSyncFrame() 1171 public Void call() throws Exception { in forceSyncFrame() 1181 runCallable( new Callable<Void>() { in updateBitrate() 1183 public Void call() throws Exception { in updateBitrate() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | TagVerifierActivity.java | 199 class WriteTagTask extends AsyncTask<Tag, Void, TagVerifier> { 243 class VerifyTagTask extends AsyncTask<Tag, Void, Result> {
|