Home
last modified time | relevance | path

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

/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.java185 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/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java639 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in testLogicalCameraZoomSwitch() local
644 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
645 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
649 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
650 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
654 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
655 requests.add(requestBuilder.build()); in testLogicalCameraZoomSwitch()
657 mSession.captureBurst(requests, listener, mHandler); in testLogicalCameraZoomSwitch()
659 requests, WAIT_FOR_RESULT_TIMEOUT_MS); in testLogicalCameraZoomSwitch()
DCameraDeviceTest.java1739 List<CaptureRequest> requests = new ArrayList<CaptureRequest>(); in captureBurstShot() local
1757 requests.add(requestBuilder.build()); in captureBurstShot()
1771 mSession.captureBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1773 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1778 mSession.setRepeatingBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1780 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1785 int expectedResultCount = requests.size(); in captureBurstShot()
1813 mSession.setRepeatingBurstRequests(requests, executor, resultCallback); in captureBurstShot()
1815 mSession.setRepeatingBurst(requests, resultCallback, mHandler); in captureBurstShot()
DRecordingTest.java1398 List<CaptureRequest> requests = in videoSnapshotTestByCamera() local
1401 requests.add(request); in videoSnapshotTestByCamera()
1403 mSession.captureBurst(requests, resultListener, mHandler); in videoSnapshotTestByCamera()
DCaptureRequestTest.java2577 CaptureRequest[] requests = new CaptureRequest[ZOOM_STEPS];
2620 requests[i] = requestBuilder.build();
2625 mSession.capture(requests[i], listener, mHandler);
2633 requests[i], NUM_RESULTS_WAIT_TIMEOUT);
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java550 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_oneId() local
551 assertThat(requests.size()).isEqualTo(1); in testUserDataRemovalRequest_oneId()
553 final LocusIdRequest actualRequest = requests.get(0); in testUserDataRemovalRequest_oneId()
583 final List<LocusIdRequest> requests = request.getLocusIdRequests(); in testUserDataRemovalRequest_manyIds() local
584 assertThat(requests.size()).isEqualTo(2); in testUserDataRemovalRequest_manyIds()
586 final LocusIdRequest actualRequest1 = requests.get(0); in testUserDataRemovalRequest_manyIds()
590 final LocusIdRequest actualRequest2 = requests.get(1); in testUserDataRemovalRequest_manyIds()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverLocationTest.java135 List<LocationRequest> requests = in areOnlyIgnoreSettingsRequestsSentToProvider() local
137 for (LocationRequest request : requests) { in areOnlyIgnoreSettingsRequestsSentToProvider()
/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java765 List<CaptureRequest.Builder> requests = null; in deserializeRequestList() local
767 requests = new LinkedList<CaptureRequest.Builder>(); in deserializeRequestList()
771 requests.add( in deserializeRequestList()
774 return requests; in deserializeRequestList()
DItsService.java1466 List<CaptureRequest.Builder> requests = ItsSerializer.deserializeRequestList(
1486 mCaptureResults = new CaptureResult[requests.size()];
1523 int numCaptures = requests.size();
1547 new ArrayList<>(requests.size());
1548 for (int i = 0; i < requests.size(); i++) {
1549 CaptureRequest.Builder req = requests.get(i);