Searched refs:decodeString (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 32 private String decodeString(String in) throws Exception { in decodeString() method in Base64Test 43 String dec = decodeString(b64); in encodeToString() 83 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars() 88 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk ")); in testDecodeExtraChars() 89 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k ")); in testDecodeExtraChars() 90 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk ")); in testDecodeExtraChars() 91 assertEquals("hello, world", decodeString(" a GVsb G8sI Hdvc mxk ")); in testDecodeExtraChars() 92 assertEquals("hello, world", decodeString(" a G V s b G 8 s I H d v c m x k ")); in testDecodeExtraChars() 93 assertEquals("hello, world", decodeString("_a*G_V*s_b*G_8*s_I*H_d*v_c*m_x*k_")); in testDecodeExtraChars() 94 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars() [all …]
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 533 static private String decodeString(String original, boolean isHex, int coding) in decodeString() method in GpsNetInitiatedHandler 570 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifTicker() 571 decodeString(notif.text, mIsHexInput, notif.textEncoding)); in getNotifTicker() 586 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifMessage() 587 decodeString(notif.text, mIsHexInput, notif.textEncoding)); in getNotifMessage()
|