Home
last modified time | relevance | path

Searched refs:mGroups (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DUriRelativeFilterGroupTest.java51 private List<UriRelativeFilterGroup> mGroups = new ArrayList<>(); field in UriRelativeFilterGroupTest
55 mGroups.clear(); in clearGroups()
77 mGroups.add(maskToGroup(ACTION_ALLOW, PATH_MASK)); in testMatchGroupsToUri_matchAnyGroup()
78 mGroups.add(maskToGroup(ACTION_ALLOW, QUERY_MASK)); in testMatchGroupsToUri_matchAnyGroup()
79 mGroups.add(maskToGroup(ACTION_ALLOW, FRAGMENT_MASK)); in testMatchGroupsToUri_matchAnyGroup()
80 assertTrue(UriRelativeFilterGroup.matchGroupsToUri(mGroups, maskToUri(PATH_MASK))); in testMatchGroupsToUri_matchAnyGroup()
81 assertTrue(UriRelativeFilterGroup.matchGroupsToUri(mGroups, maskToUri(QUERY_MASK))); in testMatchGroupsToUri_matchAnyGroup()
82 assertTrue(UriRelativeFilterGroup.matchGroupsToUri(mGroups, maskToUri(FRAGMENT_MASK))); in testMatchGroupsToUri_matchAnyGroup()
88 mGroups.add(maskToGroup(ACTION_BLOCK, PATH_MASK)); in testMachGroupsToUri_blockMatch()
89 mGroups.add(maskToGroup(ACTION_ALLOW, PATH_MASK | QUERY_MASK)); in testMachGroupsToUri_blockMatch()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java43 protected List<MyGroup> mGroups; field in ExpandableListScenario
73 mGroups = new ArrayList<MyGroup>(numChildren.length); in readAndValidateParams()
75 mGroups.add(new MyGroup(numChildren[i])); in readAndValidateParams()
182 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) in getValueAtPosition()
186 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) in getValueAtPosition()
207 if (group >= mGroups.size() || group < 0) { in isOutOfBounds()
213 if (child >= mGroups.get(group).children.size() || child < 0) { in isOutOfBounds()
299 return mGroups; in getGroups()
312 return mGroups.get(groupPosition).children.get(childPosition).id; in getChildId()
316 return mGroups.get(groupPosition).children.size(); in getChildrenCount()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListBasic.java35 mGroups.add(0, new MyGroup(2)); in onCreateOptionsMenu()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DFillResponseTest.java66 private final Set<String> mGroups = Set.of("postalAddress"); field in FillResponseTest
68 Set.of(new FieldClassification(mAutofillId, mHints, mGroups));