Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.cpp105 mBuilder{nullptr}, mStream{nullptr} {}
133 aaudio_result_t result = AAudioStreamBuilder_openStream(mBuilder, &mStream); in createAndVerifyStream()
139 ASSERT_TRUE(mStream != nullptr); in createAndVerifyStream()
140 ASSERT_EQ(AAUDIO_STREAM_STATE_OPEN, AAudioStream_getState(mStream)); in createAndVerifyStream()
141 ASSERT_EQ(mDirection, AAudioStream_getDirection(mStream)); in createAndVerifyStream()
143 mActual.sharingMode = AAudioStream_getSharingMode(mStream); in createAndVerifyStream()
153 mActual.sampleRate = AAudioStream_getSampleRate(mStream); in createAndVerifyStream()
157 ASSERT_GE(AAudioStream_getHardwareSampleRate(mStream), kMinValidSampleRate); in createAndVerifyStream()
158 ASSERT_LE(AAudioStream_getHardwareSampleRate(mStream), kMaxValidSampleRate); in createAndVerifyStream()
160 mActual.channelCount = AAudioStream_getChannelCount(mStream); in createAndVerifyStream()
[all …]
Dutils.h87 AAudioStream* stream() const { return mStream; } in stream()
108 AAudioStream *mStream; variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDisconnectActivity.java65 private StreamBase mStream; field in AudioDisconnectActivity
295 && mStream.getStreamState() != StreamState.STARTED) { in runTest()
297 + mStream.getStreamState() + " count:" + timeoutCount); in runTest()
331 && mStream.getStreamState() == StreamState.STARTED) { in runTest()
332 setTextMessage(mDebugMessageTx, "state:" + mStream.getStreamState() in runTest()
344 error = mStream.getLastErrorCallbackResult(); in runTest()
379 && mStream.getStreamState() == StreamState.STARTED) { in runTest()
380 setTextMessage(mDebugMessageTx, "state:" + mStream.getStreamState() in runTest()
392 error = mStream.getLastErrorCallbackResult(); in runTest()
563 mStream = mPlayer; in startAudio()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java66 private Stream mStream; field in PlayVideoActivity
94 mStream = (Stream) getIntent().getSerializableExtra(EXTRA_STREAM); in onCreate()
109 mPlayer.setDataSource(UrlReplacement.getFinalUri(mStream.uri)); in playVideo()
137 return getTestId(mStream.code);
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java443 private final Stream<String> mStream; field in ShellCommandUtils.StreamingShellOutput
447 mStream = stream; in StreamingShellOutput()
451 return mStream; in stream()
458 mStream.close(); in close()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderTest.java121 private LinkedList<Pair<ByteBuffer, BufferInfo>> mStream; field in VideoEncoderTest.VideoStorage
131 mStream = new LinkedList<Pair<ByteBuffer, BufferInfo>>(); in VideoStorage()
146 mStream.addLast(Pair.create(savedBuffer, savedInfo)); in addBuffer()
155 final Iterator<Pair<ByteBuffer, BufferInfo>> it = mStream.iterator(); in play()