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()
118 int64_t inputFramesWritten = AAudioStream_getFramesWritten(mInputStream); in dataCallbackProc()
119 int64_t inputFramesRead = AAudioStream_getFramesRead(mInputStream); in dataCallbackProc()
259 result = AAudioStreamBuilder_openStream(builder, &mInputStream); in openAudio()
266 int32_t actualCapacity = AAudioStream_getBufferCapacityInFrames(mInputStream); in openAudio()
267 (void) AAudioStream_setBufferSizeInFrames(mInputStream, actualCapacity); in openAudio()
270 mActualInputFormat = AAudioStream_getFormat(mInputStream); in openAudio()
271 mActualInputChannelCount = AAudioStream_getChannelCount(mInputStream); in openAudio()
274 mInputFramesMaximum = 32 * AAudioStream_getFramesPerBurst(mInputStream); in openAudio()
[all …]
DNativeAudioAnalyzer.h104 AAudioStream *mInputStream = nullptr; variable
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java44 private FileInputStream mInputStream; field in AssetFileDescriptorTest
118 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
127 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
128 assertNotNull(mInputStream); in testInputOutputStream()
134 readByte = mInputStream.read(dataFromFile, in testInputOutputStream()
139 assertEquals(FILE_END, mInputStream.read()); in testInputOutputStream()
140 mInputStream.close(); in testInputOutputStream()
141 mInputStream = null; in testInputOutputStream()
143 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
169 mInputStream = mAssetFileDes.createInputStream(); in testInputOutputStream()
[all …]
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java49 private InputStream mInputStream; field in VirtualInputDevice
178 closeQuietly(mInputStream); in close()
205 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(pipes[0]); in setupPipes()
208 mReader = new JsonReader(new InputStreamReader(mInputStream, "UTF-8")); in setupPipes()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java2217 private InputStream mInputStream; field in MediaCodecTest.MediaCodecStream
2265 mInputStream = input; in MediaCodecStream()
2325 } else if (mInputStream != null) { in read()
2330 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read()
2387 if (mInputStream != null) { in close()
2388 mInputStream.close(); in close()
2391 mInputStream = null; in close()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java915 private final InputStream mInputStream; field in ExceptionStream
920 mInputStream = getResources().openRawResource(resId); in ExceptionStream()
931 int value = mInputStream.read(); in read()
939 final int bytesRead = mInputStream.read(b, off, len); in read()
945 mPosition += mInputStream.read(b, off, len); in read()