Searched defs:decodeString (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java32 private String decodeString(String in) throws Exception { method in class:Base64Test
43 String dec = decodeString(b64);
83 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk"));
88 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk "));
89 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k "));
90 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk "));
91 assertEquals("hello, world", decodeString(" a GVsb G8sI Hdvc mxk "));
92 assertEquals("hello, world", decodeString(" a G V s b G 8 s I H d v c m x k "));
93 assertEquals("hello, world", decodeString("_a*G_V*s_b*G_8*s_I*H_d*v_c*m_x*k_"));
94 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmx
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java532 static private String decodeString(String original, boolean isHex, int coding) method in class:GpsNetInitiatedHandler
569 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding),
570 decodeString(notif.text, mIsHexInput, notif.textEncoding));
585 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding),
586 decodeString(notif.text, mIsHexInput, notif.textEncoding));

Completed in 92 milliseconds