Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCsipDeviceManager.java85 final int groupId = newDevice.getGroupId(); in setMemberDeviceIfNeeded()
116 if (cachedDevice.getGroupId() == groupId) { in getCachedDevice()
130 if (!isValidGroupId(cachedDevice.getGroupId())) { in updateCsipDevices()
170 return updateRelationshipOfGroupDevices(cachedDevice.getGroupId()); in onProfileConnectionStateChangedIfProcessed()
197 if (isValidGroupId(cachedDevice.getGroupId())) { in findMainDevice()
231 if (groupId != item.getGroupId()) { in getGroupDevicesFromAllOfDevicesList()
352 .filter(device -> device.getGroupId() == groupId) in addMemberDevicesIntoMainDevice()
DBluetoothUtils.java196 if ((cachedDevice.getGroupId() != BluetoothCsipSetCoordinator.GROUP_ID_INVALID)) { in getBtRainbowDrawableWithDescription()
197 hashCode = new Integer(cachedDevice.getGroupId()).hashCode(); in getBtRainbowDrawableWithDescription()
811 public static int getGroupId(@NonNull CachedBluetoothDevice cachedDevice) { in getGroupId() method in BluetoothUtils
812 int groupId = cachedDevice.getGroupId(); in getGroupId()
821 return ((LeAudioProfile) profile).getGroupId(cachedDevice.getDevice()); in getGroupId()
DLeAudioProfile.java185 public int getGroupId(@NonNull BluetoothDevice device) { in getGroupId() method in LeAudioProfile
189 return mService.getGroupId(device); in getGroupId()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp48 androidAa.push_back({attr.getGroupId(), attr.getStreamType(), attr.getAttributes()}); in listVolumeGroupAttributes()
115 return supportedAttr.getGroupId(); in getVolumeGroupForStreamType()
127 return iter != end(mAttributesVector) ? iter->getGroupId() : VOLUME_GROUP_NONE; in getDefaultVolumeGroup()
138 dst->appendFormat("%*sGroup: %d stream: %s\n", spaces + 3, "", attr.getGroupId(), in dump()
275 return getVolumeGroupAttributesForAttributes(attr, fallbackOnDefault).getGroupId(); in getVolumeGroupForAttributes()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java212 if (items.get(i).getGroupId() == groupId) { in removeGroup()
232 if (item.getGroupId() == group) { in setGroupCheckable()
245 if (item.getGroupId() == group) { in setGroupEnabled()
257 if (item.getGroupId() == group) { in setGroupVisible()
DMenuAdapter.java85 final int currGroupId = getItem(position).getGroupId(); in getView()
87 position - 1 >= 0 ? getItem(position - 1).getGroupId() : currGroupId; in getView()
DMenuBuilder.java530 while ((numRemoved++ < maxRemovable) && (mItems.get(i).getGroupId() == group)) { in removeGroup()
582 final int group = item.getGroupId(); in setExclusiveItemChecked()
587 if (curItem.getGroupId() == group) { in setExclusiveItemChecked()
602 if (item.getGroupId() == group) { in setGroupCheckable()
618 if (item.getGroupId() == group) { in setGroupVisible()
631 if (item.getGroupId() == group) { in setGroupEnabled()
695 if (item.getGroupId() == group) { in findGroupIndex()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java693 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_connect_member_mainDisconnected_switch()
694 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_connect_member_mainDisconnected_switch()
716 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_disconnect_main_subDeviceConnected_switch()
717 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_disconnect_main_subDeviceConnected_switch()
773 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in findMainDevice_sameGroupId()
774 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_2); in findMainDevice_sameGroupId()
788 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()
789 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_2); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()
804 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()
805 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_2); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java125 int getGroupId() { in getGroupId() method in PowerGroup
239 Trace.traceBegin(Trace.TRACE_TAG_POWER, "dreamPowerGroup" + getGroupId()); in dreamLocked()
241 Slog.i(TAG, "Napping power group (groupId=" + getGroupId() + ", uid=" + uid + ")..."); in dreamLocked()
264 + " (groupId= " + getGroupId() + ", uid= " + uid in dozeLocked()
286 "Sleeping power group (groupId=" + getGroupId() + ", uid=" + uid + ", reason=" in sleepLocked()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothProfileMonitor.java89 /* package */ long getGroupId(int profile, @NonNull BluetoothDevice device) { in getGroupId() method in BluetoothProfileMonitor
95 return mLeAudioProfile == null ? GROUP_ID_NO_GROUP : mLeAudioProfile.getGroupId( in getGroupId()
DBluetoothDeviceRoutesManager.java300 + mBluetoothProfileMonitor.getGroupId( in getRouteIdForType()
304 + mBluetoothProfileMonitor.getGroupId( in getRouteIdForType()
/frameworks/base/core/jni/
Dandroid_media_AudioProductStrategies.cpp91 auto groupId = attr.getGroupId(); in convertAudioProductStrategiesFromNative()
96 return (frontAttr.getGroupId() == groupId && frontAttr.getStreamType() == streamType); in convertAudioProductStrategiesFromNative()
113 jint jGroupId = volumeGroupAttributes.front().getGroupId(); in convertAudioProductStrategiesFromNative()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUserState.java67 result.add(new Fingerprint(fp.getName(), fp.getGroupId(), fp.getBiometricId(), in getCopy()
89 serializer.attributeInt(null, ATTR_GROUP_ID, fp.getGroupId()); in doWriteState()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayGroup.java40 int getGroupId() { in getGroupId() method in DisplayGroup
/frameworks/av/media/libaudioclient/tests/
Daudioclient_serialization_tests.cpp151 EXPECT_EQ(avec[i].getGroupId(), volumeGroupAttrVector[i].getGroupId()); in TEST_F()
310 EXPECT_EQ(volumeGroupAttrCopy.getGroupId(), volumeGroupAttr.getGroupId()) << msg; in TEST_P()
/frameworks/base/core/java/android/widget/
DExpandableListAdapter.java83 long getGroupId(int groupPosition); in getGroupId() method
DExpandableListConnector.java422 final long groupId = mExpandableListAdapter.getGroupId(posMetadata.position.groupPos); in getItemId()
683 mExpandableListAdapter.getGroupId(posMetadata.position.groupPos)); in expandGroup()
821 rowId = adapter.getGroupId(seedGroupPosition); in findGroupPosition()
DSimpleExpandableListAdapter.java266 public long getGroupId(int groupPosition) { in getGroupId() method in SimpleExpandableListAdapter
/frameworks/av/media/libaudioclient/include/media/
DVolumeGroupAttributes.h52 volume_group_t getGroupId() const { return mGroupId; } in getGroupId() function
/frameworks/av/media/libaudioclient/
DVolumeGroupAttributes.cpp54 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getGroupId())); in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprint.java47 public int getGroupId() { in getGroupId() method in Fingerprint
/frameworks/base/core/java/android/hardware/display/
DWifiDisplaySessionInfo.java79 public String getGroupId() { in getGroupId() method in WifiDisplaySessionInfo
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java58 Assert.assertEquals(groupId, item.getGroupId()); in testGroupId()
59 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java72 public long getGroupId(int groupPosition) { in getGroupId() method in BenchmarkListAdapter
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DClientProfile.java148 public int getGroupId() { in getGroupId() method in ClientProfile

123