Home
last modified time | relevance | path

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

/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java35 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/
DFastPrintWriter.java41 final private OutputStream mOutputStream; field in FastPrintWriter
110 mOutputStream = out; in FastPrintWriter()
179 mOutputStream = null; in FastPrintWriter()
222 mOutputStream = null; in FastPrintWriter()
334 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked()
342 if (mOutputStream != null) { in flushLocked()
356 mOutputStream.flush(); in flushLocked()
388 if (mOutputStream != null) {
389 mOutputStream.flush();
404 if (mOutputStream != null) {
[all …]
DFastXmlSerializer.java60 private OutputStream mOutputStream; field in FastXmlSerializer
232 mOutputStream.write(mBytes.array(), 0, position); in flushBytes()
240 if (mOutputStream != null) { in flush()
254 mOutputStream.flush(); in flush()
321 mOutputStream = os; in setOutput()
/frameworks/volley/tests/src/com/android/volley/mock/
DMockHttpURLConnection.java30 private OutputStream mOutputStream; field in MockHttpURLConnection
36 mOutputStream = new ByteArrayOutputStream(); in MockHttpURLConnection()
61 return mOutputStream; in getOutputStream()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DOutputStreamTarget.java36 private OutputStream mOutputStream; field in OutputStreamTarget
59 mOutputStream.write(data.array(), 0, data.limit()); in process()
60 mOutputStream.flush(); in process()
/frameworks/base/services/java/com/android/server/usb/
DUsbDebuggingManager.java60 private OutputStream mOutputStream = null; field in UsbDebuggingManager
77 mOutputStream = mSocket.getOutputStream(); in listenToSocket()
121 mOutputStream.close(); in closeSocket()
134 if (mOutputStream != null) { in sendResponse()
136 mOutputStream.write(msg.getBytes()); in sendResponse()
182 mOutputStream = null; in handleMessage()
327 pw.println(" Connected to adbd: " + (mOutputStream != null)); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java47 private OutputStream mOutputStream; field in NetworkManagementServiceTest
62 mOutputStream = mSocket.getOutputStream(); in setUp()
77 mOutputStream.write((message + "\0").getBytes()); in sendMessage()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java55 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/
DImageEncoder.java42 private OutputStream mOutputStream; field in ImageEncoder
61 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream); in process()
/frameworks/base/services/java/com/android/server/
DNativeDaemonConnector.java54 private OutputStream mOutputStream; field in NativeDaemonConnector
132 mOutputStream = socket.getOutputStream(); in listenToSocket()
194 if (mOutputStream != null) { in listenToSocket()
197 mOutputStream.close(); in listenToSocket()
201 mOutputStream = null; in listenToSocket()
360 if (mOutputStream == null) { in execute()
364 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8)); in execute()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java112 private final BluetoothOutputStream mOutputStream; field in BluetoothSocket
177 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket()
186 mOutputStream = new BluetoothOutputStream(this); in BluetoothSocket()
267 return mOutputStream; in getOutputStream()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Daccessory.jd407 FileOutputStream mOutputStream;
417 mOutputStream = new FileOutputStream(fd);