OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:URL_SAFE
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/tests/coretests/src/android/util/
Base64Test.java
140
assertEquals(BYTES, 0, Base64.decode("", Base64.
URL_SAFE
));
141
assertEquals(BYTES, 1, Base64.decode("_w==", Base64.
URL_SAFE
));
142
assertEquals(BYTES, 2, Base64.decode("_-4=", Base64.
URL_SAFE
));
143
assertEquals(BYTES, 3, Base64.decode("_-7d", Base64.
URL_SAFE
));
144
assertEquals(BYTES, 4, Base64.decode("_-7dzA==", Base64.
URL_SAFE
));
145
assertEquals(BYTES, 5, Base64.decode("_-7dzLs=", Base64.
URL_SAFE
));
146
assertEquals(BYTES, 6, Base64.decode("_-7dzLuq", Base64.
URL_SAFE
));
147
assertEquals(BYTES, 7, Base64.decode("_-7dzLuqmQ==", Base64.
URL_SAFE
));
148
assertEquals(BYTES, 8, Base64.decode("_-7dzLuqmYg=", Base64.
URL_SAFE
));
150
assertEquals("", Base64.encodeToString(BYTES, 0, 0, Base64.
URL_SAFE
));
[
all
...]
/frameworks/base/core/java/android/util/
Base64.java
58
public static final int
URL_SAFE
= 8;
244
alphabet = ((flags &
URL_SAFE
) == 0) ? DECODE : DECODE_WEBSAFE;
587
alphabet = ((flags &
URL_SAFE
) == 0) ? ENCODE : ENCODE_WEBSAFE;