Home
last modified time | relevance | path

Searched refs:URL_SAFE (Results 1 – 11 of 11) 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/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java152 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP | Base64.NO_PADDING); in generateNonce()
/frameworks/base/telephony/java/android/telephony/
DRlog.java150 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java266 return Base64.decode(base64, Base64.URL_SAFE); in parseDataUri()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java331 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17611 String suffix = Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP); in getNextCodePath()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31404 field public static final int URL_SAFE = 8; // 0x8
/frameworks/base/api/
Dcurrent.txt43196 field public static final int URL_SAFE = 8; // 0x8
Dtest-current.txt43473 field public static final int URL_SAFE = 8; // 0x8
Dsystem-current.txt46781 field public static final int URL_SAFE = 8; // 0x8