Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java147 assertEquals(BYTES, 0, Base64.decode("", Base64.URL_SAFE)); in testWebSafe()
148 assertEquals(BYTES, 1, Base64.decode("_w==", Base64.URL_SAFE)); in testWebSafe()
149 assertEquals(BYTES, 2, Base64.decode("_-4=", Base64.URL_SAFE)); in testWebSafe()
150 assertEquals(BYTES, 3, Base64.decode("_-7d", Base64.URL_SAFE)); in testWebSafe()
151 assertEquals(BYTES, 4, Base64.decode("_-7dzA==", Base64.URL_SAFE)); in testWebSafe()
152 assertEquals(BYTES, 5, Base64.decode("_-7dzLs=", Base64.URL_SAFE)); in testWebSafe()
153 assertEquals(BYTES, 6, Base64.decode("_-7dzLuq", Base64.URL_SAFE)); in testWebSafe()
154 assertEquals(BYTES, 7, Base64.decode("_-7dzLuqmQ==", Base64.URL_SAFE)); in testWebSafe()
155 assertEquals(BYTES, 8, Base64.decode("_-7dzLuqmYg=", Base64.URL_SAFE)); in testWebSafe()
157 assertEquals("", Base64.encodeToString(BYTES, 0, 0, Base64.URL_SAFE)); in testWebSafe()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java59 public static final int URL_SAFE = 8; field in Base64
245 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder()
588 alphabet = ((flags & URL_SAFE) == 0) ? ENCODE : ENCODE_WEBSAFE; in Encoder()
/frameworks/base/telephony/java/android/telephony/
DRlog.java160 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/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java264 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP | Base64.NO_PADDING); in generateNonce()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java380 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java16015 String suffix = Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31404 field public static final int URL_SAFE = 8; // 0x8
/frameworks/base/api/
Dcurrent.txt47801 field public static final int URL_SAFE = 8; // 0x8