Home
last modified time | relevance | path

Searched refs:streamIn (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp70 const char* address, bool mono, uint32_t sampleRate, audio_stream_in_t** streamIn);
73 void ReadFromStream(audio_stream_in_t* streamIn, char* buffer, size_t bufferSize);
78 audio_stream_in_t* streamIn, size_t inBufferSize, size_t repeats);
107 const char* address, bool mono, uint32_t sampleRate, audio_stream_in_t** streamIn) { in OpenInputStream() argument
108 *streamIn = nullptr; in OpenInputStream()
114 streamIn, AUDIO_INPUT_FLAG_NONE, address, AUDIO_SOURCE_DEFAULT); in OpenInputStream()
116 ASSERT_NE(nullptr, *streamIn); in OpenInputStream()
133 audio_stream_in_t* streamIn, char* buffer, size_t bufferSize) { in ReadFromStream() argument
134 ssize_t result = streamIn->read(streamIn, buffer, bufferSize); in ReadFromStream()
156 audio_stream_in_t* streamIn, size_t inBufferSize, in VerifyOutputInput() argument
[all …]
/hardware/interfaces/audio/core/all-versions/default/
DDevice.cpp221 sp<IStreamIn> streamIn; in openInputStreamCore() local
223 streamIn = new StreamIn(this, halStream); in openInputStreamCore()
225 android::hardware::setMinSchedulerPolicy(streamIn, SCHED_NORMAL, ANDROID_PRIORITY_AUDIO); in openInputStreamCore()
230 return {analyzeStatus("open_input_stream", status, {EINVAL} /*ignore*/), streamIn}; in openInputStreamCore()
248 auto [result, streamIn] = in openInputStream()
250 _hidl_cb(result, streamIn, suggestedConfig); in openInputStream()
320 auto [result, streamIn] = in openOutputStreamImpl()
322 if (streamIn) { in openOutputStreamImpl()
323 streamIn->updateSinkMetadata(sinkMetadata); in openOutputStreamImpl()
325 return {result, streamIn, suggestedConfig}; in openOutputStreamImpl()
[all …]
/hardware/interfaces/audio/aidl/default/include/core-impl/
DStream.h576 explicit StreamWrapper(const std::shared_ptr<StreamIn>& streamIn) in StreamWrapper() argument
577 : mStream(streamIn), mStreamBinder(streamIn->asBinder()) {} in StreamWrapper()
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp4812 WithRemoteSubmix<IStreamIn> streamIn(address.value()); in TEST_P() local
4813 ASSERT_NO_FATAL_FAILURE(streamIn.SetUp(module.get(), moduleConfig.get())); in TEST_P()
4814 ASSERT_EQ("", streamIn.skipTestReason()); in TEST_P()
4826 WithRemoteSubmix<IStreamIn> streamIn(address.value()); in TEST_P() local
4827 ASSERT_NO_FATAL_FAILURE(streamIn.SetUp(module.get(), moduleConfig.get())); in TEST_P()
4828 ASSERT_EQ("", streamIn.skipTestReason()); in TEST_P()
4833 ASSERT_NO_FATAL_FAILURE(streamIn.SendBurstCommands()); in TEST_P()