/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/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 58 import android.util.Base64; 260 Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in setTestDeviceAdminDownload() 261 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP)); in setTestDeviceAdminDownload() 264 Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in setTestDeviceAdminDownload() 265 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP)); in setTestDeviceAdminDownload()
|
D | ExtrasProvisioningDataParserTest.java | 63 import android.util.Base64; 456 Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in getTestDeviceAdminDownloadExtras() 457 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP)); in getTestDeviceAdminDownloadExtras() 460 Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in getTestDeviceAdminDownloadExtras() 461 Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP)); in getTestDeviceAdminDownloadExtras()
|
/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/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()
|
D | MimeUtility.java | 20 import android.util.Base64; 331 in = new Base64InputStream(in, Base64.DEFAULT); in getInputStreamForContentTransferEncoding()
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
D | TextBody.java | 18 import android.util.Base64; 39 out.write(Base64.encode(bytes, Base64.CRLF)); in writeTo()
|
D | BinaryTempFileBody.java | 24 import android.util.Base64; 73 out, Base64.CRLF | Base64.NO_CLOSE); in writeTo()
|
D | MimeUtility.java | 19 import android.util.Base64; 330 in = new Base64InputStream(in, Base64.DEFAULT); in getInputStreamForContentTransferEncoding()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 65 import android.util.Base64; 315 return Base64.decode(s, Base64.URL_SAFE); in stringToByteArray() 327 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in byteArrayToString()
|
/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/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupHelper.java | 39 import android.util.Base64; 494 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreFavorite() 544 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreScreen() 631 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreIcon() 722 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in restoreWidget() 768 return Base64.encodeToString(Key.toByteArray(key), Base64.NO_WRAP); in keyToBackupKey() 774 Key key = Key.parseFrom(Base64.decode(backupKey, Base64.DEFAULT)); in backupKeyToKey()
|
D | InstallShortcutReceiver.java | 29 import android.util.Base64; 334 Base64.encodeToString( in encodeToString() 335 iconByteArray, 0, iconByteArray.length, Base64.DEFAULT)); in encodeToString() 397 byte[] iconArray = Base64.decode(iconBase64, Base64.DEFAULT); in decode()
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
D | Base64Body.java | 18 import android.util.Base64; 56 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()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 27 import android.util.Base64; 92 Base64.encodeToString( in addToInstallQueue() 93 iconByteArray, 0, iconByteArray.length, Base64.DEFAULT)); in addToInstallQueue() 130 byte[] iconArray = Base64.decode(iconBase64, Base64.DEFAULT); in getAndClearInstallQueue()
|
/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/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 28 import android.util.Base64; 502 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getNai() 504 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getNai()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GoogleCalendarUriIntentFilter.java | 35 import android.util.Base64; 77 byte[] decodedBytes = Base64.decode(eidParam, Base64.DEFAULT); in extractEidAndEmail()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 29 import android.util.Base64; 113 sb.append(Base64.encodeToString(mData, Base64.DEFAULT)).append("\r\n"); in encode() 658 return Base64.decode(body, Base64.DEFAULT); in decodeBody()
|
D | BluetoothMapUtils.java | 18 import android.util.Base64; 459 str = new String(Base64.decode(encodedText.getBytes(charset), in stripEncoding() 460 Base64.DEFAULT), charset); in stripEncoding()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapConnection.java | 20 import android.util.Base64; 117 Base64.encodeToString(oauthCode.getBytes(), Base64.NO_WRAP); in getLoginPhrase()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Log.java | 27 import android.util.Base64; 574 return Base64.encodeToString(idByteArray, Base64.NO_WRAP | Base64.NO_PADDING); in getBase64Encoding()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/ |
D | ImapHelper.java | 29 import android.util.Base64; 591 return Base64.decode(out.toByteArray(), Base64.DEFAULT); in getDataFromBody()
|