/frameworks/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 105 public void loadData(String data, String mimeType, String encoding) { argument 109 String mimeType, String encoding, String failUrl) { 108 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String failUrl) argument
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 73 int DrmEngineBase::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 74 return onGetDrmObjectType(uniqueId, path, mimeType); 143 const DrmBuffer& buf, const String8& mimeType) { 144 return onOpenDecryptSession(uniqueId, decryptHandle, buf, mimeType); 142 openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
H A D | Session.h | 41 const android::Vector<uint8_t>& mimeType,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
H A D | Session.h | 45 const std::vector<uint8_t>& mimeType,
|
/frameworks/av/include/drm/ |
H A D | DrmInfo.h | 41 * @param[in] mimeType MIME type 43 DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType);
|
H A D | DrmInfoRequest.h | 55 * @param[in] mimeType MIME type 57 DrmInfoRequest(int infoType, const String8& mimeType);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.h | 40 static bool IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
H A D | WebViewOnUiThread.java | 177 * @param mimeType The mimeType to pass to loadData. 181 @Nullable final String mimeType, @Nullable final String encoding) { 185 mWebView.loadData(data, mimeType, encoding); 191 final String data, final String mimeType, final String encoding, 196 mWebView.loadDataWithBaseURL(baseUrl, data, mimeType, encoding, 180 loadDataAndWaitForCompletion(@onNull final String data, @Nullable final String mimeType, @Nullable final String encoding) argument 190 loadDataWithBaseURLAndWaitForCompletion(final String baseUrl, final String data, final String mimeType, final String encoding, final String historyUrl) 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/av/drm/drmserver/ |
H A D | DrmManager.cpp | 173 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 175 const String8 plugInId = getSupportedPlugInId(mimeType); 249 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 251 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType); 254 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType); 326 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { argument 330 const String8 plugInId = getSupportedPlugInId(mimeType); 458 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 470 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType); 548 int uniqueId, const String8& path, const String8& mimeType) { 457 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument 547 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 559 getSupportedPlugInId(const String8& mimeType) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 612 public Request setMimeType(String mimeType) { argument 613 mMimeType = mimeType; 1217 String mimeType = null; 1229 mimeType = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE)); 1237 if (oldDisplayName == null || mimeType == null) { 1256 if (mimeType.startsWith("image/")) { 1321 * @param mimeType mimetype of the file. 1331 boolean isMediaScannerScannable, String mimeType, String path, long length, 1333 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path, 1350 * @param mimeType mimetyp 1330 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument 1361 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, Uri uri, Uri referer) argument 1369 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument 1377 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite, Uri uri, Uri referer) argument [all...] |
/frameworks/av/drm/common/include/ |
H A D | IDrmEngine.h | 182 * @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;
|
H A D | DrmEngineBase.h | 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 91 const DrmBuffer& buf, const String8& mimeType); 238 * @param[in] mimeType Mime type of the content or null. 243 int uniqueId, const String8& path, const String8& mimeType) = 0; 445 * @param[in] mimeType Mime type of the protected content 452 const String8& /* mimeType */) {
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.h | 89 const char *mimeType, 101 const char *mimeType,
|
/frameworks/av/media/ndk/include/media/ |
H A D | NdkMediaDrm.h | 85 * whether the drm plugin is able to handle the media container format specified by mimeType. 88 * mimeType is the MIME type of the media container, e.g. "video/mp4". If mimeType 91 bool AMediaDrm_isCryptoSchemeSupported(const uint8_t *uuid, const char *mimeType); 171 * provided in the mimeType parameter. It could contain, for example, the content 177 * mimeType identifies the mime type of the content. 200 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
|
/frameworks/support/compat/src/main/java/androidx/core/view/inputmethod/ |
H A D | InputConnectionCompat.java | 101 for (String mimeType : EditorInfoCompat.getContentMimeTypes(editorInfo)) { 102 if (description.hasMimeType(mimeType)) {
|
/frameworks/support/documentfile/src/main/java/androidx/documentfile/provider/ |
H A D | RawDocumentFile.java | 39 public DocumentFile createFile(String mimeType, String displayName) { argument 41 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
|
H A D | DocumentFile.java | 159 * @param mimeType MIME type of new document, such as {@code image/png} or 171 public abstract DocumentFile createFile(@NonNull String mimeType, @NonNull String displayName); argument
|
H A D | SingleDocumentFile.java | 38 public DocumentFile createFile(String mimeType, String displayName) { argument
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.h | 69 const char* mimeType,
|
/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockContentProvider.java | 132 String mimeType, Bundle opts, ICancellationSignal signal) 134 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 258 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument 131 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 84 public static boolean isImageMimeType(String mimeType) { argument 85 return mimeType != null && mimeType.startsWith("image/");
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 434 @NonNull String mimeType, @Nullable Bundle opts) 436 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 441 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) 444 Preconditions.checkNotNull(mimeType, "mimeType"); 455 mPackageName, uri, mimeType, opts, remoteSignal); 433 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 440 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | MetadataReader.java | 214 public static boolean isSupportedMimeType(String mimeType) { argument 215 return JPG_MIME_TYPE.equals(mimeType) || JPEG_MIME_TYPE.equals(mimeType); 224 * @param mimeType type of the given file 229 public static void getMetadata(Bundle metadata, InputStream stream, String mimeType, argument 232 if (isSupportedMimeType(mimeType)) { 246 * Helper method that is called if getMetadata is called for an image mimeType.
|
/frameworks/wilhelm/src/ |
H A D | data.cpp | 498 if (NULL != pDataFormat->mMIME.mimeType) { 500 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); 505 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 513 pDataFormat->mMIME.mimeType = myMIME; 736 if (NULL != pDataFormat->mMIME.mimeType) { 737 free(pDataFormat->mMIME.mimeType); 738 pDataFormat->mMIME.mimeType = NULL;
|