/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VNodeBuilder.java | 24 import android.util.Base64;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
EditIpSettingsActivity.java | 34 import android.util.Base64;
|
EditProxySettingsActivity.java | 34 import android.util.Base64;
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
MediaPlayerBridge.java | 14 import android.util.Base64; 191 if (!"base64".equals(headerInfo[1])) return false; 215 Base64InputStream decoder = new Base64InputStream(stream, Base64.DEFAULT);
|
/frameworks/base/core/java/android/net/http/ |
RequestHandle.java | 24 import org.apache.commons.codec.binary.Base64; 273 * @return Basic-scheme authentication response: BASE64(username:password). 279 // encode username:password to base64 280 return new String(Base64.encodeBase64((username + ':' + password).getBytes()));
|
/frameworks/base/core/java/android/util/ |
Base64.java | 22 * Utilities for encoding and decoding the Base64 representation of 27 public class Base64 { 54 * filename safe" variant of Base64 (see RFC 3548 section 4) where 103 * Decode the Base64-encoded data in input and return the data in 112 * Pass {@code DEFAULT} to decode standard Base64. 122 * Decode the Base64-encoded data in input and return the data in 130 * Pass {@code DEFAULT} to decode standard Base64. 140 * Decode the Base64-encoded data in input and return the data in 150 * Pass {@code DEFAULT} to decode standard Base64. 179 * Base64 alphabet [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 20 import android.util.Base64; 330 else if ("base64".equalsIgnoreCase(contentTransferEncoding)) { 331 in = new Base64InputStream(in, Base64.DEFAULT);
|
/system/extras/verity/ |
Utils.java | 55 import org.bouncycastle.util.encoders.Base64; 126 return Base64.decode(base64_der);
|
/build/tools/signapk/ |
SignApk.java | 36 import org.bouncycastle.util.encoders.Base64; 302 new String(Base64.encode(md_sha1.digest()), "ASCII")); 306 new String(Base64.encode(md_sha256.digest()), "ASCII")); 344 new String(Base64.encode(md.digest()), "ASCII")); 396 new String(Base64.encode(md.digest()), "ASCII")); 410 new String(Base64.encode(md.digest()), "ASCII")); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMms.java | 29 import android.util.Base64; 91 the below use of UTF-8 is not allowed, Base64 should be used for text. */ 100 sb.append("Content-Transfer-Encoding: Base64\r\n\r\n"); // Add the header split empty line 101 sb.append(Base64.encodeToString(mData, Base64.DEFAULT)).append("\r\n"); 353 /* If we are to use US-ASCII anyway, here is the code for it for base64. 355 // Use base64 encoding for the subject, as it may contain non US-ASCII characters or other 358 sb.append(Base64.encodeToString(subject.getBytes("utf-8"), Base64.DEFAULT)); 410 * (hence neither base64 nor binary) there is no mechanism to embed the attachment i [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 36 import com.android.org.bouncycastle.util.encoders.Base64; 186 String base64Key = new String(Base64.encode(key.getBytes())); 524 key = new String(Base64.decode(f.getName())); 535 // the Base64-decoded file name, not by the on-disk filename
|
/libcore/luni/src/main/java/java/util/prefs/ |
AbstractPreferences.java | 31 import libcore.io.Base64; 448 return Base64.decode(bavalue); 665 put(key, Base64.encode(value));
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
ImapStore.java | 24 import android.util.Base64; 234 String hexUid = Base64.encodeToString(uid, Base64.NO_WRAP);
|
/external/mdnsresponder/mDNSCore/ |
DNSDigest.c | [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
AntiSamyTest.java | 34 import org.apache.commons.codec.binary.Base64;
287 assertSanitizedDoesNotContain("<META HTTP-EQUIV=\"refresh\" CONTENT=\"0;url=data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K\">", "<meta");
288 assertSanitizedDoesNotContain("<META HTTP-EQUIV=\"refresh\" CONTENT=\"0;url=data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K\">", "<meta");
330 assertSanitizedDoesNotContain("<EMBED SRC=\"data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==\" type=\"image/svg+xml\" AllowScriptAccess=\"always\"></EMBED>", "<embed");
331 assertSanitizedDoesNotContain("<EMBED SRC=\"data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==\" type=\"image/svg+xml\" AllowScriptAccess=\"always\"></EMBED>", "<embed");
390 Base64.decodeBase64(BASE64_BAD_XML_STRINGS[i]),
[all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccRecords.java | 581 * Base64 encoded Strings. 620 return android.util.Base64.encodeToString(auth_rsp.payload, android.util.Base64.NO_WRAP);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 43 import libcore.io.Base64; 536 * Loads a keystore from a base64-encoded String. Returns the KeyManager[] 540 byte[] bytes = Base64.decode(keys.getBytes());
|
SSLSessionTest.java | 40 import libcore.io.Base64; 631 * Loads a keystore from a base64-encoded String. Returns the KeyManager[] 635 byte[] bytes = Base64.decode(keys.getBytes()); 645 * Loads a keystore from a base64-encoded String. Returns the KeyManager[]
|
SSLSocketTest.java | 39 import libcore.io.Base64; 586 * Loads a keystore from a base64-encoded String. Returns the KeyManager[] 590 byte[] bytes = Base64.decode(keys.getBytes());
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
Base64.java | 25 * Provides Base64 encoding and decoding as defined by RFC 2045. 27 * <p>This class implements section <cite>6.8. Base64 Content-Transfer-Encoding</cite> 34 * @version $Id: Base64.java,v 1.20 2004/05/24 00:21:24 ggregory Exp $ 41 public class Base64 implements BinaryEncoder, BinaryDecoder { 100 // Create arrays to hold the base64 characters and a 101 // lookup for base64 chars 151 * only valid characters within the Base64 alphabet. 154 * @return true if all bytes are valid characters in the Base64 163 // shouldn't a 0 length array be valid base64 data? 176 * Encodes binary data using the base64 algorithm bu [all...] |
/external/chromium_org/net/http/ |
http_auth_challenge_tokenizer_unittest.cc | 166 // Use a challenge with Base64 encoded token. 167 TEST(HttpAuthChallengeTokenizerTest, Base64) {
|
/external/chromium_org/third_party/boringssl/ |
boringssl_unittest.cc | 140 TEST(BoringSSL, Base64) {
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
p2ptransport.cc | 41 #include "webrtc/base/base64.h" 168 if (!rtc::Base64::IsBase64Encoded(username)) 169 return BadParse("candidate username has non-base64 encoded characters",
|
/external/chromium_org/third_party/webrtc/base/ |
httpcommon.cc | 24 #include "webrtc/base/base64.h" 215 // equal signs (like base64 tokens in Negotiate auth headers) 774 // TODO: create a sensitive-source version of Base64::encode 775 response.append(Base64::Encode(sensitive)); 917 && Base64::Decode(challenge, Base64::DO_STRICT, 1036 response.append(Base64::Encode(decoded));
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
ios_plist_writer_unittest.py | 9 import base64 namespace 33 If |decode| is true then |text| is decoded as Base64 before being 36 text = base64.b64decode(text) 42 If |decode| is true then |text| is decoded as Base64 before being
|