Searched refs:mimeType (Results 101 - 125 of 196) sorted by relevance

12345678

/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp338 const String8& mimeType) {
339 String8 mimeStr = String8(mimeType);
350 ((0 == mimeType.length()) || IsMimeTypeSupported(mimeType)) && (mimeType != path) ) {
505 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
336 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java231 * @param mimeType The mime type of the content, or null if unknown.
245 public void play(Uri contentUri, String mimeType, Bundle metadata, argument
247 playOrEnqueue(contentUri, mimeType, metadata, positionMillis,
265 * @param mimeType The mime type of the content, or null if unknown.
280 public void enqueue(Uri contentUri, String mimeType, Bundle metadata, argument
282 playOrEnqueue(contentUri, mimeType, metadata, positionMillis,
286 private void playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, argument
298 intent.setDataAndType(contentUri, mimeType);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
/frameworks/av/media/libstagefright/include/
H A DAVIExtractor.h121 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DMPEG4Extractor.h140 const sp<DataSource> &source, String8 *mimeType, float *confidence,
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp415 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
420 Utility::getStringValue(env, mimeType));
498 processedData, env->NewStringUTF(pDrmInfoStatus->mimeType.string()));
581 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
586 Utility::getStringValue(env, mimeType));
599 String8 mimeType local
604 return env->NewStringUTF(mimeType.string());
632 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) {
636 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType));
414 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
580 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
631 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
/frameworks/base/media/java/android/media/
H A DMediaScanner.java442 public FileEntry beginFile(String path, String mimeType, long lastModified, argument
444 mMimeType = mimeType;
455 // try mimeType first, if it is specified
456 if (mimeType != null) {
457 mFileType = MediaFile.getFileTypeForMimeType(mimeType);
460 // if mimeType was not specified, compute file type based on file extension.
466 mMimeType = mediaFileType.mimeType;
524 public Uri doScanFile(String path, String mimeType, long lastModified, argument
529 FileEntry entry = beginFile(path, mimeType, lastModified,
569 processFile(path, mimeType, thi
745 setMimeType(String mimeType) argument
1359 scanSingleFile(String path, String volumeName, String mimeType) argument
1865 processFile(String path, String mimeType, MediaScannerClient client) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, argument
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java339 String mimeType = mLaunchIntent.getType();
340 if (mimeType == null && mLaunchIntent.getData() != null
342 mimeType = mAm.getProviderMimeType(mLaunchIntent.getData(),
346 mResult = mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType,
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java313 String mimeType = mLaunchIntent.getType();
314 if (mimeType == null && mLaunchIntent.getData() != null
316 mimeType = mAm.getProviderMimeType(mLaunchIntent.getData(),
320 mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType,
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.h35 bool isContentTypeSupported(const String8 &mimeType);
63 String8 const &mimeType, KeyType keyType,
H A DMockDrmCryptoPlugin.cpp51 bool MockDrmFactory::isContentTypeSupported(const String8 &mimeType) argument
53 if (mimeType != "video/mp4") {
112 String8 const &mimeType, KeyType keyType,
117 ALOGD("MockDrmPlugin::getKeyRequest(sessionId=%s, initData=%s, mimeType=%s"
119 vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(),
130 // string mimeType -> mock-mimetype
135 mStringProperties.add(String8("mock-mimetype"), mimeType);
110 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) argument
/frameworks/av/include/media/
H A DIDrm.h35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) = 0;
48 String8 const &mimeType, DrmPlugin::KeyType keyType,
/frameworks/av/media/libmedia/
H A DIDrm.cpp75 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) { argument
79 data.writeString8(mimeType);
126 String8 const &mimeType, DrmPlugin::KeyType keyType,
134 data.writeString8(mimeType);
503 String8 mimeType = data.readString8(); local
504 reply->writeInt32(isCryptoSchemeSupported(uuid, mimeType));
551 String8 mimeType = data.readString8(); local
567 mimeType, keyType,
124 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) argument
/frameworks/av/media/libmediaplayerservice/
H A DDrm.h40 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
53 String8 const &mimeType, DrmPlugin::KeyType keyType,
H A DMediaPlayerFactory.cpp189 String8 mimeType; local
191 if (SniffWVM(source, &mimeType, &confidence, NULL /* format */)) {
H A DDrm.cpp226 bool Drm::isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) { argument
237 if (mimeType != "") {
238 return mFactory->isContentTypeSupported(mimeType);
311 String8 const &mimeType, DrmPlugin::KeyType keyType,
324 return mPlugin->getKeyRequest(sessionId, initData, mimeType, keyType,
309 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) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp217 const sp<DataSource> &source, String8 *mimeType, float *confidence,
228 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MPEG2TS);
216 SniffMPEG2TS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java116 public void loadData(String data, String mimeType, String encoding); argument
119 String mimeType, String encoding, String historyUrl);
118 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSortingCursorWrapper.java69 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE);
72 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
/frameworks/native/include/media/drm/
H A DDrmAPI.h65 // given media container format specified by mimeType
66 virtual bool isContentTypeSupported(const String8 &mimeType) = 0;
119 // meaning is interpreted based on the mime type provided in the mimeType
125 // mimeType identifies the mime type of the content
136 String8 const &mimeType, KeyType keyType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java358 String mimeType = pduDecoder.getValueString();
359 return (WspTypeDecoder.CONTENT_TYPE_B_PUSH_SYNCML_NOTI.equals(mimeType));
/frameworks/base/core/java/android/app/
H A DDownloadManager.java611 public Request setMimeType(String mimeType) { argument
612 mMimeType = mimeType;
1183 * @param mimeType mimetype of the file.
1193 boolean isMediaScannerScannable, String mimeType, String path, long length,
1195 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path,
1201 boolean isMediaScannerScannable, String mimeType, String path, long length,
1207 validateArgumentIsNonEmpty("mimeType", mimeType);
1216 .setMimeType(mimeType);
1192 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument
1200 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java212 * @param mimeType the concrete MIME type associated with the new document.
219 public String createDocument(String parentDocumentId, String mimeType, String displayName) argument
642 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE);
644 final String newDocumentId = createDocument(documentId, mimeType, displayName);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h167 * @param mimeType Mime type of the content or null.
173 const String8& mimeType);

Completed in 7047 milliseconds

12345678