Home
last modified time | relevance | path

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

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DIEmail.java111 public void setContentType(String contentType) { in setContentType() argument
112 if (contentType == null) { in setContentType()
115 mContentType = contentType; in setContentType()
/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/common_util/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/common_util/com/android/tradefed/result/
DLogDataType.java113 String fileExt, String contentType, boolean isCompressedOrNeverCompress, boolean text) { in LogDataType() argument
117 mContentType = contentType; in LogDataType()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileUploader.java55 String contentType, in uploadFile() argument
58 InputStreamContent inputStreamData = new InputStreamContent(contentType, fileContents); in uploadFile()
/tools/tradefederation/core/javatests/com/android/tradefed/util/net/
DHttpHelperTest.java262 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_ioexception()
289 URL url, String method, String contentType) throws IOException { in testDoPostWithRetry_retry()
294 return super.createConnection(url, method, contentType); in testDoPostWithRetry_retry()
348 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DEmailTest.java217 final String contentType = Message.HTML; in _manual_testFuncSend() local
222 msg.setContentType(contentType); in _manual_testFuncSend()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java500 if (!Pkcs7Constants.OID_SIGNED_DATA.equals(contentInfo.contentType)) { in verifySigBlockAgainstSigFile()
502 "Unsupported ContentInfo.contentType: " + contentInfo.contentType); in verifySigBlockAgainstSigFile()
741 String contentType = in verifySignerInfoAgainstSigFile() local
744 if (contentType == null) { in verifySignerInfoAgainstSigFile()
747 if (!contentType.equals(signedData.encapContentInfo.contentType)) { in verifySignerInfoAgainstSigFile()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java1236 contentInfo.contentType = Pkcs7Constants.OID_SIGNED_DATA; in generatePkcs7DerEncodedMessage()