Home
last modified time | relevance | path

Searched refs:URL_SAFE (Results 1 – 12 of 12) 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.java60 public static final int URL_SAFE = 8; field in Base64
246 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder()
589 alphabet = ((flags & URL_SAFE) == 0) ? ENCODE : ENCODE_WEBSAFE; in Encoder()
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java152 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/core/java/android/telephony/
DRlog.java159 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.java240 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP | Base64.NO_PADDING); in generateNonce()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java381 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java695 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java15535 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/non-updatable-api/
Dcurrent.txt49093 field public static final int URL_SAFE = 8; // 0x8
/frameworks/base/api/
Dcurrent.txt49237 field public static final int URL_SAFE = 8; // 0x8