/packages/modules/Wifi/framework/java/android/net/wifi/util/ |
D | HexEncoding.java | 42 public static String encodeToString(byte b, boolean upperCase) { in encodeToString() method in HexEncoding 90 public static String encodeToString(byte[] data) { in encodeToString() method in HexEncoding 91 return encodeToString(data, true /* upperCase */); in encodeToString() 97 public static String encodeToString(byte[] data, boolean upperCase) { in encodeToString() method in HexEncoding
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | HexEncodingTest.java | 21 import static android.net.wifi.util.HexEncoding.encodeToString; 49 String actualUpper = encodeToString(toEncode.byteValue(), true /* upperCase */); in testEncodeByte() 52 String actualLower = encodeToString(toEncode.byteValue(), false /* upperCase */); in testEncodeByte()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkTestUtils.kt | 24 import libcore.util.HexEncoding.encodeToString 79 encodeToString(neighAddr.address) +
|
D | StructNdOptPref64Test.java | 67 String actual = HexEncoding.encodeToString(opt.toByteBuffer().array()); in assertToByteBufferMatches()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/ |
D | PasspointTestUtils.java | 107 Base64.encodeToString("password".getBytes(), Base64.DEFAULT)); in createPolicy() 124 Base64.encodeToString("subPassword".getBytes(), Base64.DEFAULT)); in createSubscriptionUpdate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 417 .encodeToString(wifiConf.enterpriseConfig.getCaCertificate().getEncoded())); in assertCertificateInformation() 421 .encodeToString(wifiConf.enterpriseConfig.getClientPrivateKey().getEncoded())); in assertCertificateInformation() 442 encodedCertChain.append(Base64.getEncoder().encodeToString(certificate.getEncoded())); in buildEncodedCertificateChain()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCarrierInfoManagerTest.java | 574 String encryptedImsi = Base64.encodeToString(permanentIdentity.getBytes(), 0, in getEncryptedIdentity_WithRfc4648() 702 return Base64.encodeToString(challengeLengthAndValue, android.util.Base64.NO_WRAP); in createSimChallengeRequest() 709 return Base64.encodeToString(challengeValue, android.util.Base64.NO_WRAP); in create2gUsimChallengeRequest() 727 return Base64.encodeToString(result, Base64.NO_WRAP); in createGsmSimAuthResponse() 743 return Base64.encodeToString(result, Base64.NO_WRAP); in create2gUsimAuthResponse() 888 return Base64.encodeToString(result, Base64.NO_WRAP); in create3GSimAuthUmtsAuthResponse() 899 return Base64.encodeToString(result, Base64.NO_WRAP); in create3GSimAuthUmtsAutsResponse() 932 .thenReturn(Base64.encodeToString(new byte[] {(byte) 0xdc}, Base64.NO_WRAP)); in get3GAuthResponseIccAuthenticationTooShort() 946 .thenReturn(Base64.encodeToString(new byte[] {0x31, 0x1, 0x2, 0x3, 0x4}, in get3GAuthResponseBadTag()
|
D | WifiConfigStoreTest.java | 902 HexEncoding.encodeToString(encryptedData), in testReadVersion2StoreFile() 903 HexEncoding.encodeToString(iv), in testReadVersion2StoreFile() 907 HexEncoding.encodeToString(encryptedData), in testReadVersion2StoreFile() 908 HexEncoding.encodeToString(iv), in testReadVersion2StoreFile()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionUtils.java | 59 return Base64.encodeToString(md5Bytes, Base64.DEFAULT); in getFingerprintFor()
|
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | WebViewFragment.java | 65 String encodedHtml = Base64.encodeToString(webViewHtml.getBytes(), Base64.NO_PADDING); in onCreateView()
|
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/ |
D | TokenViewModel.java | 52 final String nonce = Base64.encodeToString(nonceBytes, Base64.DEFAULT); in requestAccessToken()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothFastPairTest.java | 109 .encodeToString(TEST_PUBLIC_KEY_A); 111 .encodeToString(TEST_PRIVATE_KEY_B);
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | ServerInterface.java | 61 + Base64.encodeToString(challenge, Base64.URL_SAFE)); in requestSignedCertificates()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TestCommandProvider.java | 118 String path = Base64.encodeToString(uri.getPath().getBytes(), in openFile()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 122 final String encodedBytes = Base64.encodeToString(value, Base64.DEFAULT); in putBytes()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 879 return Base64.encodeToString(encryptedBytes, 0, encryptedBytes.length, encodingFlag); in encryptDataUsingPublicKey() 1157 String base64Challenge = Base64.encodeToString(rand, Base64.NO_WRAP); in getGsmAuthResponseWithLength() 1230 String base64Challenge = Base64.encodeToString(rand, Base64.NO_WRAP); in getGsmSimpleSimNoLengthAuthResponse() 1316 String base64Challenge = Base64.encodeToString(concatHex(rand, authn), Base64.NO_WRAP); in get3GAuthResponse()
|
D | WifiDiagnostics.java | 754 result = android.util.Base64.encodeToString(input, Base64.DEFAULT); in compressToBase64() 764 result = android.util.Base64.encodeToString( in compressToBase64()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | StoreUtils.java | 139 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in byteArrayToString()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 85 Base64.encodeToString("password".getBytes(), Base64.DEFAULT)); in createPolicy()
|
D | UpdateParameterTest.java | 58 Base64.encodeToString("password".getBytes(), Base64.DEFAULT)); in createUpdateParameter()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
D | BluetoothKeystoreService.java | 602 String checksumDataBase64 = mEncoder.encodeToString(allBytes); in readChecksumFile() 732 outputBase64 = mEncoder.encodeToString(outputBytes); in encrypt()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | DigestMd5Utils.java | 91 return Base64.encodeToString(rawBytes, Base64.NO_WRAP); in createCnonce()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 702 return Base64.encodeToString(TEST_PACKAGE_CHECKSUM, in buildTestPackageChecksum() 707 return Base64.encodeToString(TEST_SIGNATURE_CHECKSUM, in buildTestSignatureChecksum()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapConnection.java | 279 return Base64.encodeToString(string.getBytes(), Base64.NO_WRAP); in encodeBase64()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachine.java | 196 String base64Challenge = Base64.encodeToString(formattedChallenge, Base64.NO_WRAP); in processUiccAuthentication()
|