Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java170 assertEquals("YQ==", encodeToString("a", Base64.NO_WRAP)); in testFlags()
172 assertEquals("YQ", encodeToString("a", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
177 assertEquals("YWI=", encodeToString("ab", Base64.NO_WRAP)); in testFlags()
179 assertEquals("YWI", encodeToString("ab", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
184 assertEquals("YWJj", encodeToString("abc", Base64.NO_WRAP)); in testFlags()
186 assertEquals("YWJj", encodeToString("abc", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
191 assertEquals("YWJjZA==", encodeToString("abcd", Base64.NO_WRAP)); in testFlags()
193 assertEquals("YWJjZA", encodeToString("abcd", Base64.NO_PADDING | Base64.NO_WRAP)); in testFlags()
231 assertEquals(out_56.replaceAll("\n", ""), encodeToString(in_56, Base64.NO_WRAP)); in testLineLength()
232 assertEquals(out_57.replaceAll("\n", ""), encodeToString(in_57, Base64.NO_WRAP)); in testLineLength()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java141 permanentIdentity.getBytes().length, Base64.NO_WRAP); in getEncryptedIdentity_WithRfc4648()
300 return Base64.encodeToString(challengeLengthAndValue, android.util.Base64.NO_WRAP); in createSimChallengeRequest()
307 return Base64.encodeToString(challengeValue, android.util.Base64.NO_WRAP); in create2gUsimChallengeRequest()
325 return Base64.encodeToString(result, Base64.NO_WRAP); in createGsmSimAuthResponse()
341 return Base64.encodeToString(result, Base64.NO_WRAP); in create2gUsimAuthResponse()
465 return Base64.encodeToString(result, Base64.NO_WRAP); in create3GSimAuthUmtsAuthResponse()
476 return Base64.encodeToString(result, Base64.NO_WRAP); in create3GSimAuthUmtsAutsResponse()
504 .thenReturn(Base64.encodeToString(new byte[] {(byte) 0xdc}, Base64.NO_WRAP)); in get3GAuthResponseIccAuthenticationTooShort()
517 Base64.NO_WRAP)); in get3GAuthResponseBadTag()
/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.java44 public static final int NO_WRAP = 2; field in Base64
586 do_newline = (flags & NO_WRAP) == 0; in Encoder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java223 imsiEncryptionInfo.getPublicKey(), identity.getBytes(), Base64.NO_WRAP); in buildEncryptedIdentity()
498 String base64Challenge = Base64.encodeToString(rand, Base64.NO_WRAP); in getGsmAuthResponseWithLength()
571 String base64Challenge = Base64.encodeToString(rand, Base64.NO_WRAP); in getGsmSimpleSimNoLengthAuthResponse()
650 String base64Challenge = Base64.encodeToString(concatHex(rand, authn), Base64.NO_WRAP); in get3GAuthResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPackageBasedTokenUtil.java104 token = Base64.encodeToString(hashSignatures, Base64.NO_PADDING | Base64.NO_WRAP); in generatePackageBasedToken()
DAppSmsManager.java264 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/telephony/java/android/telephony/
DRlog.java160 result, Base64.URL_SAFE | Base64.NO_PADDING | Base64.NO_WRAP); in secureHash()
/frameworks/base/core/java/android/view/textclassifier/
DActionsModelParamsSupplier.java117 Base64.decode(serializedPreconditionsStr, Base64.NO_WRAP); in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java247 configArr[ENCODED_SSID_INDEX], Base64.NO_WRAP)); in processNetworkConfig()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java67 private static final int BASE64_FLAGS = Base64.NO_PADDING | Base64.NO_WRAP;
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java387 return Base64.encodeToString(idByteArray, Base64.NO_WRAP | Base64.NO_PADDING); in getBase64Encoding()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java380 return Base64.encodeToString(digest.digest(), Base64.URL_SAFE | Base64.NO_WRAP); in getHash()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java337 String base64Key = new String(Base64.encode(key.getBytes(), Base64.NO_WRAP)); in parseBackupStream()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java601 return new String(Base64.encode(k.getEncoded(), Base64.NO_WRAP)); in encodePublicKey()
DPackageManagerService.java16015 String suffix = Base64.encodeToString(bytes, Base64.URL_SAFE | Base64.NO_WRAP);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java1125 return android.util.Base64.encodeToString(auth_rsp.payload, android.util.Base64.NO_WRAP); in getIccSimChallengeResponse()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1094 return Base64.encodeToString(toBytes(s), Base64.NO_WRAP); in base64Encode()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1315 final String photoString = new String(Base64.encode(data, Base64.NO_WRAP)); in appendPhotos()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31403 field public static final int NO_WRAP = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt47800 field public static final int NO_WRAP = 2; // 0x2