Home
last modified time | relevance | path

Searched refs:CRLF (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java59 final String CRLF = "\r\n"; in testParts() local
64 output.append(CRLF); in testParts()
67 output.append(CRLF); in testParts()
69 output.append(CRLF); in testParts()
71 output.append(CRLF); in testParts()
72 output.append(CRLF); in testParts()
74 output.append(CRLF); in testParts()
78 output.append(CRLF); in testParts()
86 output.append(CRLF); in testParts()
88 output.append(CRLF); in testParts()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessageBuilder.java27 private final static String CRLF = "\r\n"; field in BluetoothMapBmessageBuilder
71 int bodyLen = MSG_BEGIN.length() + MSG_END.length() + 3 * CRLF.length() in build()
74 mBmsg.append(BMSG_BEGIN).append(CRLF); in build()
76 mBmsg.append(BMSG_VERSION).append(CRLF); in build()
77 mBmsg.append(BMSG_STATUS).append(bmsg.mBmsgStatus).append(CRLF); in build()
78 mBmsg.append(BMSG_TYPE).append(bmsg.mBmsgType).append(CRLF); in build()
79 mBmsg.append(BMSG_FOLDER).append(bmsg.mBmsgFolder).append(CRLF); in build()
86 mBmsg.append(BENV_BEGIN).append(CRLF); in build()
93 mBmsg.append(BBODY_BEGIN).append(CRLF); in build()
96 mBmsg.append(BBODY_ENCODING).append(bmsg.mBbodyEncoding).append(CRLF); in build()
[all …]
DBluetoothMapBmessageParser.java44 private final static String CRLF = "\r\n"; field in BluetoothMapBmessageParser
121 mParser = new BmsgTokenizer(str + CRLF); in parse()
389 out.append(BEGIN_VCARD).append(CRLF); in extractVcard()
393 out.append(prop).append(CRLF); in extractVcard()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java166 assertEquals("YQ==\r\n", encodeToString("a", Base64.CRLF)); in testFlags()
167 assertEquals("YQ\r\n", encodeToString("a", Base64.CRLF | Base64.NO_PADDING)); in testFlags()
173 assertEquals("YWI=\r\n", encodeToString("ab", Base64.CRLF)); in testFlags()
174 assertEquals("YWI\r\n", encodeToString("ab", Base64.CRLF | Base64.NO_PADDING)); in testFlags()
180 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF)); in testFlags()
181 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF | Base64.NO_PADDING)); in testFlags()
187 assertEquals("YWJjZA==\r\n", encodeToString("abcd", Base64.CRLF)); in testFlags()
188 assertEquals("YWJjZA\r\n", encodeToString("abcd", Base64.CRLF | Base64.NO_PADDING)); in testFlags()
312 Base64.CRLF, in testInputStream()
427 Base64.CRLF, in testOutputStream()
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
DHTTPResponse.java75 Iterator<String> headerLines = Arrays.asList(headerText.split(CRLF)).iterator(); in parseHeader()
152 sb.append("Status: ").append(mStatusCode).append(CRLF); in toString()
154 sb.append(entry.getKey()).append(": ").append(entry.getValue()).append(CRLF); in toString()
156 sb.append(CRLF); in toString()
DHTTPMessage.java23 public static final String CRLF = "\r\n"; field
DHTTPRequest.java58 mMethodLine = method.name() + ' ' + url.getPath() + ' ' + HTTPVersion + CRLF; in HTTPRequest()
211 header.append(entry.getKey()).append(": ").append(entry.getValue()).append(CRLF); in buildHeader()
213 header.append(CRLF); in buildHeader()
/frameworks/base/core/java/android/util/
DBase64.java50 public static final int CRLF = 4; field in Base64
586 do_cr = (flags & CRLF) != 0; in Encoder()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31399 field public static final int CRLF = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt40222 field public static final int CRLF = 4; // 0x4
Dsystem-current.txt43399 field public static final int CRLF = 4; // 0x4
Dtest-current.txt40308 field public static final int CRLF = 4; // 0x4