Home
last modified time | relevance | path

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

1234

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java107 return openInputStream(); in fetchInputStream()
121 protected abstract InputStream openInputStream(); in openInputStream() method in StreamableAsset
166 InputStream inputStream = openInputStream(); in calculateRawDimensions()
196 inputStream = openInputStream(); in openBitmapRegionDecoder()
275 InputStream inputStream = openInputStream(); in doInBackground()
DContentUriAsset.java192 try (InputStream inputStream = openInputStream()) { in ensureExifInterface()
204 protected InputStream openInputStream() { in openInputStream() method in ContentUriAsset
206 return mContext.getContentResolver().openInputStream(mUri); in openInputStream()
DFileAsset.java41 protected InputStream openInputStream() { in openInputStream() method in FileAsset
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DContactsAsyncHelperTest.java81 public InputStream openInputStream(Context context, Uri uri)
83 return context.getContentResolver().openInputStream(uri);
90 public InputStream openInputStream(Context context, Uri uri)
178 is = mContext.getContentResolver().openInputStream(uri); in getExpectedPhoto()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFileTunerHal.java116 openInputStream(); in nativeTune()
181 openInputStream(); in nativeWriteInBuffer()
248 private void openInputStream() { in openInputStream() method in FileTunerHal
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java144 is = context.getContentResolver().openInputStream(uri); in getMetadataOrientation()
264 is = context.getContentResolver().openInputStream(uri); in loadRegionBitmap()
329 is = context.getContentResolver().openInputStream(uri); in loadBitmap()
513 InputStream is = context.getContentResolver().openInputStream( in getXmpObject()
529 is = context.getContentResolver().openInputStream(PrimaryImage.getImage().getUri()); in queryLightCycle360()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapObexTransport.java45 return new DataInputStream(openInputStream()); in openDataInputStream()
54 public InputStream openInputStream() throws IOException { in openInputStream() method in BluetoothPbapObexTransport
/packages/apps/Bluetooth/src/com/android/bluetooth/
DBluetoothObexTransport.java60 return new DataInputStream(openInputStream()); in openDataInputStream()
69 public InputStream openInputStream() throws IOException { in openInputStream() method in BluetoothObexTransport
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
DOppSendFileInfoTest.java64 doReturn(mFileInputStream).when(mContentResolver).openInputStream(uri); in testFileOpen()
97 doReturn(mFileInputStream).when(mContentResolver).openInputStream(uri); in testBigFileOpen()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java257 return getOrientation(context.getContentResolver().openInputStream(uri)); in getOrientation()
305 InputStream inputStream = contentResolver.openInputStream(contentUri); in isGif()
573 inputStream = cr.openInputStream(mUri); in ensureImageSizeSet()
685 try (final InputStream inputStream = cr.openInputStream(mUri)) { in recodeImage()
891 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds()
DUriUtil.java212 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContentToScratchSpace()
269 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DXmpPresets.java65 is = context.getContentResolver().openInputStream(srcUri); in writeFilterXMP()
98 is = context.getContentResolver().openInputStream(uriToEdit); in extractXMPData()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java378 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
424 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
430 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
447 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportInfoActivity.java287 try (InputStream bugReportInput = mResolver.openInputStream(sourceBugReport); in mergeFilesAndCopyToUsb()
301 try (InputStream audioInput = mResolver.openInputStream(sourceAudio)) { in mergeFilesAndCopyToUsb()
322 try (InputStream input = mResolver.openInputStream(sourceUri); in copyFileToUsb()
DBugStorageUtils.java141 return context.getContentResolver().openInputStream( in openFileToRead()
149 return context.getContentResolver().openInputStream( in openBugReportFileToRead()
157 return context.getContentResolver().openInputStream( in openAudioFileToRead()
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java72 InputStream openInputStream(Context context, Uri uri) throws FileNotFoundException; in openInputStream() method
118 inputStream = mContentResolverAdapter.openInputStream( in handleMessage()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java96 final InputStream imageStream = context.getContentResolver().openInputStream(uri); in getBitmapFromUri()
155 InputStream inputStream = context.getContentResolver().openInputStream(inputUri)) { in savePhotoFromUriToUri()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java222 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
229 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
DTestActivity.java530 java.io.InputStream is = op.openInputStream(); in onPut()
644 return new DataInputStream(openInputStream()); in openDataInputStream()
653 public InputStream openInputStream() throws IOException { in openInputStream() method in TestTcpTransport
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java243 try (InputStream in = cr.openInputStream(pictureUri); in copyAndCropPhoto()
297 .openInputStream(data); in onPhotoCropped()
316 .openInputStream(data); in onPhotoCropped()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java216 in = getContentResolver().openInputStream(uri); in startInstallActivity()
235 new BufferedInputStream(getContentResolver().openInputStream(uri))) { in startWifiInstallActivity()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java184 is = resolver.openInputStream(uri); in readOneVCardFile()
201 is = resolver.openInputStream(uri); in readOneVCardFile()
DUriImageRequest.java35 return mContext.getContentResolver().openInputStream(mDescriptor.uri); in getInputStreamForResource()
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java122 inputStream = context.getContentResolver().openInputStream(uri); in decodeSampledBitmapFromUriString()
146 inputStream = context.getContentResolver().openInputStream(uri); in decodeSampledBitmapFromUriString()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java328 is = resolver.openInputStream(localDataUri); in constructImportRequest()
347 is = resolver.openInputStream(localDataUri); in constructImportRequest()
462 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri)); in copyTo()

1234