Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/os/
DPatternMatcherTest.java34 PatternMatcher matcher = new PatternMatcher(".", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesAnyToken() local
42 PatternMatcher matcher = new PatternMatcher("[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() local
59 PatternMatcher matcher = new PatternMatcher("[a-z]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() local
91 PatternMatcher matcher = new PatternMatcher("\\.", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() local
109 PatternMatcher matcher = new PatternMatcher("a", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesLiteralTokens() local
122 PatternMatcher matcher = new PatternMatcher("[a-z]*", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetZeroOrMore() local
133 PatternMatcher matcher = new PatternMatcher("[a-z]+", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetOneOrMore() local
145 PatternMatcher matcher = new PatternMatcher("[a-z]{1}", in testAdvancedPatternMatchesSingleRange() local
157 PatternMatcher matcher = new PatternMatcher("[a-z]{1,5}", in testAdvancedPatternMatchesFullRange() local
169 PatternMatcher matcher = new PatternMatcher("[a-z]{3,}", in testAdvancedPatternMatchesPartialRange() local
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/
DBytesMatcherTest.java34 BytesMatcher matcher = BytesMatcher.decode(""); in testEmpty() local
41 BytesMatcher matcher = BytesMatcher.decode("+cafe"); in testExact() local
50 BytesMatcher matcher = BytesMatcher.decode("+cafe/ff00"); in testMask() local
60 BytesMatcher matcher = BytesMatcher.decode("⊆cafe,⊆beef/ff00"); in testPrefix() local
73 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Empty() local
83 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Exact() local
105 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Prefix() local
127 BytesMatcher matcher = BytesMatcher.decode("-ff/0f,+ff/f0"); in testOrdering_RejectFirst() local
135 BytesMatcher matcher = BytesMatcher.decode("+ff/f0,-ff/0f"); in testOrdering_AcceptFirst() local
/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/services/tests/servicestests/src/com/android/server/accessibility/utils/
DGestureLogParser.java53 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
/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/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DTranslate.kt30 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.Translate
52 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.OverscrollTranslate
DTransformation.kt33 val matcher: ElementMatcher constant
51 override val matcher: ElementMatcher, in reversed() constant in com.android.compose.animation.scene.transformation.SharedElementTransformation
DFade.kt27 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.Fade
DScaleSize.kt32 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.ScaleSize
DDrawScale.kt32 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.DrawScale
DEdgeTranslate.kt29 override val matcher: ElementMatcher, constant in com.android.compose.animation.scene.transformation.EdgeTranslate
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DImeShownOnAppStartHelper.kt92 val matcher = in getInsetsVisibleFromDialog() constant
/frameworks/base/native/android/
Dsystem_fonts.cpp283 void AFontMatcher_destroy(AFontMatcher* matcher) { in AFontMatcher_destroy()
288 AFontMatcher* _Nonnull matcher, in AFontMatcher_setStyle()
296 AFontMatcher* _Nonnull matcher, in AFontMatcher_setLocales()
301 void AFontMatcher_setFamilyVariant(AFontMatcher* _Nonnull matcher, uint32_t familyVariant) { in AFontMatcher_setFamilyVariant()
306 const AFontMatcher* _Nonnull matcher, in AFontMatcher_match()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp65 void TestInputListener::assertNotifyDeviceResetWasCalled( in assertNotifyDeviceResetWasCalled()
82 void TestInputListener::assertNotifyKeyWasCalled(const ::testing::Matcher<NotifyKeyArgs>& matcher) { in assertNotifyKeyWasCalled()
100 void TestInputListener::assertNotifyMotionWasCalled( in assertNotifyMotionWasCalled()
/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/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/
DSettingsScreenshotTestRule.kt58 private val matcher = UnitTestBitmapMatcher constant
/frameworks/base/core/java/android/util/
DPatterns.java523 public static final String concatGroups(Matcher matcher) { in concatGroups()
548 public static final String digitsAndPlusOnly(Matcher matcher) { in digitsAndPlusOnly()
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/
DInputScreenshotTestRule.kt58 private val matcher = UnitTestBitmapMatcher constant
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBytesMatcher.java224 public static @NonNull String encode(@NonNull BytesMatcher matcher) { in encode()
251 final BytesMatcher matcher = new BytesMatcher(); in decode() local
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/
DPipTransition.kt96 val matcher = ComponentNameMatcher("", "pip-dismiss-overlay") in <lambda>() constant
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java44 Matcher matcher = UuidUtil.PATTERN.matcher(uuid); in validateUuid() local
/frameworks/base/core/java/android/service/autofill/
DTextValueSanitizer.java80 final Matcher matcher = mRegex.matcher(text); in sanitize() local
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DSuggestionsPopupwindowUtils.java51 private static ViewInteraction onSuggestionsPopupItem(Matcher<View> matcher) { in onSuggestionsPopupItem()
/frameworks/base/services/core/java/com/android/server/
DSecurityStateManagerService.java88 Matcher matcher = KERNEL_RELEASE_PATTERN.matcher(VintfRuntimeInfo.getKernelVersion()); in getKernelVersion() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DSecurityStateTest.java107 Matcher matcher = KERNEL_RELEASE_PATTERN.matcher(VintfRuntimeInfo.getKernelVersion()); in testGetGlobalSecurityState_returnsBundle() local

1234