Home
last modified time | relevance | path

Searched refs:NO_WRAP (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaChallengeTest.java137 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 …]
DEapAkaSecurityContextTest.java96 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()
DEapAkaResponseTest.java106 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/
DBase64Test.java174 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/
DBluetoothLeBroadcastMetadataExt.kt77 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/
DHashedStringCache.java117 hashText = Base64.encodeToString(bytes, 0, len, Base64.NO_PADDING | Base64.NO_WRAP); in hashString()
168 Base64.NO_PADDING | Base64.NO_WRAP); in populateSaltValues()
DBase64.java46 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/
DEapAkaResponse.java131 result.mResponse = Base64.encodeToString(challengeResponse, Base64.NO_WRAP).trim(); in respondToEapAkaChallenge()
139 Base64.encodeToString(syncFailure, Base64.NO_WRAP).trim(); in respondToEapAkaChallenge()
DEapAkaChallenge.java203 return Base64.encodeToString(challengeData, Base64.NO_WRAP).trim(); in getSimAuthChallengeData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPackageBasedTokenUtil.java104 token = Base64.encodeToString(hashSignatures, Base64.NO_PADDING | Base64.NO_WRAP); in generatePackageBasedToken()
DAppSmsManager.java243 return Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP | Base64.NO_PADDING); in generateNonce()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java186 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/
DRlog.java159 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java228 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DSettingsStatsUtil.java143 final byte[] decode = Base64.decode(base64, Base64.NO_PADDING | Base64.NO_WRAP); in getList()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java236 + Base64.encodeToString(certificate, Base64.NO_WRAP) + "]"; in toString()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java265 return Base64.encodeToString(digest, Base64.NO_WRAP); in encodeDigest()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java723 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/
DCompanionDeviceShellCommand.java237 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/
DDownloadRequest.java379 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java69 private static final int BASE64_FLAGS = Base64.NO_PADDING | Base64.NO_WRAP;
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java405 return Base64.encodeToString(idByteArray, Base64.NO_WRAP | Base64.NO_PADDING); in getBase64Encoding()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java695 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DUpdatableFontDir.java482 + Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP); in getRandomDir()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1223 + Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP); in getNextCodePath()
1229 Base64.URL_SAFE | Base64.NO_WRAP); in getNextCodePath()

12