Home
last modified time | relevance | path

Searched refs:contentTypeParts (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java632 String[] contentTypeParts = headerValue.split(";"); in parseMimeHeaders() local
633 mContentType = contentTypeParts[0]; in parseMimeHeaders()
635 for (int j = 1, n = contentTypeParts.length; j < n; j++) { in parseMimeHeaders()
636 if (contentTypeParts[j].contains("boundary")) { in parseMimeHeaders()
637 mBoundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim(); in parseMimeHeaders()
644 } else if (contentTypeParts[j].contains("charset")) { in parseMimeHeaders()
645 mCharset = contentTypeParts[j].split("charset[\\s]*=", 2)[1].trim(); in parseMimeHeaders()
697 String[] contentTypeParts = headerValue.split(";"); in parseMimePart() local
698 newPart.mContentType = contentTypeParts[0]; in parseMimePart()
700 for (int j = 1, n = contentTypeParts.length; j < n; j++) { in parseMimePart()
[all …]
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServerInterface.java388 final String[] contentTypeParts = contentType.split(";"); in getCharsetFromContentTypeHeader() local
389 if (contentTypeParts.length != 2) { in getCharsetFromContentTypeHeader()
394 final String[] charsetParts = contentTypeParts[1].strip().split("="); in getCharsetFromContentTypeHeader()