Home
last modified time | relevance | path

Searched refs:stringutils (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/mediametrics/
DValidateId.cpp36 if (!mediametrics::stringutils::isLogSessionId(id.c_str())) { in registerId()
50 if (!mediametrics::stringutils::isLogSessionId(id.c_str())) { in validateId()
DAudioTypes.cpp352 const auto result = stringutils::split(flags, "|"); in int32FromFlags()
367 const auto result = stringutils::split(flags, "|"); in stringFromFlags()
386 const auto result = stringutils::split(str, "|"); in validateStringFromMap()
402 const auto result = stringutils::split(str, "|"); in flagsFromMap()
419 const auto result = stringutils::split(str, "|"); in vectorFromMap()
432 const auto result = stringutils::split(s, "|"); in channelMaskVectorFromString()
DStringUtils.cpp27 namespace android::mediametrics::stringutils { namespace
130 const auto devaddrvec = stringutils::getDeviceAddressPairs(devicePairs); in parseDevicePairs()
DAudioAnalytics.cpp304 stringutils::fieldPrint(ss, fields, args...); in printFields()
338 stringutils::fieldPrint(ss, fields, args...); in sendToStatsd()
608 const auto [prefixKey, suffixKey] = stringutils::splitPrefixKey(key); in processStatus()
840 stringutils::parseInputDevicePairs(inputDevicePairs); in endAudioIntervalGroup()
935 std::tie(deviceStatsd, devices) = stringutils::parseInputDevicePairs(devicePairs); in endAudioIntervalGroup()
940 std::tie(deviceStatsd, devices) = stringutils::parseOutputDevicePairs(devicePairs); in endAudioIntervalGroup()
988 stringutils::parseOutputDevicePairs(outputDevicePairs); in endAudioIntervalGroup()
1903 if (stringutils::hasBluetoothOutputDevice(devices)) { in getDeviceNamesFromOutputDevices()
1909 stringutils::replace(deviceNames, "|", '?'); in getDeviceNamesFromOutputDevices()
Dstatsd_drm.cpp231 << " framework_metrics:" << mediametrics::stringutils::bytesToString(framework_raw, 8) in statsd_mediadrm_puller()
232 << " vendor_metrics:" << mediametrics::stringutils::bytesToString(plugin_raw, 8) in statsd_mediadrm_puller()
DMediaMetricsService.cpp214 && mediametrics::stringutils::isLogSessionId(logSessionId.c_str())) { in submitInternal()
DAudioPowerUsage.cpp134 const auto devaddrvec = stringutils::getDeviceAddressPairs(device_strings); in deviceFromStringPairs()
Dstatsd_codec.cpp174 if (!mediametrics::stringutils::parseVector(str, vector)) { in parseVector()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp34 using android::mediametrics::stringutils::parseVector;
938 auto devaddr = android::mediametrics::stringutils::getDeviceAddressPairs("(DEVICE, )"); in TEST()
943 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
951 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
959 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
1124 static_assert(mediametrics::stringutils::isBase64Url("abc"));
1125 static_assert(mediametrics::stringutils::InverseBase64UrlTable['A'] == 0);
1126 static_assert(mediametrics::stringutils::InverseBase64UrlTable['a'] == 26);
1127 static_assert(mediametrics::stringutils::InverseBase64UrlTable['!'] ==
1128 mediametrics::stringutils::Transpose::INVALID_CHAR);
[all …]
/frameworks/av/services/mediametrics/include/mediametricsservice/
DStringUtils.h24 namespace android::mediametrics::stringutils {