Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java123 assertEquals(R.id.hidden_group, mMenu.findItem(R.id.hidden_by_group).getGroupId()); in testInflateAlphabeticShortcutFromXml()
177 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.first_most_item).getGroupId()); in testInflateOrderFromXml()
180 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.middle_most_item).getGroupId()); in testInflateOrderFromXml()
183 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.last_most_item).getGroupId()); in testInflateOrderFromXml()
187 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.first_least_item).getGroupId()); in testInflateOrderFromXml()
190 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.middle_least_item).getGroupId()); in testInflateOrderFromXml()
194 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.last_least_item).getGroupId()); in testInflateOrderFromXml()
205 mMenu.findItem(R.id.noncheckable_item_1).getGroupId()); in testInflateCheckableFromXmlNone()
209 mMenu.findItem(R.id.noncheckable_item_2).getGroupId()); in testInflateCheckableFromXmlNone()
213 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.java388 final int currGroupId = menu.getItem(i).getGroupId(); in testGroupDivider()
390 i - 1 >= 0 ? menu.getItem(i - 1).getGroupId() : currGroupId; in testGroupDivider()
DExpandableListViewTest.java637 public long getGroupId(int groupPosition) { in getGroupId() method in ExpandableListViewTest.MockExpandableListAdapter
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioTest.java421 public void getGroupId() { in getGroupId() method in BluetoothLeAudioTest
429 mBluetoothLeAudio.getGroupId(device); in getGroupId()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/
DNotificationStatsTests.java162 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
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyGroups.java195 public String getGroupId() { in getGroupId() method in PowerPolicyGroups.PowerPolicyGroupDef
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dbluetooth-current.txt948 …method @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public int getGroupId(@N…
Dcurrent.txt51699 method public int getGroupId();
59064 method public long getGroupId(int);
59178 method public long getGroupId(int);
60559 method public long getGroupId(int);