/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FutureResultActivity.kt | 34 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/ |
D | DataRemovalRequestTest.java | 122 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/ |
D | ServiceWorkerClientTest.java | 185 List<WebResourceRequest> requests = mInterceptServiceWorkerClient.getInterceptedRequests(); in testServiceWorkerClientInterceptCallback() local 186 assertEquals(2, requests.size()); in testServiceWorkerClientInterceptCallback() 187 assertEquals(SW_URL, requests.get(0).getUrl().toString()); in testServiceWorkerClientInterceptCallback() 188 assertEquals(FETCH_URL, requests.get(1).getUrl().toString()); in testServiceWorkerClientInterceptCallback()
|
/cts/tests/translation/src/android/translation/cts/ |
D | UiTranslationManagerTest.java | 200 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testUiTranslation() local 201 final ViewTranslationRequest viewRequest = requests.get(0); in testUiTranslation() 377 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testUiTranslation_hasContentDescription() local 378 final ViewTranslationRequest viewRequest = requests.get(0); in testUiTranslation_hasContentDescription() 548 final List<ViewTranslationRequest> requests = request.getViewTranslationRequests(); in testVirtualViewUiTranslation() local 549 assertThat(requests.size()).isEqualTo(views.size()); in testVirtualViewUiTranslation() 551 final ViewTranslationRequest viewRequest1 = requests.get(0); in testVirtualViewUiTranslation() 557 final ViewTranslationRequest viewRequest2 = requests.get(1); in testVirtualViewUiTranslation()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 661 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in testLogicalCameraZoomSwitch() local 666 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 667 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 671 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 672 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 676 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 677 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch() 679 mSession.captureBurst(requests, listener, mHandler); in testLogicalCameraZoomSwitch() 681 requests, WAIT_FOR_RESULT_TIMEOUT_MS); in testLogicalCameraZoomSwitch()
|
D | CameraDeviceTest.java | 1761 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in captureBurstShot() local 1779 requests.add(requestBuilder.build()); in captureBurstShot() 1793 mSession.captureBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot() 1795 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot() 1800 mSession.setRepeatingBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot() 1802 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot() 1807 int expectedResultCount = requests.size(); in captureBurstShot() 1835 mSession.setRepeatingBurstRequests(requests, executor, resultCallback); in captureBurstShot() 1837 mSession.setRepeatingBurst(requests, resultCallback, mHandler); in captureBurstShot()
|
D | CaptureRequestTest.java | 2621 CaptureRequest[] requests = new CaptureRequest[ZOOM_STEPS]; 2688 requests[i] = requestBuilder.build(); 2693 mSession.setRepeatingRequest(requests[i], listener, mHandler); 2697 mSession.capture(requests[0], listener, mHandler); 2700 mSession.capture(requests[i], listener, mHandler); 2709 requests[i], NUM_RESULTS_WAIT_TIMEOUT);
|
D | RecordingTest.java | 1643 List<CaptureRequest> requests = in videoSnapshotTestByCamera() local 1646 requests.add(request); in videoSnapshotTestByCamera() 1648 mSession.captureBurst(requests, resultListener, mHandler); in videoSnapshotTestByCamera()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 818 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_oneId() local 819 assertThat(requests.size()).isEqualTo(1); in testUserDataRemovalRequest_oneId() 821 final LocusIdRequest actualRequest = requests.get(0); in testUserDataRemovalRequest_oneId() 851 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_manyIds() local 852 assertThat(requests.size()).isEqualTo(2); in testUserDataRemovalRequest_manyIds() 854 final LocusIdRequest actualRequest1 = requests.get(0); in testUserDataRemovalRequest_manyIds() 858 final LocusIdRequest actualRequest2 = requests.get(1); in testUserDataRemovalRequest_manyIds()
|
/cts/tests/jdwp/runner/host-side/resources/expectations/ |
D | external_oj_libjdwp_art_failures.txt | 14 …description: "This test is incorrect since it blindly requests local variables without checking th…
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 771 List<CaptureRequest.Builder> requests = null; in deserializeRequestList() local 773 requests = new LinkedList<CaptureRequest.Builder>(); in deserializeRequestList() 777 requests.add( in deserializeRequestList() 780 return requests; in deserializeRequestList()
|
D | ItsService.java | 1635 List<CaptureRequest.Builder> requests = ItsSerializer.deserializeRequestList( 1655 mCaptureResults = new CaptureResult[requests.size()]; 1692 int numCaptures = requests.size(); 1716 new ArrayList<>(requests.size()); 1717 for (int i = 0; i < requests.size(); i++) { 1718 CaptureRequest.Builder req = requests.get(i);
|