/frameworks/base/include/drm/ |
DrmInfoRequest.h | 55 * @param[in] mimeType MIME type 57 DrmInfoRequest(int infoType, const String8& mimeType);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_inner.h | 66 int32_t mimeType;
|
/frameworks/base/media/libstagefright/ |
AACExtractor.cpp | 138 String8 mimeType; 140 if (!SniffAAC(mDataSource, &mimeType, &confidence, NULL)) { 320 const sp<DataSource> &source, String8 *mimeType, float *confidence, 330 *mimeType = MEDIA_MIMETYPE_AUDIO_AAC_ADTS;
|
/frameworks/base/media/libstagefright/include/ |
MPEG2PSExtractor.h | 74 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
MPEG2TSExtractor.h | 71 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/frameworks/base/media/libstagefright/matroska/ |
MatroskaExtractor.h | 83 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.java | 87 if (V) Log.v(TAG, "Get ACTION_SEND intent: Uri = " + stream + "; mimetype = " 95 + extra_text.toString() + "; mimetype = " + type); 109 String mimeType = intent.getType(); 111 if (mimeType != null && uris != null) { 113 + mimeType); 114 BluetoothOppManager.getInstance(this).saveSendingFileInfo(mimeType, uris);
|
/packages/apps/Browser/src/com/android/browser/ |
UploadHandler.java | 117 String mimeType = params[0]; 132 if (mimeType.equals(imageMimeType)) { 151 } else if (mimeType.equals(videoMimeType)) { 170 } else if (mimeType.equals(audioMimeType)) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionView.java | 40 * {@link DataKind} around a {@link Data#MIMETYPE}. This view shows a 166 boolean hasEntries = mState.hasMimeEntries(mKind.mimeType); 169 for (ValuesDelta entry : mState.getMimeEntries(mKind.mimeType)) { 192 mKind.editorLayoutResourceId + " for MIME type " + mKind.mimeType + 303 ArrayList<ValuesDelta> entries = mState.getMimeEntries(mKind.mimeType);
|
/external/webkit/Source/WebCore/platform/network/mac/ |
WebCoreURLResponse.mm | 453 RetainPtr<CFStringRef> mimeType(AdoptCF, UTTypeCopyPreferredTagWithClass(uti, kUTTagClassMIMEType)); 454 if (mimeType) 455 return mimeType.get(); 477 if (RetainPtr<CFStringRef> mimeType = mimeTypeFromUTITree((CFStringRef)object)) 478 return mimeType;
|
/external/webkit/Source/WebCore/inspector/front-end/ |
SourceFile.js | 216 _didRequestContent: function(mimeType, content) 220 this._mimeType = mimeType; 224 this._requestContentCallbacks[i](mimeType, content); 253 _didRequestContent: function(mimeType, text) 258 WebInspector.SourceFile.prototype._didRequestContent.call(this, mimeType, formattedText);
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebFrameLoaderClient.cpp | 442 webPage->send(Messages::WebPageProxy::DidCommitLoadForFrame(m_frame->frameID(), response.mimeType(), m_frameHasCustomRepresentation, PlatformCertificateInfo(response), InjectedBundleUserMessageEncoder(userData.get()))); [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
FrameLoaderClientQt.cpp | 646 bool FrameLoaderClientQt::canShowMIMETypeAsHTML(const String& MIMEType) const 652 bool FrameLoaderClientQt::canShowMIMEType(const String& MIMEType) const 654 String type = MIMEType; 964 QCoreApplication::translate("QWebFrame", "Cannot show mimetype", 0, QCoreApplication::UnicodeUTF8)); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 348 final String mimeType = c.getString(DataQuery.COLUMN_MIMETYPE); 350 if (mimeType.equals(StructuredName.CONTENT_ITEM_TYPE)) { 358 } else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) { 373 } else if (mimeType.equals(Email.CONTENT_ITEM_TYPE)) { 377 } else if (mimeType.equals(Photo.CONTENT_ITEM_TYPE)) { 479 final String mimeType = c.getString(DataQuery.COLUMN_MIMETYPE); 485 if (mimeType.equals(StructuredName.CONTENT_ITEM_TYPE)) { 489 } else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) { 498 } else if (mimeType.equals(Email.CONTENT_ITEM_TYPE)) { 651 Data.MIMETYPE, [all...] |
/external/webkit/Source/WebCore/loader/archive/cf/ |
LegacyWebArchive.cpp | 107 // Set MIMEType, TextEncodingName, and ResourceResponse only if they actually exist 108 const String& mimeType(resource->mimeType()); 109 if (!mimeType.isEmpty()) { 110 RetainPtr<CFStringRef> cfMIMEType(AdoptCF, mimeType.createCFString()); 201 CFStringRef mimeType = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceMIMETypeKey)); 202 if (!mimeType || CFGetTypeID(mimeType) != CFStringGetTypeID()) { 237 return ArchiveResource::create(SharedBuffer::wrapCFData(resourceData), KURL(KURL(), url), mimeType, textEncoding, frameName, response); 495 PassRefPtr<ArchiveResource> mainResource = ArchiveResource::create(utf8Buffer(markupString), responseURL, response.mimeType(), "UTF-8", frame->tree()->uniqueName()) [all...] |
/frameworks/base/drm/common/ |
IDrmManagerService.cpp | 43 data->writeString8(handle->mimeType); 75 handle->mimeType = data.readString8(); 229 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { 237 data.writeString8(mimeType); 278 const String8 mimeType = reply.readString8(); 290 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType); 355 const String8 mimeType = drmRights.getMimeType(); 356 data.writeString8((mimeType == String8("")) ? String8("NULL") : mimeType); 372 LOGV("Get Original MimeType"); [all...] |
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/mac/ |
NetscapePluginModuleMac.mm | 140 CFStringRef mimeType = mimeTypesVector[i]; 141 if (!mimeType || CFGetTypeID(mimeType) != CFStringGetTypeID() || CFStringGetLength(mimeType) == 0) 154 mimeClassInfo.type = String(mimeType).lower(); 285 const String& mimeType = mimeTypesAndExtensions[i * 2]; 290 mimeClassInfo.type = mimeType.lower();
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 364 final String mimeType = entryValues.getAsString(Data.MIMETYPE); 365 if (mimeType == null) continue; 367 final DataKind kind = sources.getKindOrFallback(accountType, mimeType, 371 final ViewEntry entry = ViewEntry.fromValues(context, mimeType, kind, 378 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 400 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 419 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 424 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 437 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType) & [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
ImageBufferQt.cpp | 396 // We get a mimeType here but QImageWriter does not support mimetypes but 399 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const 401 ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)); 403 if (!mimeType.startsWith("image/")) 412 if (!m_data.m_pixmap.save(&buffer, mimeType.substring(sizeof "image").utf8().data(), *quality * 100 + 0.5)) { 417 if (!m_data.m_pixmap.save(&buffer, mimeType.substring(sizeof "image").utf8().data(), 100)) { 425 return makeString("data:", mimeType, ";base64,", data.toBase64().data());
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
HostedNetscapePluginStream.mm | 94 void HostedNetscapePluginStream::startStream(NSURL *responseURL, long long expectedContentLength, NSDate *lastModifiedDate, NSString *mimeType, NSData *headers) 97 m_mimeType = mimeType; 99 char* mimeTypeUTF8 = const_cast<char*>([mimeType UTF8String]); 184 startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), [r MIMEType], theHeaders); 257 MIMEType:m_mimeType.get()] autorelease];
|
/frameworks/base/core/java/android/net/ |
Downloads.java | 352 String mimeType = null; 362 mimeType = downloadCursor.getString(0); 367 return mimeType; 376 String mimeType = null; 392 String mimeType = null; 407 String mimeType = null;
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ContactsSyncAdapter.java | 80 private static final String MIMETYPE_GROUP_MEMBERSHIP_AND_ID_EQUALS = Data.MIMETYPE + "='" + [all...] |
/frameworks/base/drm/drmserver/ |
DrmManager.cpp | 203 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { 205 const String8 plugInId = getSupportedPlugInId(mimeType); 279 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { 281 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType); 284 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType); 356 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { 360 const String8 plugInId = getSupportedPlugInId(mimeType); 545 int uniqueId, const String8& path, const String8& mimeType) { 548 if (EMPTY_STRING != mimeType) { 549 plugInId = getSupportedPlugInId(mimeType); [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 562 (JNIEnv * env, jobject rawContent, jobject data, jint len, jint mimeType) 568 switch (mimeType) { 570 mimeType = TYPE_DRM_MESSAGE; 573 mimeType = TYPE_DRM_CONTENT; 591 inData.mimeType = mimeType; 905 (JNIEnv * env, jobject rightsManager, jobject data, jint len, jint mimeType, jobject rights) 914 switch (mimeType) { 916 mimeType = TYPE_DRM_RIGHTS_XML; 919 mimeType = TYPE_DRM_RIGHTS_WBXML [all...] |
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 144 * @param mimeType 146 public NdefRecord createMimeRecord(String mimeType, byte[] payload) { 147 byte[] mimeBytes = mimeType.getBytes(Charset.forName("US-ASCII"));
|