/frameworks/base/media/java/android/media/ |
D | ResampleInputStream.java | 36 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()
|
D | AmrInputStream.java | 44 private InputStream mInputStream; field in AmrInputStream 60 mInputStream = inputStream; in AmrInputStream() 128 int n = mInputStream.read(mBuf, numRead, SAMPLES_PER_FRAME * 2 - numRead); in read() 180 if (mInputStream != null) { in close() 181 mInputStream.close(); in close() 184 mInputStream = null; in close()
|
D | MediaHTTPConnection.java | 74 private InputStream mInputStream = null; field in MediaHTTPConnection 187 if (mInputStream != null) { in teardownConnection() 189 mInputStream.close(); in teardownConnection() 192 mInputStream = null; in teardownConnection() 374 mInputStream = in seekTo() 404 int n = mInputStream.read(data, 0, size); in readAt()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 39 private InputStream mInputStream; field in MetadataReaderTest 44 mInputStream = getClass().getClassLoader().getResourceAsStream("res/drawable/image.jpg"); in setUp() 50 IoUtils.closeQuietly(mInputStream); in tearDown() 55 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", null); in testGetMetadata() 73 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegOneTag() 82 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegNoResults() 99 MetadataReader.getMetadata(mData, mInputStream, "no/metadata", null); in testGetMetadata_UnsupportedMimeType() 105 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", new String[0]); in testGetMetadata_NoTags()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 34 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/ |
D | InputStreamBuffer.java | 62 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/bitmap/src/com/android/bitmap/util/ |
D | InputStreamBuffer.java | 62 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/services/core/java/com/android/server/integrity/model/ |
D | BitInputStream.java | 31 private InputStream mInputStream; field in BitInputStream 36 mInputStream = inputStream; in BitInputStream() 66 return mInputStream.available() > 0; in hasNext() 70 return (byte) mInputStream.read(); in getNextByte()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiOutputPort.java | 44 private final FileInputStream mInputStream; field in MidiOutputPort 60 int count = mInputStream.read(buffer); 96 IoUtils.closeQuietly(mInputStream); 106 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(new ParcelFileDescriptor(fd)); in MidiOutputPort() 140 mInputStream.close(); in close()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 83 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/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 131 if (mInputStream.is_open()) mInputStream.close(); in TearDown() 160 ifstream mInputStream; member in WriterTest 179 mInputStream.open(inputFileName.c_str(), std::ifstream::binary); in getInputBufferInfo() 180 ASSERT_EQ(mInputStream.is_open(), true); in getInputBufferInfo() 229 if (mInputStream.is_open()) { in addWriterSource() 240 writeHeaderBuffers(mInputStream, mBufferInfo, mInputFrameId, format, mNumCsds); in addWriterSource() 314 status = sendBuffersToWriter(mInputStream, mBufferInfo, mInputFrameId, mCurrentTrack, 0, in TEST_P() 351 status = sendBuffersToWriter(mInputStream, mBufferInfo, mInputFrameId, mCurrentTrack, 0, in TEST_P() 363 status = sendBuffersToWriter(mInputStream, mBufferInfo, mInputFrameId, mCurrentTrack, in TEST_P() 371 status = sendBuffersToWriter(mInputStream, mBufferInfo, mInputFrameId, mCurrentTrack, in TEST_P() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 41 private InputStream mInputStream; field in WebResourceResponse 218 mInputStream = data; in setData() 227 return mInputStream; in getData() 243 mInputStream = data; in WebResourceResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | TestConferenceEventPackageParser.java | 68 private InputStream mInputStream; field in TestConferenceEventPackageParser 76 mInputStream = inputStream; in TestConferenceEventPackageParser() 92 parser.setInput(mInputStream, null); in parse() 109 mInputStream.close(); in parse()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedFullBackupDataProcessor.java | 57 @Nullable private InputStream mInputStream; field in EncryptedFullBackupDataProcessor 82 this.mInputStream = inputStream; in initiate() 106 mBackupTaskFuture != null && mInputStream != null && mOutputStream != null, in pushData() 125 StreamUtils.copyStream(mInputStream, mOutputStream, numBytes); in pushData() 169 StreamUtils.closeQuietly(mInputStream); in closeStreams()
|
D | EncryptedFullBackupTask.java | 74 private final InputStream mInputStream; field in EncryptedFullBackupTask 125 mInputStream = inputStream; in EncryptedFullBackupTask() 182 StreamUtils.closeQuietly(mInputStream); in call()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/ |
D | KeyValueEncrypter.java | 123 private final InputStream mInputStream; field in KeyValueEncrypter.InputStreamFullRestoreDownloader 126 mInputStream = inputStream; in InputStreamFullRestoreDownloader() 131 return mInputStream.read(buffer); in readNextChunk() 137 mInputStream.close(); in finish()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OfflineSession.cpp | 53 mInputStream(inputStream), in Camera3OfflineSession() 165 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl() 169 if (mInputStream != nullptr) { in disconnectImpl() 170 streams.push_back(mInputStream); in disconnectImpl() 187 mInputStream.clear(); in disconnectImpl() 263 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, mBufferRecords in processCaptureResult_3_4() 302 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, mBufferRecords in processCaptureResult() 336 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, mBufferRecords in notify() 461 bool hasInputStream = mInputStream != nullptr; in getAllStreams() 464 ret.push_back(mInputStream); in getAllStreams()
|
D | Camera3Device.cpp | 407 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl() 411 if (mInputStream != nullptr) { in disconnectImpl() 412 streams.push_back(mInputStream); in disconnectImpl() 451 mInputStream.clear(); in disconnectImpl() 736 if (mInputStream != NULL) { in dump() 738 mInputStream->dump(fd, args); in dump() 1057 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in processCaptureResult_3_4() 1115 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in processCaptureResult() 1155 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in notify() 1286 if (mInputStream != 0) { in createInputStream() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BasicShellCommandHandler.java | 55 private InputStream mInputStream; field in BasicShellCommandHandler 72 mInputStream = null; in init() 201 if (mInputStream == null) { in getBufferedInputStream() 202 mInputStream = new BufferedInputStream(getRawInputStream()); in getBufferedInputStream() 204 return mInputStream; in getBufferedInputStream()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 316 decoder.mInputStream = stream; in createFromFile() 337 decoder.mInputStream = is; in createFromStream() 384 mInputStream = is; in InputStreamSource() 389 InputStream mInputStream; field in ImageDecoder.InputStreamSource 402 if (mInputStream == null) { in createImageDecoder() 405 InputStream is = mInputStream; in createImageDecoder() 406 mInputStream = null; in createImageDecoder() 511 decoder.mInputStream = ais; in createFromAsset() 809 private InputStream mInputStream; field in ImageDecoder 841 mInputStream = null; in finalize() [all …]
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
D | UsbAoapDeviceTestActivity.java | 124 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/ |
D | InputStreamSource.java | 43 private InputStream mInputStream; field in InputStreamSource 71 while ((bytesRead = mInputStream.read(buffer)) > 0) { in process()
|
/frameworks/ex/framesequence/jni/ |
D | Stream.h | 78 mInputStream(inputStream), in JavaInputStream() 87 const jobject mInputStream; variable
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
D | AccessoryChat.java | 54 private FileInputStream mInputStream; field in AccessoryChat 144 mInputStream = new FileInputStream(fd); in openAccessory() 173 ret = mInputStream.read(buffer); in run()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Encoder.java | 56 private FileInputStream mInputStream; field in Encoder 75 this.mInputStream = fileInputStream; in setupEncoder() 118 mInputBufferSize = mInputStream.getChannel().size(); in encode() 303 mInputStream.read(inputArray, 0, bytesToRead); in onInputAvailable()
|