/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/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/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/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/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 42 private InputStream mInputStream; field in WebResourceResponse 219 mInputStream = data; in setData() 228 return mInputStream; in getData() 244 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, mSessionStatsBuilder, listener, *this, *this, in processCaptureResult_3_4() 303 mTagMonitor, mInputStream, mOutputStreams, mSessionStatsBuilder, listener, *this, *this, in processCaptureResult() 338 mTagMonitor, mInputStream, mOutputStreams, mSessionStatsBuilder, listener, *this, *this, in notify() 464 bool hasInputStream = mInputStream != nullptr; in getAllStreams() 467 ret.push_back(mInputStream); in getAllStreams()
|
D | Camera3Device.cpp | 433 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl() 437 if (mInputStream != nullptr) { in disconnectImpl() 438 streams.push_back(mInputStream); in disconnectImpl() 481 mInputStream.clear(); in disconnectImpl() 761 if (mInputStream != NULL) { in dump() 763 mInputStream->dump(fd, args); in dump() 1091 mTagMonitor, mInputStream, mOutputStreams, mSessionStatsBuilder, listener, *this, *this, in processCaptureResult_3_4() 1150 mTagMonitor, mInputStream, mOutputStreams, mSessionStatsBuilder, listener, *this, *this, in processCaptureResult() 1191 mTagMonitor, mInputStream, mOutputStreams, mSessionStatsBuilder, listener, *this, *this, in notify() 1323 if (mInputStream != 0) { in createInputStream() [all …]
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BasicShellCommandHandler.java | 54 private InputStream mInputStream; field in BasicShellCommandHandler 71 mInputStream = null; in init() 200 if (mInputStream == null) { in getBufferedInputStream() 201 mInputStream = new BufferedInputStream(getRawInputStream()); in getBufferedInputStream() 203 return mInputStream; in getBufferedInputStream()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 143 if (mInputStream[idx].is_open()) mInputStream[idx].close(); in ~WriterTest() 197 ifstream mInputStream[kMaxTrackCount]{}; member in WriterTest 226 mInputStream[idx].open(inputFileName.c_str(), std::ifstream::binary); in getInputBufferInfo() 227 ASSERT_EQ(mInputStream[idx].is_open(), true); in getInputBufferInfo() 276 if (mInputStream[idx].is_open()) { in addWriterSource() 286 int32_t status = writeHeaderBuffers(mInputStream[idx], mBufferInfo[idx], in addWriterSource() 534 status = sendBuffersToWriter(mInputStream[idx], mBufferInfo[idx], mInputFrameId[idx], in TEST_P() 568 mInputStream[idx].seekg(0, mInputStream[idx].beg); in TEST_P() 569 mInputStream[idx].read(inputBuffer, fileSize[idx]); in TEST_P() 570 ASSERT_EQ(mInputStream[idx].gcount(), fileSize[idx]); in TEST_P() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 308 decoder.mInputStream = stream; in createFromFile() 329 decoder.mInputStream = is; in createFromStream() 376 mInputStream = is; in InputStreamSource() 381 InputStream mInputStream; field in ImageDecoder.InputStreamSource 394 if (mInputStream == null) { in createImageDecoder() 397 InputStream is = mInputStream; in createImageDecoder() 398 mInputStream = null; in createImageDecoder() 503 decoder.mInputStream = ais; in createFromAsset() 801 private InputStream mInputStream; field in ImageDecoder 833 mInputStream = null; in finalize() [all …]
|
/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/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/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()
|