/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 398 @NonNull String mimeType, @Nullable Bundle opts) 400 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 405 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) 408 Preconditions.checkNotNull(mimeType, "mimeType"); 419 mPackageName, uri, mimeType, opts, remoteSignal); 397 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 404 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) argument
|
H A D | ContentProviderNative.java | 307 String mimeType = data.readString(); 313 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal); 677 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, argument 686 data.writeString(mimeType);
|
H A D | IContentProvider.java | 70 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 59 String mimeType; field in class:CacheManager.CacheResult 144 return mimeType;
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
H A D | StressProvider.java | 191 row.add(Document.COLUMN_MIME_TYPE, document.mimeType); 202 final String mimeType; field in class:StressProvider.StubDocument 208 private StubDocument(String mimeType, String id, int size, long lastModified, argument 210 this.mimeType = mimeType; 227 public static StubDocument createFile(Context context, String mimeType, int thumbnail, argument 230 mimeType, createRandomId(index), createRandomSize(index),
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsActivity.java | 77 final String mimeType = getIntent().getType(); 79 SaveFragment.show(getFragmentManager(), mimeType, title); 314 void onSaveRequested(String mimeType, String displayName) { argument 315 new CreateFinishTask(this, mimeType, displayName) 547 public CreateFinishTask(DocumentsActivity activity, String mimeType, String displayName) { argument 549 mMimeType = mimeType;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | IconHelper.java | 199 * @param mimeType The mime type of the file being represented. 207 public void loadThumbnail(Uri uri, String mimeType, int docFlags, int docIcon, argument 215 || MimePredicate.mimeMatches(MimePredicate.VISUAL_MIMES, mimeType); 231 DocumentsContract.getDocumentId(uri), mimeType, docIcon); 254 * @param mimeType The mime type of the file. 259 String mimeType, int icon) { 263 return IconUtils.loadMimeIcon(context, mimeType, authority, id, mMode); 258 getDocumentIcon(Context context, String authority, String id, String mimeType, int icon) argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentInfo.java | 51 public String mimeType; field in class:DocumentInfo 70 mimeType = null; 89 mimeType = DurableUtils.readNullableString(in); 108 DurableUtils.writeNullableString(out, mimeType); 157 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); 231 return Document.MIME_TYPE_DIR.equals(mimeType); 267 return derivedUri.hashCode() + mimeType.hashCode(); 283 && Objects.equals(mimeType, other.mimeType);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
H A D | CopyJob.java | 341 dstMimeType = src.mimeType; 371 if (Document.MIME_TYPE_DIR.equals(src.mimeType)) { 440 * @param mimeType Mime type for the target. Can be different than source for virtual files. 444 String mimeType) throws ResourceException { 459 src.derivedUri, mimeType, null, canceller); 443 copyFileHelper(DocumentInfo src, DocumentInfo dest, DocumentInfo destParent, String mimeType) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 131 String mimeType, Bundle opts, ICancellationSignal signal) 133 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 249 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument 130 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
H A D | MockIContentProvider.java | 109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WapPushOverSms.java | 197 String mimeType = pduDecoder.getValueString(); 206 if (mimeType != null && mimeType.equals(WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO)) { 250 String contentType = ((mimeType == null) ? 251 Long.toString(binaryContentType) : mimeType); 259 result.mimeType = mimeType; 336 if (result.mimeType == null) { 342 intent.setType(result.mimeType); 369 handler.dispatchIntent(intent, getPermissionForType(result.mimeType), 554 getPermissionForType(String mimeType) argument 564 getAppOpsPermissionForIntent(String mimeType) argument 578 String mimeType; field in class:WapPushOverSms.DecodedResult [all...] |
/frameworks/support/documents-archive/src/android/support/provider/ |
H A D | DocumentArchiveHelper.java | 218 public boolean isSupportedArchiveType(String mimeType) { argument 220 if (zipMimeType.equals(mimeType)) { 279 final String mimeType = cursor.getString(cursor.getColumnIndex( 281 Preconditions.checkArgument(isSupportedArchiveType(mimeType),
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 173 int uniqueId, const String8& path, const String8& mimeType) { 242 decryptHandle->mimeType = String8("video/passthru"); 172 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
|
/frameworks/av/include/drm/ |
H A D | drm_framework_common.h | 270 String8 mimeType; member in class:android::DecryptHandle 314 mimeType(""),
|
/frameworks/av/media/libstagefright/ |
H A D | NuMediaExtractor.cpp | 82 String8 mimeType; local 85 bool success = SniffWVM(dataSource, &mimeType, &confidence, &dummy); 89 mimeType.string(), MEDIA_MIMETYPE_CONTAINER_WVM)) {
|
H A D | WAVExtractor.cpp | 541 const sp<DataSource> &source, String8 *mimeType, float *confidence, 557 *mimeType = MEDIA_MIMETYPE_CONTAINER_WAV; 540 SniffWAV( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 484 const sp<DataSource> &source, String8 *mimeType, float *confidence, 495 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MPEG2TS); 483 SniffMPEG2TS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 77 const char *mimeType, 96 def.format.video.cMIMEType = const_cast<char *>(mimeType); 73 initPorts( OMX_U32 numInputBuffers, OMX_U32 inputBufferSize, OMX_U32 numOutputBuffers, const char *mimeType, OMX_U32 minCompressionRatio) argument
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 391 * The mimeType parameter will be normalized with 396 * if the mimeType parameter has serious problems, 405 * @param mimeType a valid MIME type 408 * @throws IllegalArugmentException if the mimeType is empty or invalid 411 public static NdefRecord createMime(String mimeType, byte[] mimeData) { argument 412 if (mimeType == null) throw new NullPointerException("mimeType is null"); 417 mimeType = Intent.normalizeMimeType(mimeType); 418 if (mimeType [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 619 public static File buildUniqueFile(File parent, String mimeType, String displayName) argument 621 final String[] parts = splitFileName(mimeType, displayName); 644 public static String[] splitFileName(String mimeType, String displayName) { argument 648 if (Document.MIME_TYPE_DIR.equals(mimeType)) { 672 mimeType); 673 if (Objects.equals(mimeType, mimeTypeFromExt) || Objects.equals(ext, extFromMimeType)) {
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 218 * @param mimeType the concrete MIME type associated with the new document. 225 public String createDocument(String parentDocumentId, String mimeType, String displayName) argument 755 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); 757 final String newDocumentId = createDocument(documentId, mimeType, displayName); 968 final String mimeType = 972 if ((flags & Document.FLAG_VIRTUAL_DOCUMENT) == 0 && mimeType != null && 973 mimeTypeMatches(mimeTypeFilter, mimeType)) { 974 return new String[] { mimeType };
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 204 virtual status_t setMimeType(const char* mimeType) argument 206 ALOGV("setMimeType: %s", mimeType); 208 if ((mimeTypeStr = mEnv->NewStringUTF(mimeType)) == NULL) { 270 jstring mimeType, jobject client) 292 (mimeType ? env->GetStringUTFChars(mimeType, NULL) : NULL); 293 if (mimeType && mimeTypeStr == NULL) { // Out of memory 305 if (mimeType) { 306 env->ReleaseStringUTFChars(mimeType, mimeTypeStr); 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | TestDocumentsProvider.java | 156 public String createDocument(String parentDocumentId, String mimeType, String displayName) argument 160 return super.createDocument(parentDocumentId, mimeType, displayName);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpDatabase.java | 825 final String mimeType = getMimeType(info); 832 values.put(Document.COLUMN_MIME_TYPE, mimeType); 840 operationsSupported, mimeType, info.getThumbCompressedSizeLong(), 884 @Nullable int[] operationsSupported, String mimeType, long thumbnailSize, 887 if (!mimeType.equals(Document.MIME_TYPE_DIR) && 899 if (mimeType.equals(Document.MIME_TYPE_DIR) && 883 getDocumentFlags( @ullable int[] operationsSupported, String mimeType, long thumbnailSize, int protectionState, @DocumentType int documentType) argument
|