/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/ |
D | AssetDataSource.java | 41 private InputStream mInputStream; field in AssetDataSource 59 mInputStream = mAssetManager.open(path, AssetManager.ACCESS_RANDOM); in open() 60 long skipped = mInputStream.skip(dataSpec.position); in open() 70 mBytesRemaining = mInputStream.available(); in open() 98 bytesRead = mInputStream.read(buffer, offset, bytesToRead); in read() 114 if (mInputStream != null) { in close() 116 mInputStream.close(); in close() 120 mInputStream = null; in close()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Proxy.java | 37 private InputStream mInputStream = null; field in Proxy 71 mOffset += mInputStream.skip(offset - mOffset); in onRead() 80 int bytes = mInputStream.read(data, size - remainingSize, remainingSize); in onRead() 95 FileUtils.closeQuietly(mInputStream); in onRelease() 100 FileUtils.closeQuietly(mInputStream); in recreateInputStream() 101 mInputStream = mFile.getInputStream(mEntry); in recreateInputStream()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunTunerHal.java | 45 private BufferedInputStream mInputStream; field in HdHomeRunTunerHal 147 mInputStream = new BufferedInputStream(connection.getInputStream()); in connectAndOpenInputStream() 170 if (mInputStream != null) { in readTsStream() 174 return mInputStream.read(javaBuffer, 0, javaBufferSize); in readTsStream() 208 if (mInputStream != null) { in closeInputStreamAndDisconnect() 210 mInputStream.close(); in closeInputStreamAndDisconnect() 214 mInputStream = null; in closeInputStreamAndDisconnect()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperTest.java | 56 private InputStream mInputStream; field in CarAudioZonesHelperTest 81 mInputStream = mContext.getResources().openRawResource(R.raw.car_audio_configuration); in setUp() 87 if (mInputStream != null) { in tearDown() 88 mInputStream.close(); in tearDown() 141 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesAllZones() 164 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesAudioZoneId() 178 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesOccupantZoneId() 195 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesZoneName() 206 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesIsPrimary() 220 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesVolumeGroups() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 252 private BufferedInputStream mInputStream; field in FileTsStreamer.StreamProvider 261 mInputStream = new BufferedInputStream(new FileInputStream(filepath)); in open() 264 mInputStream = null; in open() 269 return mInputStream != null; in isReady() 313 if (mInputStream == null) { in read() 340 readSize = mInputStream.read(mPreBuffer, 0, mPreBuffer.length); in readInternal() 350 mInputStream.close(); in close() 354 mInputStream = null; in close()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppSendFileInfo.java | 70 public final FileInputStream mInputStream; field in BluetoothOppSendFileInfo 87 mInputStream = inputStream; in BluetoothOppSendFileInfo() 95 mInputStream = null; in BluetoothOppSendFileInfo()
|
D | BluetoothOppUtility.java | 429 if (info != null && info.mInputStream != null) { in closeSendFileInfo() 431 info.mInputStream.close(); in closeSendFileInfo()
|
D | BluetoothOppObexClientSession.java | 459 BufferedInputStream a = new BufferedInputStream(fileInfo.mInputStream, 0x4000); in sendFile()
|
D | BluetoothOppService.java | 775 if (sendFileInfo == null || sendFileInfo.mInputStream == null) { in insertShare()
|
/packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/ |
D | AoapPhoneCompanionActivity.java | 149 private final FileInputStream mInputStream; field in AoapPhoneCompanionActivity.ProcessorThread 155 mInputStream = new FileInputStream(fd.getFileDescriptor()); in ProcessorThread() 177 int read = mInputStream.read(mBuffer); in run()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 603 private InputStream mInputStream; field in DefaultWallpaperPersister.SetWallpaperTask 629 mInputStream = stream; in SetWallpaperTask() 682 } else if (mInputStream != null) { in doInBackground() 683 wallpaperId = setStreamToWallpaperManagerCompat(mInputStream, allowBackup, in doInBackground() 710 if (mInputStream != null) { in onPostExecute() 712 mInputStream.close(); in onPostExecute()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesHelper.java | 132 private final InputStream mInputStream; field in CarAudioZonesHelper 150 mInputStream = Objects.requireNonNull(inputStream); in CarAudioZonesHelper() 169 return parseCarAudioZones(mInputStream); in loadAudioZones()
|
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/ |
D | OppSendFileInfoTest.java | 72 assertThat(sendFileInfo.mInputStream).isEqualTo(mFileInputStream); in testFileOpen()
|