Home
last modified time | relevance | path

Searched refs:isLogSessionId (Results 1 – 4 of 4) 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()
DMediaMetricsService.cpp214 && mediametrics::stringutils::isLogSessionId(logSessionId.c_str())) { in submitInternal()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DStringUtils.h160 inline constexpr bool isLogSessionId(const char *s) { in isLogSessionId() function
166 if (isLogSessionId(string.c_str())) return string; in sanitizeLogSessionId()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp1135 static_assert(mediametrics::stringutils::isLogSessionId("0123456789abcdef"));
1136 static_assert(!mediametrics::stringutils::isLogSessionId("abc"));
1137 static_assert(!mediametrics::stringutils::isLogSessionId("!@#"));
1138 static_assert(!mediametrics::stringutils::isLogSessionId("0123456789abcde!"));