Home
last modified time | relevance | path

Searched refs:requests (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFutureResultActivity.kt34 private val requests = ConcurrentHashMap<Int, CompletableFuture<Int>>() constant
43 return requests[requestCode]!! in doAndAwaitStart()
48 requests[requestCode]!!.complete(resultCode) in onActivityResult()
54 requests[requestCode] = future in startActivityForResult()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DDataRemovalRequestTest.java122 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in assertForIds() local
123 assertThat(requests).isNotNull(); in assertForIds()
124 assertThat(requests).hasSize(2); in assertForIds()
125 assertRequest(requests, 0, "prefix1True", FLAG_IS_PREFIX); in assertForIds()
126 assertRequest(requests, 1, "prefix2False", NO_FLAGS); in assertForIds()
140 private void assertRequest(List<LocusIdRequest> requests, int index, String expectedId, in assertRequest() argument
142 final LocusIdRequest request = requests.get(index); in assertRequest()
143 assertWithMessage("no request at index %s: %s", index, requests).that(request).isNotNull(); in assertRequest()
/cts/tests/tests/webkit/src/android/webkit/cts/
DServiceWorkerClientTest.java212 List<WebResourceRequest> requests = mInterceptServiceWorkerClient.getInterceptedRequests(); in testServiceWorkerClientInterceptCallback() local
213 assertEquals(2, requests.size()); in testServiceWorkerClientInterceptCallback()
214 assertEquals(SW_URL, requests.get(0).getUrl().toString()); in testServiceWorkerClientInterceptCallback()
215 assertEquals(FETCH_URL, requests.get(1).getUrl().toString()); in testServiceWorkerClientInterceptCallback()
/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java205 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in bufferFormatZoomTestByCamera() local
213 requests.add(requestBuilder.build()); in bufferFormatZoomTestByCamera()
217 int seqId = mCameraSession.captureBurst(requests, listener, mHandler); in bufferFormatZoomTestByCamera()
DLogicalCameraDeviceTest.java686 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in testLogicalCameraZoomSwitch() local
691 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
692 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
696 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
697 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
701 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
702 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
704 mSession.captureBurst(requests, listener, mHandler); in testLogicalCameraZoomSwitch()
706 requests, /*numResultsWait*/0, in testLogicalCameraZoomSwitch()
DCameraDeviceTest.java1772 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in captureBurstShot() local
1790 requests.add(requestBuilder.build()); in captureBurstShot()
1804 mSession.captureBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1806 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1811 mSession.setRepeatingBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1813 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1818 int expectedResultCount = requests.size(); in captureBurstShot()
1846 mSession.setRepeatingBurstRequests(requests, executor, resultCallback); in captureBurstShot()
1848 mSession.setRepeatingBurst(requests, resultCallback, mHandler); in captureBurstShot()
DCaptureRequestTest.java2820 CaptureRequest[] requests = new CaptureRequest[ZOOM_STEPS];
2887 requests[i] = requestBuilder.build();
2892 mSession.setRepeatingRequest(requests[i], listener, mHandler);
2896 mSession.capture(requests[0], listener, mHandler);
2899 mSession.capture(requests[i], listener, mHandler);
2908 requests[i], NUM_RESULTS_WAIT_TIMEOUT);
2921 if (CameraTestUtils.isStabilizationOff(requests[i])) {
3160 List<CaptureRequest> requests = new ArrayList<CaptureRequest>();
3167 requests.add(requestBuilder.build());
3168 requests.add(0, requestBuilder.build());
[all …]
DRecordingTest.java2034 List<CaptureRequest> requests = in videoSnapshotTestByCamera() local
2037 requests.add(request); in videoSnapshotTestByCamera()
2039 mSession.captureBurst(requests, resultListener, mHandler); in videoSnapshotTestByCamera()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java795 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_oneId() local
796 assertThat(requests.size()).isEqualTo(1); in testUserDataRemovalRequest_oneId()
798 final LocusIdRequest actualRequest = requests.get(0); in testUserDataRemovalRequest_oneId()
828 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_manyIds() local
829 assertThat(requests.size()).isEqualTo(2); in testUserDataRemovalRequest_manyIds()
831 final LocusIdRequest actualRequest1 = requests.get(0); in testUserDataRemovalRequest_manyIds()
835 final LocusIdRequest actualRequest2 = requests.get(1); in testUserDataRemovalRequest_manyIds()
/cts/tests/jdwp/runner/host-side/resources/expectations/
Dexternal_oj_libjdwp_art_failures.txt14 …description: "This test is incorrect since it blindly requests local variables without checking th…
/cts/tests/translation/src/android/translation/cts/
DUiTranslationManagerTest.java264 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testUiTranslation() local
265 final ViewTranslationRequest viewRequest = requests.get(0); in testUiTranslation()
540 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testUiTranslation_hasContentDescription() local
541 final ViewTranslationRequest viewRequest = requests.get(0); in testUiTranslation_hasContentDescription()
1192 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testVirtualViewUiTranslation() local
1193 assertThat(requests.size()).isEqualTo(views.size()); in testVirtualViewUiTranslation()
1195 final ViewTranslationRequest viewRequest1 = requests.get(0); in testVirtualViewUiTranslation()
1201 final ViewTranslationRequest viewRequest2 = requests.get(1); in testVirtualViewUiTranslation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java829 List<CaptureRequest.Builder> requests = null; in deserializeRequestList() local
831 requests = new LinkedList<CaptureRequest.Builder>(); in deserializeRequestList()
835 requests.add( in deserializeRequestList()
838 return requests; in deserializeRequestList()
DItsService.java3838 List<CaptureRequest.Builder> requests = ItsSerializer.deserializeRequestList(
3861 mCaptureResults = new CaptureResult[requests.size()];
3876 CaptureRequest.Builder captureBuilder = requests.get(0);
3935 List<CaptureRequest.Builder> requests = ItsSerializer.deserializeRequestList(
3966 mCaptureResults = new CaptureResult[requests.size()];
4020 int numCaptures = requests.size();
4046 new ArrayList<>(requests.size());
4047 for (int i = 0; i < requests.size(); i++) {
4048 CaptureRequest.Builder req = requests.get(i);
/cts/hostsidetests/appsecurity/test-apps/tinyapp/
DAndroid.bp385 // This is a version of the companion package that requests the signature permission
407 // This is a version of the companion package that requests the signature permission