Home
last modified time | relevance | path

Searched refs:groupId (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyGroups.java85 String groupId = null; in parse() local
104 if (groupId != null) { in parse()
105 policyGroups.add(groupId, waitForVHALPolicy, onPolicy); in parse()
109 groupId = line.trim(); in parse()
113 if (groupId != null && (waitForVHALPolicy != null || onPolicy != null)) { in parse()
114 policyGroups.add(groupId, waitForVHALPolicy, onPolicy); in parse()
171 public PowerPolicyGroupDef getGroup(String groupId) { in getGroup() argument
172 return mPolicyGroups.get(groupId); in getGroup()
175 public boolean containsGroup(String groupId, PowerPolicyGroupDef expectedGroupDef) { in containsGroup() argument
176 PowerPolicyGroupDef policyGroup = mPolicyGroups.get(groupId); in containsGroup()
[all …]
DPowerPolicyTestHelper.java166 for (String groupId : groupIds) { in checkPowerPolicyGroupsDefined()
167 PowerPolicyGroups.PowerPolicyGroupDef groupDef = policyGroups.getGroup(groupId); in checkPowerPolicyGroupsDefined()
170 mFrameCpms.getPowerPolicyGroups().containsGroup(groupId, groupDef)).isTrue(); in checkPowerPolicyGroupsDefined()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/
DPocService.java58 final String groupId = getString(R.string.groupId); in exploitBug() local
60 new NotificationChannelGroup(groupId, in exploitBug()
64 notificationChannel.setGroup(groupId); in exploitBug()
71 notificationManager.deleteNotificationChannelGroup(groupId); in exploitBug()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioTest.java103 public void onCodecConfigChanged(int groupId, in onCodecConfigChanged() argument
106 assertTrue(groupId == mTestGroupId); in onCodecConfigChanged()
110 public void onGroupNodeAdded(BluetoothDevice device, int groupId) { in onGroupNodeAdded() argument
112 assertTrue(groupId == mTestGroupId); in onGroupNodeAdded()
116 public void onGroupNodeRemoved(BluetoothDevice device, int groupId) { in onGroupNodeRemoved() argument
118 assertTrue(groupId == mTestGroupId); in onGroupNodeRemoved()
122 public void onGroupStatusChanged(int groupId, int groupStatus) { in onGroupStatusChanged() argument
124 assertTrue(groupId == mTestGroupId); in onGroupStatusChanged()
128 public void onGroupStreamStatusChanged(int groupId, int groupStreamStatus) { in onGroupStreamStatusChanged() argument
130 assertTrue(groupId == mTestGroupId); in onGroupStreamStatusChanged()
[all …]
DBluetoothCsipSetCoordinatorTest.java88 public void onGroupLockSet(int groupId, int opStatus, boolean isLocked) { in onGroupLockSet() argument
90 assertTrue(groupId == mTestGroupId); in onGroupLockSet()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_PeopleTest.java132 int groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup() local
143 assertEquals(groupId, cursor.getInt(membershipGroupIdIndex)); in testAddToGroup()
162 groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup()
167 assertEquals(groupId, cursor.getInt(membershipGroupIdIndex)); in testAddToGroup()
179 groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup()
181 mRowsAdded.add(People.addToGroup(mContentResolver, personId, groupId)); in testAddToGroup()
186 if (cursor.getInt(membershipGroupIdIndex) == groupId) { in testAddToGroup()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DPocService.java72 getResources().getString(R.string.groupId)); in createNotificationGroup()
110 data.writeString(getResources().getString(R.string.groupId)); in createNotificationGroup()
/cts/tests/tests/car/src/android/car/cts/
DCarInputTest.java694 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { in onGroupVolumeChanged() argument
697 mGroupId = groupId; in onGroupVolumeChanged()
703 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { in onGroupMuteChanged() argument
706 mGroupId = groupId; in onGroupMuteChanged()
DCarAudioManagerTest.java307 .that(mCallback.groupId).isEqualTo(mVolumeGroupId); in registerCarVolumeCallback_onGroupMuteChanged()
2025 private void setVolumeGroupMute(int zoneId, int groupId, boolean mute) { in setVolumeGroupMute() argument
2027 zoneId, groupId, mute ? "mute" : "unmute"); in setVolumeGroupMute()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewTest.java689 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument
693 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument