Searched refs:mimeType (Results 76 - 100 of 196) sorted by relevance

12345678

/frameworks/av/media/libstagefright/include/
H A DMPEG2PSExtractor.h74 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DMPEG2TSExtractor.h66 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DWAVExtractor.h64 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DWVMExtractor.h96 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DSoftVideoDecoderOMXComponent.h64 const char *mimeType,
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.h87 const sp<DataSource> &source, String8 *mimeType, float *confidence,
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.h40 static bool IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DMimePredicate.java40 if (mimeMatches(mFilters, doc.mimeType)) {
/frameworks/support/v4/java/android/support/v4/provider/
H A DSingleDocumentFile.java34 public DocumentFile createFile(String mimeType, String displayName) { argument
H A DRawDocumentFile.java36 public DocumentFile createFile(String mimeType, String displayName) { argument
38 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
H A DDocumentFile.java153 * @param mimeType MIME type of new document, such as {@code image/png} or
164 public abstract DocumentFile createFile(String mimeType, String displayName); argument
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java391 * 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/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java265 final String mimeType = getTypeForFile(file);
266 if (mimeType.startsWith("image/")) {
274 row.add(Document.COLUMN_MIME_TYPE, mimeType);
316 public String createDocument(String docId, String mimeType, String displayName) argument
325 final File file = buildUniqueFile(parent, mimeType, displayName);
326 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
352 public static File buildUniqueFile(File parent, String mimeType, String displayName) argument
357 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
381 mimeType);
382 if (Objects.equals(mimeType, mimeTypeFromEx
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp178 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument
180 const String8 plugInId = getSupportedPlugInId(mimeType);
254 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument
256 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType);
259 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType);
331 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { argument
335 const String8 plugInId = getSupportedPlugInId(mimeType);
463 int uniqueId, const DrmBuffer& buf, const String8& mimeType) {
475 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType);
553 int uniqueId, const String8& path, const String8& mimeType) {
462 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument
564 getSupportedPlugInId(const String8& mimeType) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h182 * @param[in] mimeType Mime type of the content or null.
187 int uniqueId, const String8& path, const String8& mimeType) = 0;
354 * @param[in] mimeType Mime type of the protected content
359 const DrmBuffer& buf, const String8& mimeType) = 0;
/frameworks/av/include/ndk/
H A DNdkMediaDrm.h86 * whether the drm plugin is able to handle the media container format specified by mimeType.
89 * mimeType is the MIME type of the media container, e.g. "video/mp4". If mimeType
92 bool AMediaDrm_isCryptoSchemeSupported(const uint8_t *uuid, const char *mimeType);
173 * provided in the mimeType parameter. It could contain, for example, the content
179 * mimeType identifies the mime type of the content.
202 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp109 const char *path, const char *mimeType,
115 MediaScanResult result = processFileInternal(path, mimeType, client);
121 const char *path, const char * /* mimeType */,
108 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
H A DWVMExtractor.cpp169 const sp<DataSource> &source, String8 *mimeType, float *confidence,
185 *mimeType = MEDIA_MIMETYPE_CONTAINER_WVM;
168 SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DAACExtractor.cpp143 String8 mimeType; local
147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) {
335 const sp<DataSource> &source, String8 *mimeType, float *confidence,
374 *mimeType = MEDIA_MIMETYPE_AUDIO_AAC_ADTS;
334 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
H A DDataSource.cpp116 String8 *mimeType, float *confidence, sp<AMessage> *meta) {
117 *mimeType = "";
135 *mimeType = newMimeType;
115 sniff( String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java344 String mimeType, Bundle opts) throws RemoteException, FileNotFoundException {
345 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
350 String mimeType, Bundle opts, CancellationSignal signal)
361 mPackageName, uri, mimeType, opts, remoteSignal);
343 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
349 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts, CancellationSignal signal) argument
/frameworks/base/media/java/android/media/
H A DMediaDrm.java134 * media container format specified by mimeType.
136 * @param mimeType The MIME type of the media container, e.g. "video/mp4"
139 public static final boolean isCryptoSchemeSupported(UUID uuid, String mimeType) { argument
140 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid), mimeType);
157 String mimeType);
419 * mime type provided in the mimeType parameter. It could contain, for example,
423 * @param mimeType identifies the mime type of the content
434 String mimeType, int keyType, HashMap<String, String> optionalParameters)
156 isCryptoSchemeSupportedNative(byte[] uuid, String mimeType) argument
433 getKeyRequest(byte[] scope, byte[] init, String mimeType, int keyType, HashMap<String, String> optionalParameters) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java131 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
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java84 public static boolean isImageMimeType(String mimeType) { argument
85 return mimeType != null && mimeType.startsWith("image/");
/frameworks/wilhelm/src/
H A Ddata.c534 if (NULL != pDataFormat->mMIME.mimeType) {
536 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType);
541 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1);
549 pDataFormat->mMIME.mimeType = myMIME;
772 if (NULL != pDataFormat->mMIME.mimeType) {
773 free(pDataFormat->mMIME.mimeType);
774 pDataFormat->mMIME.mimeType = NULL;

Completed in 2274 milliseconds

12345678