Home
last modified time | relevance | path

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

1234

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DContactsAsyncHelperTest.java68 public InputStream openInputStream(Context context, Uri uri)
70 return context.getContentResolver().openInputStream(uri);
77 public InputStream openInputStream(Context context, Uri uri)
149 is = mContext.getContentResolver().openInputStream(uri); in getExpectedPhoto()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DObexPipeTransport.java46 return new DataInputStream(openInputStream()); in openDataInputStream()
53 public InputStream openInputStream() throws IOException { in openInputStream() method in ObexPipeTransport
/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.java82 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/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/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/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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java192 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
199 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
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
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java65 InputStream openInputStream(Context context, Uri uri) throws FileNotFoundException; in openInputStream() method
106 inputStream = mContentResolverAdapter.openInputStream( in handleMessage()
DTelecomSystem.java167 public InputStream openInputStream(Context context, Uri uri) in TelecomSystem()
169 return context.getContentResolver().openInputStream(uri); in TelecomSystem()
/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/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/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java139 in = getContentResolver().openInputStream(uri); in startInstallActivity()
163 new BufferedInputStream(getContentResolver().openInputStream(uri))) { in startWifiInstallActivity()
/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/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/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/Dialer/src/com/android/dialer/voicemail/
DVoicemailArchivePlaybackPresenter.java60 mContext.getContentResolver().openInputStream(mVoicemailUri); in checkForContent()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DBitmapUtils.java58 is = context.getContentResolver().openInputStream(uri); in getRotationFromExifHelper()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportPreviewActivity.java48 in = getContentResolver().openInputStream(uri); in onCreate()
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoObject.java74 InputStream input = mContentResolver.openInputStream( in fullSizeImageData()

1234