Home
last modified time | relevance | path

Searched refs:getGroupId (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java113 assertEquals(R.id.hidden_group, mMenu.findItem(R.id.hidden_by_group).getGroupId()); in testInflateAlphabeticShortcutFromXml()
167 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.first_most_item).getGroupId()); in testInflateOrderFromXml()
170 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.middle_most_item).getGroupId()); in testInflateOrderFromXml()
173 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.last_most_item).getGroupId()); in testInflateOrderFromXml()
177 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.first_least_item).getGroupId()); in testInflateOrderFromXml()
180 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.middle_least_item).getGroupId()); in testInflateOrderFromXml()
184 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.last_least_item).getGroupId()); in testInflateOrderFromXml()
195 mMenu.findItem(R.id.noncheckable_item_1).getGroupId()); in testInflateCheckableFromXmlNone()
199 mMenu.findItem(R.id.noncheckable_item_2).getGroupId()); in testInflateCheckableFromXmlNone()
203 mMenu.findItem(R.id.noncheckable_item_3).getGroupId()); in testInflateCheckableFromXmlNone()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DSimpleExpandableListAdapterTest.java324 assertEquals(0, mSimpleExpandableListAdapter.getGroupId(0)); in testGetGroupId()
325 assertEquals(3, mSimpleExpandableListAdapter.getGroupId(3)); in testGetGroupId()
328 assertEquals(-1, mSimpleExpandableListAdapter.getGroupId(-1)); in testGetGroupId()
329 assertEquals(4, mSimpleExpandableListAdapter.getGroupId(4)); in testGetGroupId()
DCursorTreeAdapterTest.java463 assertEquals(0, adapter.getGroupId(0)); in testGetGroupId()
466 assertEquals(1, adapter.getGroupId(0)); in testGetGroupId()
467 assertEquals(2, adapter.getGroupId(1)); in testGetGroupId()
471 assertEquals(0, adapter.getGroupId(2)); in testGetGroupId()
DBaseExpandableListAdapterTest.java170 public long getGroupId(int groupPosition) { in getGroupId() method in BaseExpandableListAdapterTest.MockBaseExpandableListAdapter
DPopupMenuTest.java380 final int currGroupId = menu.getItem(i).getGroupId(); in testGroupDivider()
382 i - 1 >= 0 ? menu.getItem(i - 1).getGroupId() : currGroupId; in testGroupDivider()
DExpandableListViewTest.java583 public long getGroupId(int groupPosition) { in getGroupId() method in ExpandableListViewTest.MockExpandableListAdapter
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyGroups.java104 public String getGroupId() { in getGroupId() method in PowerPolicyGroups.PowerPolicyGroupDef
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/
DNotificationStatsTests.java161 if (uid == pref.getUid() && pref.getGroupId().equals("StatsdCtsGroup")) { in testNotificationChannelGroupPreferencesExtraction()
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java333 public long getGroupId(int groupPosition) { in getGroupId() method in ExpandableListScenario.MyAdapter