Home
last modified time | relevance | path

Searched defs:matcher (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/os/
DPatternMatcherTest.java33 PatternMatcher matcher = new PatternMatcher(".", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesAnyToken() local
41 PatternMatcher matcher = new PatternMatcher("[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() local
58 PatternMatcher matcher = new PatternMatcher("[a-z]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() local
90 PatternMatcher matcher = new PatternMatcher("\\.", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() local
108 PatternMatcher matcher = new PatternMatcher("a", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesLiteralTokens() local
121 PatternMatcher matcher = new PatternMatcher("[a-z]*", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetZeroOrMore() local
132 PatternMatcher matcher = new PatternMatcher("[a-z]+", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetOneOrMore() local
144 PatternMatcher matcher = new PatternMatcher("[a-z]{1}", in testAdvancedPatternMatchesSingleRange() local
156 PatternMatcher matcher = new PatternMatcher("[a-z]{1,5}", in testAdvancedPatternMatchesFullRange() local
168 PatternMatcher matcher = new PatternMatcher("[a-z]{3,}", in testAdvancedPatternMatchesPartialRange() local
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DUriMatcherTest.java48 UriMatcher matcher = new UriMatcher(ROOT); in testContentUris() local
69 UriMatcher matcher = new UriMatcher(ROOT); in testContentUrisWithLeadingSlash() local
90 UriMatcher matcher = new UriMatcher(ROOT); in testContentUrisWithLeadingSlashAndOnlySlash() local
120 UriMatcher matcher = new UriMatcher(ROOT); in testTextCreatesNoDuplicateStrings() local
141 private ArrayList<UriMatcher> getChildren(UriMatcher matcher) in getChildren()
154 private UriMatcher getOnlyChild(UriMatcher matcher) in getOnlyChild()
162 private void checkAll(UriMatcher matcher) { in checkAll()
189 private void check(String uri, int expected, UriMatcher matcher) { in check()
/frameworks/base/cmds/statsd/tests/
DLogEntryMatcher_test.cpp42 AtomMatcher matcher; in TEST() local
82 AtomMatcher matcher; in TEST() local
334 AtomMatcher matcher; in TEST() local
413 AtomMatcher matcher; in TEST() local
461 AtomMatcher matcher; in TEST() local
497 AtomMatcher matcher; in TEST() local
517 AtomMatcher matcher; in TEST() local
550 AtomMatcher matcher; in TEST() local
608 AtomMatcher matcher; in TEST() local
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DPatternScanner.java51 Matcher matcher = pattern.matcher(mInput); in tryEat() local
85 Matcher matcher = pattern.matcher(mInput); in peek() local
93 Matcher matcher = pattern.matcher(mInput); in skip() local
/frameworks/base/cmds/statsd/tests/metrics/
Dmetrics_test_helper.cpp33 void buildSimpleAtomFieldMatcher(const int tagId, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher()
37 void buildSimpleAtomFieldMatcher(const int tagId, const int fieldNum, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher()
/frameworks/base/cmds/statsd/src/
DFieldValue.cpp61 void translateFieldMatcher(int tag, const FieldMatcher& matcher, int depth, int* pos, int* mask, in translateFieldMatcher()
109 void translateFieldMatcher(const FieldMatcher& matcher, std::vector<Matcher>* output) { in translateFieldMatcher()
441 bool HasPositionANY(const FieldMatcher& matcher) { in HasPositionANY()
453 bool HasPositionALL(const FieldMatcher& matcher) { in HasPositionALL()
DHashableDimensionKey.cpp65 const auto& matcher = matcherFields[i]; in filterValues() local
/frameworks/base/cmds/statsd/src/shell/
Dshell_config.proto27 optional SimpleAtomMatcher matcher = 1; field
DShellSubscriber.cpp100 const SimpleAtomMatcher& matcher) { in writeToOutputLocked()
204 for (const auto& matcher : mPushedMatchers) { in onLogEvent() local
/frameworks/base/native/android/
Dsystem_fonts.cpp219 void AFontMatcher_destroy(AFontMatcher* matcher) { in AFontMatcher_destroy()
224 AFontMatcher* _Nonnull matcher, in AFontMatcher_setStyle()
232 AFontMatcher* _Nonnull matcher, in AFontMatcher_setLocales()
237 void AFontMatcher_setFamilyVariant(AFontMatcher* _Nonnull matcher, uint32_t familyVariant) { in AFontMatcher_setFamilyVariant()
242 const AFontMatcher* _Nonnull matcher, in AFontMatcher_match()
/frameworks/base/core/java/android/util/
DPatterns.java469 public static final String concatGroups(Matcher matcher) { in concatGroups()
494 public static final String digitsAndPlusOnly(Matcher matcher) { in digitsAndPlusOnly()
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp100 bool matchesSimple(const UidMap& uidMap, const FieldValueMatcher& matcher, in matchesSimple()
363 for (const auto& matcher : simpleMatcher.field_value_matcher()) { in matchesSimple() local
DSimpleLogMatchingTracker.cpp31 const SimpleAtomMatcher& matcher, in SimpleLogMatchingTracker()
DCombinationLogMatchingTracker.cpp48 AtomMatcher_Combination matcher = allLogMatchers[mIndex].combination(); in init() local
/frameworks/base/core/java/android/service/autofill/
DTextValueSanitizer.java81 final Matcher matcher = mRegex.matcher(text); in sanitize() local
DCharSequenceTransformation.java91 final Matcher matcher = field.first.matcher(value); in apply() local
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DSuggestionsPopupwindowUtils.java51 private static ViewInteraction onSuggestionsPopupItem(Matcher<View> matcher) { in onSuggestionsPopupItem()
DFloatingToolbarEspressoUtils.java74 public static ViewInteraction onFloatingToolBarItem(Matcher<View> matcher) { in onFloatingToolBarItem()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java382 Matcher matcher = pattern.matcher(line); in addFsckErrorsToDropBoxAndLogFsStat() local
534 Matcher matcher = pattern.matcher(lines); in logFsShutdownTime() local
583 Matcher matcher = passPattern.matcher(line); in fixFsckFsStat() local
588 Matcher matcher = treeOptPattern.matcher(line); in fixFsckFsStat() local
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java233 final Matcher matcher = flattenedPattern.matcher(areaStr); in runDisplayFoldedArea() local
255 Matcher matcher = FLATTENED_PATTERN.matcher(overscanStr); in runDisplayOverscan() local
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java253 Matcher matcher = getMatcher(expectedRegex, actual); in assertMatchesRegex() local
281 Matcher matcher = getMatcher(expectedRegex, actual); in assertContainsRegex() local
305 Matcher matcher = getMatcher(expectedRegex, actual); in assertNotMatchesRegex() local
328 Matcher matcher = getMatcher(expectedRegex, actual); in assertNotContainsRegex() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeTelephonyProvider.java163 UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH); in update() local
/frameworks/base/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java262 Matcher matcher = EXECUTE_NATIVE_AUDIT_PATTERN.matcher(message); in processAuditEvents() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java171 Matcher matcher = pattern.matcher(message.getMessageBody()); in processSms() local
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp50 bool hasLeafNode(const FieldMatcher& matcher) { in hasLeafNode()
174 for (auto& matcher : allAtomMatchers) { in initLogTrackers() local
209 Matcher matcher = getSimpleMatcher(it->first, field); in isStateTracker() local

123