Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java41 private String encodeToString(String in, int flags) throws Exception { in encodeToString() method in Base64Test
42 String b64 = Base64.encodeToString(in.getBytes(), flags); in encodeToString()
150 assertEquals("", Base64.encodeToString(BYTES, 0, 0, Base64.URL_SAFE)); in testWebSafe()
151 assertEquals("_w==\n", Base64.encodeToString(BYTES, 0, 1, Base64.URL_SAFE)); in testWebSafe()
152 assertEquals("_-4=\n", Base64.encodeToString(BYTES, 0, 2, Base64.URL_SAFE)); in testWebSafe()
153 assertEquals("_-7d\n", Base64.encodeToString(BYTES, 0, 3, Base64.URL_SAFE)); in testWebSafe()
154 assertEquals("_-7dzA==\n", Base64.encodeToString(BYTES, 0, 4, Base64.URL_SAFE)); in testWebSafe()
155 assertEquals("_-7dzLs=\n", Base64.encodeToString(BYTES, 0, 5, Base64.URL_SAFE)); in testWebSafe()
156 assertEquals("_-7dzLuq\n", Base64.encodeToString(BYTES, 0, 6, Base64.URL_SAFE)); in testWebSafe()
157 assertEquals("_-7dzLuqmQ==\n", Base64.encodeToString(BYTES, 0, 7, Base64.URL_SAFE)); in testWebSafe()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java454 public static String encodeToString(byte[] input, int flags) { in encodeToString() method in Base64
475 public static String encodeToString(byte[] input, int offset, int len, int flags) { in encodeToString() method in Base64
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java193 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadMockData()
223 Base64.encodeToString(buffer, 0, dataSize, Base64.NO_WRAP)); in testReadRealData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLogger.java431 result = android.util.Base64.encodeToString(input, Base64.DEFAULT); in compressToBase64()
441 result = android.util.Base64.encodeToString( in compressToBase64()
DWifiStateMachine.java9834 String base64Challenge = android.util.Base64.encodeToString( in handleGsmAuthRequest()
9901 String base64Challenge = android.util.Base64.encodeToString( in handle3GAuthRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java291 String alias = Base64.encodeToString(reference, Base64.DEFAULT); in buildTLSConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java679 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.java624 return Base64.encodeToString(toBytes(s), Base64.NO_WRAP); in base64Encode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMOManager.java430 Base64.encodeToString(cred.getPassword().getBytes(StandardCharsets.UTF_8), in buildHomeSPTree()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1638 out.attribute(null, name, Base64.encodeToString(value, Base64.DEFAULT)); in writeByteArrayAttribute()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt33921 method public static java.lang.String encodeToString(byte[], int);
33922 method public static java.lang.String encodeToString(byte[], int, int, int);
Dsystem-current.txt36213 method public static java.lang.String encodeToString(byte[], int);
36214 method public static java.lang.String encodeToString(byte[], int, int, int);