/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BytesMatcherTest.java | 37 BytesMatcher matcher = BytesMatcher.decode(""); in testEmpty() local 44 BytesMatcher matcher = BytesMatcher.decode("+cafe"); in testExact() local 53 BytesMatcher matcher = BytesMatcher.decode("+cafe/ff00"); in testMask() local 63 BytesMatcher matcher = BytesMatcher.decode("⊆cafe,⊆beef/ff00"); in testPrefix() local 76 BytesMatcher matcher = BytesMatcher.decode("+cafe00112233/ffffff000000"); in testMacAddress() local 85 BytesMatcher matcher = BytesMatcher.decode("+cafe/ff00"); in testBluetoothUuid() local 111 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Empty() local 121 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Exact() local 143 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Prefix() local 165 BytesMatcher matcher = BytesMatcher.decode("-ff/0f,+ff/f0"); in testOrdering_RejectFirst() local [all …]
|
H A D | PatternMatcherTest.java | 33 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 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 180 PatternMatcher matcher = new PatternMatcher( in testAdvancedPatternMatchesComplexPatterns() local 233 private void assertMatches(String string, PatternMatcher matcher) { in assertMatches() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | UriMatcherTest.java | 48 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()
|
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
H A D | ScanRecordTest.java | 50 final Predicate<byte[]> matcher = (v) -> { in testMatchesAnyField_Eddystone_Parser() local 67 final BytesMatcher matcher = BytesMatcher.decode("⊆0016AAFE/00FFFFFF"); in testMatchesAnyField_Eddystone() local 77 final Predicate<byte[]> matcher = (v) -> { in testMatchesAnyField_iBeacon_Parser() local 93 final BytesMatcher matcher = BytesMatcher.decode("⊆00FF4C0002/00FFFFFFFF"); in testMatchesAnyField_iBeacon() local 139 private static void assertMatchesAnyField(String record, BytesMatcher matcher) { in assertMatchesAnyField() 144 private static void assertNotMatchesAnyField(String record, BytesMatcher matcher) { in assertNotMatchesAnyField()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/actions/ |
H A D | ViewActions.java | 27 public static ViewAction waitForView(Matcher<View> matcher, long waitTimeMillis) { in waitForView() 31 public static ViewAction waitForView(Matcher<View> matcher) { in waitForView() 35 public static ViewAction waitForNoMatchingView(Matcher<View> matcher, long waitTimeMillis) { in waitForNoMatchingView() 39 public static ViewAction waitForNoMatchingView(Matcher<View> matcher) { in waitForNoMatchingView()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
H A D | BluetoothNameUtils.java | 46 Matcher matcher = NAME_PATTERN.matcher(bluetoothName); in getSetupType() local 70 Matcher matcher = NAME_PATTERN.matcher(bluetoothName); in getColorConfiguration() local 98 Matcher matcher = NAME_PATTERN.matcher(name); in isValidName() local
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregator.java | 97 final ContactMatcher matcher = new ContactMatcher(); in aggregateContact() local 551 ContactMatcher matcher) { in pickBestMatchBasedOnExceptions() 614 MatchCandidateList candidates, ContactMatcher matcher) { in pickBestMatchBasedOnData() 671 ContactMatcher matcher) { in updateMatchScoresBasedOnDataMatches() 714 ContactMatcher matcher) { in updateMatchScoresBasedOnIdentityMatch() 761 ContactMatcher matcher) { in updateMatchScoresBasedOnNameMatches() 785 ContactMatcher matcher) { in updateMatchScoresBasedOnEmailMatches() 802 ContactMatcher matcher) { in updateMatchScoresBasedOnPhoneMatches() 837 ContactMatcher matcher) { in lookupApproximateNameMatches() 912 ContactMatcher matcher = new ContactMatcher(); in findMatchingContacts() local [all …]
|
H A D | ContactAggregator2.java | 113 RawContactMatcher matcher = new RawContactMatcher(); in aggregateContact() local 502 RawContactMatcher matcher) { in updateMatchScoresBasedOnExceptions() 556 RawContactMatcher matcher) { in updateMatchScoresBasedOnIdentityMatch() 581 RawContactMatcher matcher) { in updateMatchScoresBasedOnNameMatches() 610 RawContactMatcher matcher) { in updateMatchScoresBasedOnEmailMatches() 635 MatchCandidateList candidates, RawContactMatcher matcher) { in updateMatchScoresBasedOnNameMatches() 667 RawContactMatcher matcher) { in updateMatchScoresBasedOnPhoneMatches() 707 RawContactMatcher matcher) { in lookupApproximateNameMatches() 825 RawContactMatcher matcher = new RawContactMatcher(); in findMatchingContacts() local 870 MatchCandidateList candidates, RawContactMatcher matcher) { in updateMatchScores() [all …]
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | Matchers.java | 38 public static boolean present(Matcher<View> matcher) { in present() 42 public static boolean present(ViewInteraction vi, Matcher<View> matcher) { in present()
|
/aosp12/system/bt/gd/cert/ |
H A D | behavior.py | 55 def begin(self, matcher): argument 91 def wait_until_invoked(self, matcher, times, timeout): argument 105 def __init__(self, behavior, matcher, reply_stage_factory): argument 121 def init(self, behavior, matcher, persistence): argument 132 def __init__(self, matcher, persistence, fn): argument 151 def __init__(self, behavior, matcher, timeout): argument
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
H A D | GestureLogParser.java | 53 Matcher matcher = p.matcher(line); in getMotionEventFromLogLine() local 75 final Matcher matcher = p.matcher(eventText); in findInt() local 82 final Matcher matcher = p.matcher(eventText); in findFloat() local 89 final Matcher matcher = p.matcher(eventText); in findString() local
|
/aosp12/packages/modules/StatsD/statsd/tests/ |
H A D | LogEntryMatcher_test.cpp | 116 AtomMatcher matcher; in TEST() local 141 AtomMatcher matcher; in TEST() local 370 AtomMatcher matcher; in TEST() local 413 AtomMatcher matcher; in TEST() local 474 AtomMatcher matcher; in TEST() local 522 AtomMatcher matcher; in TEST() local 555 AtomMatcher matcher; in TEST() local 573 AtomMatcher matcher; in TEST() local 602 AtomMatcher matcher; in TEST() local 659 AtomMatcher matcher; in TEST() local
|
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 51 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
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | MatcherUtils.java | 32 static <T> Matcher<T> first(final Matcher<T> matcher) { in first()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/reader/ |
H A D | IntValueTable.java | 29 TableEntry findEntry(IntValueEntryMatcher matcher); in findEntry() 47 TableEntry findNearbyEntry(IntValueEntryMatcher matcher); in findNearbyEntry()
|
/aosp12/packages/modules/StatsD/statsd/src/matchers/ |
H A D | SimpleAtomMatchingTracker.cpp | 31 const SimpleAtomMatcher& matcher, in SimpleAtomMatchingTracker() 54 const AtomMatcher& matcher, const int index, in onConfigUpdated()
|
H A D | CombinationAtomMatchingTracker.cpp | 50 AtomMatcher_Combination matcher = allAtomMatchers[mIndex].combination(); in init() local 97 const AtomMatcher& matcher, const int index, in onConfigUpdated()
|
/aosp12/packages/modules/StatsD/statsd/src/ |
H A D | FieldValue.cpp | 60 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()
|
/aosp12/packages/modules/StatsD/statsd/tests/metrics/ |
H A D | metrics_test_helper.cpp | 46 void buildSimpleAtomFieldMatcher(const int tagId, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher() 50 void buildSimpleAtomFieldMatcher(const int tagId, const int fieldNum, FieldMatcher* matcher) { in buildSimpleAtomFieldMatcher()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ItemInfoMatcher.java | 58 default ItemInfoMatcher or(ItemInfoMatcher matcher) { in or() 65 default ItemInfoMatcher and(ItemInfoMatcher matcher) { in and()
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
H A D | ContactMatcherTest.java | 27 final ContactMatcher matcher = new ContactMatcher(); in testMatchName_invalidHexDecimal() local
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/actions/ |
H A D | ViewActions.java | 27 public static ViewAction waitForView(Matcher<View> matcher, long waitTimeMillis) { in waitForView()
|
/aosp12/packages/modules/StatsD/statsd/src/shell/ |
H A D | shell_config.proto | 27 optional SimpleAtomMatcher matcher = 1; field
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/ |
H A D | ViewMatchers.java | 52 public static Matcher<View> withIndex(Matcher<View> matcher, int index) { in withIndex()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | Patterns.java | 476 public static final String concatGroups(Matcher matcher) { in concatGroups() 501 public static final String digitsAndPlusOnly(Matcher matcher) { in digitsAndPlusOnly()
|