Home
last modified time | relevance | path

Searched refs:Void (Results 1 – 25 of 100) sorted by relevance

1234

/cts/tests/app/app/src/android/app/stubs/
DActivityManagerMemoryClassTestActivity.java44 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/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DVideoPlayerActivity.java73 new AsyncTask<Void, Void, Void>() { in delay()
75 protected Void doInBackground(Void... params) { in delay()
80 protected void onPostExecute(Void nothing) { in delay()
DStatsdCtsForegroundActivity.java129 new AsyncTask<Void, Void, Void>() { in doSleepWhileTop()
131 protected Void doInBackground(Void... params) { in doSleepWhileTop()
137 protected void onPostExecute(Void nothing) { in doSleepWhileTop()
235 new AsyncTask<Void, Void, Void>() { in doBusyWork()
237 protected Void doInBackground(Void... params) { in doBusyWork()
248 protected void onPostExecute(Void nothing) { in doBusyWork()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java209 private class SetupTestKeyStoreTask extends AsyncTask<Void, Void, Void> {
211 protected Void doInBackground(Void... params) { in doInBackground()
264 private class InstallCredentialsTask extends AsyncTask<Void, Void, Void> {
266 protected Void doInBackground(Void... params) { in doInBackground()
326 private class TestHttpsRequestTask extends AsyncTask<Void, Void, Void> {
328 protected Void doInBackground(Void... params) { in doInBackground()
407 private class ClearCredentialsTask extends AsyncTask<Void, Void, Void> {
409 protected Void doInBackground(Void... params) { in doInBackground()
523 AsyncTask<Void, Void, Void> task;
525 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step() argument
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/
DAppSearchSessionShim.java91 ListenableFuture<AppSearchBatchResult<String, Void>> putAsync( in putAsync()
375 ListenableFuture<Void> reportUsageAsync(@NonNull ReportUsageRequest request); in reportUsageAsync()
396 ListenableFuture<AppSearchBatchResult<String, Void>> removeAsync( in removeAsync()
419 ListenableFuture<Void> removeAsync( in removeAsync()
445 ListenableFuture<Void> requestFlushAsync(); in requestFlushAsync()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DBatchResultCallbackCtsTest.java36 BatchResultCallback<String, Void> callback = new BatchResultCallback<String, Void>() { in testCallback()
38 public void onResult(@NonNull AppSearchBatchResult<String, Void> result) { in testCallback()
48 callback.onResult(new AppSearchBatchResult.Builder<String, Void>().build()); in testCallback()
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/
DTestArtifactCollector.java41 private final Function<File, Void> mPopulateFile;
45 TestArtifact(String fileName, Function<File, Void> populateFile) { in TestArtifact()
72 private ArrayList<Function<Failure, Void>> mPreFailureCallbacks = new ArrayList<>();
142 for (Function<Failure, Void> listener : mPreFailureCallbacks) { in testFailure()
164 public static void addArtifact(String fileName, Function<File, Void> populateFile) { in addArtifact()
168 private void doAddArtifact(String fileName, Function<File, Void> populateFile) { in doAddArtifact()
177 public static void addFailureListener(Function<Failure, Void> listener) { in addFailureListener()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DAppSearchSessionShimImpl.java130 public ListenableFuture<AppSearchBatchResult<String, Void>> putAsync( in putAsync()
132 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in putAsync()
159 public ListenableFuture<Void> reportUsageAsync(@NonNull ReportUsageRequest request) { in reportUsageAsync()
160 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportUsageAsync()
167 public ListenableFuture<AppSearchBatchResult<String, Void>> removeAsync( in removeAsync()
169 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in removeAsync()
176 public ListenableFuture<Void> removeAsync( in removeAsync()
178 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in removeAsync()
193 public ListenableFuture<Void> requestFlushAsync() { in requestFlushAsync()
194 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in requestFlushAsync()
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/instrumentation/
DSoundTriggerInstrumentationObserver.java79 private SettableFuture<Void> mOnRecognitionStopped = SettableFuture.create();
82 private SettableFuture<Void> mOnModelUnloaded = SettableFuture.create();
135 public ListenableFuture<Void> getOnRecognitionStoppedFuture() { in getOnRecognitionStoppedFuture()
145 public ListenableFuture<Void> getOnModelUnloadedFuture() { in getOnModelUnloadedFuture()
209 private SettableFuture<Void> mOnClientAttached = SettableFuture.create();
212 private SettableFuture<Void> mOnClientDetached = SettableFuture.create();
277 public ListenableFuture<Void> getOnClientAttachedFuture() { in getOnClientAttachedFuture()
286 public ListenableFuture<Void> getOnClientDetachedFuture() { in getOnClientDetachedFuture()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DLatchedEndpointOutcomeReceiver.java28 OutcomeReceiver<Void, CallEndpointException> {
37 public void onResult(Void result) { in onResult()
DLatchedOutcomeReceiver.java33 public class LatchedOutcomeReceiver implements OutcomeReceiver<Void, CallException> {
52 public void onResult(Void result) { in onResult()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java34 class GenerateBitmapTask extends AsyncTask<Void, Void, Boolean> {
65 protected Boolean doInBackground(Void... ignored) { in doInBackground()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/
DOtherUserActivity.java40 private class MakeProviderBad extends AsyncTask<Void, Void, Exception> {
43 protected Exception doInBackground(Void... voids) { in doInBackground()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java41 public class ReportExporter extends AsyncTask<Void, Void, String> {
54 protected String doInBackground(Void... params) { in doInBackground()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCallbackUtils.kt82 class SystemDataTransferCallback : OutcomeReceiver<Void, CompanionException> {
87 override fun onResult(result: Void?) { in onResult()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java392 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked()
394 protected Void doInBackground(Void... params) { in openDocumentUnchecked()
411 new AsyncTask<Void, Void, Void>() { in openDocumentUnchecked()
413 protected Void doInBackground(Void... params) { in openDocumentUnchecked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java461 class RefreshTestResultsTask extends AsyncTask<Void, Void, RefreshResult> {
464 protected RefreshResult doInBackground(Void... params) { in doInBackground()
566 class ClearTestResultsTask extends AsyncTask<Void, Void, Void> {
578 protected Void doInBackground(Void... params) { in doInBackground()
595 class SetTestResultTask extends AsyncTask<Void, Void, Void> {
620 protected Void doInBackground(Void... params) { in doInBackground()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java914 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaComponentName()
916 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaComponentName()
991 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetId()
993 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetId()
1078 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetIds()
1080 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetIds()
1157 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetId()
1159 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetId()
1235 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()
1237 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds()
[all …]
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java690 protected PrintDocumentAdapter createMockPrintDocumentAdapter(Answer<Void> layoutAnswer, in createMockPrintDocumentAdapter()
691 Answer<Void> writeAnswer, Answer<Void> finishAnswer) { in createMockPrintDocumentAdapter()
753 Answer<Void> onStartPrinterDiscovery, Answer<Void> onStopPrinterDiscovery, in createMockPrinterDiscoverySessionCallbacks()
754 Answer<Void> onValidatePrinters, Answer<Void> onStartPrinterStateTracking, in createMockPrinterDiscoverySessionCallbacks()
755 Answer<Void> onRequestCustomPrinterIcon, Answer<Void> onStopPrinterStateTracking, in createMockPrinterDiscoverySessionCallbacks()
756 Answer<Void> onDestroy) { in createMockPrinterDiscoverySessionCallbacks()
795 Answer<Void> onPrintJobQueued, Answer<Void> onRequestCancelPrintJob) { in createMockPrintServiceCallbacks()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/
Dpoc.cpp25 using android::hardware::Void;
31 return Void(); in onEvent()
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java752 new ExpectedMethod(Void.TYPE, "alpha"), in testCannotRetransformOnLoadTest()
753 new ExpectedMethod(Void.TYPE, "beta"), in testCannotRetransformOnLoadTest()
767 new ExpectedMethod(Void.TYPE, "alpha", int.class), in testRetransformOnLoad()
769 new ExpectedMethod(Void.TYPE, "gamma"), in testRetransformOnLoad()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java83 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> {
84 protected Boolean doInBackground(Void... nothing) { in doInBackground()
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSession.java183 private class MyTask extends AsyncTask<AsyncTaskArg, Void, Void> {
185 protected Void doInBackground(AsyncTaskArg... params) { in doInBackground()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DThreadNetworkTest.java168 private static OutcomeReceiver<Void, ThreadNetworkException> newOutcomeReceiver( in newOutcomeReceiver()
170 return new OutcomeReceiver<Void, ThreadNetworkException>() { in newOutcomeReceiver()
172 public void onResult(Void v) { in newOutcomeReceiver()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DVoidRetry.java31 private final Retry<Void> mRetry;

1234