Home
last modified time | relevance | path

Searched refs:outputStream (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DFsUtils.java94 OutputStream outputStream = null; in writeDataToStorage() local
99 outputStream = new FileOutputStream(file, append); in writeDataToStorage()
100 outputStream.write(bytes); in writeDataToStorage()
102 if (outputStream != null) { in writeDataToStorage()
103 outputStream.close(); in writeDataToStorage()
272 public static void closeOutputStream(OutputStream outputStream) { in closeOutputStream() argument
274 if (outputStream != null) { in closeOutputStream()
275 outputStream.close(); in closeOutputStream()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java177 OutputStream outputStream = null; in writeSnapshotFile() local
179 outputStream = new BufferedOutputStream(new FileOutputStream(path)); in writeSnapshotFile()
180 PrintStream out = new PrintStream(outputStream); in writeSnapshotFile()
185 BinaryHprofWriter.write(samplingProfiler.getHprofData(), outputStream); in writeSnapshotFile() local
190 IoUtils.closeQuietly(outputStream); in writeSnapshotFile()
/frameworks/base/drm/java/android/drm/
DDrmUtils.java66 FileOutputStream outputStream = null; in writeToFile() local
70 outputStream = new FileOutputStream(path); in writeToFile()
71 outputStream.write(data); in writeToFile()
73 quietlyDispose(outputStream); in writeToFile()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
DAdbUtils.java61 public static boolean configureConnection(InputStream inputStream, OutputStream outputStream, in configureConnection() argument
67 outputStream.write(cmd.getBytes()); in configureConnection()
DConnectionHandler.java46 public SocketPipeThread(InputStream inputStream, OutputStream outputStream) { in SocketPipeThread() argument
48 mOutputStream = outputStream; in SocketPipeThread()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java225 FileOutputStream outputStream = new FileOutputStream(outputFile); in finishTest() local
226 outputStream.write(outputString.getBytes()); in finishTest()
227 outputStream.close(); in finishTest()
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DMediaPlayerProxyTestCase.java535 OutputStream outputStream = null; in getTestContentUri() local
539 outputStream = getContentResolver().openOutputStream(uri); in getTestContentUri()
540 copyBetweenStreams(inputStream, outputStream); in getTestContentUri()
544 Closeables.closeQuietly(outputStream); in getTestContentUri()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dcod_main.h91 unsigned short *outputStream; member
/frameworks/base/include/androidfw/
DBackupHelpers.h138 const String8& rootPath, const String8& filePath, BackupDataWriter* outputStream);
/frameworks/av/services/camera/libcameraservice/
DCamera2Device.cpp1339 const sp<StreamAdapter> &outputStream) { in connectToDevice() argument
1345 if (outputStream == NULL) { in connectToDevice()
1351 mBaseStream = outputStream; in connectToDevice()
1352 mWidth = outputStream->getWidth(); in connectToDevice()
1353 mHeight = outputStream->getHeight(); in connectToDevice()
1354 mFormat = outputStream->getFormat(); in connectToDevice()
1363 outputStream->getId(), getStreamOps(), in connectToDevice()
1372 __FUNCTION__, id, outputStream->getId()); in connectToDevice()
DCamera3Device.cpp1039 camera3_stream_t *outputStream; in configureStreamsLocked() local
1040 outputStream = mOutputStreams.editValueAt(i)->startConfiguration(); in configureStreamsLocked()
1041 if (outputStream == NULL) { in configureStreamsLocked()
1045 streams.add(outputStream); in configureStreamsLocked()
1075 sp<Camera3OutputStreamInterface> outputStream = in configureStreamsLocked() local
1077 if (outputStream->isConfiguring()) { in configureStreamsLocked()
1078 res = outputStream->finishConfiguration(mHal3Device); in configureStreamsLocked()
1081 outputStream->getId(), strerror(-res), res); in configureStreamsLocked()
DCamera2Device.h266 status_t connectToDevice(const sp<StreamAdapter> &outputStream);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dbits.c46 unsigned short* dataOut = st->outputStream; in PackBits()
DvoAMRWBEnc.c1647 st->outputStream = NULL; in voAMRWB_Init()
1755 gData->outputStream = (unsigned short*)pOutput->Buffer; in voAMRWB_GetOutputData()
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd165 FileOutputStream outputStream;
168 outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
169 outputStream.write(string.getBytes());
170 outputStream.close();
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd582 OutputStream outputStream = socket.getOutputStream();
587 outputStream.write(buf, 0, len);
589 outputStream.close();