/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderHost.cpp | 33 IVideoDecoder* createVideoDecoder(const char* mimeType) { 34 if (mimeType == NULL) { 39 if (strcasecmp(mimeType, "video/wmv") == 0 || 40 strcasecmp(mimeType, "video/vc1") == 0 || 41 strcasecmp(mimeType, "video/x-ms-wmv") == 0) { 42 VideoDecoderWMV *p = new VideoDecoderWMV(mimeType); 44 } else if (strcasecmp(mimeType, "video/avc") == 0 || 45 strcasecmp(mimeType, "video/h264") == 0) { 46 VideoDecoderAVC *p = new VideoDecoderAVC(mimeType); 48 } else if (strcasecmp(mimeType, "video/mp4v-es") == 0 | [all...] |
VideoDecoderHost.h | 24 IVideoDecoder* createVideoDecoder(const char* mimeType);
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderHost.h | 22 IVideoEncoder *createVideoEncoder(const char *mimeType);
|
VideoEncoderHost.cpp | 31 IVideoEncoder *createVideoEncoder(const char *mimeType) { 40 if (mimeType == NULL) { 45 if (strcasecmp(mimeType, "video/avc") == 0 || 46 strcasecmp(mimeType, "video/h264") == 0) { 49 } else if (strcasecmp(mimeType, "video/h263") == 0) { 56 } else if (strcasecmp(mimeType, "video/mpeg4") == 0 || 57 strcasecmp(mimeType, "video/mp4v-es") == 0) { 64 } else if (strcasecmp(mimeType, "video/x-vnd.on2.vp8") == 0) { 68 LOGE ("Unknown mime type: %s", mimeType);
|
/frameworks/base/drm/java/android/drm/ |
DrmInfoStatus.java | 55 public final String mimeType; 72 * @param mimeType The MIME type. 74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { 83 if (mimeType == null || mimeType == "") { 84 throw new IllegalArgumentException("mimeType is null or an empty string"); 90 this.mimeType = mimeType;
|
DrmRights.java | 51 * @param mimeType MIME type. Must not be null or an empty string. 53 public DrmRights(String rightsFilePath, String mimeType) { 55 instantiate(file, mimeType); 62 * @param mimeType MIME type. Must not be null or an empty string. 65 public DrmRights(String rightsFilePath, String mimeType, String accountId) { 66 this(rightsFilePath, mimeType); 75 * @param mimeType MIME type. Must not be null or an empty string. 80 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { 81 this(rightsFilePath, mimeType); 91 * @param mimeType MIME type. Must not be null or an empty string [all...] |
DrmSupportInfo.java | 38 * @param mimeType MIME type that can be handles by this DRM plug-in. 41 public void addMimeType(String mimeType) { 42 if (mimeType == null) { 43 throw new IllegalArgumentException("mimeType is null"); 45 if (mimeType == "") { 46 throw new IllegalArgumentException("mimeType is an empty string"); 49 mMimeTypeList.add(mimeType); 157 * @param mimeType MIME type. 159 * Null or empty string is not a supported mimeType. 161 /* package */ boolean isSupportedMimeType(String mimeType) { [all...] |
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectoryEntry.java | 24 public String mimeType;
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectoryEntry.java | 24 public String mimeType;
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
DirectoryEntry.java | 24 public String mimeType;
|
/frameworks/base/media/java/android/media/ |
IMediaScannerService.aidl | 29 * @param mimeType an optional mimeType for the file. 30 * If mimeType is null, then the mimeType will be inferred from the file extension. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 40 * @param mimeType an optional mimeType for the file. 41 * If mimeType is null, then the mimeType will be inferred from the file extension. 43 void scanFile(String path, String mimeType); [all...] |
DrmInitData.java | 50 * The mimeType of {@link #data}. 52 public final String mimeType; 59 * @param mimeType The mimeType of the initialization data. 64 public SchemeInitData(String mimeType, byte[] data) { 65 this.mimeType = mimeType; 79 return mimeType.equals(other.mimeType) && Arrays.equals(data, other.data); 84 return mimeType.hashCode() + 31 * Arrays.hashCode(data) [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ActionMultiMap.java | 27 public void put(String mimeType, Action info) { 28 put(mimeType, info, false); 32 * Puts the (mimeType,Action) tuple into the multimap at the front if 35 public void put(String mimeType, Action info, boolean front) { 37 ArrayList<Action> collectList = get(mimeType); 42 put(mimeType, collectList);
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
MediaStoreSignature.java | 14 private final String mimeType; 21 * @param mimeType The mime type of the media store media. Ok to default to empty string "". See 30 public MediaStoreSignature(String mimeType, long dateModified, int orientation) { 31 this.mimeType = mimeType; 53 if (mimeType != null ? !mimeType.equals(that.mimeType) : that.mimeType != null) { 62 int result = mimeType != null ? mimeType.hashCode() : 0 [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
IconProvider.java | 39 * @param mimeType The MIME type of the file. 42 public Drawable loadMimeIcon(String mimeType) { 43 return mContext.getContentResolver().getTypeDrawable(mimeType); 51 final String mimeType = 53 if (mimeType != null) { 54 return mimeType; 61 String mimeType = getMimeType(file); 62 return mimeType.startsWith("image/");
|
/frameworks/base/core/java/android/webkit/ |
MimeTypeMap.java | 75 * @param mimeType A MIME type (i.e. text/plain) 76 * @return True iff there is a mimeType entry in the map. 78 public boolean hasMimeType(String mimeType) { 79 return MimeUtils.hasMimeType(mimeType); 109 * @param mimeType A MIME type (i.e. text/plain) 112 public String getExtensionFromMimeType(String mimeType) { 113 return MimeUtils.guessExtensionFromMimeType(mimeType); 121 * @param mimeType MIME type provided by the server. 126 /* package */ String remapGenericMimeType(String mimeType, String url, 130 if ("text/plain".equals(mimeType) || [all...] |
/frameworks/support/core-utils/java/android/support/v4/content/ |
MimeTypeFilter.java | 73 * @return True if the {@code mimeType} matches the {@code filter}. 75 public static boolean matches(@Nullable String mimeType, @NonNull String filter) { 76 if (mimeType == null) { 80 final String[] mimeTypeParts = mimeType.split("/"); 91 @Nullable String mimeType, @NonNull String[] filters) { 92 if (mimeType == null) { 96 final String[] mimeTypeParts = mimeType.split("/"); 118 for (String mimeType : mimeTypes) { 119 final String[] mimeTypeParts = mimeType.split("/"); 121 return mimeType; [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
WebServerPluginInfo.java | 45 WebServerPlugin getWebServerPlugin(String mimeType);
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
MimeTypeUtil.h | 33 * May convert the mimetype if there is a well known 34 * replacement mimetype otherwise the original mimetype 37 * @param mimeType - mimetype in lower case to convert. 39 * @return mimetype or null. 41 static String8 convertMimeType(String8& mimeType);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMimeTypeMap.java | 14 * Shadow for {@code MimeTypeMap} that allows custom extension <-> mimetype mapping to be set up by tests. 51 public String getExtensionFromMimeType(String mimeType) { 52 if (mimeTypeToExtensionMap.containsKey(mimeType)) 53 return mimeTypeToExtensionMap.get(mimeType); 58 public void addExtensionMimeTypMapping(String extension, String mimeType) { 59 extensionToMimeTypeMap.put(extension, mimeType); 60 mimeTypeToExtensionMap.put(mimeType, extension); 74 public boolean hasMimeType(String mimeType) { 75 return mimeTypeToExtensionMap.containsKey(mimeType);
|
/frameworks/av/media/libstagefright/include/ |
StagefrightMediaScanner.h | 30 const char *path, const char *mimeType, 40 const char *path, const char *mimeType,
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
VoicemailPayload.java | 24 public VoicemailPayload(String mimeType, byte[] bytes) { 25 mMimeType = mimeType;
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
MimeTypesFileTypeDetector.java | 49 String mimeType; 51 mimeType = MimeUtils.guessMimeTypeFromExtension(ext); 52 if (mimeType == null) 54 } while (mimeType == null && !ext.isEmpty()); 56 return mimeType;
|
/frameworks/av/drm/common/ |
DrmInfoStatus.cpp | 26 mimeType(_mimeType) {
|
DrmRights.cpp | 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType, 24 mMimeType(mimeType), 35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, 38 mMimeType(mimeType),
|