Home
last modified time | relevance | path

Searched refs:URL_SAFE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java140 assertEquals(BYTES, 0, Base64.decode("", Base64.URL_SAFE)); in testWebSafe()
141 assertEquals(BYTES, 1, Base64.decode("_w==", Base64.URL_SAFE)); in testWebSafe()
142 assertEquals(BYTES, 2, Base64.decode("_-4=", Base64.URL_SAFE)); in testWebSafe()
143 assertEquals(BYTES, 3, Base64.decode("_-7d", Base64.URL_SAFE)); in testWebSafe()
144 assertEquals(BYTES, 4, Base64.decode("_-7dzA==", Base64.URL_SAFE)); in testWebSafe()
145 assertEquals(BYTES, 5, Base64.decode("_-7dzLs=", Base64.URL_SAFE)); in testWebSafe()
146 assertEquals(BYTES, 6, Base64.decode("_-7dzLuq", Base64.URL_SAFE)); in testWebSafe()
147 assertEquals(BYTES, 7, Base64.decode("_-7dzLuqmQ==", Base64.URL_SAFE)); in testWebSafe()
148 assertEquals(BYTES, 8, Base64.decode("_-7dzLuqmYg=", Base64.URL_SAFE)); in testWebSafe()
150 assertEquals("", Base64.encodeToString(BYTES, 0, 0, Base64.URL_SAFE)); in testWebSafe()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java58 public static final int URL_SAFE = 8; field in Base64
244 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder()
587 alphabet = ((flags & URL_SAFE) == 0) ? ENCODE : ENCODE_WEBSAFE; in Encoder()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java266 return Base64.decode(base64, Base64.URL_SAFE); in parseDataUri()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31404 field public static final int URL_SAFE = 8; // 0x8
/frameworks/base/api/
Dcurrent.txt40066 field public static final int URL_SAFE = 8; // 0x8
Dtest-current.txt40145 field public static final int URL_SAFE = 8; // 0x8
Dsystem-current.txt43066 field public static final int URL_SAFE = 8; // 0x8