HomeSort by relevance Sort by last modified time
    Searched refs:mime (Results 151 - 175 of 202) sorted by null

1 2 3 4 5 67 8 9

  /developers/samples/android/content/documentsUi/StorageProvider/StorageProviderSample/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 142 // The child MIME types are used to filter the roots and only present to the user roots
385 * Get a file's MIME type
388 * @return the MIME type of the file
399 * Get the MIME data type of a document, given its filename.
402 * @return the MIME data type of a document
408 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
409 if (mime != null) {
410 return mime;
417 * Gets a string of unique MIME data types a directory supports, separated by newlines. This
421 * @return a string of the unique MIME data types the parent directory support
    [all...]
  /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java 142 // The child MIME types are used to filter the roots and only present to the user roots
385 * Get a file's MIME type
388 * @return the MIME type of the file
399 * Get the MIME data type of a document, given its filename.
402 * @return the MIME data type of a document
408 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
409 if (mime != null) {
410 return mime;
417 * Gets a string of unique MIME data types a directory supports, separated by newlines. This
421 * @return a string of the unique MIME data types the parent directory support
    [all...]
  /frameworks/av/libvideoeditor/lvpp/
VideoEditorAudioPlayer.cpp 499 const char *mime; local
500 bool success = format->findCString(kKeyMIMEType, &mime);
502 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
VideoEditorMp3Reader.cpp 461 const char *mime; local
462 CHECK(meta->findCString(kKeyMIMEType, &mime));
464 if (!haveAudio && !strncasecmp(mime, "audio/", 6)) {
VideoEditorVideoEncoder.cpp 561 const char* mime = NULL; local
620 mime = MEDIA_MIMETYPE_VIDEO_H263;
623 mime = MEDIA_MIMETYPE_VIDEO_MPEG4;
626 mime = MEDIA_MIMETYPE_VIDEO_AVC;
635 ALOGV("Encoder mime %s profile %d, level %d",
636 mime,iProfile, iLevel);
645 encoderMetadata->setCString(kKeyMIMEType, mime);
    [all...]
  /frameworks/av/media/libstagefright/
MP3Extractor.cpp 638 String8 mime; local
639 const void *data = id3.getAlbumArt(&dataSize, &mime);
643 meta->setCString(kKeyAlbumArtMIME, mime.string());
MediaCodec.cpp 46 const sp<ALooper> &looper, const char *mime, bool encoder) {
48 if (codec->init(mime, true /* nameIsType */, encoder) != OK) {
738 AString mime; local
739 CHECK(msg->findString("mime", &mime));
741 if (!strncasecmp("video/", mime.c_str(), 6)) {
941 format->setString("mime", name.c_str());
1776 AString mime; local
    [all...]
NuCachedSource2.cpp 615 sp<DecryptHandle> NuCachedSource2::DrmInitialization(const char* mime) {
616 return mSource->DrmInitialization(mime);
  /frameworks/base/drm/java/android/drm/
DrmManagerClient.java 463 * Checks whether the given MIME type or path can be handled.
466 * @param mimeType MIME type of the object to be handled.
468 * @return True if the given MIME type or path can be handled; false if they cannot be handled.
478 * Checks whether the given MIME type or URI can be handled.
481 * @param mimeType MIME type of the object to be handled
483 * @return True if the given MIME type or URI can be handled; false if they cannot be handled.
549 * object, and so on) using the specified path or MIME type. At least one parameter must
553 * @param mimeType MIME type of the content or null.
566 * object, and so on) using the specified URI or MIME type. At least one parameter must
570 * @param mimeType MIME type of the content or null
600 String mime = null; local
    [all...]
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java 407 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); local
408 if (mime != null) {
409 return mime;
417 * Remove file extension from name, but only if exact MIME type mapping
433 * Add file extension to name, but only if exact MIME type mapping exists.
  /external/chromium_org/media/tools/layout_tests/
layouttest_analyzer_helpers.py 8 from email.mime.multipart import MIMEMultipart
9 from email.mime.text import MIMEText
  /external/chromium_org/native_client_sdk/src/examples/
common.js 26 * Return the mime type for NaCl plugin.
29 * @return {string} The mime-type for the kind of NaCl plugin matching
37 // mime type.
57 // The below mime-type checking might not work with
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageAttachmentBar.java 124 " contentUri=%s MIME=%s flags=%d", attachment.getName(), attachment.state,
224 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); local
282 .sendEvent("view_attachment", mime, action, mAttachment.size);
  /external/chromium_org/tools/grit/grit/format/
html_inline.py 51 """Helper function that normalizes platform differences in the mime type
  /frameworks/av/drm/drmserver/
DrmManager.cpp 405 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
434 int uniqueId, const char* uri, const char* mime) {
446 result = rDrmEngine.openDecryptSession(uniqueId, handle, uri, mime);
  /frameworks/av/include/media/stagefright/
MediaCodec.h 48 const sp<ALooper> &looper, const char *mime, bool encoder);
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
URLConnectionTest.java 608 // Tests for the standard MIME types -- users may override these
    [all...]
  /packages/apps/Music/src/com/android/music/
MediaPlaybackActivity.java 266 String mime = null; local
320 mime = MediaStore.Audio.Artists.ENTRY_CONTENT_TYPE;
328 mime = MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE;
342 mime = "audio/*"; // the specific type doesn't matter, so don't bother retrieving it
359 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, mime);
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/js/metadata/
byte_reader.js 234 // Two bytes is enough to identify the mime type.
243 var mime = prefixToMime[prefix] ||
247 return 'data:image/' + mime + ';base64,' + b64;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URLConnectionTest.java 339 // Tests for the standard MIME types -- users may override these
590 String mime = URLConnection.guessContentTypeFromStream(is);
592 expected[i], mime);
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp 188 bool FwdLockEngine::IsMimeTypeSupported(const String8& mime) {
189 String8 tmp(mime);
343 * 1. path and mime type both are not empty strings (meaning unavailable) else content is unknown
  /frameworks/av/drm/mediadrm/plugins/mock/
MockDrmCryptoPlugin.cpp 660 bool MockCryptoPlugin::requiresSecureDecoderComponent(const char *mime) const
662 ALOGD("MockCryptoPlugin::requiresSecureDecoderComponent(mime=%s)", mime);
  /frameworks/wilhelm/src/itf/
IEngine.c 69 const char* mime = (char*)ap->mDataSource.mFormat.mMIME.mimeType; local
70 if ((mime != NULL) && !(strcasecmp(mime, (const char *)SL_ANDROID_MIME_AACADTS) &&
71 strcasecmp(mime, ANDROID_MIME_AACADTS_ANDROID_FRAMEWORK))) {
    [all...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouteProvider.java 378 String mime = intent.getType(); local
387 + ", mime=" + mime
393 PlaylistItem item = mSessionManager.add(uri, mime, receiver);
  /external/chromium_org/content/renderer/media/android/
webmediaplayer_android.cc 345 // to the mime-type. There may be no mime-type on a redirect URL.
350 std::string mime;
351 if(!net::GetMimeTypeFromFile(base::FilePath(url_.path()), &mime))
353 return mime.find("audio/") == std::string::npos;
    [all...]

Completed in 1998 milliseconds

1 2 3 4 5 67 8 9