/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/ |
D | EapAkaChallengeTest.java | 137 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutRand() 147 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutAutn() 157 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutRandAndAutn() 167 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withCodeResponse() 177 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withWrongLength() 187 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withEapType99() 197 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withSubType99() 207 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withLengthOverData() 217 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withRandLength16() 227 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withAutnLength16() [all …]
|
D | EapAkaSecurityContextTest.java | 96 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongTag_throwsException() 114 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongResLength_throwsException() 123 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongCkLength_throwsException() 132 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongIkLength_throwsException() 142 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_validWithWrongKcLength() 154 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_noKcKey()
|
D | EapAkaResponseTest.java | 106 convertHexStringToBytes(EAP_AKA_CHALLENGE_RESPONSE), Base64.NO_WRAP); in generateEapAkaChallengeResponse_authSuccess() 124 convertHexStringToBytes(EAP_AKA_CHALLENGE_SYNC_FAILURE), Base64.NO_WRAP); in generateEapAkaChallengeResponse_syncFailure()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 174 assertEquals("YQ==", encodeToString("a", Base64.NO_WRAP)); in testFlags() 176 assertEquals("YQ", encodeToString("a", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags() 181 assertEquals("YWI=", encodeToString("ab", Base64.NO_WRAP)); in testFlags() 183 assertEquals("YWI", encodeToString("ab", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags() 188 assertEquals("YWJj", encodeToString("abc", Base64.NO_WRAP)); in testFlags() 190 assertEquals("YWJj", encodeToString("abc", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags() 195 assertEquals("YWJjZA==", encodeToString("abcd", Base64.NO_WRAP)); in testFlags() 197 assertEquals("YWJjZA", encodeToString("abcd", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags() 236 assertEquals(out_56.replaceAll("\n", ""), encodeToString(in_56, Base64.NO_WRAP)); in testLineLength() 237 assertEquals(out_57.replaceAll("\n", ""), encodeToString(in_57, Base64.NO_WRAP)); in testLineLength() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothLeBroadcastMetadataExt.kt | 77 this.broadcastName?.toByteArray(Charsets.UTF_8), Base64.NO_WRAP))) in <lambda>() 83 Base64.encodeToString(this.broadcastCode, Base64.NO_WRAP))) in <lambda>() 88 this.publicBroadcastMetadata?.rawMetadata, Base64.NO_WRAP))) in <lambda>() 113 Base64.encodeToString(it.contentMetadata.rawMetadata, Base64.NO_WRAP))) in <lambda>() 188 broadcastName = String(Base64.decode(value, Base64.NO_WRAP)) in <lambda>() 208 .toByteArray(), Base64.NO_WRAP) in <lambda>() 215 .fromRawBytes(Base64.decode(value, Base64.NO_WRAP)) in <lambda>() 252 subgroupMetadataList.add(Base64.decode(value, Base64.NO_WRAP)) in <lambda>()
|
/frameworks/base/core/java/android/util/ |
D | HashedStringCache.java | 117 hashText = Base64.encodeToString(bytes, 0, len, Base64.NO_PADDING | Base64.NO_WRAP); in hashString() 168 Base64.NO_PADDING | Base64.NO_WRAP); in populateSaltValues()
|
D | Base64.java | 46 public static final int NO_WRAP = 2; field in Base64 588 do_newline = (flags & NO_WRAP) == 0; in Encoder()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/ |
D | EapAkaResponse.java | 131 result.mResponse = Base64.encodeToString(challengeResponse, Base64.NO_WRAP).trim(); in respondToEapAkaChallenge() 139 Base64.encodeToString(syncFailure, Base64.NO_WRAP).trim(); in respondToEapAkaChallenge()
|
D | EapAkaChallenge.java | 203 return Base64.encodeToString(challengeData, Base64.NO_WRAP).trim(); in getSimAuthChallengeData()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PackageBasedTokenUtil.java | 104 token = Base64.encodeToString(hashSignatures, Base64.NO_PADDING | Base64.NO_WRAP); in generatePackageBasedToken()
|
D | AppSmsManager.java | 243 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP | Base64.NO_PADDING); in generateNonce()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 186 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadMockData() 216 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadRealData()
|
/frameworks/base/core/java/android/telephony/ |
D | Rlog.java | 159 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
|
/frameworks/base/telephony/java/com/android/telephony/ |
D | Rlog.java | 228 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | SettingsStatsUtil.java | 143 final byte[] decode = Base64.decode(base64, Base64.NO_PADDING | Base64.NO_WRAP); in getList()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobAccessMode.java | 236 + Base64.encodeToString(certificate, Base64.NO_WRAP) + "]"; in toString()
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobHandle.java | 265 return Base64.encodeToString(digest, Base64.NO_WRAP); in encodeDigest()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BinaryXmlPullParser.java | 723 return Base64.encodeToString(valueBytes, Base64.NO_WRAP); in getValueString() 775 return Base64.decode(valueString, Base64.NO_WRAP); in getValueBytesBase64()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceShellCommand.java | 237 out.println(Base64.encodeToString(payload, Base64.NO_WRAP)); in onCommand() 243 byte[] payload = Base64.decode(getNextArgRequired(), Base64.NO_WRAP); in onCommand()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 379 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 69 private static final int BASE64_FLAGS = Base64.NO_PADDING | Base64.NO_WRAP;
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | SessionManager.java | 405 return Base64.encodeToString(idByteArray, Base64.NO_WRAP | Base64.NO_PADDING); in getBase64Encoding()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 695 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | UpdatableFontDir.java | 482 + Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP); in getRandomDir()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 1223 + Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP); in getNextCodePath() 1229 Base64.URL_SAFE | Base64.NO_WRAP); in getNextCodePath()
|