Home
last modified time | relevance | path

Searched refs:NO_WRAP (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java163 assertEquals("YQ==", encodeToString("a", Base64.NO_WRAP)); in testFlags()
165 assertEquals("YQ", encodeToString("a", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
170 assertEquals("YWI=", encodeToString("ab", Base64.NO_WRAP)); in testFlags()
172 assertEquals("YWI", encodeToString("ab", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
177 assertEquals("YWJj", encodeToString("abc", Base64.NO_WRAP)); in testFlags()
179 assertEquals("YWJj", encodeToString("abc", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
184 assertEquals("YWJjZA==", encodeToString("abcd", Base64.NO_WRAP)); in testFlags()
186 assertEquals("YWJjZA", encodeToString("abcd", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
224 assertEquals(out_56.replaceAll("\n", ""), encodeToString(in_56, Base64.NO_WRAP)); in testLineLength()
225 assertEquals(out_57.replaceAll("\n", ""), encodeToString(in_57, Base64.NO_WRAP)); in testLineLength()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java43 public static final int NO_WRAP = 2; field in Base64
585 do_newline = (flags & NO_WRAP) == 0; in Encoder()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java193 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadMockData()
223 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadRealData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java610 return android.util.Base64.encodeToString(auth_rsp.payload, android.util.Base64.NO_WRAP); in getIccSimChallengeResponse()
/frameworks/base/core/java/android/net/http/
DAndroidHttpClient.java450 String base64 = Base64.encodeToString(stream.toByteArray(), Base64.NO_WRAP); in toCurl()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1315 final String photoString = new String(Base64.encode(data, Base64.NO_WRAP)); in appendPhotos()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java8203 rand, android.util.Base64.NO_WRAP); in handleGsmAuthRequest()
/frameworks/base/api/
Dcurrent.txt31236 field public static final int NO_WRAP = 2; // 0x2