Home
last modified time | relevance | path

Searched refs:decodeString (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java47 private String decodeString(String in) throws Exception { in decodeString() method in Base64Test
58 String dec = decodeString(b64); in encodeToString()
91 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars()
96 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk ")); in testDecodeExtraChars()
97 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k ")); in testDecodeExtraChars()
98 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk ")); in testDecodeExtraChars()
99 assertEquals("hello, world", decodeString(" a GVsb G8sI Hdvc mxk ")); in testDecodeExtraChars()
100 assertEquals("hello, world", decodeString(" a G V s b G 8 s I H d v c m x k ")); in testDecodeExtraChars()
101 assertEquals("hello, world", decodeString("_a*G_V*s_b*G_8*s_I*H_d*v_c*m_x*k_")); in testDecodeExtraChars()
102 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars()
[all …]
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp372 status_t decodeString(InputHidlVec* input, std::string* output) { in decodeString() function
436 status_t err = decodeString(input, &output->name); in decodeExtendableType()
473 status_t err = decodeString(input, &name); in decodeMetadataType()
593 status_t err = decodeString(input, &name); in decodeBufferDescriptorInfoHelper()
957 return decodeMetadata(MetadataType_Name, name, outName, decodeString); in decodeName()
1214 status_t decodeString(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, in decodeString() function
1216 return decodeMetadata(metadataType, input, output, decodeString); in decodeString()
/frameworks/native/libs/gralloc/types/fuzzer/
Dgralloctypes.cpp88 GRALLOCTYPES_DECODE_VENDOR_HELPER(std::string, ::android::gralloc4::decodeString),
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h389 status_t decodeString(
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp245 …L_FAILURE(testHelperMetadataTypeConst(GetParam(), gralloc4::encodeString, gralloc4::decodeString)); in TEST_P()