/external/slf4j/slf4j-site/src/site/images.src/ |
bindings.flw | |
bridging-black.flw | |
bridging.flw | |
core-bindings.flw | |
core-bindings1.flw | |
core-bindings2.flw | |
core-bindings3.flw | |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
MimeTypeTest.java | 11 private static final String TEST_MIME_TYPE = "test/mimetype"; 14 assertEquals(MimeType.EML_ATTACHMENT_CONTENT_TYPE, 15 MimeType.inferMimeType("filename.eml", MimeType.GENERIC_MIMETYPE)); 18 assertEquals("video/mp4", MimeType.inferMimeType("video.mp4", MimeType.GENERIC_MIMETYPE)); 20 // file with no extension, should return the mimetype that was specified 21 assertEquals(TEST_MIME_TYPE, MimeType.inferMimeType("filename", TEST_MIME_TYPE)); 23 // file with extension, and empty mimetype, where an mimetype can be derive [all...] |
/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...] |
/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);
|
/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...] |
/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);
|
ShadowWebView.java | 49 public void loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) { 50 lastLoadDataWithBaseURL = new LoadDataWithBaseURL(baseUrl, data, mimeType, encoding, historyUrl); 54 public void loadData(String data, String mimeType, String encoding) { 55 lastLoadData = new LoadData(data, mimeType, encoding); 221 public final String mimeType; 225 public LoadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) { 228 this.mimeType = mimeType; 236 public final String mimeType; 239 public LoadData(String data, String mimeType, String encoding) [all...] |
/hardware/intel/common/libmix/videoencoder/ |
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);
|
/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/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);
|
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/ |
MediaSoftwareCodecUtil.java | 56 public static DecoderInfo getSoftwareDecoderInfo(String mimeType, boolean secure) 60 getMediaSoftwareCodecInfo(mimeType, secure); 69 * Returns the name of the software decoder and its capabilities for the given mimeType. 72 getMediaSoftwareCodecInfo(String mimeType, boolean secure) throws DecoderQueryException { 73 CodecKey key = new CodecKey(mimeType, secure); 85 Log.w(TAG, "MediaCodecList API didn't list secure decoder for: " + mimeType 105 String mimeType = key.mimeType; 117 if (supportedType.equalsIgnoreCase(mimeType)) { 121 key.mimeType, capabilities) [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/util/src/ |
MimeTypeUtil.cpp | 50 const char* pMimeType; // Mimetype that should be returned 64 // Known mimetype groups 69 static const char mime_type_unsupported[] = "unsupported/drm.mimetype"; 114 * May convert the mimetype if there is a well known 115 * replacement mimetype otherwise the original mimetype 118 * If the mimetype is of unsupported group i.e. application / * 119 * then "unsupported/drm.mimetype" will be returned. 121 * @param mimeType - mimetype in lower case to convert [all...] |
/frameworks/base/drm/java/android/drm/ |
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...] |
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 81 * @param mimetype The mimetype of the data with which the type is associated. 86 public static int getTypePrecedence(String mimetype, int type) { 87 int[] typePrecedence = getTypePrecedenceList(mimetype); 101 private static int[] getTypePrecedenceList(String mimetype) { 102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { 108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 73 * @param mimetype The mimetype of the data with which the type is associated. 78 public static int getTypePrecedence(String mimetype, int type) { 79 int[] typePrecedence = getTypePrecedenceList(mimetype); 93 private static int[] getTypePrecedenceList(String mimetype) { 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) [all...] |
/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...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataItem.java | 56 * Factory for creating subclasses of DataItem objects based on the mimetype in the 60 final String mimeType = values.getAsString(Data.MIMETYPE); 61 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 63 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 67 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 69 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 71 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { 73 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionDataList.java | 45 return get(0).getDataKind().mimeType; 60 final String mimeType = getMimeType(); 61 if (mimeType == null) return null; 70 vlog(mimeType + ": matched kind section data to write by ID"); 82 vlog(mimeType + ": matched kind section data to write by super primary"); 94 vlog(mimeType + ": matched kind section data to write by primary " + 109 kindSectionData.getAccountType(), mimeType); 112 vlog(mimeType + ": falling back to first kind section data to write"); 118 wlog(mimeType+ ": no writable kind section data found"); 134 final String mimeType = getMimeType() [all...] |