Lines Matching refs:stringutils
34 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);
1129 static_assert(mediametrics::stringutils::InverseBase64UrlTable['@'] ==
1130 mediametrics::stringutils::Transpose::INVALID_CHAR);
1131 static_assert(mediametrics::stringutils::InverseBase64UrlTable['#'] ==
1132 mediametrics::stringutils::Transpose::INVALID_CHAR);
1133 static_assert(!mediametrics::stringutils::isBase64Url("!@#"));
1135 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!"));
1142 ASSERT_EQ("", mediametrics::stringutils::sanitizeLogSessionId("abc")); in TEST()
1146 ASSERT_EQ(validId, mediametrics::stringutils::sanitizeLogSessionId(validId)); in TEST()
1149 ASSERT_EQ("", mediametrics::stringutils::sanitizeLogSessionId(validId + "A")); in TEST()
1152 ASSERT_EQ(validId2, mediametrics::stringutils::sanitizeLogSessionId(validId2)); in TEST()
1155 ASSERT_EQ("", mediametrics::stringutils::sanitizeLogSessionId(validId.c_str() + 1)); in TEST()
1159 ASSERT_EQ("", mediametrics::stringutils::sanitizeLogSessionId(validId2)); in TEST()