Home
last modified time | relevance | path

Searched refs:requestList (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DUceRequestDispatcher.java136 List<Request> requestList = getRequestFromWaitingCollection(numCapacity); in onRequestUpdated() local
137 if (!requestList.isEmpty()) { in onRequestUpdated()
138 notifyStartOfRequest(requestList); in onRequestUpdated()
150 List<Request> requestList = new ArrayList<>(); in getRequestFromWaitingCollection() local
152 requestList.add(mWaitingRequests.get(i)); in getRequestFromWaitingCollection()
155 mWaitingRequests.removeAll(requestList); in getRequestFromWaitingCollection()
156 return requestList; in getRequestFromWaitingCollection()
162 private void notifyStartOfRequest(List<Request> requestList) { in notifyStartOfRequest() argument
178 for (int i = 0; i < requestList.size(); i++) { in notifyStartOfRequest()
180 Request request = requestList.get(i); in notifyStartOfRequest()
DUceRequestManager.java469 List<UceRequest> requestList = new ArrayList<>(); in createSubscribeRequestCoordinator() local
473 requestList.add(request); in createSubscribeRequestCoordinator()
475 builder = new SubscribeRequestCoordinator.Builder(mSubId, requestList, in createSubscribeRequestCoordinator()
481 List<UceRequest> requestList = new ArrayList<>(); in createSubscribeRequestCoordinator() local
489 requestList.add(createSubscribeRequest(type, subUriList, skipFromCache)); in createSubscribeRequestCoordinator()
496 requestList.add(createSubscribeRequest(type, subUriList, skipFromCache)); in createSubscribeRequestCoordinator()
498 builder = new SubscribeRequestCoordinator.Builder(mSubId, requestList, in createSubscribeRequestCoordinator()
508 List<UceRequest> requestList = new ArrayList<>(); in createOptionsRequestCoordinator() local
512 requestList.add(request); in createOptionsRequestCoordinator()
514 builder = new OptionsRequestCoordinator.Builder(mSubId, requestList, mRequestMgrCallback); in createOptionsRequestCoordinator()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DSubscribeCoordinatorTest.java99 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestUpdatedWithError() local
101 assertTrue(requestList.isEmpty()); in testRequestUpdatedWithError()
113 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestCommandError() local
115 assertTrue(requestList.isEmpty()); in testRequestCommandError()
128 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestNetworkRespSuccess() local
130 assertEquals(1, requestList.size()); in testRequestNetworkRespSuccess()
152 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestNetworkRespError() local
154 assertTrue(requestList.isEmpty()); in testRequestNetworkRespError()
216 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestTerminated() local
218 assertTrue(requestList.isEmpty()); in testRequestTerminated()
[all …]
DOptionsCoordinatorTest.java86 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestUpdatedWithError() local
88 assertTrue(requestList.isEmpty()); in testRequestUpdatedWithError()
102 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestCommandError() local
104 assertTrue(requestList.isEmpty()); in testRequestCommandError()
128 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestNetworkResponse() local
130 assertTrue(requestList.isEmpty()); in testRequestNetworkResponse()
DRemoteOptionsCoordinatorTest.java88 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRemoteRequestFinished() local
90 assertTrue(requestList.isEmpty()); in testRemoteRequestFinished()
/frameworks/base/core/java/android/hardware/camera2/impl/
DRequestLastFrameNumbersHolder.java50 public RequestLastFrameNumbersHolder(List<CaptureRequest> requestList, SubmitInfo requestInfo) { in RequestLastFrameNumbersHolder() argument
56 if (requestInfo.getLastFrameNumber() < requestList.size() - 1) { in RequestLastFrameNumbersHolder()
59 " should be at least " + (requestList.size() - 1) + " for the number of " + in RequestLastFrameNumbersHolder()
60 " requests in the list: " + requestList.size()); in RequestLastFrameNumbersHolder()
64 for (int i = requestList.size() - 1; i >= 0; i--) { in RequestLastFrameNumbersHolder()
65 CaptureRequest request = requestList.get(i); in RequestLastFrameNumbersHolder()
DCaptureCallbackHolder.java44 CaptureCallbackHolder(CaptureCallback callback, List<CaptureRequest> requestList, in CaptureCallbackHolder() argument
52 mRequestList = new ArrayList<CaptureRequest>(requestList); in CaptureCallbackHolder()
59 for (int i = 0; i < requestList.size(); i++) { in CaptureCallbackHolder()
60 CaptureRequest request = requestList.get(i); in CaptureCallbackHolder()
DCameraConstrainedHighSpeedCaptureSessionImpl.java102 List<CaptureRequest> requestList = new ArrayList<CaptureRequest>(); in createHighSpeedRequestList() local
161 requestList.add(doubleTargetRequestBuilder.build()); in createHighSpeedRequestList()
163 requestList.add(singleTargetRequestBuilder.build()); in createHighSpeedRequestList()
167 return Collections.unmodifiableList(requestList); in createHighSpeedRequestList()
170 private boolean isConstrainedHighSpeedRequestList(List<CaptureRequest> requestList) { in isConstrainedHighSpeedRequestList() argument
171 checkCollectionNotEmpty(requestList, "High speed request list"); in isConstrainedHighSpeedRequestList()
172 for (CaptureRequest request : requestList) { in isConstrainedHighSpeedRequestList()
DCameraDeviceImpl.java1085 List<CaptureRequest> requestList = new ArrayList<CaptureRequest>(); in capture() local
1086 requestList.add(request); in capture()
1087 return submitCaptureRequest(requestList, callback, executor, /*streaming*/false); in capture()
1182 private int submitCaptureRequest(List<CaptureRequest> requestList, CaptureCallback callback, in submitCaptureRequest() argument
1193 for (CaptureRequest request : requestList) { in submitCaptureRequest()
1212 … CaptureRequest[] requestArray = requestList.toArray(new CaptureRequest[requestList.size()]); in submitCaptureRequest()
1230 callback, requestList, executor, repeating, mNextSessionId - 1)); in submitCaptureRequest()
1247 new RequestLastFrameNumbersHolder(requestList, requestInfo)); in submitCaptureRequest()
1261 List<CaptureRequest> requestList = new ArrayList<CaptureRequest>(); in setRepeatingRequest() local
1262 requestList.add(request); in setRepeatingRequest()
[all …]
DICameraDeviceUserWrapper.java85 public SubmitInfo submitRequestList(CaptureRequest[] requestList, boolean streaming) in submitRequestList() argument
88 return mRemoteDevice.submitRequestList(requestList, streaming); in submitRequestList()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DUtils.java28 String requestList, String resetList) { in getTargetsFromLegacyJackConfig() argument
31 String[] requests = requestList.split(","); in getTargetsFromLegacyJackConfig()
/frameworks/av/camera/ndk/impl/
DACameraDevice.inc63 std::vector<hardware::camera2::CaptureRequest> requestList;
77 requestList.push_back(*(req.get()));
91 remoteRet = mRemote->submitRequestList(requestList, isRepeating, &info);
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDeviceVendor.inc71 std::vector<frameworks::cameraservice::device::V2_0::CaptureRequest> requestList;
90 requestList.push_back(utils::convertToHidl(req.get()));
103 auto remoteRet = mRemote->submitRequestList(requestList, isRepeating,
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java51 return requestList(pw); in onCommand()
195 private int requestList(PrintWriter pw) { in requestList() method in ContentCaptureManagerServiceShellCommand
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl36 SubmitInfo submitRequestList(in CaptureRequest[] requestList, boolean streaming); in submitRequestList() argument
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java54 return requestList(pw); in onCommand()
386 private int requestList(PrintWriter pw) { in requestList() method in AutofillManagerServiceShellCommand
/frameworks/av/camera/tests/
DCameraBinderTests.cpp611 std::vector<hardware::camera2::CaptureRequest> requestList; in TEST_F() local
612 requestList.push_back(request3); in TEST_F()
613 requestList.push_back(request4); in TEST_F()
617 res = device->submitRequestList(requestList, /*streaming*/false, in TEST_F()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java514 ArrayList<Pair<String, ByteTransferPipe>> requestList = new ArrayList<>(); in runDumpVisibleWindowViews() local
524 requestList.add(Pair.create(w.getName(), pipe)); in runDumpVisibleWindowViews()
534 for (Pair<String, ByteTransferPipe> entry : requestList) { in runDumpVisibleWindowViews()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.h77 virtual Return<void> submitRequestList(const hidl_vec<HCaptureRequest>& requestList,
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal70 * @param requestList The list of CaptureRequests
81 submitRequestList(vec<CaptureRequest> requestList, bool isRepeating)
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp901 RequestList *requestList) { in convertMetadataListToRequestListLocked() argument
902 if (requestList == NULL) { in convertMetadataListToRequestListLocked()
930 requestList->push_back(newRequest); in convertMetadataListToRequestListLocked()
940 if (mIsConstrainedHighSpeedConfiguration && requestList->size() > 0) { in convertMetadataListToRequestListLocked()
941 auto firstRequest = requestList->begin(); in convertMetadataListToRequestListLocked()
944 (*firstRequest)->mBatchSize = requestList->size(); in convertMetadataListToRequestListLocked()
945 outputStream->setBatchSize(requestList->size()); in convertMetadataListToRequestListLocked()
967 PhysicalCameraSettingsList requestList; in convertToRequestList() local
968 requestList.push_back({std::string(getId().string()), request}); in convertToRequestList()
969 requestsList.push_back(requestList); in convertToRequestList()
[all …]
DCamera3Device.h606 RequestList *requestList);
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp166 std::vector<hardware::camera2::CaptureRequest> requestList = { request }; in submitRequest() local
167 return submitRequestList(requestList, streaming, submitInfo); in submitRequest()