Home
last modified time | relevance | path

Searched refs:encodeToString (Results 1 – 24 of 24) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkTestUtils.kt22 import libcore.util.HexEncoding.encodeToString
77 encodeToString(neighAddr.address) +
DStructNdOptPref64Test.java67 String actual = HexEncoding.encodeToString(opt.toByteBuffer().array()); in assertToByteBufferMatches()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java418 .encodeToString(wifiConf.enterpriseConfig.getCaCertificate().getEncoded())); in assertCertificateInformation()
422 .encodeToString(wifiConf.enterpriseConfig.getClientPrivateKey().getEncoded())); in assertCertificateInformation()
443 encodedCertChain.append(Base64.getEncoder().encodeToString(certificate.getEncoded())); in buildEncodedCertificateChain()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java346 return new StringBuffer(Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT)) in encryptWithKeyStore()
348 .append(Base64.encodeToString(cipher.getIV(), Base64.DEFAULT)) in encryptWithKeyStore()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java175 return Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT) in encryptWithKeyStore()
177 + Base64.encodeToString(cipher.getIV(), Base64.DEFAULT); in encryptWithKeyStore()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java105 String encoded = info.encodeToString(); in addToQueue()
415 public String encodeToString() { in encodeToString() method in InstallShortcutReceiver.PendingInstallShortcutInfo
468 Base64.encodeToString( in encodeToString()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionUtils.java59 return Base64.encodeToString(md5Bytes, Base64.DEFAULT); in getFingerprintFor()
/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java122 final String encodedBytes = Base64.encodeToString(value, Base64.DEFAULT); in putBytes()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandReceiver.java127 String path = Base64.encodeToString(uri.getPath().getBytes(), in openFile()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java139 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in byteArrayToString()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java585 String checksumDataBase64 = mEncoder.encodeToString(allBytes); in readChecksumFile()
715 outputBase64 = mEncoder.encodeToString(outputBytes); in encrypt()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java250 alias, Base64.encodeToString(attestationChallenge, Base64.NO_WRAP),
686 return Base64.encodeToString(cert, Base64.NO_WRAP); in emptyOrBase64Encoded()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DDigestMd5Utils.java91 return Base64.encodeToString(rawBytes, Base64.NO_WRAP); in createCnonce()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java702 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum()
707 return Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in buildTestSignatureChecksum()
DExtrasProvisioningDataParserTest.java940 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum()
965 return Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in buildTestSignatureChecksum()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapConnection.java279 return Base64.encodeToString(string.getBytes(), Base64.NO_WRAP); in encodeBase64()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java204 writer.println(Base64.encodeToString( in dumpActivity()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java196 String base64Challenge = Base64.encodeToString(formattedChallenge, Base64.NO_WRAP); in processUiccAuthentication()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java255 + Base64.getEncoder().encodeToString(bytes.array()), e); in pollSocketsInfo()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java228 String serialized = Base64.getEncoder().encodeToString(MessageNano.toByteArray(playlist)); in saveState()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java119 sb.append(Base64.encodeToString(mData, Base64.DEFAULT)).append("\r\n"); in encode()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java662 String encodedProto = Base64.encodeToString( in dumpToEncodedProto()
DPhoneAccountRegistrar.java1495 String text = Base64.encodeToString(iconByteArray, 0, iconByteArray.length, 0);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3490 return Base64.encodeToString(hashResult, Base64.DEFAULT); in generateHashIdForData()