Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 10 of 10) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DEncapsulatedContentInfo.java32 public String contentType; field in EncapsulatedContentInfo
44 contentType = contentTypeOid; in EncapsulatedContentInfo()
DContentInfo.java32 public String contentType; field in ContentInfo
/tools/tradefederation/core/src/com/android/tradefed/util/
DIEmail.java111 public void setContentType(String contentType) { in setContentType() argument
112 if (contentType == null) throw new NullPointerException(); in setContentType()
113 mContentType = contentType; in setContentType()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogDataType.java65 LogDataType(String fileExt, String contentType, boolean compressed, boolean text) { in LogDataType() argument
69 mContentType = contentType; in LogDataType()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java159 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
163 if (contentType != null) { in createConnection()
164 connection.setRequestProperty("Content-Type", contentType); in createConnection()
233 public String doPostWithRetry(String url, String postData, String contentType) in doPostWithRetry() argument
235 PostRequestRunnable runnable = new PostRequestRunnable(url, postData, contentType); in doPostWithRetry()
348 public PostRequestRunnable(String url, String postData, String contentType) { in PostRequestRunnable() argument
351 mContentType = contentType; in PostRequestRunnable()
DIHttpHelper.java160 public String doPostWithRetry(String url, String postData, String contentType) in doPostWithRetry() argument
172 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java265 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_ioexception()
289 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_retry()
295 return super.createConnection(url, method, contentType); in testDoPostWithRetry_retry()
349 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DEmailTest.java212 final String contentType = Message.HTML; in _manual_testFuncSend() local
217 msg.setContentType(contentType); in _manual_testFuncSend()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java465 if (!Pkcs7Constants.OID_SIGNED_DATA.equals(contentInfo.contentType)) { in verifySigBlockAgainstSigFile()
467 "Unsupported ContentInfo.contentType: " + contentInfo.contentType); in verifySigBlockAgainstSigFile()
686 String contentType = in verifySignerInfoAgainstSigFile() local
689 if (contentType == null) { in verifySignerInfoAgainstSigFile()
692 if (!contentType.equals(signedData.encapContentInfo.contentType)) { in verifySignerInfoAgainstSigFile()
DV1SchemeSigner.java583 contentInfo.contentType = Pkcs7Constants.OID_SIGNED_DATA; in generateSignatureBlock()