Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp32 framesRead = AAudioStream_read(mInputStream, mInputShortData, in readFormattedData()
36 framesRead = AAudioStream_read(mInputStream, mInputFloatData, in readFormattedData()
88 int64_t framesRead = AAudioStream_getFramesRead(mInputStream); in dataCallbackProc()
130 int64_t inputFramesWritten = AAudioStream_getFramesWritten(mInputStream); in dataCallbackProc()
131 int64_t inputFramesRead = AAudioStream_getFramesRead(mInputStream); in dataCallbackProc()
289 result = AAudioStreamBuilder_openStream(builder, &mInputStream); in openAudio()
296 int32_t actualCapacity = AAudioStream_getBufferCapacityInFrames(mInputStream); in openAudio()
297 (void) AAudioStream_setBufferSizeInFrames(mInputStream, actualCapacity); in openAudio()
300 mActualInputFormat = AAudioStream_getFormat(mInputStream); in openAudio()
301 mActualInputChannelCount = AAudioStream_getChannelCount(mInputStream); in openAudio()
[all …]
DNativeAudioAnalyzer.h115 AAudioStream *mInputStream = nullptr; variable
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java65 private FileInputStream mInputStream; field in AssetFileDescriptorTest
142 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
143 assertNotNull(mInputStream); in testInputOutputStream()
149 readByte = mInputStream.read(dataFromFile, in testInputOutputStream()
154 assertEquals(FILE_END, mInputStream.read()); in testInputOutputStream()
155 mInputStream.close(); in testInputOutputStream()
156 mInputStream = null; in testInputOutputStream()
178 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
182 mInputStream.read(); in testInputOutputStream()
/cts/tests/tests/media/common/src/android/media/cts/
DStreamUtils.java45 private InputStream mInputStream; field in StreamUtils.MediaCodecStream
93 mInputStream = input; in MediaCodecStream()
153 } else if (mInputStream != null) { in read()
158 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read()
216 if (mInputStream != null) { in close()
217 mInputStream.close(); in close()
220 mInputStream = null; in close()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java53 private InputStream mInputStream; field in VirtualInputDevice
183 closeQuietly(mInputStream); in close()
222 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(pipes[0]); in setupPipes()
225 mReader = new JsonReader(new InputStreamReader(mInputStream, "UTF-8")); in setupPipes()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java1033 private final InputStream mInputStream; field in ExceptionStream
1038 mInputStream = getResources().openRawResource(resId); in ExceptionStream()
1049 int value = mInputStream.read(); in read()
1057 final int bytesRead = mInputStream.read(b, off, len); in read()
1063 mPosition += mInputStream.read(b, off, len); in read()