Home
last modified time | relevance | path

Searched refs:mimetypeIntent (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DMimeType.java70 final Intent mimetypeIntent = new Intent(Intent.ACTION_VIEW); in isViewable() local
71 mimetypeIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION in isViewable()
75 Utils.setIntentDataAndTypeAndNormalize(mimetypeIntent, contentUri, contentType); in isViewable()
79 Utils.setIntentDataAndTypeAndNormalize(mimetypeIntent, dummyUri, contentType); in isViewable()
90 final List<ResolveInfo> list = manager.queryIntentActivities(mimetypeIntent, in isViewable()
97 contentType, contentUri, mimetypeIntent.getType(), mimetypeIntent.getData()); in isViewable()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java245 Intent mimetypeIntent = new Intent(Intent.ACTION_VIEW); in isRecognizedFileType() local
246 mimetypeIntent.setDataAndTypeAndNormalize(fileUri, mimetype); in isRecognizedFileType()
247 List<ResolveInfo> list = context.getPackageManager().queryIntentActivities(mimetypeIntent, in isRecognizedFileType()