/frameworks/base/media/java/android/media/midi/ |
D | MidiInputPort.java | 42 private FileOutputStream mOutputStream; field in MidiInputPort 58 mOutputStream = new FileOutputStream(fd); in MidiInputPort() 85 if (mOutputStream == null) { in onSend() 89 mOutputStream.write(mBuffer, 0, length); in onSend() 96 if (mOutputStream == null) { in onFlush() 100 mOutputStream.write(mBuffer, 0, length); in onFlush() 111 IoUtils.closeQuietly(mOutputStream); in claimFileDescriptor() 113 mOutputStream = null; in claimFileDescriptor() 143 if (mOutputStream != null) { in close() 144 mOutputStream.close(); in close() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | SingleStreamDiffScriptWriter.java | 36 private final OutputStream mOutputStream; field in SingleStreamDiffScriptWriter 45 mOutputStream = outputStream; in SingleStreamDiffScriptWriter() 87 mOutputStream.flush(); in flush() 91 mOutputStream.write(Integer.toString(mBufferSize).getBytes(UTF_8)); in writeByteBuffer() 92 mOutputStream.write(LINE_SEPARATOR); in writeByteBuffer() 93 mOutputStream.write(mByteBuffer, 0, mBufferSize); in writeByteBuffer() 94 mOutputStream.write(LINE_SEPARATOR); in writeByteBuffer() 100 mOutputStream.write( in writeReusableChunk() 107 mOutputStream.write(LINE_SEPARATOR); in writeReusableChunk()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 35 private FileOutputStream mOutputStream; field in UsbAccessoryStreamTransport 41 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport() 52 mOutputStream = null; in ioClose() 65 if (mOutputStream == null) { in ioWrite() 68 mOutputStream.write(buffer, offset, count); in ioWrite()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ByteTransferPipe.java | 29 private ByteArrayOutputStream mOutputStream; field in ByteTransferPipe 41 mOutputStream = new ByteArrayOutputStream(); in getNewOutputStream() 42 return mOutputStream; in getNewOutputStream() 47 return mOutputStream.toByteArray(); in get()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | SingleStreamDiffScriptWriterTest.java | 46 private ByteArrayOutputStream mOutputStream; field in SingleStreamDiffScriptWriterTest 52 mOutputStream = new ByteArrayOutputStream(); in setUp() 54 new SingleStreamDiffScriptWriter(mOutputStream, MAX_CHUNK_SIZE_IN_BYTES); in setUp() 86 assertThat(mOutputStream.toString("UTF-8")).isEqualTo( in writeChunk_withExistingBytesInBuffer_writesBufferFirst() 97 assertThat(mOutputStream.toString("UTF-8")).isEqualTo(String.format("3-11\n")); in writeChunk_overlappingPreviousChunk_combinesChunks() 107 assertThat(mOutputStream.toString("UTF-8")).isEqualTo("0-12344\n"); in writeChunk_formatsByteIndexesUsingArabicNumbers()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 59 final private OutputStream mOutputStream; field in FastPrintWriter 129 mOutputStream = out; in FastPrintWriter() 198 mOutputStream = null; in FastPrintWriter() 241 mOutputStream = null; in FastPrintWriter() 354 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked() 363 if (mOutputStream != null) { in flushLocked() 378 mOutputStream.flush(); in flushLocked() 414 if (mOutputStream != null) { 415 mOutputStream.flush(); 432 if (mOutputStream != null) { [all …]
|
D | FastXmlSerializer.java | 64 private OutputStream mOutputStream; field in FastXmlSerializer 253 mOutputStream.write(mBytes.array(), 0, position); in flushBytes() 261 if (mOutputStream != null) { in flush() 275 mOutputStream.flush(); in flush() 344 mOutputStream = os; in setOutput()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | OutputStreamTarget.java | 35 private OutputStream mOutputStream; field in OutputStreamTarget 58 mOutputStream.write(data.array(), 0, data.limit()); in process() 59 mOutputStream.flush(); in process()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 352 private DataOutputStream mOutputStream; field in RecoverySystemService.UncryptSocket 390 mOutputStream = new DataOutputStream(mLocalSocket.getOutputStream()); in connectService() 407 mOutputStream.writeInt(cmdUtf8.length); in sendCommand() 408 mOutputStream.write(cmdUtf8, 0, cmdUtf8.length); in sendCommand() 425 mOutputStream.writeInt(0); in sendAck() 433 IoUtils.closeQuietly(mOutputStream); in close()
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
D | AccessoryChat.java | 55 private FileOutputStream mOutputStream; field in AccessoryChat 145 mOutputStream = new FileOutputStream(fd); in openAccessory() 155 if (actionId == EditorInfo.IME_ACTION_DONE && mOutputStream != null) { in onEditorAction() 157 mOutputStream.write(v.getText().toString().getBytes()); in onEditorAction()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ImageEncoder.java | 37 private OutputStream mOutputStream; field in ImageEncoder 56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream); in process()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 61 private OutputStream mOutputStream; field in NativeDaemonConnector 204 mOutputStream = socket.getOutputStream(); in listenToSocket() 285 if (mOutputStream != null) { in listenToSocket() 288 mOutputStream.close(); in listenToSocket() 292 mOutputStream = null; in listenToSocket() 485 if (mOutputStream == null) { in executeForList() 489 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8)); in executeForList()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Decoder.java | 49 private FileOutputStream mOutputStream; field in Decoder 60 mOutputStream = outputStream; in setupDecoder() 295 if (mOutputStream != null) { in onOutputAvailable() 300 mOutputStream.write(bytesOutput); in onOutputAvailable()
|
D | Encoder.java | 57 private FileOutputStream mOutputStream; field in Encoder 76 this.mOutputStream = encoderOutputStream; in setupEncoder() 251 if (mOutputStream != null) { in onOutputAvailable() 256 mOutputStream.write(bytesOutput); in onOutputAvailable()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
D | UsbAoapDeviceTestActivity.java | 125 private final FileOutputStream mOutputStream; field in UsbAoapDeviceTestActivity.ReaderThread 131 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in ReaderThread()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 129 private final BluetoothOutputStream mOutputStream; field in BluetoothSocket 232 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket() 243 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket() 350 return mOutputStream; in getOutputStream()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 4212 private final OutputStream mOutputStream; field in ExifInterface.ByteOrderedDataOutputStream 4217 mOutputStream = out; in ByteOrderedDataOutputStream() 4226 mOutputStream.write(bytes); in write() 4230 mOutputStream.write(bytes, offset, length); in write() 4234 mOutputStream.write(val); in writeByte() 4239 mOutputStream.write((val >>> 0) & 0xFF); in writeShort() 4240 mOutputStream.write((val >>> 8) & 0xFF); in writeShort() 4242 mOutputStream.write((val >>> 8) & 0xFF); in writeShort() 4243 mOutputStream.write((val >>> 0) & 0xFF); in writeShort() 4249 mOutputStream.write((val >>> 0) & 0xFF); in writeInt() [all …]
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 344 private OutputStream mOutputStream; field in AdbDebuggingManager.AdbDebuggingThread 386 mOutputStream = mSocket.getOutputStream(); in openSocketLocked() 484 if (mOutputStream != null) { in closeSocketLocked() 485 mOutputStream.close(); in closeSocketLocked() 486 mOutputStream = null; in closeSocketLocked() 512 if (!mStopped && mOutputStream != null) { in sendResponse() 514 mOutputStream.write(msg.getBytes()); in sendResponse()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 327 jobject mOutputStream; member in JniOutputStream 332 JniOutputStream::JniOutputStream(JNIEnv* env, jobject outStream) : mOutputStream(outStream), in JniOutputStream() 359 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 10846 Landroid/bluetooth/BluetoothSocket;->mOutputStream:Landroid/bluetooth/BluetoothOutputStream; 35855 Landroid/media/ExifInterface$ByteOrderedDataOutputStream;->mOutputStream:Ljava/io/OutputStream; 39287 Landroid/media/midi/MidiInputPort;->mOutputStream:Ljava/io/FileOutputStream; 99631 Lcom/android/internal/util/FastPrintWriter;->mOutputStream:Ljava/io/OutputStream;
|