Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java39 private String decodeString(String in) throws Exception { in decodeString() method in Base64Test
50 String dec = decodeString(b64); in encodeToString()
90 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars()
95 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk ")); in testDecodeExtraChars()
96 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k ")); in testDecodeExtraChars()
97 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk ")); in testDecodeExtraChars()
101 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars()
105 assertEquals("hello, world?!", decodeString("aGVsbG8sIHdvcmxkPyE")); in testDecodeExtraChars()
117 assertEquals("hello, world.", decodeString("aGVsbG8sIHdvcmxkLg==")); in testDecodeExtraChars()
118 assertEquals("hello, world.", decodeString("aGVsbG8sIHdvcmxkLg")); in testDecodeExtraChars()
[all …]
/aosp12/system/chre/apps/test/common/chre_cross_validator_wifi/src/
H A Dwifi_scan_result.cc32 wifiScanResultProto.ssid = {.funcs = {.decode = decodeString}, .arg = mSsid}; in WifiScanResult()
33 wifiScanResultProto.bssid = {.funcs = {.decode = decodeString}, in WifiScanResult()
63 bool WifiScanResult::decodeString(pb_istream_t *stream, in decodeString() function in WifiScanResult
/aosp12/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java557 static private String decodeString(String original, boolean isHex, int coding) in decodeString() method in GpsNetInitiatedHandler
585 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifTicker()
586 decodeString(notif.text, mIsHexInput, notif.textEncoding)); in getNotifTicker()
601 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifMessage()
602 decodeString(notif.text, mIsHexInput, notif.textEncoding)); in getNotifMessage()
/aosp12/system/chre/apps/test/common/chre_cross_validator_wifi/inc/
H A Dwifi_scan_result.h85 static bool decodeString(pb_istream_t *stream, const pb_field_t * /*field*/,
/aosp12/frameworks/native/libs/gralloc/types/
H A 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()
1202 status_t decodeString(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, in decodeString() function
1204 return decodeMetadata(metadataType, input, output, decodeString); in decodeString()
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DHidRawSensor.cpp472 if (decodeString(r, buffer, &str) && !str.empty()) { in populateFeatureValueFromFeatureReport()
481 if (decodeString(r, buffer, &str) && !str.empty()) { in populateFeatureValueFromFeatureReport()
490 if (decodeString(r, buffer, &str) && !str.empty()) { in populateFeatureValueFromFeatureReport()
495 if (decodeString(r, buffer, &str)) { in populateFeatureValueFromFeatureReport()
579 bool HidRawSensor::decodeString( in decodeString() function in android::SensorHalExt::HidRawSensor
H A DHidRawSensor.h106 static bool decodeString(
/aosp12/frameworks/native/libs/gralloc/types/fuzzer/
H A Dgralloctypes.cpp88 GRALLOCTYPES_DECODE_VENDOR_HELPER(std::string, ::android::gralloc4::decodeString),
/aosp12/frameworks/native/libs/gralloc/types/include/gralloctypes/
H A DGralloc4.h378 status_t decodeString(
/aosp12/frameworks/native/libs/gralloc/types/tests/
H A DGralloc4_test.cpp245 …L_FAILURE(testHelperMetadataTypeConst(GetParam(), gralloc4::encodeString, gralloc4::decodeString)); in TEST_P()
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/
H A Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/aosp12/packages/apps/TV/libs/m2/
H A Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...