/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/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/util/ |
D | FastPrintWriter.java | 58 final private OutputStream mOutputStream; field in FastPrintWriter 127 mOutputStream = out; in FastPrintWriter() 196 mOutputStream = null; in FastPrintWriter() 239 mOutputStream = null; in FastPrintWriter() 352 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked() 361 if (mOutputStream != null) { in flushLocked() 376 mOutputStream.flush(); in flushLocked() 412 if (mOutputStream != null) { 413 mOutputStream.flush(); 430 if (mOutputStream != null) { [all …]
|
D | FastXmlSerializer.java | 62 private OutputStream mOutputStream; field in FastXmlSerializer 250 mOutputStream.write(mBytes.array(), 0, position); in flushBytes() 258 if (mOutputStream != null) { in flush() 272 mOutputStream.flush(); in flush() 341 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/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/services/usb/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 76 private OutputStream mOutputStream; field in UsbDebuggingManager.UsbDebuggingThread 118 mOutputStream = mSocket.getOutputStream(); in openSocketLocked() 157 if (mOutputStream != null) { in closeSocketLocked() 158 mOutputStream.close(); in closeSocketLocked() 159 mOutputStream = null; in closeSocketLocked() 185 if (!mStopped && mOutputStream != null) { in sendResponse() 187 mOutputStream.write(msg.getBytes()); in sendResponse()
|
/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/tests/servicestests/src/com/android/server/ |
D | NetworkManagementServiceTest.java | 49 private OutputStream mOutputStream; field in NetworkManagementServiceTest 64 mOutputStream = mSocket.getOutputStream(); in setUp() 79 mOutputStream.write((message + "\0").getBytes()); in sendMessage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 58 private OutputStream mOutputStream; field in NativeDaemonConnector 193 mOutputStream = socket.getOutputStream(); in listenToSocket() 274 if (mOutputStream != null) { in listenToSocket() 277 mOutputStream.close(); in listenToSocket() 281 mOutputStream = null; in listenToSocket() 474 if (mOutputStream == null) { in executeForList() 478 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8)); in executeForList()
|
/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 | 119 private final BluetoothOutputStream mOutputStream; field in BluetoothSocket 215 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket() 225 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket() 320 return mOutputStream; in getOutputStream()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 3898 private final OutputStream mOutputStream; field in ExifInterface.ByteOrderedDataOutputStream 3903 mOutputStream = out; in ByteOrderedDataOutputStream() 3912 mOutputStream.write(bytes); in write() 3916 mOutputStream.write(bytes, offset, length); in write() 3920 mOutputStream.write(val); in writeByte() 3925 mOutputStream.write((val >>> 0) & 0xFF); in writeShort() 3926 mOutputStream.write((val >>> 8) & 0xFF); in writeShort() 3928 mOutputStream.write((val >>> 8) & 0xFF); in writeShort() 3929 mOutputStream.write((val >>> 0) & 0xFF); in writeShort() 3935 mOutputStream.write((val >>> 0) & 0xFF); in writeInt() [all …]
|
/frameworks/support/exifinterface/src/android/support/media/ |
D | ExifInterface.java | 6323 private final OutputStream mOutputStream; 6328 mOutputStream = out; 6338 mOutputStream.write(bytes); 6343 mOutputStream.write(bytes, offset, length); 6347 mOutputStream.write(val); 6352 mOutputStream.write((val >>> 0) & 0xFF); 6353 mOutputStream.write((val >>> 8) & 0xFF); 6355 mOutputStream.write((val >>> 8) & 0xFF); 6356 mOutputStream.write((val >>> 0) & 0xFF); 6362 mOutputStream.write((val >>> 0) & 0xFF); [all …]
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 128 private FileOutputStream mOutputStream = null; field in AppLaunch 178 mOutputStream = new FileOutputStream(mFile); in testMeasureStartUpTime() 180 mOutputStream)); in testMeasureStartUpTime()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 325 jobject mOutputStream; member in JniOutputStream 330 JniOutputStream::JniOutputStream(JNIEnv* env, jobject outStream) : mOutputStream(outStream), in JniOutputStream() 357 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
|