Home
last modified time | relevance | path

Searched defs:matcher (Results 1 – 25 of 65) 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.cpp119 AtomMatcher matcher; in TEST() local
144 AtomMatcher matcher; in TEST() local
373 AtomMatcher matcher; in TEST() local
416 AtomMatcher matcher; in TEST() local
477 AtomMatcher matcher; in TEST() local
525 AtomMatcher matcher; in TEST() local
558 AtomMatcher matcher; in TEST() local
576 AtomMatcher matcher; in TEST() local
605 AtomMatcher matcher; in TEST() local
662 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/src/
DFieldValue.cpp60 void translateFieldMatcher(int tag, const FieldMatcher& matcher, int depth, int* pos, int* mask, in translateFieldMatcher()
108 void translateFieldMatcher(const FieldMatcher& matcher, std::vector<Matcher>* output) { in translateFieldMatcher()
448 bool HasPositionANY(const FieldMatcher& matcher) { in HasPositionANY()
460 bool HasPositionALL(const FieldMatcher& matcher) { in HasPositionALL()
/frameworks/base/cmds/statsd/tests/metrics/
Dmetrics_test_helper.cpp46 void buildSimpleAtomFieldMatcher(const int tagId, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher()
50 void buildSimpleAtomFieldMatcher(const int tagId, const int fieldNum, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher()
/frameworks/base/cmds/statsd/src/shell/
Dshell_config.proto27 optional SimpleAtomMatcher matcher = 1; field
DShellSubscriber.cpp190 const SimpleAtomMatcher& matcher) { in writePulledAtomsLocked()
211 for (const auto& matcher : mSubscriptionInfo->mPushedMatchers) { in onLogEvent() local
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DMatcherUtils.java32 static <T> Matcher<T> first(final Matcher<T> matcher) { in first()
/frameworks/base/native/android/
Dsystem_fonts.cpp230 void AFontMatcher_destroy(AFontMatcher* matcher) { in AFontMatcher_destroy()
235 AFontMatcher* _Nonnull matcher, in AFontMatcher_setStyle()
243 AFontMatcher* _Nonnull matcher, in AFontMatcher_setLocales()
248 void AFontMatcher_setFamilyVariant(AFontMatcher* _Nonnull matcher, uint32_t familyVariant) { in AFontMatcher_setFamilyVariant()
253 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/services/core/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java47 Matcher matcher = UuidUtil.PATTERN.matcher(uuid); in validateUuid() local
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp99 bool matchesSimple(const UidMap& uidMap, const FieldValueMatcher& matcher, in matchesSimple()
362 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/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java75 final Matcher matcher = CREATE_USER_OUTPUT_REGEX.matcher(output.trim()); in createManagedProfile() local
/frameworks/base/core/java/com/android/server/
DBootReceiver.java403 Matcher matcher = pattern.matcher(line); in addFsckErrorsToDropBoxAndLogFsStat() local
577 Matcher matcher = pattern.matcher(lines); in logFsShutdownTime() local
629 Matcher matcher = passPattern.matcher(line); in fixFsckFsStat() local
634 Matcher matcher = treeOptPattern.matcher(line); in fixFsckFsStat() 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/base/services/core/java/com/android/server/stats/pull/
DIonMemoryUtil.java69 final Matcher matcher = ION_HEAP_SIZE_IN_BYTES.matcher(contents); in parseIonHeapSizeFromDebugfs() 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

123