Searched refs:CRLF (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java59 final String CRLF = "\r\n";
64 output.append(CRLF);
67 output.append(CRLF);
69 output.append(CRLF);
71 output.append(CRLF);
72 output.append(CRLF);
74 output.append(CRLF);
78 output.append(CRLF);
86 output.append(CRLF);
88 output.append(CRLF);
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageBuilder.java27 private final static String CRLF = "\r\n"; field in class:BluetoothMapBmessageBuilder
71 int bodyLen = MSG_BEGIN.length() + MSG_END.length() + 3 * CRLF.length()
74 mBmsg.append(BMSG_BEGIN).append(CRLF);
76 mBmsg.append(BMSG_VERSION).append(CRLF);
77 mBmsg.append(BMSG_STATUS).append(bmsg.mBmsgStatus).append(CRLF);
78 mBmsg.append(BMSG_TYPE).append(bmsg.mBmsgType).append(CRLF);
79 mBmsg.append(BMSG_FOLDER).append(bmsg.mBmsgFolder).append(CRLF);
86 mBmsg.append(BENV_BEGIN).append(CRLF);
93 mBmsg.append(BBODY_BEGIN).append(CRLF);
96 mBmsg.append(BBODY_ENCODING).append(bmsg.mBbodyEncoding).append(CRLF);
[all...]
H A DBluetoothMapBmessageParser.java42 private final static String CRLF = "\r\n"; field in class:BluetoothMapBmessageParser
63 * BEGIN:MSG<CRLF> + <CRLF> + END:MSG<CRFL>
111 * <bmessage-object>::= { "BEGIN:BMSG" <CRLF> <bmessage-property>
112 * [<bmessage-originator>]* <bmessage-envelope> "END:BMSG" <CRLF> }
115 mParser = new BmsgTokenizer(str + CRLF);
126 /* <bmessage-originator>::= <vcard> <CRLF> */
161 * <common-digit>*"."<common-digit>* <CRLF>
162 * <bmessage-readstatus-property>::="STATUS:" 'readstatus' <CRLF>
163 * <bmessage-type-property>::="TYPE:" 'type' <CRLF>
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java166 assertEquals("YQ==\r\n", encodeToString("a", Base64.CRLF));
167 assertEquals("YQ\r\n", encodeToString("a", Base64.CRLF | Base64.NO_PADDING));
173 assertEquals("YWI=\r\n", encodeToString("ab", Base64.CRLF));
174 assertEquals("YWI\r\n", encodeToString("ab", Base64.CRLF | Base64.NO_PADDING));
180 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF));
181 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF | Base64.NO_PADDING));
187 assertEquals("YWJjZA==\r\n", encodeToString("abcd", Base64.CRLF));
188 assertEquals("YWJjZA\r\n", encodeToString("abcd", Base64.CRLF | Base64.NO_PADDING));
312 Base64.CRLF,
427 Base64.CRLF,
[all...]
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DPart.java82 protected static final String CRLF = "\r\n"; field in class:Part
85 protected static final byte[] CRLF_BYTES = EncodingUtils.getAsciiBytes(CRLF);
/frameworks/base/core/java/android/util/
H A DBase64.java47 * CRLF pair instead of just an LF. Has no effect if {@code
50 public static final int CRLF = 4; field in class:Base64
586 do_cr = (flags & CRLF) != 0;

Completed in 206 milliseconds