/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 20 import android.util.Base64; 297 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP), in saslAuthLogin() 300 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP), in saslAuthLogin() 314 data = Base64.encode(data, Base64.NO_WRAP); in saslAuthPlain() 342 byte[] data = Base64.encode(authPhrase.getBytes(), Base64.NO_WRAP); in saslAuthOAuth()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | AliasLoaderTest.java | 24 import android.util.Base64; 131 mRSACertOne = Base64.decode(SELF_SIGNED_RSA_CERT_1_B64, Base64.DEFAULT); in setUp() 132 mRSACertTwo = Base64.decode(SELF_SIGNED_RSA_CERT_2_B64, Base64.DEFAULT); in setUp() 133 mECCertOne = Base64.decode(SELF_SIGNED_EC_CERT_1_B64, Base64.DEFAULT); in setUp() 134 mECCertTwo = Base64.decode(SELF_SIGNED_EC_CERT_2_B64, Base64.DEFAULT); in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | StoreUtils.java | 25 import android.util.Base64; 127 return Base64.decode(s, Base64.URL_SAFE); in stringToByteArray() 139 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in byteArrayToString()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustedDeviceService.java | 28 import android.util.Base64; 262 byte[] encryptedKey = Base64.decode(values[0], Base64.DEFAULT); in getEncryptionKey() 263 byte[] ivSpec = Base64.decode(values[1], Base64.DEFAULT); in getEncryptionKey() 346 return new StringBuffer(Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT)) in encryptWithKeyStore() 348 .append(Base64.encodeToString(cipher.getIV(), Base64.DEFAULT)) in encryptWithKeyStore()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TestCommandReceiver.java | 33 import android.util.Base64; 118 String path = Base64.encodeToString(uri.getPath().getBytes(), in openFile() 119 Base64.NO_CLOSE | Base64.NO_PADDING | Base64.NO_WRAP); in openFile()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 21 import android.util.Base64; 77 return byteValue == null ? null : Base64.decode(byteValue, Base64.DEFAULT); in getBytes() 122 final String encodedBytes = Base64.encodeToString(value, Base64.DEFAULT); in putBytes()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 44 import android.util.Base64; 258 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsVideo() 316 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsDumpToProto() 418 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); 437 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | TextBody.java | 22 import android.util.Base64; 40 out.write(Base64.encode(bytes, Base64.CRLF)); in writeTo()
|
D | BinaryTempFileBody.java | 25 import android.util.Base64; 74 out, Base64.CRLF | Base64.NO_CLOSE); in writeTo()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | TextBody.java | 18 import android.util.Base64; 37 out.write(Base64.encode(bytes, Base64.CRLF)); in writeTo()
|
D | BinaryTempFileBody.java | 18 import android.util.Base64; 69 Base64OutputStream base64Out = new Base64OutputStream(out, Base64.CRLF | Base64.NO_CLOSE); in writeTo()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 22 import android.util.Base64; 263 out, Base64.CRLF | Base64.NO_CLOSE); in writeOneAttachment() 383 out.write(Base64.encode(textBytes, Base64.CRLF)); in writeTextWithHeaders()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapConnection.java | 19 import android.util.Base64; 275 return new String(Base64.decode(string, Base64.DEFAULT)); in decodeBase64() 279 return Base64.encodeToString(string.getBytes(), Base64.NO_WRAP); in encodeBase64()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 121 import android.util.Base64; 702 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum() 703 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in buildTestPackageChecksum() 707 return Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in buildTestSignatureChecksum() 708 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in buildTestSignatureChecksum()
|
D | ExtrasProvisioningDataParserTest.java | 127 import android.util.Base64; 940 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum() 941 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in buildTestPackageChecksum() 965 return Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in buildTestSignatureChecksum() 966 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in buildTestSignatureChecksum()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionUtils.java | 23 import android.util.Base64; 59 return Base64.encodeToString(md5Bytes, Base64.DEFAULT); in getFingerprintFor()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyConfigJobService.java | 29 import android.util.Base64; 112 final byte[] config = Base64.decode(rawConfig, Base64.DEFAULT); in checkAnomalyConfig()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 40 import android.util.Base64; 200 writer.println(Base64.encodeToString( in dumpActivity() 201 out.toByteArray(), Base64.NO_WRAP | Base64.NO_PADDING)); in dumpActivity()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 26 import android.util.Base64; 455 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getEncodedNai() 457 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getEncodedNai()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyConfigJobService.java | 29 import android.util.Base64; 112 final byte[] config = Base64.decode(rawConfig, Base64.DEFAULT); in checkAnomalyConfig()
|
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/ |
D | PhoneUnlockController.java | 27 import android.util.Base64; 96 byte[] token = Base64.decode(prefs.getString(mEscrowTokenKey, null), Base64.DEFAULT); in sendUnlockRequest()
|
D | PhoneEnrolmentController.java | 27 import android.util.Base64; 124 String byteArray = Base64.encodeToString(token, Base64.DEFAULT); in storeToken()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 29 import android.util.Base64; 527 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getNai() 529 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getNai()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Base64Body.java | 18 import android.util.Base64; 55 final Base64OutputStream b64out = new Base64OutputStream(out, Base64.DEFAULT); in writeTo()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Base64Body.java | 19 import android.util.Base64; 57 final Base64OutputStream b64out = new Base64OutputStream(out, Base64.DEFAULT); in writeTo()
|