Home
last modified time | relevance | path

Searched refs:requestBuilder (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java104 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands()
120 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = new byte[0], in testOpenChannelErrorStatus()
136 mSender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu( in testSend()
152 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdus() argument
153 requestBuilder.addApdu(10, 1, 2, 3, 0, "a"); in testSendMultiApdus()
154 requestBuilder.addApdu(10, 1, 2, 3, "ab"); in testSendMultiApdus()
155 requestBuilder.addApdu(10, 1, 2, 3); in testSendMultiApdus()
156 requestBuilder.addStoreData("abcd"); in testSendMultiApdus()
179 mSender.send((selectResponse, requestBuilder) -> { in testSendMultiApdusStopEarly() argument
180 requestBuilder.addApdu(10, 1, 2, 3, 0, "a"); in testSendMultiApdusStopEarly()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java165 CaptureRequest.Builder requestBuilder = in aeAutoModeTestLock() local
168 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in aeAutoModeTestLock()
170 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, mode); in aeAutoModeTestLock()
171 configurePreviewOutput(requestBuilder); in aeAutoModeTestLock()
175 autoAeMultipleCapturesThenTestLock(requestBuilder, mode, i); in aeAutoModeTestLock()
186 CaptureRequest.Builder requestBuilder, int aeMode, int numCapturesDuringLock) in autoAeMultipleCapturesThenTestLock() argument
204 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in autoAeMultipleCapturesThenTestLock()
208 CaptureRequest request = requestBuilder.build(); in autoAeMultipleCapturesThenTestLock()
220 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in autoAeMultipleCapturesThenTestLock()
223 requestBuilder.build(), numCapturesDuringLock, listener, mHandler); in autoAeMultipleCapturesThenTestLock()
[all …]
DCamera2RecordingTest.java328 CaptureRequest.Builder requestBuilder = in startSlowMotionRecording() local
330 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording()
331 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
332 requestBuilder.addTarget(mRecordingSurface); in startSlowMotionRecording()
334 createHighSpeedRequestList(requestBuilder.build()); in startSlowMotionRecording()
749 CaptureRequest.Builder requestBuilder, in prepareVideoSnapshot() argument
754 requestBuilder.addTarget(mRecordingSurface); in prepareVideoSnapshot()
756 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
758 requestBuilder.addTarget(mReaderSurface); in prepareVideoSnapshot()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java218 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in cancelAutoFocus() local
220 mAutoFocus.unlockAutoFocus(mRepeatingBuilder, requestBuilder); in cancelAutoFocus()
223 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus()
247 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusLocked() local
257 mAutoFocus.lockAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusLocked()
260 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked()
270 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusFullActiveLocked() local
271 mAutoFocus.setActiveAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusFullActiveLocked()
276 if (requestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER) in startAutoFocusFullActiveLocked()
284 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java108 void build(RequestBuilder requestBuilder) in build() argument
206 sendApdu(newRequestProvider((RequestBuilder requestBuilder) -> { /* Do nothing */ }), in getSpecVersion() argument
238 newRequestProvider((RequestBuilder requestBuilder) -> in getAllProfiles()
239 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getAllProfiles()
278 newRequestProvider((RequestBuilder requestBuilder) -> in getProfile()
279 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getProfile()
314 newRequestProvider((RequestBuilder requestBuilder) -> { in disableProfile() argument
316 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_DISABLE_PROFILE) in disableProfile()
353 newRequestProvider((RequestBuilder requestBuilder) -> { in switchToProfile() argument
355 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_ENABLE_PROFILE) in switchToProfile()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
DAutoFocusStateMachine.java218 CaptureRequest.Builder requestBuilder) { in lockAutoFocus() argument
231 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus()
235 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus()
261 CaptureRequest.Builder requestBuilder) { in unlockAutoFocus() argument
272 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in unlockAutoFocus()
276 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in unlockAutoFocus()
305 CaptureRequest.Builder requestBuilder) { in setActiveAutoFocus() argument
313 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in setActiveAutoFocus()
317 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in setActiveAutoFocus()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java247 private <T> void setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) { in setRequestFieldIfNonNull() argument
250 requestBuilder.set(key, value); in setRequestFieldIfNonNull()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DRequestProvider.java34 void buildRequest(byte[] selectResponse, RequestBuilder requestBuilder) throws Throwable; in buildRequest() argument
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java172 final NetworkRequest.Builder requestBuilder = new NetworkRequest.Builder(); in startVcnGatewayWithCapabilities() local
173 requestBuilder.addTransportType(TRANSPORT_CELLULAR); in startVcnGatewayWithCapabilities()
175 requestBuilder.addCapability(netCapability); in startVcnGatewayWithCapabilities()
178 requestListener.onNetworkRequested(requestBuilder.build()); in startVcnGatewayWithCapabilities()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java351 CaptureRequest.Builder requestBuilder =
353 requestBuilder.addTarget(holder.getSurface());
354 CaptureRequest previewRequest = requestBuilder.build();
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionSessionImpl.java481 CaptureRequest.Builder requestBuilder; in createBurstRequest() local
485 requestBuilder = cameraDevice.createCaptureRequest(captureTemplate); in createBurstRequest()
502 requestBuilder.addTarget(target); in createBurstRequest()
503 CaptureRequest request = requestBuilder.build(); in createBurstRequest()
516 CaptureRequest.Builder requestBuilder; in createRequest() local
517 requestBuilder = cameraDevice.createCaptureRequest(captureTemplate); in createRequest()
519 requestBuilder.addTarget(target); in createRequest()
522 CaptureRequest ret = requestBuilder.build(); in createRequest()
DCameraAdvancedExtensionSessionImpl.java267 CaptureRequest.Builder requestBuilder = mCameraDevice.createCaptureRequest( in initialize() local
269 CaptureRequest sessionRequest = requestBuilder.build(); in initialize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java254 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local
256 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
257 return requestBuilder; in createRequestForPreview()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java541 final NetworkRequest.Builder requestBuilder = in JobStatus() local
543 requestBuilder.setUids( in JobStatus()
545 builder.setRequiredNetwork(requestBuilder.build()); in JobStatus()
/frameworks/base/core/java/android/widget/
DTextView.java13923 ViewTranslationRequest.Builder requestBuilder = in onCreateViewTranslationRequest() local
13949 requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateViewTranslationRequest()
13952 requestBuilder.setValue(ViewTranslationRequest.ID_CONTENT_DESCRIPTION, in onCreateViewTranslationRequest()
13956 requestsCollector.accept(requestBuilder.build()); in onCreateViewTranslationRequest()