Home
last modified time | relevance | path

Searched refs:outputs (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp237 const SwAudioOutputCollection &outputs = mApmObserver->getOutputs(); in getDeviceForStrategy() local
240 availableInputDevices, outputs); in getDeviceForStrategy()
248 const SwAudioOutputCollection &outputs) const in getDeviceForStrategyInt()
262 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
263 } else if (outputs.isStreamActiveRemotely(AUDIO_STREAM_MUSIC, in getDeviceForStrategyInt()
270 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
278 } else if (outputs.isStreamActive( in getDeviceForStrategyInt()
282 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
286 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
301 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
[all …]
DEngine.h131 const SwAudioOutputCollection &outputs) const;
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableReprocessFormatsMap.java59 int[] outputs = in marshal() local
62 buffer.putInt(outputs.length); in marshal()
65 for (int output : outputs) { in marshal()
112 int[] outputs = value.getOutputs(input); in calculateMarshalSize() local
113 length += outputs.length; // [OUTPUT_0, OUTPUT_1, ..., OUTPUT_FORMAT_COUNT-1] in calculateMarshalSize()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java352 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { in configureOutputs() argument
354 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(outputs.size()); in configureOutputs()
355 for (Surface s : outputs) { in configureOutputs()
383 List<OutputConfiguration> outputs, boolean isConstrainedHighSpeed) in configureStreamsChecked() argument
386 if (outputs == null) { in configureStreamsChecked()
387 outputs = new ArrayList<OutputConfiguration>(); in configureStreamsChecked()
389 if (outputs.size() == 0 && inputConfig != null) { in configureStreamsChecked()
401 HashSet<OutputConfiguration> addSet = new HashSet<OutputConfiguration>(outputs); in configureStreamsChecked()
410 if (!outputs.contains(outConfig) || outConfig.isDeferredConfiguration()) { in configureStreamsChecked()
452 for (OutputConfiguration outConfig : outputs) { in configureStreamsChecked()
[all …]
DCameraCaptureSessionImpl.java90 CameraCaptureSessionImpl(int id, Surface input, List<Surface> outputs, in CameraCaptureSessionImpl() argument
94 if (outputs == null || outputs.isEmpty()) { in CameraCaptureSessionImpl()
104 mOutputs = outputs; in CameraCaptureSessionImpl()
DCameraConstrainedHighSpeedCaptureSessionImpl.java61 CameraConstrainedHighSpeedCaptureSessionImpl(int id, List<Surface> outputs, in CameraConstrainedHighSpeedCaptureSessionImpl() argument
68 mSessionImpl = new CameraCaptureSessionImpl(id, /*input*/null, outputs, wrapperCallback, in CameraConstrainedHighSpeedCaptureSessionImpl()
/frameworks/av/camera/ndk/
DNdkCameraDevice.cpp151 const ACaptureSessionOutputContainer* outputs, in ACameraDevice_createCaptureSession() argument
155 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) { in ACameraDevice_createCaptureSession()
157 __FUNCTION__, device, outputs, callbacks, session); in ACameraDevice_createCaptureSession()
160 return device->createCaptureSession(outputs, callbacks, session); in ACameraDevice_createCaptureSession()
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java430 public abstract void createCaptureSession(@NonNull List<Surface> outputs, in createCaptureSession() argument
617 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession() argument
632 @NonNull List<OutputConfiguration> outputs, in createReprocessableCaptureSessionByConfigurations() argument
716 public abstract void createConstrainedHighSpeedCaptureSession(@NonNull List<Surface> outputs, in createConstrainedHighSpeedCaptureSession() argument
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp148 const SwAudioOutputCollection &outputs = mPolicyEngine->mApmObserver->getOutputs(); in getDeviceForStrategy() local
162 !outputs.isStreamActiveRemotely(AUDIO_STREAM_MUSIC, in getDeviceForStrategy()
164 outputs.isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) { in getDeviceForStrategy()
168 (outputs.isStreamActive(AUDIO_STREAM_RING) || outputs.isStreamActive(AUDIO_STREAM_ALARM))) { in getDeviceForStrategy()
/frameworks/av/services/audiopolicy/
Daudio_policy.conf105 outputs {
128 outputs {
/frameworks/base/core/java/android/hardware/camera2/params/
DReprocessFormatsMap.java206 int[] outputs = new int[length]; in getOutputs() local
210 outputs[k] = mEntry[i + k]; in getOutputs()
213 return StreamConfigurationMap.imageFormatToPublic(outputs); in getOutputs()
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.h58 const ACaptureSessionOutputContainer* outputs, in ACameraCaptureSession()
61 mId(id), mOutput(*outputs), mUserSessionCallback(*cb), in ACameraCaptureSession()
DACameraDevice.h61 const ACaptureSessionOutputContainer* outputs,
137 camera_status_t configureStreamsLocked(const ACaptureSessionOutputContainer* outputs);
295 const ACaptureSessionOutputContainer* outputs, in createCaptureSession()
298 return mDevice->createCaptureSession(outputs, callbacks, session); in createCaptureSession()
DACameraDevice.cpp146 const ACaptureSessionOutputContainer* outputs, in createCaptureSession() argument
161 ret = configureStreamsLocked(outputs); in createCaptureSession()
168 mNextSessionId++, outputs, callbacks, this); in createCaptureSession()
509 CameraDevice::configureStreamsLocked(const ACaptureSessionOutputContainer* outputs) { in configureStreamsLocked() argument
511 if (outputs == nullptr) { in configureStreamsLocked()
512 outputs = &emptyOutput; in configureStreamsLocked()
521 for (auto outConfig : outputs->mOutputs) { in configureStreamsLocked()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp83 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionStateInt() local
115 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
123 ALOG_ASSERT(outputs.size() != 0, "setDeviceConnectionState():" in setDeviceConnectionStateInt()
126 outputs.size()); in setDeviceConnectionStateInt()
151 checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress); in setDeviceConnectionStateInt()
167 if (!outputs.isEmpty()) { in setDeviceConnectionStateInt()
168 for (size_t i = 0; i < outputs.size(); i++) { in setDeviceConnectionStateInt()
169 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionStateInt()
175 closeOutput(outputs[i]); in setDeviceConnectionStateInt()
379 SortedVector<audio_io_handle_t> outputs = in updateCallRouting() local
[all …]
DAudioPolicyManager.h367 SortedVector<audio_io_handle_t>& outputs,
438 audio_io_handle_t selectOutput(const SortedVector<audio_io_handle_t>& outputs,
454 audio_io_handle_t selectOutputForEffects(const SortedVector<audio_io_handle_t>& outputs);
608 SortedVector<audio_io_handle_t>& outputs /*out*/);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java1030 Surface[] outputs = new Surface[1]; in submitCaptureRequest() local
1031 outputs[0] = output; in submitCaptureRequest()
1035 return submitMixedCaptureBurstRequest(outputs, inputResults)[0]; in submitCaptureRequest()
1049 private TotalCaptureResult[] submitMixedCaptureBurstRequest(Surface[] outputs, in submitMixedCaptureBurstRequest() argument
1051 if (outputs == null || outputs.length <= 0) { in submitMixedCaptureBurstRequest()
1053 } else if (inputResults != null && inputResults.length != outputs.length) { in submitMixedCaptureBurstRequest()
1060 ArrayList<CaptureRequest> captureRequests = new ArrayList<>(outputs.length); in submitMixedCaptureBurstRequest()
1064 for (int i = 0; i < outputs.length; i++) { in submitMixedCaptureBurstRequest()
1073 builder.addTarget(outputs[i]); in submitMixedCaptureBurstRequest()
1088 if (numReprocessCaptures == 0 || numReprocessCaptures == outputs.length) { in submitMixedCaptureBurstRequest()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java410 List<Input> inputs, Future[] outputs) { in ScriptGroup() argument
415 mOutputs2 = outputs; in ScriptGroup()
781 ArrayList<IO> outputs = new ArrayList<IO>(); in create() local
807 outputs.add(new IO(kid)); in create()
839 sg.mOutputs = new IO[outputs.size()]; in create()
840 for (int ct=0; ct < outputs.size(); ct++) { in create()
841 sg.mOutputs[ct] = outputs.get(ct); in create()
1029 public ScriptGroup create(String name, Future... outputs) { in create() argument
1034 ScriptGroup ret = new ScriptGroup(mRS, name, mClosures, mInputs, outputs); in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptGroup.java404 List<Input> inputs, Future[] outputs) { in ScriptGroup() argument
413 mOutputs2 = outputs; in ScriptGroup()
893 ArrayList<IO> outputs = new ArrayList<IO>(); in create() local
919 outputs.add(new IO(kid)); in create()
955 sg.mOutputs = new IO[outputs.size()]; in create()
956 for (int ct=0; ct < outputs.size(); ct++) { in create()
957 sg.mOutputs[ct] = outputs.get(ct); in create()
1145 public ScriptGroup create(String name, Future... outputs) { in create() argument
1150 ScriptGroup ret = new ScriptGroup(mRS, name, mClosures, mInputs, outputs); in create()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java325 public int configureOutputs(SparseArray<Surface> outputs) { in configureOutputs() argument
327 if (outputs != null) { in configureOutputs()
328 int count = outputs.size(); in configureOutputs()
330 Surface output = outputs.valueAt(i); in configureOutputs()
395 mConfiguredSurfaces = outputs; in configureOutputs()
DRequestThreadManager.java331 private void configureOutputs(Collection<Pair<Surface, Size>> outputs) { in configureOutputs() argument
333 String outputsStr = outputs == null ? "null" : (outputs.size() + " surfaces"); in configureOutputs()
386 if (outputs != null) { in configureOutputs()
387 for (Pair<Surface, Size> outPair : outputs) { in configureOutputs()
1075 public void configure(Collection<Pair<Surface, Size>> outputs) { in configure() argument
1078 ConfigureHolder holder = new ConfigureHolder(condition, outputs); in configure()
/frameworks/av/include/camera/ndk/
DNdkCameraDevice.h657 const ACaptureSessionOutputContainer* outputs,
/frameworks/native/cmds/bugreportz/
Dreadme.md8 `-p`, it outputs the following lines:
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dstrategy_for_stream.pfw6 # NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java315 List<Surface> outputs = Arrays.asList(
317 camera.createCaptureSession(outputs, mCaptureSessionListener,

12