Home
last modified time | relevance | path

Searched refs:encodeToString (Results 1 – 21 of 21) 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/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java214 String data = Base64.encodeToString(csrData, Base64.DEFAULT); in execute()
355 Base64.encodeToString(tlsUnique, Base64.DEFAULT))); in buildCSR()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLogger.java555 result = android.util.Base64.encodeToString(input, Base64.DEFAULT); in compressToBase64()
565 result = android.util.Base64.encodeToString( in compressToBase64()
DWifiMetrics.java816 String metricsProtoDump = Base64.encodeToString(wifiMetricsProto, Base64.DEFAULT); in dump()
DWifiStateMachine.java7888 String base64Challenge = android.util.Base64.encodeToString( in getGsmSimAuthResponse()
7986 String base64Challenge = android.util.Base64.encodeToString( in handle3GAuthRequest()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java155 String alias = Base64.encodeToString(reference, Base64.DEFAULT); in buildTLSConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java235 Base64.encodeToString( in testWithSignatures()
238 Base64.encodeToString( in testWithSignatures()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java293 String alias = Base64.encodeToString(reference, Base64.DEFAULT); in buildTLSConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java698 return android.util.Base64.encodeToString(auth_rsp.payload, android.util.Base64.NO_WRAP); in getIccSimChallengeResponse()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java1022 return Base64.encodeToString(challengeLengthAndValue, android.util.Base64.NO_WRAP); in createSimChallengeRequest()
1038 return Base64.encodeToString(result, Base64.NO_WRAP); in createSimAuthResponse()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java654 return Base64.encodeToString(toBytes(s), Base64.NO_WRAP); in base64Encode()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java711 Base64.encodeToString(service.getTxtRecord(), Base64.DEFAULT) in registerService()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DPasspointManagementObjectManager.java560 Base64.encodeToString(cred.getPassword().getBytes(StandardCharsets.UTF_8), in buildHomeSPTree()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOManager.java601 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/opt/setupwizard/tools/docs/
Dandroid-22.txt31397 method public static java.lang.String encodeToString(byte[], int);
31398 method public static java.lang.String encodeToString(byte[], int, int, int);
/frameworks/base/api/
Dcurrent.txt40059 method public static java.lang.String encodeToString(byte[], int);
40060 method public static java.lang.String encodeToString(byte[], int, int, int);
Dsystem-current.txt43059 method public static java.lang.String encodeToString(byte[], int);
43060 method public static java.lang.String encodeToString(byte[], int, int, int);
Dtest-current.txt40138 method public static java.lang.String encodeToString(byte[], int);
40139 method public static java.lang.String encodeToString(byte[], int, int, int);