Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java100 void build(RequestBuilder requestBuilder) in build() argument
187 sendApdu(newRequestProvider((RequestBuilder requestBuilder) -> { /* Do nothing */ }), in getSpecVersion() argument
209 newRequestProvider((RequestBuilder requestBuilder) -> in getAllProfiles()
210 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getAllProfiles()
249 newRequestProvider((RequestBuilder requestBuilder) -> in getProfile()
250 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getProfile()
285 newRequestProvider((RequestBuilder requestBuilder) -> { in disableProfile() argument
287 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_DISABLE_PROFILE) in disableProfile()
324 newRequestProvider((RequestBuilder requestBuilder) -> { in switchToProfile() argument
326 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_ENABLE_PROFILE) in switchToProfile()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java164 CaptureRequest.Builder requestBuilder = in aeAutoModeTestLock() local
167 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in aeAutoModeTestLock()
169 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, mode); in aeAutoModeTestLock()
170 configurePreviewOutput(requestBuilder); in aeAutoModeTestLock()
174 autoAeMultipleCapturesThenTestLock(requestBuilder, mode, i); in aeAutoModeTestLock()
185 CaptureRequest.Builder requestBuilder, int aeMode, int numCapturesDuringLock) in autoAeMultipleCapturesThenTestLock() argument
203 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in autoAeMultipleCapturesThenTestLock()
207 CaptureRequest request = requestBuilder.build(); in autoAeMultipleCapturesThenTestLock()
219 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in autoAeMultipleCapturesThenTestLock()
222 requestBuilder.build(), numCapturesDuringLock, listener, mHandler); in autoAeMultipleCapturesThenTestLock()
[all …]
DCamera2RecordingTest.java324 CaptureRequest.Builder requestBuilder = in startSlowMotionRecording() local
326 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording()
327 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
328 requestBuilder.addTarget(mRecordingSurface); in startSlowMotionRecording()
330 createHighSpeedRequestList(requestBuilder.build()); in startSlowMotionRecording()
745 CaptureRequest.Builder requestBuilder, in prepareVideoSnapshot() argument
750 requestBuilder.addTarget(mRecordingSurface); in prepareVideoSnapshot()
752 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
754 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/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java112 sender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands()
131 sender.send((selectResponse, requestBuilder) -> mSelectResponse = new byte[0], in testOpenChannelErrorStatus()
150 sender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu(10, 1, 2, 3, 0, "a"), in testSend()
169 sender.send((selectResponse, requestBuilder) -> { in testSendMultiApdus() argument
170 requestBuilder.addApdu(10, 1, 2, 3, 0, "a"); in testSendMultiApdus()
171 requestBuilder.addApdu(10, 1, 2, 3, "ab"); in testSendMultiApdus()
172 requestBuilder.addApdu(10, 1, 2, 3); in testSendMultiApdus()
173 requestBuilder.addStoreData("abcd"); in testSendMultiApdus()
198 sender.send((selectResponse, requestBuilder) -> requestBuilder.addApdu(10, 1, 2, 3, 0, "a"), in testSendLongResponse()
226 sender.send((selectResponse, requestBuilder) -> { in testSendStoreDataLongDataLongResponse() argument
[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/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/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/services/core/java/com/android/server/location/
DGnssLocationProvider.java950 NetworkRequest.Builder requestBuilder = new NetworkRequest.Builder(); in handleRequestSuplConnection() local
951 requestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in handleRequestSuplConnection()
952 requestBuilder.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in handleRequestSuplConnection()
953 NetworkRequest request = requestBuilder.build(); in handleRequestSuplConnection()