Home
last modified time | relevance | path

Searched refs:getModelNames (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/
DResultIdUtilsTest.java69 assertThat(ResultIdUtils.getModelNames("a|b")).isEmpty(); in getModelName_invalid()
73 public void getModelNames() { in getModelNames() method in ResultIdUtilsTest
74 assertThat(ResultIdUtils.getModelNames("androidtc|;en_v703;;zh_v101;|12344")) in getModelNames()
81 assertThat(ResultIdUtils.getModelNames("a|b")).isEmpty(); in getModelNames_invalid()
82 assertThat(ResultIdUtils.getModelNames("a|b|c|d")).isEmpty(); in getModelNames_invalid()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java71 ImmutableList<String> modelNames = getModelNames(event); in logTextSelectionEvent()
105 ImmutableList<String> modelNames = getModelNames(event); in logTextLinkifyEvent()
130 ImmutableList<String> modelNames = ResultIdUtils.getModelNames(resultId); in logConversationActionsEvent()
162 .writeString(getItemAt(getModelNames(event), /* index= */ 0, /* defaultValue= */ null)) in logLanguageDetectionEvent()
215 private static ImmutableList<String> getModelNames(TextClassifierEvent event) { in getModelNames() method in TextClassifierEventLogger
219 return ResultIdUtils.getModelNames(event.getResultId()); in getModelNames()
/external/libtextclassifier/java/src/com/android/textclassifier/common/logging/
DResultIdUtils.java74 public static ImmutableList<String> getModelNames(@Nullable String signature) { in getModelNames() method in ResultIdUtils