/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 167 * @param mimeType Mime type of the content or null. 173 const String8& mimeType);
|
/frameworks/av/media/extractors/mp4/ |
H A D | MPEG4Extractor.h | 150 DataSourceBase *source, String8 *mimeType, float *confidence,
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 85 const char *mimeType, 88 numOutputBuffers, numOutputBuffers, mimeType, minCompressionRatio); 97 const char *mimeType, 116 def.format.video.cMIMEType = const_cast<char *>(mimeType); 81 initPorts( OMX_U32 numInputBuffers, OMX_U32 inputBufferSize, OMX_U32 numOutputBuffers, const char *mimeType, OMX_U32 minCompressionRatio) argument 91 initPorts( OMX_U32 numMinInputBuffers, OMX_U32 numInputBuffers, OMX_U32 inputBufferSize, OMX_U32 numMinOutputBuffers, OMX_U32 numOutputBuffers, const char *mimeType, OMX_U32 minCompressionRatio) argument
|
/frameworks/base/core/java/android/content/ |
H A D | IContentProvider.java | 73 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, argument
|
H A D | ContentProvider.java | 415 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri uri, String mimeType, argument 424 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); 1680 * <p>The default implementation compares the given mimeType against the 1741 * <p>The default implementation compares the given mimeType against the 1806 * @param mimeType The desired type of data to be written. 1811 @NonNull String mimeType, @Nullable Bundle opts, @Nullable T args); 1822 * @param mimeType The desired type of data to be written. 1832 final @NonNull String mimeType, final @Nullable Bundle opts, final @Nullable T args, 1840 func.writeDataToPipe(fds[1], uri, mimeType, opts, args); 1810 writeDataToPipe(@onNull ParcelFileDescriptor output, @NonNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable T args) argument 1831 openPipeHelper(final @NonNull Uri uri, final @NonNull String mimeType, final @Nullable Bundle opts, final @Nullable T args, final @NonNull PipeDataWriter<T> func) argument
|
H A D | ContentResolver.java | 1387 * @param mimeType The desired MIME type of the returned data. This can 1401 @NonNull String mimeType, @Nullable Bundle opts) throws FileNotFoundException { 1402 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 1420 * @param mimeType The desired MIME type of the returned data. This can 1437 @NonNull String mimeType, @Nullable Bundle opts, 1440 Preconditions.checkNotNull(mimeType, "mimeType"); 1459 mPackageName, uri, mimeType, opts, remoteCancellationSignal); 1474 mPackageName, uri, mimeType, opts, remoteCancellationSignal); 3069 public Drawable getTypeDrawable(String mimeType) { argument 1400 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 1436 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal cancellationSignal) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaDrm.java | 176 * media container format specified by mimeType. 178 * @param mimeType The MIME type of the media container, e.g. "video/mp4" 182 @NonNull UUID uuid, @NonNull String mimeType) { 183 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid), mimeType); 200 @NonNull byte[] uuid, @Nullable String mimeType); 819 * mime type provided in the mimeType parameter. It could contain, for example, 824 * @param mimeType identifies the mime type of the content. May be null if the 839 @Nullable String mimeType, @KeyType int keyType, 181 isCryptoSchemeSupported( @onNull UUID uuid, @NonNull String mimeType) argument 199 isCryptoSchemeSupportedNative( @onNull byte[] uuid, @Nullable String mimeType) argument 837 getKeyRequest( @onNull byte[] scope, @Nullable byte[] init, @Nullable String mimeType, @KeyType int keyType, @Nullable HashMap<String, String> optionalParameters) argument
|
H A D | MediaPlayer2.java | 1567 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 1569 * @throws IllegalArgumentException if the mimeType is not supported. 1573 public void addTimedTextSource(String path, String mimeType) throws IOException { } argument 1585 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 1587 * @throws IllegalArgumentException if the mimeType is not supported. 1591 public void addTimedTextSource(Context context, Uri uri, String mimeType) throws IOException { } argument 1605 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 1606 * @throws IllegalArgumentException if the mimeType is not supported. 1610 public void addTimedTextSource(FileDescriptor fd, String mimeType) { } argument 1627 * @throws IllegalArgumentException if the mimeType i 2474 getDrmKeyRequest( @ullable byte[] keySetId, @Nullable byte[] initData, @Nullable String mimeType, @MediaDrm.KeyType int keyType, @Nullable Map<String, String> optionalParameters) argument [all...] |
H A D | RingtoneManager.java | 942 final String mimeType = mContext.getContentResolver().getType(fileUri); 943 if(mimeType == null || 944 !(mimeType.startsWith("audio/") || mimeType.equals("application/ogg"))) { 946 + " Given file has MIME type \"" + mimeType + "\""); 955 Utils.getFileDisplayNameFromUri(mContext, fileUri), mimeType);
|
H A D | Utils.java | 327 * @param mimeType MIME type of the file to create. 331 String mimeType) { 339 outFile = FileUtils.buildUniqueFile(externalStorage, mimeType, fileName); 330 getUniqueExternalFile(Context context, String subdirectory, String fileName, String mimeType) argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockIContentProvider.java | 122 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WspTypeDecoder.java | 435 String mimeType = mStringValue; 440 mStringValue = mimeType; 450 String mimeType = mStringValue; 455 mStringValue = mimeType;
|
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 66 mime.mimeType = (SLchar *) NULL;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | urimime.c | 62 format_mime.mimeType = NULL;
|
H A D | xa.c | 84 fmtMime.mimeType = NULL;
|
/frameworks/av/drm/libmediadrm/ |
H A D | IDrm.cpp | 83 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) { argument 87 data.writeString8(mimeType); 154 String8 const &mimeType, DrmPlugin::KeyType keyType, 163 data.writeString8(mimeType); 721 String8 mimeType = data.readString8(); local 722 reply->writeInt32(isCryptoSchemeSupported(uuid, mimeType)); 771 String8 mimeType = data.readString8(); local 787 status_t result = getKeyRequest(sessionId, initData, mimeType, 152 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, DrmPlugin::KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, DrmPlugin::KeyRequestType *keyRequestType) argument
|
/frameworks/av/include/mediadrm/ |
H A D | DrmHal.h | 60 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType); 75 String8 const &mimeType, DrmPlugin::KeyType keyType,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | DrmHal.h | 60 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType); 75 String8 const &mimeType, DrmPlugin::KeyType keyType,
|
H A D | NdkWrapper.h | 118 static bool isCryptoSchemeSupported(const uint8_t uuid[16], const char *mimeType); 201 static sp<AMediaCodecWrapper> CreateDecoderByType(const AString &mimeType);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 131 public void loadData(String data, String mimeType, String encoding); argument 134 String mimeType, String encoding, String historyUrl); 133 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
/frameworks/native/headers/media_plugin/media/drm/ |
H A D | DrmAPI.h | 65 // given media container format specified by mimeType 66 virtual bool isContentTypeSupported(const String8 &mimeType) = 0; 193 // meaning is interpreted based on the mime type provided in the mimeType 199 // mimeType identifies the mime type of the content 210 String8 const &mimeType, KeyType keyType,
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 65 // given media container format specified by mimeType 66 virtual bool isContentTypeSupported(const String8 &mimeType) = 0; 193 // meaning is interpreted based on the mime type provided in the mimeType 199 // mimeType identifies the mime type of the content 210 String8 const &mimeType, KeyType keyType,
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 186 bool AMediaDrm_isCryptoSchemeSupported(const AMediaUUID uuid, const char *mimeType) { argument 193 String8 mimeStr = mimeType ? String8(mimeType) : String8(""); 273 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, 280 if (!mimeType || !scope || !keyRequest || !keyRequestSize) { 312 status_t status = mObj->mDrm->getKeyRequest(*iter, mdInit, String8(mimeType), 272 AMediaDrm_getKeyRequest(AMediaDrm *mObj, const AMediaDrmScope *scope, const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, const AMediaDrmKeyValue *optionalParameters, size_t numOptionalParameters, const uint8_t **keyRequest, size_t *keyRequestSize) argument
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 899 public static File buildUniqueFile(File parent, String mimeType, String displayName) argument 901 final String[] parts = splitFileName(mimeType, displayName); 933 public static String[] splitFileName(String mimeType, String displayName) { argument 937 if (Document.MIME_TYPE_DIR.equals(mimeType)) { 961 mimeType); 962 if (Objects.equals(mimeType, mimeTypeFromExt) || Objects.equals(ext, extFromMimeType)) {
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 51 bool MockDrmFactory::isContentTypeSupported(const String8 &mimeType) argument 53 if (mimeType != "video/mp4") { 114 String8 const &mimeType, KeyType keyType, 120 ALOGD("MockDrmPlugin::getKeyRequest(sessionId=%s, initData=%s, mimeType=%s" 122 vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(), 133 // string mimeType -> mock-mimetype 138 mStringProperties.add(String8("mock-mimetype"), mimeType); 112 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, KeyRequestType *keyRequestType) argument
|