/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/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datastore/ |
D | ProtoDataSource.java | 45 private FileInputStream mInputStream; field in ProtoDataSource 117 if (mInputStream == null) { in readFromFile() 118 mInputStream = new FileInputStream(getDataFile()); in readFromFile() 120 result = parseDelimitedFrom(mInputStream); in readFromFile() 124 if (mInputStream != null) { in readFromFile() 126 mInputStream.close(); in readFromFile() 127 mInputStream = null; in readFromFile()
|
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/proto/ |
D | ProtoDataSource.kt | 38 private var mInputStream: FileInputStream? = null variable in com.android.car.carlaunchercommon.proto.ProtoDataSource 89 if (mInputStream == null) { in readFromFile() 90 mInputStream = FileInputStream(dataFile) in readFromFile() 92 result = parseDelimitedFrom(mInputStream) in readFromFile() 97 mInputStream?.close() in readFromFile() 98 mInputStream = null in readFromFile()
|
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/ |
D | PickerThumbnailFetcher.java | 53 @Nullable private InputStream mInputStream = null; field in PickerThumbnailFetcher 91 mInputStream = mAssetFileDescriptor.createInputStream(); in loadData() 92 callback.onDataReady(mInputStream); in loadData() 105 if (mInputStream != null) { in cleanup() 106 mInputStream.close(); in cleanup()
|
/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/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/ |
D | FileHandle.java | 33 private final InputStream mInputStream; field in FileHandle 55 mInputStream = is; in FileHandle() 68 return mInputStream; in getInputStream()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/obex/ |
D | FakeObexTransport.java | 55 InputStream mInputStream; field in FakeObexTransport.BiDirectionalTransport 59 mInputStream = inputStream; in BiDirectionalTransport() 75 return mInputStream; in openInputStream()
|
/packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/ |
D | AoapPhoneCompanionActivity.java | 157 private final FileInputStream mInputStream; field in AoapPhoneCompanionActivity.ProcessorThread 163 mInputStream = new FileInputStream(fd.getFileDescriptor()); in ProcessorThread() 189 int read = mInputStream.read(mBuffer); in run()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperTest.java | 199 private InputStream mInputStream; field in CarAudioZonesHelperTest 232 mInputStream = mContext.getResources().openRawResource(R.raw.car_audio_configuration); in setUp() 239 if (mInputStream != null) { in tearDown() 240 mInputStream.close(); in tearDown() 297 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesAllZones() 346 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesAudioZoneId() 383 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesOccupantZoneId() 428 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesZoneName() 463 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesIsPrimary() 498 mInputStream, mCarAudioOutputDeviceInfos, mInputAudioDeviceInfos, in loadAudioZones_parsesZoneConfigs() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 492 private InputStream mInputStream; field in DefaultWallpaperPersister.SetWallpaperTask 521 mInputStream = stream; in SetWallpaperTask() 573 } else if (mInputStream != null) { in doInBackground() 574 wallpaperId = setStreamToWallpaperManager(mInputStream, mCropHint, in doInBackground() 615 if (mInputStream != null) { in onPostExecute() 617 mInputStream.close(); in onPostExecute()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppSendFileInfo.java | 73 public final FileInputStream mInputStream; field in BluetoothOppSendFileInfo 90 mInputStream = inputStream; in BluetoothOppSendFileInfo() 98 mInputStream = null; in BluetoothOppSendFileInfo()
|
D | BluetoothOppUtility.java | 476 if (info != null && info.mInputStream != null) { in closeSendFileInfo() 478 info.mInputStream.close(); in closeSendFileInfo()
|
D | BluetoothOppObexClientSession.java | 484 BufferedInputStream a = new BufferedInputStream(fileInfo.mInputStream, 0x4000); in sendFile()
|
D | BluetoothOppService.java | 905 if (sendFileInfo == null || sendFileInfo.mInputStream == null) { in insertShare()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppSendFileInfoTest.java | 84 assertThat(info.mInputStream).isEqualTo(inputStream); in createInstance_withFileInputStream() 199 assertThat(info.mInputStream).isEqualTo(fs); in generateFileInfo_withCorrectableMismatch_returnInfoWithCorrectLength()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothSocket.java | 137 private final BluetoothInputStream mInputStream; field in BluetoothSocket 258 mInputStream = new BluetoothInputStream(this); in BluetoothSocket() 297 mInputStream = new BluetoothInputStream(this); in BluetoothSocket() 382 return mInputStream; in getInputStream()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesHelper.java | 152 private final InputStream mInputStream; field in CarAudioZonesHelper 185 mInputStream = Objects.requireNonNull(inputStream); in CarAudioZonesHelper() 211 return parseCarAudioZones(mInputStream); in loadAudioZones()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServerTest.java | 104 @Mock private InputStream mInputStream; field in SapServerTest 117 mSapServer = spy(new SapServer(mHandler, mTargetContext, mInputStream, mOutputStream)); in setUp()
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1025 Landroid/bluetooth/BluetoothSocket;->mInputStream:Landroid/bluetooth/BluetoothInputStream;
|