Searched refs:contentType (Results 1 - 25 of 184) sorted by path

12345678

/external/apache-http/src/org/apache/http/client/utils/
H A DURLEncodedUtils.java118 final Header contentType = entity.getContentType();
119 return (contentType != null && contentType.getValue().equalsIgnoreCase(CONTENT_TYPE));
/external/apache-http/src/org/apache/http/entity/
H A DAbstractHttpEntity.java64 protected Header contentType; field in class:AbstractHttpEntity
94 * {@link #contentType contentType} attribute.
99 return this.contentType;
129 * {@link #contentType contentType} attribute.
131 * @param contentType the new Content-Encoding header, or
134 public void setContentType(final Header contentType) { argument
135 this.contentType = contentType;
[all...]
H A DFileEntity.java58 public FileEntity(final File file, final String contentType) { argument
64 setContentType(contentType);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSSignedData.java237 ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType();
241 signerInfos.add(new SignerInformation(info, contentType, signedContent, null));
248 signerInfos.add(new SignerInformation(info, contentType, null, hash));
H A DCMSSignedGenerator.java99 protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
102 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
H A DDefaultSignedAttributeTableGenerator.java52 * normally include contentType, signingTime, and messageDigest. If the constructor
53 * using an AttributeTable was used, entries in it for contentType, signingTime, and
65 if (!std.containsKey(CMSAttributes.contentType))
67 ASN1ObjectIdentifier contentType = ASN1ObjectIdentifier.getInstance(
70 // contentType will be null if we're trying to generate a counter signature.
71 if (contentType != null)
73 Attribute attr = new Attribute(CMSAttributes.contentType,
74 new DERSet(contentType));
H A DSignerInfoGenerator.java170 public SignerInfo generate(ASN1ObjectIdentifier contentType) argument
192 Map parameters = getBaseParameters(contentType, digester.getAlgorithmIdentifier(), calculatedDigest);
223 Map parameters = getBaseParameters(contentType, digestAlg, calculatedDigest);
258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
262 if (contentType != null)
264 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
H A DSignerInformation.java49 private ASN1ObjectIdentifier contentType; field in class:SignerInformation
59 ASN1ObjectIdentifier contentType,
64 this.contentType = contentType;
65 this.isCounterSignature = contentType == null;
99 return this.contentType;
402 CMSAttributes.contentType, "content-type");
424 if (!signedContentType.equals(contentType))
636 signerInformation.contentType, signerInformation.content, null);
678 signerInformation.contentType, signerInformatio
57 SignerInformation( SignerInfo info, ASN1ObjectIdentifier contentType, CMSProcessable content, byte[] resultDigest) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DCMSAttributes.java9 * contentType ::= 1.2.840.113549.1.9.3
21 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType; field in interface:CMSAttributes
H A DContentInfo.java19 * contentType ContentType,
20 * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL
35 private ASN1ObjectIdentifier contentType; field in class:ContentInfo
84 contentType = (ASN1ObjectIdentifier)seq.getObjectAt(0);
99 ASN1ObjectIdentifier contentType,
102 this.contentType = contentType;
108 return contentType;
123 v.add(contentType);
98 ContentInfo( ASN1ObjectIdentifier contentType, ASN1Encodable content) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DContentInfo.java20 private ASN1ObjectIdentifier contentType; field in class:ContentInfo
45 contentType = (ASN1ObjectIdentifier)e.nextElement();
56 ASN1ObjectIdentifier contentType,
59 this.contentType = contentType;
65 return contentType;
77 * contentType ContentType,
79 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
86 v.add(contentType);
55 ContentInfo( ASN1ObjectIdentifier contentType, ASN1Encodable content) argument
H A DEncryptedData.java26 * contentType ContentType,
71 ASN1ObjectIdentifier contentType,
77 v.add(contentType);
70 EncryptedData( ASN1ObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, ASN1Encodable content) argument
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
H A DCommonResources.java33 String contentType, boolean disableCache) {
35 headers.add(Pair.create("Content-Type", contentType));
32 getContentTypeAndCacheHeaders( String contentType, boolean disableCache) argument
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Ddom_util.js2426 * @param {string} contentType The content type, e.g., tex, asciimath.
2429 cvox.DomUtil.altMathQuerySelector = function(contentType) {
2430 var classes = cvox.DomUtil.ALT_MATH_CLASSES[contentType];
/external/chromium_org/chrome/browser/resources/options/
H A Dcontent_settings_exceptions_area.js15 * @param {string} contentType The type of the list.
24 function ExceptionsListItem(contentType, mode, enableAskOption, exception) {
27 el.contentType = contentType;
81 if (this.contentType == 'cookies') {
88 if (this.contentType != 'fullscreen') {
107 if (this.contentType != 'zoomlevels') {
117 if (this.contentType == 'media-stream') {
128 if (this.contentType == 'zoomlevels') {
160 if (this.contentType
[all...]
H A Dsearch_engine_manager_engine_list.js212 var event = new Event(this.contentType);
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dcontent_setting.js16 function ContentSetting(contentType, settingSchema) {
21 [contentType, details, callback],
30 [contentType, details, callback],
37 [contentType, details, callback],
46 [contentType, callback],
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DChromiumUrlRequest.java210 * @param contentType MIME type of the upload content or null if this is not
215 public void setUploadData(String contentType, byte[] data) { argument
218 validateContentType(contentType);
219 mUploadContentType = contentType;
229 * @param contentType MIME type of the upload content or null if this is not
236 public void setUploadChannel(String contentType, argument
240 validateContentType(contentType);
241 mUploadContentType = contentType;
253 * @param contentType MIME type of the post content or null if this is not a
256 public void setChunkedUpload(String contentType) { argument
474 validateContentType(String contentType) argument
670 nativeSetUploadData(long urlRequestAdapter, String contentType, byte[] content) argument
673 nativeSetUploadChannel(long urlRequestAdapter, String contentType, long contentLength) argument
676 nativeEnableChunkedUpload(long urlRequestAdapter, String contentType) argument
[all...]
H A DHttpUrlConnectionUrlRequest.java160 public void setUploadData(String contentType, byte[] data) { argument
162 mPostContentType = contentType;
168 public void setUploadChannel(String contentType, argument
176 mPostContentType = contentType;
H A DHttpUrlRequest.java53 * @param contentType MIME type of the post content or null if this is not a
58 void setUploadData(String contentType, byte[] data); argument
66 * @param contentType MIME type of the post content or null if this is not a
72 void setUploadChannel(String contentType, ReadableByteChannel channel, argument
/external/chromium_org/content/child/
H A Dwebblobregistry_impl.cc99 uuid_str, data.contentType().utf8().data()));
/external/chromium_org/media/test/data/eme_player_js/
H A Dplayer_utils.js56 Utils.timeLog('Creating new media key session for contentType: ' +
57 message.contentType + ', initData: ' +
65 session.generateRequest(message.contentType, message.initData)
71 message.contentType, message.initData);
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
H A Ddojo-1.6.1.js9593 caseSensitive = (root.contentType && root.contentType=="application/xml") ||
10573 if(hdr.toLowerCase() === "content-type" && !args.contentType){
10574 args.contentType = args.headers[hdr];
10583 xhr.setRequestHeader("Content-Type", args.contentType || _defaultContentType);
H A Djquery-1.6.4.js6995 contentType: "application/x-www-form-urlencoded",
7366 if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
7367 jqXHR.setRequestHeader( "Content-Type", s.contentType );
7694 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
H A Dprototype-1.7.js1475 contentType: 'application/x-www-form-urlencoded',
1556 headers['Content-type'] = this.options.contentType +
1607 var contentType = response.getHeader('Content-type');
1609 || (this.options.evalJS && this.isSameOrigin() && contentType
1610 && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))

Completed in 7661 milliseconds

12345678