/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 41 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/ |
D | Base64.java | 454 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/ |
D | BackupDataTest.java | 193 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/ |
D | ESTHandler.java | 214 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/ |
D | WifiLogger.java | 555 result = android.util.Base64.encodeToString(input, Base64.DEFAULT); in compressToBase64() 565 result = android.util.Base64.encodeToString( in compressToBase64()
|
D | WifiMetrics.java | 816 String metricsProtoDump = Base64.encodeToString(wifiMetricsProto, Base64.DEFAULT); in dump()
|
D | WifiStateMachine.java | 7888 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/ |
D | ConfigBuilder.java | 155 String alias = Base64.encodeToString(reference, Base64.DEFAULT); in buildTLSConfig()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 235 Base64.encodeToString( in testWithSignatures() 238 Base64.encodeToString( in testWithSignatures()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | ConfigBuilder.java | 293 String alias = Base64.encodeToString(reference, Base64.DEFAULT); in buildTLSConfig()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccRecords.java | 698 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/ |
D | WifiStateMachineTest.java | 1022 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/ |
D | SettingsState.java | 654 return Base64.encodeToString(toBytes(s), Base64.NO_WRAP); in base64Encode()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 711 Base64.encodeToString(service.getTxtRecord(), Base64.DEFAULT) in registerService()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | PasspointManagementObjectManager.java | 560 Base64.encodeToString(cred.getPassword().getBytes(StandardCharsets.UTF_8), in buildHomeSPTree()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOManager.java | 601 Base64.encodeToString(cred.getPassword().getBytes(StandardCharsets.UTF_8), in buildHomeSPTree()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 1638 out.attribute(null, name, Base64.encodeToString(value, Base64.DEFAULT)); in writeByteArrayAttribute()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31397 method public static java.lang.String encodeToString(byte[], int); 31398 method public static java.lang.String encodeToString(byte[], int, int, int);
|
/frameworks/base/api/ |
D | current.txt | 40059 method public static java.lang.String encodeToString(byte[], int); 40060 method public static java.lang.String encodeToString(byte[], int, int, int);
|
D | system-current.txt | 43059 method public static java.lang.String encodeToString(byte[], int); 43060 method public static java.lang.String encodeToString(byte[], int, int, int);
|
D | test-current.txt | 40138 method public static java.lang.String encodeToString(byte[], int); 40139 method public static java.lang.String encodeToString(byte[], int, int, int);
|