Home
last modified time | relevance | path

Searched refs:MATCHER (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/search/
DStringMatcherUtilityTest.java41 private static final StringMatcher MATCHER = StringMatcher.getInstance(); field in StringMatcherUtilityTest
46 assertTrue(matches("white", "white cow", MATCHER)); in testMatches()
47 assertTrue(matches("white ", "white cow", MATCHER)); in testMatches()
48 assertTrue(matches("white c", "white cow", MATCHER)); in testMatches()
49 assertTrue(matches("cow", "white cow", MATCHER)); in testMatches()
50 assertTrue(matches("cow", "whiteCow", MATCHER)); in testMatches()
51 assertTrue(matches("cow", "whiteCOW", MATCHER)); in testMatches()
52 assertTrue(matches("cow", "whitecowCOW", MATCHER)); in testMatches()
53 assertTrue(matches("cow", "white2cow", MATCHER)); in testMatches()
55 assertFalse(matches("cow", "whitecow", MATCHER)); in testMatches()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java86 return Matchers.present(mColumnBot.MATCHER); in isHeaderShow()
90 assertFalse(Matchers.present(mColumnBot.MATCHER)); in assertHeaderHide()
101 assertTrue(Matchers.present(mColumnBot.MATCHER)); in assertHeaderShow()
131 private static final Matcher<View> MATCHER = withId(R.id.table_header); field in SortBot.ColumnSortBot
136 isDescendantOfA(MATCHER)); in sortBy()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickCountRecordProvider.java34 private static final UriMatcher MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in PickCountRecordProvider
47 MATCHER.addURI(AUTHORITY, "pickCountRecord/*", URI_PICK_RECORD); in MATCHER.addURI()
103 if (MATCHER.match(uri) != URI_PICK_RECORD) { in query()
114 if (MATCHER.match(uri) != URI_PICK_RECORD) { in insert()
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
Dtest_input.py3 from parser.input import MATCHER, MATCHER_FOR_OLD
7 m = MATCHER.match(line)
/packages/services/Car/service/src/com/android/car/
DCarLog.java29 private static final String MATCHER = ".*Car([A-Z].*|$)"; field in CarLog
55 if (tag.matches(MATCHER)) return tag; in tagFor()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ui/
DBubbleTextViewTest.java75 MATCHER = StringMatcherUtility.StringMatcher.getInstance(); field in BubbleTextViewTest
295 TEST_STRING_WITH_SPACE_LONGER_THAN_CHAR_LIMIT, MATCHER); in modifyTitleToSupportMultiLine_TEST_STRING_WITH_SPACE_LONGER_THAN_CHAR_LIMIT()
309 TEST_LONG_STRING_NO_SPACE_LONGER_THAN_CHAR_LIMIT, MATCHER); in modifyTitleToSupportMultiLine_TEST_LONG_STRING_NO_SPACE_LONGER_THAN_CHAR_LIMIT()
322 TEST_LONG_STRING_WITH_SPACE_LONGER_THAN_CHAR_LIMIT, MATCHER); in modifyTitleToSupportMultiLine_TEST_LONG_STRING_WITH_SPACE_LONGER_THAN_CHAR_LIMIT()
336 TEST_LONG_STRING_SYMBOL_LONGER_THAN_CHAR_LIMIT, MATCHER); in modifyTitleToSupportMultiLine_TEST_LONG_STRING_SYMBOL_LONGER_THAN_CHAR_LIMIT()
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Dinput.py24 MATCHER = re.compile(r"^\s*([^ ].{1,15})-(\d+)\s+\(\s*([-0-9]+)\) .* (\d+\.\d+): tracing_mark_write… variable
58 m = MATCHER.match(line)
/packages/services/Car/cpp/watchdog/server/tests/
DUidProcStatsCollectorTestUtils.h28 MATCHER(CpuCyclesByTidEq, "") {
53 MATCHER(ProcessStatsByPidEq, "") {
DUidProcStatsCollectorTest.cpp45 MATCHER(UidProcStatsByUidEq, "") {
DIoOveruseConfigsTest.cpp117 MATCHER(ConfigsByFilepathsEq, "") {
/packages/modules/StatsD/lib/libstatsgtestmatchers/include/
Dgtest_matchers.h71 MATCHER(Eq##typename, " ") { \
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler_test.cc39 MATCHER(IsSet, "Future is set") {
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java112 private static final StringMatcherUtility.StringMatcher MATCHER = field in BubbleTextView
485 mBreakPointsIntArray = StringMatcherUtility.getListOfBreakpoints(label, MATCHER); in applyLabel()
/packages/modules/Bluetooth/system/gd/hci/
Dremote_name_request_test.cc48 MATCHER(IsSet, "Future is not set") {