Home
last modified time | relevance | path

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

12

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp238 const SwAudioOutputCollection &outputs = mApmObserver->getOutputs(); in getDeviceForStrategy() local
241 availableInputDevices, outputs); in getDeviceForStrategy()
249 const SwAudioOutputCollection &outputs) const in getDeviceForStrategyInt()
263 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
264 } else if (outputs.isStreamActiveRemotely(AUDIO_STREAM_MUSIC, in getDeviceForStrategyInt()
271 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
279 } else if (outputs.isStreamActive( in getDeviceForStrategyInt()
283 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
287 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
302 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/
DCameraDevice.java436 public abstract void createCaptureSession(@NonNull List<Surface> outputs, in createCaptureSession() argument
623 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession() argument
638 @NonNull List<OutputConfiguration> outputs, in createReprocessableCaptureSessionByConfigurations() argument
722 public abstract void createConstrainedHighSpeedCaptureSession(@NonNull List<Surface> outputs, in createConstrainedHighSpeedCaptureSession() argument
799 @NonNull List<OutputConfiguration> outputs, in createCustomCaptureSession() argument
/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/impl/
DCameraDeviceImpl.java358 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { in configureOutputs() argument
360 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(outputs.size()); in configureOutputs()
361 for (Surface s : outputs) { in configureOutputs()
390 List<OutputConfiguration> outputs, int operatingMode) in configureStreamsChecked() argument
393 if (outputs == null) { in configureStreamsChecked()
394 outputs = new ArrayList<OutputConfiguration>(); in configureStreamsChecked()
396 if (outputs.size() == 0 && inputConfig != null) { in configureStreamsChecked()
408 HashSet<OutputConfiguration> addSet = new HashSet<OutputConfiguration>(outputs); in configureStreamsChecked()
417 if (!outputs.contains(outConfig) || outConfig.isDeferredConfiguration()) { in configureStreamsChecked()
459 for (OutputConfiguration outConfig : outputs) { in configureStreamsChecked()
[all …]
/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,
138 camera_status_t configureStreamsLocked(const ACaptureSessionOutputContainer* outputs);
296 const ACaptureSessionOutputContainer* outputs, in createCaptureSession()
299 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.cpp96 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionStateInt() local
132 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
143 ALOG_ASSERT(outputs.size() != 0, "setDeviceConnectionState():" in setDeviceConnectionStateInt()
146 outputs.size()); in setDeviceConnectionStateInt()
164 checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress); in setDeviceConnectionStateInt()
180 if (!outputs.isEmpty()) { in setDeviceConnectionStateInt()
181 for (size_t i = 0; i < outputs.size(); i++) { in setDeviceConnectionStateInt()
182 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionStateInt()
188 closeOutput(outputs[i]); in setDeviceConnectionStateInt()
436 SortedVector<audio_io_handle_t> outputs = in updateCallRouting() local
[all …]
DAudioPolicyManager.h368 SortedVector<audio_io_handle_t>& outputs,
439 audio_io_handle_t selectOutput(const SortedVector<audio_io_handle_t>& outputs,
624 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/rs/support/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/
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()
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()
393 mConfiguredSurfaces = outputs; in configureOutputs()
/frameworks/av/camera/include/camera/ndk/
DNdkCameraDevice.h658 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,
/frameworks/data-binding/extensions/baseAdapters/
Dbuild.gradle111 from "$buildDir/outputs/aar/baseAdapters-release.aar"
/frameworks/data-binding/
Dbuild.gradle229 outputs.file(outputLibrary)
270 uploadTask.outputs.upToDateWhen { false } // force it to re-run all the time.

12