Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DResampleInputStream.java36 private InputStream mInputStream; field in ResampleInputStream
65 mInputStream = inputStream; in ResampleInputStream()
83 if (mInputStream == null) throw new IllegalStateException("not open"); in read()
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount); in read()
130 if (mInputStream != null) mInputStream.close(); in close()
132 mInputStream = null; in close()
138 if (mInputStream != null) { in finalize()
DAmrInputStream.java43 private InputStream mInputStream; field in AmrInputStream
58 mInputStream = inputStream; in AmrInputStream()
117 int n = mInputStream.read(mBuf, numRead, SAMPLES_PER_FRAME * 2 - numRead); in read()
173 if (mInputStream != null) { in close()
174 mInputStream.close(); in close()
177 mInputStream = null; in close()
DMediaHTTPConnection.java54 private InputStream mInputStream = null; field in MediaHTTPConnection
139 if (mInputStream != null) { in teardownConnection()
141 mInputStream.close(); in teardownConnection()
144 mInputStream = null; in teardownConnection()
301 mInputStream = in seekTo()
330 int n = mInputStream.read(data, 0, size); in readAt()
DExifInterface.java3492 private InputStream mInputStream; field in ExifInterface.ByteOrderedDataInputStream
3498 mInputStream = in; in ByteOrderedDataInputStream()
/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/bitmap/src/com/android/bitmap/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()
271 if (mInputStream == null) { in fill()
295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled); in fill()
303 mInputStream = null; in fill()
354 if (mInputStream != null) { in toDebugString()
/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()
271 if (mInputStream == null) { in fill()
295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled); in fill()
303 mInputStream = null; in fill()
354 if (mInputStream != null) { in toDebugString()
/frameworks/base/media/java/android/media/midi/
DMidiOutputPort.java44 private final FileInputStream mInputStream; field in MidiOutputPort
60 int count = mInputStream.read(buffer);
89 IoUtils.closeQuietly(mInputStream);
99 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(new ParcelFileDescriptor(fd)); in MidiOutputPort()
133 mInputStream.close(); in close()
/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/base/core/java/android/webkit/
DWebResourceResponse.java37 private InputStream mInputStream; field in WebResourceResponse
201 mInputStream = data; in setData()
210 return mInputStream; in getData()
226 mInputStream = data; in WebResourceResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java69 private InputStream mInputStream; field in TestConferenceEventPackageParser
77 mInputStream = inputStream; in TestConferenceEventPackageParser()
93 parser.setInput(mInputStream, null); in parse()
110 mInputStream.close(); in parse()
/frameworks/base/core/java/android/os/
DShellCommand.java56 private InputStream mInputStream; field in ShellCommand
75 mInputStream = null; in init()
184 if (mInputStream == null) { in getBufferedInputStream()
185 mInputStream = new BufferedInputStream(getRawInputStream()); in getBufferedInputStream()
187 return mInputStream; in getBufferedInputStream()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DMetadataListReader.java238 private final InputStream mInputStream; field in MetadataListReader.InputStreamOpenTypeReader
248 mInputStream = inputStream; in InputStreamOpenTypeReader()
278 long skipped = mInputStream.skip(numOfBytes); in skip()
294 if (mInputStream.read(mByteArray, 0, numOfBytes) != numOfBytes) { in read()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
DUsbAoapDeviceTestActivity.java124 private final FileInputStream mInputStream; field in UsbAoapDeviceTestActivity.ReaderThread
130 mInputStream = new FileInputStream(fd.getFileDescriptor()); in ReaderThread()
146 int read = mInputStream.read(mBuffer); in run()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DInputStreamSource.java43 private InputStream mInputStream; field in InputStreamSource
71 while ((bytesRead = mInputStream.read(buffer)) > 0) { in process()
/frameworks/ex/framesequence/jni/
DStream.h78 mInputStream(inputStream), in JavaInputStream()
87 const jobject mInputStream; variable
DStream.cpp128 jint bytesRead = mEnv->CallIntMethod(mInputStream, in doRead()
/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/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp273 mInputStream.clear(); in disconnect()
585 if (mInputStream != NULL) { in dump()
587 mInputStream->dump(fd, args); in dump()
932 if (mInputStream->getId() != result.inputBuffer.streamId) { in processOneCaptureResultLocked()
937 inputBuffer.stream = mInputStream->asHalStream(); in processOneCaptureResultLocked()
1138 if (mInputStream != 0) { in createInputStream()
1147 mInputStream = newStream; in createInputStream()
1394 if (mInputStream != NULL && id == mInputStream->getId()) { in deleteStream()
1395 deletedStream = mInputStream; in deleteStream()
1396 mInputStream.clear(); in deleteStream()
[all …]
DCamera3Device.h372 sp<camera3::Camera3Stream> mInputStream; variable
402 sp<camera3::Camera3Stream> mInputStream; variable
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp77 mInputStream(), in CameraDeviceClient()
157 if (!mInputStream.configured) { in submitRequestList()
227 metadata.update(ANDROID_REQUEST_INPUT_STREAMS, &mInputStream.id, 1); in submitRequestList()
322 __FUNCTION__, mInputStream.configured ? 1 : 0, in endConfigure()
398 if (mInputStream.configured && mInputStream.id == streamId) { in deleteStream()
434 mInputStream.configured = false; in deleteStream()
667 if (mInputStream.configured) { in createInputStream()
669 "configured (ID %zd)", mCameraIdStr.string(), mInputStream.id); in createInputStream()
677 mInputStream.configured = true; in createInputStream()
678 mInputStream.width = width; in createInputStream()
[all …]
DCameraDeviceClient.h279 } mInputStream; variable
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java79 private InputStream mInputStream; field in UsbDebuggingManager.UsbDebuggingThread
114 mInputStream = null; in openSocketLocked()
121 mInputStream = mSocket.getInputStream(); in openSocketLocked()
132 int count = mInputStream.read(buffer); in listenToSocket()
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java168 InputStream mInputStream; field in FileA3D
172 mInputStream = stream; in FileA3D()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java118 private final BluetoothInputStream mInputStream; field in BluetoothSocket
214 mInputStream = new BluetoothInputStream(this); in BluetoothSocket()
224 mInputStream = new BluetoothInputStream(this); in BluetoothSocket()
309 return mInputStream; in getInputStream()