/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/ |
D | MoreViewAssertions.java | 29 import org.hamcrest.Matcher; 34 public static ViewAssertion left(final Matcher<Integer> matcher) { in left() 43 public static ViewAssertion approximateTop(final Matcher<Double> matcher) { 53 public static ViewAssertion top(final Matcher<Integer> matcher) { 62 public static ViewAssertion right(final Matcher<Integer> matcher) { 72 public static ViewAssertion bottom(final Matcher<Integer> matcher) { 82 public static ViewAssertion approximateBottom(final Matcher<Double> matcher) { 99 public static ViewAssertion screenLeft(final Matcher<Integer> matcher) { 117 public static ViewAssertion screenTop(final Matcher<Integer> matcher) { 136 public static ViewAssertion screenRight(final Matcher<Integer> matcher) { [all …]
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
D | TestUtilsMatchers.java | 33 import org.hamcrest.Matcher; 43 public static Matcher drawable(@ColorInt final int color) { in drawable() 83 public static Matcher isBackground(@ColorInt final int color) { in isBackground() 91 public static Matcher isBackground(@ColorInt final int color, final boolean onlyTestCenter) { in isBackground() 132 public static Matcher isCombinedBackground(@ColorInt final int color, 173 public static Matcher isCheckedTextView() { 199 public static Matcher isNonCheckedTextView() { 226 public static Matcher<Object> withCursorItemContent(final String columnName, 245 public static Matcher<View> isTintableBackgroundView() { 262 public static Matcher<List<Float>> inRange(final float from, final float to) { [all …]
|
D | AppCompatTintableViewActions.java | 37 import org.hamcrest.Matcher; 46 public Matcher<View> getConstraints() { in setBackgroundTintList() 72 public Matcher<View> getConstraints() { 98 public Matcher<View> getConstraints() { 124 public Matcher<View> getConstraints() { 151 public Matcher<View> getConstraints() { 178 public Matcher<View> getConstraints() { 206 public Matcher<View> getConstraints() {
|
D | TestUtilsActions.java | 34 import org.hamcrest.Matcher; 43 public Matcher<View> getConstraints() { in setLayoutDirection() 69 public Matcher<View> getConstraints() { 97 public Matcher<View> getConstraints() { 124 public Matcher<View> getConstraints() { 147 public Matcher<View> getConstraints() { 170 public Matcher<View> getConstraints() {
|
D | DrawerLayoutActions.java | 30 import org.hamcrest.Matcher; 107 public Matcher<View> getConstraints() { in wrap() 151 public Matcher<View> getConstraints() { 176 public Matcher<View> getConstraints() { 201 public Matcher<View> getConstraints() { 226 public Matcher<View> getConstraints() { 251 public Matcher<View> getConstraints() { 276 public Matcher<View> getConstraints() { 301 public Matcher<View> getConstraints() { 328 public Matcher<View> getConstraints() {
|
/frameworks/base/cmds/statsd/src/ |
D | FieldValue.h | 25 struct Matcher; 183 bool matches(const Matcher& that) const; 217 struct Matcher { struct 218 Matcher(const Field& matcher, int32_t mask) : mMatcher(matcher), mMask(mask){}; in Matcher() function 251 inline bool operator!=(const Matcher& that) const { argument 255 inline bool operator==(const Matcher& that) const { 260 inline Matcher getSimpleMatcher(int32_t tag, size_t field) { in getSimpleMatcher() 261 return Matcher(Field(tag, getSimpleField(field)), 0xff7f0000); in getSimpleMatcher() 358 void translateFieldMatcher(const FieldMatcher& matcher, std::vector<Matcher>* output); 362 bool equalDimensions(const std::vector<Matcher>& dimension_a, [all …]
|
D | FieldValue.cpp | 43 bool Field::matches(const Matcher& matcher) const { in matches() 60 std::vector<Matcher>* output) { in translateFieldMatcher() 99 output->push_back(Matcher(Field(tag, pos, depth), encodeMatcherMask(mask, depth))); in translateFieldMatcher() 107 void translateFieldMatcher(const FieldMatcher& matcher, std::vector<Matcher>* output) { in translateFieldMatcher() 217 bool equalDimensions(const std::vector<Matcher>& dimension_a, in equalDimensions() 218 const std::vector<Matcher>& dimension_b) { in equalDimensions()
|
D | HashableDimensionKey.h | 33 std::vector<Matcher> metricFields; 34 std::vector<Matcher> conditionFields; 132 bool filterValues(const std::vector<Matcher>& matcherFields, const std::vector<FieldValue>& values, 141 void filterGaugeValues(const std::vector<Matcher>& matchers, const std::vector<FieldValue>& values,
|
/frameworks/support/compat/src/androidTest/java/android/support/v4/testutils/ |
D | TextViewActions.java | 33 import org.hamcrest.Matcher; 42 public Matcher<View> getConstraints() { in setMaxLines() 69 public Matcher<View> getConstraints() { 96 public Matcher<View> getConstraints() { 123 public Matcher<View> getConstraints() { 152 public Matcher<View> getConstraints() { 181 public Matcher<View> getConstraints() { 211 public Matcher<View> getConstraints() {
|
/frameworks/base/cmds/statsd/src/condition/ |
D | StateTracker.h | 33 const vector<Matcher> primaryKeys); 58 const vector<Matcher>& dimensionFields, 71 const vector<Matcher>& dimensionFields, 91 const vector<Matcher>& dimensions) const override { in equalOutputDimensions() 112 std::vector<Matcher> mOutputDimensions; 113 std::vector<Matcher> mPrimaryKeys;
|
D | ConditionWizard.h | 43 const vector<Matcher>& dimensionFields, 49 const int index, const vector<Matcher>& dimensionFields, 56 bool equalOutputDimensions(const int index, const vector<Matcher>& dimensions);
|
D | SimpleConditionTracker.h | 51 const vector<Matcher>& dimensionFields, 59 const vector<Matcher>& dimensionFields, 97 const vector<Matcher>& dimensions) const override { in equalOutputDimensions() 117 std::vector<Matcher> mOutputDimensions;
|
D | ConditionWizard.cpp | 28 const vector<Matcher>& dimensionFields, in query() 41 const int index, const vector<Matcher>& dimensionFields, in getMetConditionDimension() 75 bool ConditionWizard::equalOutputDimensions(const int index, const vector<Matcher>& dimensions) { in equalOutputDimensions()
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/ |
D | EmojiMatcher.java | 26 import org.hamcrest.Matcher; 35 public static Matcher<CharSequence> hasEmojiAt(final int id, final int start, in hasEmojiAt() 40 public static Matcher<CharSequence> hasEmojiAt(final Emoji.EmojiMapping emojiMapping, in hasEmojiAt() 45 public static Matcher<CharSequence> hasEmojiAt(final int start, final int end) { in hasEmojiAt() 49 public static Matcher<CharSequence> hasEmoji(final int id) { in hasEmoji() 53 public static Matcher<CharSequence> hasEmoji(final Emoji.EmojiMapping emojiMapping) { in hasEmoji() 57 public static Matcher<CharSequence> hasEmoji() { in hasEmoji() 61 public static Matcher<CharSequence> hasEmojiCount(final int count) { in hasEmojiCount()
|
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/ |
D | TestUtilsMatchers.java | 31 import org.hamcrest.Matcher; 40 public static Matcher backgroundColor(@ColorInt final int backgroundColor) { in backgroundColor() 81 public static Matcher<View> isOfClass(final Class<? extends View> clazz) { in isOfClass() 102 public static Matcher<View> startAlignedToParent() { 148 public static Matcher<View> endAlignedToParent() { 193 public static Matcher<View> centerAlignedInParent() { 235 public static Matcher<List<Integer>> matches(final int ... expectedValues) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockUtils.java | 32 import org.hamcrest.Matcher; 43 final Matcher<UserHandle> m = new BaseMatcher<UserHandle>() { in checkUserHandle() 59 final Matcher<Intent> m = new BaseMatcher<Intent>() { in checkIntentComponent() 75 final Matcher<Intent> m = new BaseMatcher<Intent>() { in checkIntentAction() 91 final Matcher<Intent> m = new BaseMatcher<Intent>() { in checkIntent() 111 final Matcher<Bundle> m = new BaseMatcher<Bundle>() { in checkUserRestrictions() 127 final Matcher<Set<String>> m = new BaseMatcher<Set<String>>() { in checkApps()
|
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/ |
D | ViewPagerActions.java | 35 import org.hamcrest.Matcher; 104 public Matcher<View> getConstraints() { in wrap() 148 public Matcher<View> getConstraints() { 174 public Matcher<View> getConstraints() { 202 public Matcher<View> getConstraints() { 230 public Matcher<View> getConstraints() { 260 public Matcher<View> getConstraints() { 290 public Matcher<View> getConstraints() { 317 public Matcher<View> getConstraints() {
|
/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/ |
D | SwipeRefreshLayoutActions.java | 25 import org.hamcrest.Matcher; 32 public Matcher<View> getConstraints() { in setRefreshing() 57 public Matcher<View> getConstraints() { 81 public Matcher<View> getConstraints() {
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | BatteryStatsParser.java | 21 import java.util.regex.Matcher; 54 Matcher lineMatcher = LINE_PATTERN.matcher(line); in parseLine() 59 Matcher timeMatcher = TIME_PATTERN.matcher(lineMatcher.group(1)); in parseLine() 80 Matcher timeMatcher = TIME_PATTERN.matcher(group); in getTime()
|
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/ |
D | BaseDynamicCoordinatorLayoutTest.java | 34 import org.hamcrest.Matcher; 62 private Matcher<View> hasParent() { in hasParent() 82 public Matcher<View> getConstraints() { 110 public Matcher<View> getConstraints() {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | PatternScanner.java | 20 import java.util.regex.Matcher; 51 Matcher matcher = pattern.matcher(mInput); in tryEat() 85 Matcher matcher = pattern.matcher(mInput); in peek() 93 Matcher matcher = pattern.matcher(mInput); in skip()
|
/frameworks/base/core/java/android/webkit/ |
D | FindAddress.java | 21 import java.util.regex.Matcher; 270 Matcher suffixMatcher = sSuffixedNumberRe.matcher(houseNumber); in checkHouseNumber() 301 Matcher matcher = sHouseNumberRe.matcher(content).region(offset, content.length()); in matchHouseNumber() 320 Matcher stateMatcher = sStateRe.matcher(content).region(offset, content.length()); in matchState() 373 Matcher matcher = sWordRe.matcher(content); in attemptMatch() 431 Matcher zipMatcher = sWordRe.matcher(content); in attemptMatch() 463 Matcher houseNumberMatcher = sHouseNumberRe.matcher(content); in findAddress()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 39 import org.hamcrest.Matcher; 77 public static ViewAssertion hasSelection(Matcher<String> selection) { in hasSelection() 107 public static ViewAssertion hasInsertionPointerAtIndex(final Matcher<Integer> index) { in hasInsertionPointerAtIndex() 159 private final Matcher<String> mSelection; 161 public TextSelectionAssertion(Matcher<String> selection) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | InMatcher.java | 21 import org.hamcrest.Matcher; 66 public static <T> Matcher<T> in(T... operand) { in in() 71 public static <T> Matcher<T> in(Collection<T> operand) { in in()
|
/frameworks/support/compat/src/main/java/androidx/core/text/util/ |
D | FindAddress.java | 26 import java.util.regex.Matcher; 279 Matcher suffixMatcher = sSuffixedNumberRe.matcher(houseNumber); in checkHouseNumber() 311 Matcher matcher = sHouseNumberRe.matcher(content).region(offset, content.length()); in matchHouseNumber() 331 Matcher stateMatcher = sStateRe.matcher(content).region(offset, content.length()); in matchState() 410 Matcher matcher = sWordRe.matcher(content); in attemptMatch() 468 Matcher zipMatcher = sWordRe.matcher(content); in attemptMatch() 500 Matcher houseNumberMatcher = sHouseNumberRe.matcher(content); in findAddress()
|