Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java43 private FileOutputStream mOutputStream; field in AssetFileDescriptorTest
105 mOutputStream = mAssetFileDes.createOutputStream(); in testInputOutputStream()
106 assertNotNull(mOutputStream); in testInputOutputStream()
107 mOutputStream.write(FILE_DATA); in testInputOutputStream()
108 mOutputStream.flush(); in testInputOutputStream()
109 mOutputStream.close(); in testInputOutputStream()
110 mOutputStream = null; in testInputOutputStream()
112 mOutputStream = mAssetFileDes.createOutputStream(); in testInputOutputStream()
149 mOutputStream = mAssetFileDes.createOutputStream(); in testInputOutputStream()
158 mOutputStream = mAssetFileDes.createOutputStream(); in testInputOutputStream()
[all …]
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp235 result = AAudioStreamBuilder_openStream(builder, &mOutputStream); in openAudio()
244 AAudioStream_getPerformanceMode(mOutputStream) == AAUDIO_PERFORMANCE_MODE_LOW_LATENCY; in openAudio()
246 int32_t outputFramesPerBurst = AAudioStream_getFramesPerBurst(mOutputStream); in openAudio()
247 …(void) AAudioStream_setBufferSizeInFrames(mOutputStream, outputFramesPerBurst * kDefaultOutputSize… in openAudio()
249 mOutputSampleRate = AAudioStream_getSampleRate(mOutputStream); in openAudio()
250 mActualOutputChannelCount = AAudioStream_getChannelCount(mOutputStream); in openAudio()
288 aaudio_result_t result = AAudioStream_requestStart(mOutputStream); in startAudio()
308 if (mOutputStream != nullptr) { in stopAudio()
309 result1 = AAudioStream_requestStop(mOutputStream); in stopAudio()
323 if (mOutputStream != nullptr) { in closeAudio()
[all …]
DNativeAudioAnalyzer.h105 AAudioStream *mOutputStream = nullptr; variable
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEvents.java75 private FileOutputStream mOutputStream; field in Events
144 if (mOutputStream == null) { in writeEventToFile()
145 mOutputStream = mContext.openFileOutput( in writeEventToFile()
151 mOutputStream.write( in writeEventToFile()
153 mOutputStream.write(eventBytes); in writeEventToFile()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java50 private OutputStream mOutputStream; field in VirtualInputDevice
179 closeQuietly(mOutputStream); in close()
206 mOutputStream = new ParcelFileDescriptor.AutoCloseOutputStream(pipes[1]); in setupPipes()
217 mOutputStream.write(bytes); in writeCommands()
218 mOutputStream.flush(); in writeCommands()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp199 , mOutputStream(outputStream) in Context()
223 mEnv->CallVoidMethod(mOutputStream, gOutputStream_writeMethodID, mStorage, 0, in compress()
240 jobject mOutputStream; member in Context