Home
last modified time | relevance | path

Searched refs:getSubString (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierUtilsTest.java44 assertThat(TextClassifier.Utils.getSubString(text, start, end, minimumLength)) in testGetSubString()
51 assertThat(TextClassifier.Utils.getSubString(text, start, end, minimumLength)) in testGetSubString()
58 assertThat(TextClassifier.Utils.getSubString(text, start, end, minimumLength)) in testGetSubString()
65 assertThat(TextClassifier.Utils.getSubString(text, start, end, minimumLength)) in testGetSubString()
70 assertThat(TextClassifier.Utils.getSubString(text, start, end, minimumLength)) in testGetSubString()
81 assertThrows(() -> TextClassifier.Utils.getSubString(null, 0, 1, minimumLength)); in testGetSubString_invalidParams()
83 assertThrows(() -> TextClassifier.Utils.getSubString(text, 6, 5, minimumLength)); in testGetSubString_invalidParams()
85 assertThrows(() -> TextClassifier.Utils.getSubString(text, -1, 5, minimumLength)); in testGetSubString_invalidParams()
87 assertThrows(() -> TextClassifier.Utils.getSubString(text, 6, length + 1, minimumLength)); in testGetSubString_invalidParams()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java684 public static String getSubString( in getSubString() method in TextClassifier.Utils
DTextClassifierImpl.java806 final String moreText = Utils.getSubString(text, start, end, minimumTextSize); in detectLanguages()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt45951 method public abstract java.lang.String getSubString(long, int) throws java.sql.SQLException;
/frameworks/base/api/
Dcurrent.txt65862 method public String getSubString(long, int) throws java.sql.SQLException;