Home
last modified time | relevance | path

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

1234

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DContactsAsyncHelperTest.java69 public InputStream openInputStream(Context context, Uri uri)
71 return context.getContentResolver().openInputStream(uri);
78 public InputStream openInputStream(Context context, Uri uri)
151 is = mContext.getContentResolver().openInputStream(uri); in getExpectedPhoto()
/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(MasterImage.getImage().getUri()); in queryLightCycle360()
/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 final InputStream inputStream = cr.openInputStream(mUri); in recodeImage()
888 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds()
DUriUtil.java199 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContentToScratchSpace()
256 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContent()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java379 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
425 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
431 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
448 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java131 public static FileInputStream openInputStream(File file) throws IOException { in openInputStream() method in FileUtils
1106 in = openInputStream(file); in readFileToString()
1139 in = openInputStream(file); in readFileToByteArray()
1160 in = openInputStream(file); in readLines()
1214 in = openInputStream(file); in lineIterator()
/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
DBluetoothPbapRequest.java83 InputStream is = mOp.openInputStream(); in execute()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DBluetoothObexTransport.java44 return new DataInputStream(openInputStream()); in openDataInputStream()
51 public InputStream openInputStream() throws IOException { in openInputStream() method in BluetoothObexTransport
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailMessageCursor.java72 final InputStream in = cr.openInputStream(htmlUri); in EmailMessageCursor()
88 final InputStream in = cr.openInputStream(textUri); in EmailMessageCursor()
/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/Settings/src/com/android/settings/users/
DEditUserPhotoController.java232 try (InputStream in = cr.openInputStream(pictureUri); in copyAndCropPhoto()
292 .openInputStream(data); in onPhotoCropped()
314 .openInputStream(data); in onPhotoCropped()
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java66 InputStream openInputStream(Context context, Uri uri) throws FileNotFoundException; in openInputStream() method
107 inputStream = mContentResolverAdapter.openInputStream( in handleMessage()
DTelecomSystem.java220 public InputStream openInputStream(Context context, Uri uri) in TelecomSystem()
222 return context.getContentResolver().openInputStream(uri); in TelecomSystem()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java502 java.io.InputStream is = op.openInputStream(); in onPut()
608 return new DataInputStream(openInputStream()); in openDataInputStream()
615 public InputStream openInputStream() throws IOException { in openInputStream() method in TestTcpTransport
DBluetoothOppSendFileInfo.java206 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
213 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java97 final InputStream imageStream = context.getContentResolver().openInputStream(uri); in getBitmapFromUri()
156 InputStream inputStream = context.getContentResolver().openInputStream(inputUri)) { in savePhotoFromUriToUri()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java139 in = getContentResolver().openInputStream(uri); in startInstallActivity()
163 new BufferedInputStream(getContentResolver().openInputStream(uri))) { in startWifiInstallActivity()
/packages/apps/TV/src/com/android/tv/util/
DBitmapUtils.java94 inputStream = context.getContentResolver().openInputStream(uri); in decodeSampledBitmapFromUriString()
118 inputStream = context.getContentResolver().openInputStream(uri); in decodeSampledBitmapFromUriString()
/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/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()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java244 inStream = context.getContentResolver().openInputStream(cachedFileUri); in writeOneAttachment()
257 inStream = context.getContentResolver().openInputStream(fileUri); in writeOneAttachment()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/
DTestUtils.java37 try (final InputStream in = cr.openInputStream(uri)) { in stringFromUri()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java58 try (InputStream inputStream = context.getContentResolver().openInputStream(input)) { in doInBackground()

1234