Home
last modified time | relevance | path

Searched refs:mInputStream (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/
DResampleInputStream.java38 private InputStream mInputStream; field in ResampleInputStream
67 mInputStream = inputStream; in ResampleInputStream()
85 if (mInputStream == null) throw new IllegalStateException("not open"); in read()
105 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount); in read()
132 if (mInputStream != null) mInputStream.close(); in close()
134 mInputStream = null; in close()
140 if (mInputStream != null) { in finalize()
DAmrInputStream.java41 private InputStream mInputStream; field in AmrInputStream
59 mInputStream = inputStream; in AmrInputStream()
87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i); in read()
107 if (mInputStream != null) mInputStream.close(); in close()
109 mInputStream = null; in close()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java34 private FileInputStream mInputStream; field in UsbAccessoryStreamTransport
40 mInputStream = new FileInputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
51 mInputStream = null; in ioClose()
57 if (mInputStream == null) { in ioRead()
60 return mInputStream.read(buffer, offset, count); in ioRead()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DInputStreamBuffer.java62 private InputStream mInputStream; field in InputStreamBuffer
99 mInputStream = inputStream; in InputStreamBuffer()
199 } else if (mInputStream != null) { in advanceTo()
206 final long burned = mInputStream.skip(burn); in advanceTo()
224 mInputStream = null; in advanceTo()
269 if (mInputStream == null) { in fill()
293 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled); in fill()
301 mInputStream = null; in fill()
350 if (mInputStream != null) { in toDebugString()
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java32 private InputStream mInputStream; field in WebResourceResponse
48 mInputStream = data; in WebResourceResponse()
95 mInputStream = data; in setData()
104 return mInputStream; in getData()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java83 private InputStream mInputStream; field in VCardVerifier
100 mInputStream = null; in VCardVerifier()
148 } else if (mInputStream != null) { in setInputStream()
151 mInputStream = inputStream; in setInputStream()
158 if (mInputStream != null) { in addInputEntry()
294 if (mInputStream != null) { in verify()
313 verifyWithInputStream(mInputStream); in verifyForImportTest()
317 if (mInputStream != null) { in verifyForImportTest()
319 mInputStream.close(); in verifyForImportTest()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp249 mInputStream.clear(); in disconnect()
331 if (mInputStream != NULL) { in dump()
333 mInputStream->dump(fd, args); in dump()
567 if (mInputStream != 0) { in createInputStream()
576 mInputStream = newStream; in createInputStream()
638 if (mInputStream != 0) { in createZslStream()
653 mInputStream = newStream; in createZslStream()
839 if (mInputStream != NULL && id == mInputStream->getId()) { in deleteStream()
840 deletedStream = mInputStream; in deleteStream()
841 mInputStream.clear(); in deleteStream()
[all …]
DCamera3Device.h180 sp<camera3::Camera3Stream> mInputStream; variable
199 sp<camera3::Camera3Stream> mInputStream; variable
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DInputStreamSource.java44 private InputStream mInputStream; field in InputStreamSource
72 while ((bytesRead = mInputStream.read(buffer)) > 0) { in process()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java54 private FileInputStream mInputStream; field in AccessoryChat
144 mInputStream = new FileInputStream(fd); in openAccessory()
173 ret = mInputStream.read(buffer); in run()
/frameworks/base/graphics/java/android/renderscript/
DFileA3D.java170 InputStream mInputStream; field in FileA3D
174 mInputStream = stream; in FileA3D()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java111 private final BluetoothInputStream mInputStream; field in BluetoothSocket
176 mInputStream = new BluetoothInputStream(this); in BluetoothSocket()
185 mInputStream = new BluetoothInputStream(this); in BluetoothSocket()
256 return mInputStream; in getInputStream()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Daccessory.jd406 FileInputStream mInputStream;
416 mInputStream = new FileInputStream(fd);