Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DBatchBufferOps.cpp34 std::vector<RequestBufferOutput>* outputs) { in requestBuffers() argument
35 outputs->clear(); in requestBuffers()
36 outputs->reserve(slots.size()); in requestBuffers()
38 RequestBufferOutput& output = outputs->emplace_back(); in requestBuffers()
47 std::vector<DequeueBufferOutput>* outputs) { in dequeueBuffers() argument
48 outputs->clear(); in dequeueBuffers()
49 outputs->reserve(inputs.size()); in dequeueBuffers()
51 DequeueBufferOutput& output = outputs->emplace_back(); in dequeueBuffers()
78 std::vector<AttachBufferOutput>* outputs) { in attachBuffers() argument
79 outputs->clear(); in attachBuffers()
[all …]
DIGraphicBufferProducer.cpp116 std::vector<RequestBufferOutput>* outputs) override { in requestBuffers() argument
124 result = reply.resizeOutVector(outputs); in requestBuffers()
125 for (RequestBufferOutput& output : *outputs) { in requestBuffers()
213 std::vector<DequeueBufferOutput>* outputs) { in dequeueBuffers() argument
224 result = reply.resizeOutVector(outputs); in dequeueBuffers()
225 for (auto& output : *outputs) { in dequeueBuffers()
322 std::vector<AttachBufferOutput>* outputs) { in attachBuffers() argument
333 result = reply.resizeOutVector(outputs); in attachBuffers()
334 for (AttachBufferOutput& output : *outputs) { in attachBuffers()
341 for (AttachBufferOutput& output : *outputs) { in attachBuffers()
[all …]
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp351 std::vector<QueryOutput> outputs; in TEST_P() local
352 EXPECT_OK(mProducer->query(inputs, &outputs)); in TEST_P()
353 EXPECT_EQ(DEFAULT_WIDTH, static_cast<uint32_t>(outputs[0].value)); in TEST_P()
354 EXPECT_EQ(DEFAULT_HEIGHT, static_cast<uint32_t>(outputs[1].value)); in TEST_P()
355 EXPECT_EQ(DEFAULT_FORMAT, outputs[2].value); in TEST_P()
356 EXPECT_LE(0, outputs[3].value); in TEST_P()
357 EXPECT_FALSE(outputs[4].value); in TEST_P()
358 EXPECT_EQ(DEFAULT_CONSUMER_USAGE_BITS, outputs[5].value); in TEST_P()
359 for (const QueryOutput& output : outputs) { in TEST_P()
396 std::vector<QueryOutput> outputs; in TEST_P() local
[all …]
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DEndToEndTest.kt91 outputs: Map<String, ByteArray>, in <lambda>()
94 val out = outputs[path] ?: fail("$path not in outputs (${outputs.keys})") in <lambda>()
109 private fun assertLoadText(outputs: Map<String, ByteArray>, path: String): String { in <lambda>()
110 val out = outputs[path] ?: fail("$path not in outputs (${outputs.keys})") in <lambda>()
119 val outputs = mutableMapOf<String, ByteArrayOutputStream>() in <lambda>() constant
123 ByteArrayOutputStream().also { outputs[file] = it } in <lambda>()
140 return outputs.mapValues { it.value.toByteArray() } in <lambda>()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp159 const SwAudioOutputCollection &outputs) const in filterOutputDevicesForStrategy()
165 if (!(isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL)))) { in filterOutputDevicesForStrategy()
184 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput(); in filterOutputDevicesForStrategy()
224 for (size_t i = 0; i < outputs.size(); i++) { in filterOutputDevicesForStrategy()
225 sp<AudioOutputDescriptor> desc = outputs.valueAt(i); in filterOutputDevicesForStrategy()
239 const SwAudioOutputCollection &outputs) const { in remapStrategyFromContext()
260 if (outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in remapStrategyFromContext()
266 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in remapStrategyFromContext()
267 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in remapStrategyFromContext()
281 const SwAudioOutputCollection &outputs) const in getDevicesForStrategyInt()
[all …]
DEngine.h93 const SwAudioOutputCollection &outputs) const;
96 const SwAudioOutputCollection &outputs) const;
100 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/av/media/libaaudio/src/flowgraph/
DMultiToManyConverter.cpp24 : outputs(channelCount) in MultiToManyConverter()
27 outputs[i] = std::make_unique<FlowGraphPortFloatOutput>(*this, 1); in MultiToManyConverter()
38 float *outputBuffer = outputs[ch]->getBuffer(); in onProcess()
DMultiToManyConverter.h43 std::vector<std::unique_ptr<flowgraph::FlowGraphPortFloatOutput>> outputs; variable
/frameworks/av/camera/ndk/
DNdkCameraDevice.cpp257 const ACaptureSessionOutputContainer* outputs, in ACameraDevice_createCaptureSession() argument
261 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) { in ACameraDevice_createCaptureSession()
263 __FUNCTION__, device, outputs, callbacks, session); in ACameraDevice_createCaptureSession()
266 return device->createCaptureSession(outputs, nullptr, callbacks, session); in ACameraDevice_createCaptureSession()
272 const ACaptureSessionOutputContainer* outputs, in ACameraDevice_createCaptureSessionWithSessionParameters() argument
277 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) { in ACameraDevice_createCaptureSessionWithSessionParameters()
279 __FUNCTION__, device, outputs, callbacks, session); in ACameraDevice_createCaptureSessionWithSessionParameters()
282 return device->createCaptureSession(outputs, sessionParameters, callbacks, session); in ACameraDevice_createCaptureSessionWithSessionParameters()
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java243 public abstract void createCaptureSession(@NonNull List<Surface> outputs, in createCaptureSession() argument
296 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession() argument
314 @NonNull List<OutputConfiguration> outputs, in createReprocessableCaptureSessionByConfigurations() argument
350 public abstract void createConstrainedHighSpeedCaptureSession(@NonNull List<Surface> outputs, in createConstrainedHighSpeedCaptureSession() argument
493 @NonNull List<OutputConfiguration> outputs, in createCustomCaptureSession() argument
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.h97 const ACaptureSessionOutputContainer* outputs, in ACameraCaptureSession()
100 mId(id), mOutput(*outputs), mUserSessionCallback(*cb), in ACameraCaptureSession()
105 const ACaptureSessionOutputContainer* outputs,
108 mId(id), mOutput(*outputs), mUserSessionCallback(*cb),
DACameraDevice.h77 const ACaptureSessionOutputContainer* outputs,
171 camera_status_t configureStreamsLocked(const ACaptureSessionOutputContainer* outputs,
424 const ACaptureSessionOutputContainer* outputs, in createCaptureSession()
428 return mDevice->createCaptureSession(outputs, sessionParameters, callbacks, session); in createCaptureSession()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp103 for (const auto& output : args.outputs) { in present()
108 for (const auto& output : args.outputs) { in present()
117 for (const auto& output : args.outputs) { in updateCursorAsync()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp115 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
162 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
186 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
222 mRefreshArgs.outputs = {mOutput1}; in TEST_F()
240 mRefreshArgs.outputs = {mOutput1}; in TEST_F()
255 mRefreshArgs.outputs = {mOutput1}; in TEST_F()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-library-instrumentation-tests.gradle2 * This script plugin is used to build and dist the test APK outputs of a library with multiple
24 variant.outputs.each { output ->
30 variant.outputs.each { output ->
/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()
DExtensionSessionConfiguration.java50 @NonNull List<OutputConfiguration> outputs, @NonNull Executor executor, in ExtensionSessionConfiguration() argument
53 mOutputs = outputs; in ExtensionSessionConfiguration()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java400 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { in configureOutputs() argument
402 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(outputs.size()); in configureOutputs()
403 for (Surface s : outputs) { in configureOutputs()
436 List<OutputConfiguration> outputs, int operatingMode, CaptureRequest sessionParams, in configureStreamsChecked() argument
440 if (outputs == null) { in configureStreamsChecked()
441 outputs = new ArrayList<OutputConfiguration>(); in configureStreamsChecked()
443 if (outputs.size() == 0 && inputConfig != null) { in configureStreamsChecked()
455 HashSet<OutputConfiguration> addSet = new HashSet<OutputConfiguration>(outputs); in configureStreamsChecked()
464 if (!outputs.contains(outConfig) || outConfig.isDeferredConfiguration()) { in configureStreamsChecked()
507 for (OutputConfiguration outConfig : outputs) { in configureStreamsChecked()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java164 public void setOutputs(Map<ByteBuffer, byte[]> outputs) { in setOutputs() argument
165 mEvent.mOutputs = outputs; in setOutputs()
373 Map<ByteBuffer, byte[]> outputs = new HashMap<>(); in readOutputs() local
402 outputs.put(ByteBuffer.wrap(output), response); in readOutputs()
411 return outputs; in readOutputs()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp337 const SwAudioOutputCollection &outputs = getApmObserver()->getOutputs(); in getDevicesForProductStrategy() local
362 !outputs.isActiveRemotely(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
364 outputs.isActive(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
368 (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForProductStrategy()
369 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM)))) { in getDevicesForProductStrategy()
423 const SwAudioOutputCollection &outputs = getApmObserver()->getOutputs(); in getOutputDevicesForAttributes() local
430 sp<DeviceDescriptor> device = findPreferredDevice(outputs, strategy, availableOutputDevices); in getOutputDevicesForAttributes()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraDevice.h682 const ACaptureSessionOutputContainer* outputs,
772 const ACaptureSessionOutputContainer* outputs,
/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/native/libs/gui/include/gui/
DIGraphicBufferProducer.h699 std::vector<RequestBufferOutput>* outputs);
740 std::vector<DequeueBufferOutput>* outputs);
768 std::vector<AttachBufferOutput>* outputs);
778 std::vector<QueueBufferOutput>* outputs);
818 std::vector<QueryOutput>* outputs);
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java415 List<Input> inputs, Future[] outputs) { in ScriptGroup() argument
420 mOutputs2 = outputs; in ScriptGroup()
786 ArrayList<IO> outputs = new ArrayList<IO>(); in create() local
812 outputs.add(new IO(kid)); in create()
844 sg.mOutputs = new IO[outputs.size()]; in create()
845 for (int ct=0; ct < outputs.size(); ct++) { in create()
846 sg.mOutputs[ct] = outputs.get(ct); in create()
1034 public ScriptGroup create(String name, Future... outputs) { in create() argument
1039 ScriptGroup ret = new ScriptGroup(mRS, name, mClosures, mInputs, outputs); in create()

123