Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceControllerTest.java338 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in onFallbackDeviceChanged_updateSummary()
359 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_showCorrectSummary()
361 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_showCorrectSummary()
365 when(mCachedDevice3.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in displayPreference_showCorrectSummary()
387 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_noFallbackDeviceInSharing_showEmptySummary()
422 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_clickToShowCorrectDialog()
425 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in displayPreference_clickToShowCorrectDialog()
461 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in logCallAudioDeviceChange_changeCallAudioToEarlierConnectedDevice()
463 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in logCallAudioDeviceChange_changeCallAudioToEarlierConnectedDevice()
480 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in logCallAudioDeviceChange_changeCallAudioToLaterConnectedDevice()
[all …]
DAudioSharingDeviceItemTest.java38 assertThat(item.getGroupId()).isEqualTo(TEST_GROUP_ID); in createItem_new()
51 assertThat(newItem.getGroupId()).isEqualTo(TEST_GROUP_ID); in createItem_withParcel()
78 assertThat(itemFromParcel.getGroupId()).isEqualTo(TEST_GROUP_ID); in creator_createFromParcel()
DAudioSharingDisconnectDialogFragmentTest.java121 when(mCachedDevice1.getGroupId()).thenReturn(TEST_GROUP_ID1); in setUp()
124 when(mCachedDevice3.getGroupId()).thenReturn(TEST_GROUP_ID3); in setUp()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java246 int groupId = AudioSharingUtils.getGroupId(cachedDevice); in handleLeAudioDeviceConnected()
277 removeSourceForGroup(item.getGroupId(), groupedDevices); in handleLeAudioDeviceConnected()
335 if (AudioSharingUtils.getGroupId(device) in handleLeAudioDeviceConnected()
336 == AudioSharingUtils.getGroupId(cachedDevice)) { in handleLeAudioDeviceConnected()
405 int groupId = AudioSharingUtils.getGroupId(cachedDevice); in closeOpeningDialogsForLeaDevice()
411 && AudioSharingUtils.getGroupId(device) == groupId) { in closeOpeningDialogsForLeaDevice()
DAudioSharingCallAudioPreferenceController.java207 if (item.getGroupId() == currentGroupId) { in displayPreference()
215 item.getGroupId(), ImmutableList.of()); in displayPreference()
353 if (item.getGroupId() == fallbackActiveGroupId) { in updateSummary()
396 int targetDeviceGroupId = AudioSharingUtils.getGroupId(target); in logCallAudioDeviceChange()
408 ? AudioSharingUtils.getGroupId(cachedDevice) in logCallAudioDeviceChange()
DAudioSharingUtils.java102 int groupId = getGroupId(cachedDevice); in fetchConnectedDevicesByGroupId()
233 getGroupId(cachedDevice), in buildAudioSharingDeviceItem()
344 public static int getGroupId(CachedBluetoothDevice cachedDevice) { in getGroupId() method in AudioSharingUtils
345 int groupId = cachedDevice.getGroupId(); in getGroupId()
354 return ((LeAudioProfile) profile).getGroupId(cachedDevice.getDevice()); in getGroupId()
DAudioSharingDeviceVolumeGroupController.java94 int groupId = AudioSharingUtils.getGroupId(cachedDevice);
98 && AudioSharingUtils.getGroupId(preference.getCachedDevice())
259 int volume = mValueMap.getOrDefault(AudioSharingUtils.getGroupId(cachedDevice), -1); in onDeviceAdded()
418 int groupId = AudioSharingUtils.getGroupId(cachedDevice); in getPreferenceOrderForDevice()
DAudioSharingStopDialogFragment.java87 int newGroupId = AudioSharingUtils.getGroupId(newDevice); in show()
89 && newGroupId == AudioSharingUtils.getGroupId(sCachedDevice)) { in show()
DAudioSharingDisconnectDialogFragment.java90 int newGroupId = AudioSharingUtils.getGroupId(newDevice); in show()
91 if (sNewDevice != null && newGroupId == AudioSharingUtils.getGroupId(sNewDevice)) { in show()
DAudioSharingDeviceItem.java37 public int getGroupId() { in getGroupId() method in AudioSharingDeviceItem
DAudioSharingCallAudioDialogFragment.java89 if (item.getGroupId() == fallbackActiveGroupId) { in onCreateDialog()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java805 when(mCsipService.getGroupId(mDevice, BluetoothUuid.CAP)).thenReturn(groupId); in testLateConnectingDevice()
806 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(groupId); in testLateConnectingDevice()
844 when(mCsipService.getGroupId(mDevice, BluetoothUuid.CAP)).thenReturn(groupId); in testLateDiscoveredGroupMember()
845 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(-1); in testLateDiscoveredGroupMember()
872 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(groupId); in testLateDiscoveredGroupMember()
888 when(mCsipService.getGroupId(mDevice, BluetoothUuid.CAP)).thenReturn(groupId); in testMuteLateConnectingDevice()
889 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(groupId); in testMuteLateConnectingDevice()
937 when(mCsipService.getGroupId(mDevice, BluetoothUuid.CAP)).thenReturn(groupId); in testMuteLateDiscoveredGroupMember()
938 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(-1); in testMuteLateDiscoveredGroupMember()
968 when(mCsipService.getGroupId(mDeviceTwo, BluetoothUuid.CAP)).thenReturn(groupId); in testMuteLateDiscoveredGroupMember()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java194 when(mBluetoothLeAudio.getGroupId(device5)).thenReturn(1); in testMultiDeviceConnectAndDisconnect()
205 when(mBluetoothLeAudio.getGroupId(device6)).thenReturn(1); in testMultiDeviceConnectAndDisconnect()
226 when(mBluetoothLeAudio.getGroupId(device5)).thenReturn(1); in testLeAudioMissedGroupCallbackBeforeConnected()
227 when(mBluetoothLeAudio.getGroupId(device6)).thenReturn(1); in testLeAudioMissedGroupCallbackBeforeConnected()
247 verify(mBluetoothLeAudio, never()).getGroupId(device5); in testLeAudioGroupAvailableBeforeConnect()
248 verify(mBluetoothLeAudio, never()).getGroupId(device6); in testLeAudioGroupAvailableBeforeConnect()
292 when(mBluetoothLeAudio.getGroupId(device5)).thenReturn(1); in testLeAudioDedup()
293 when(mBluetoothLeAudio.getGroupId(device6)).thenReturn(1); in testLeAudioDedup()
744 when(mBluetoothLeAudio.getGroupId(eq(device3))).thenReturn(1); in testInBandRingingEnabledForLeDevice()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DThresholdTest.java66 Assert.assertEquals(mGid, mThreshold.getGroupId()); in testGetGroupId()
73 Assert.assertEquals(set_gid, mThreshold.getGroupId()); in testSetGroupId()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java76 public long getGroupId() { in getGroupId() method in GroupMembershipView.GroupSelectionItem
436 long groupId = item.getGroupId(); in onItemClick()
452 if (groupId == item.getGroupId()) { in isGroupChecked()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java492 Long.compare(data1.getSliceByState(0).getGroupId(),
493 data2.getSliceByState(0).getGroupId())
500 assertThat(data.getSliceByState(0).getGroupId())
510 assertThat(data.getSliceByState(0).getGroupId())
/packages/apps/Dialer/java/com/android/contacts/common/
DGroupMetaData.java61 public long getGroupId() { in getGroupId() method in GroupMetaData
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupListItem.java59 public long getGroupId() { in getGroupId() method in GroupListItem
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBinderTest.java238 public void getGroupId() { in getGroupId() method in LeAudioBinderTest
242 mBinder.getGroupId(device, source); in getGroupId()
243 verify(mLeAudioService).getGroupId(device); in getGroupId()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtils.java250 int deviceGroupId = cachedBluetoothDevice.getGroupId(); in getAllOfCachedBluetoothDevices()
262 .filter(cachedDevice -> cachedDevice.getGroupId() == deviceGroupId) in getAllOfCachedBluetoothDevices()
DBluetoothDetailsMacAddressController.java54 if (mCachedDevice.getGroupId() != BluetoothCsipSetCoordinator.GROUP_ID_INVALID) { in refresh()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java365 int groupId = mBluetoothLeAudioService.getGroupId(hfpDevice); in getConnectedDevices()
377 int groupId = mBluetoothLeAudioService.getGroupId(leAudioDevice); in getConnectedDevices()
491 int groupId = mBluetoothLeAudioService.getGroupId(device); in onDeviceConnected()
932 int groupId = mBluetoothLeAudioService.getGroupId(bluetoothDevice); in isInbandRingEnabled()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java736 int groupId = getGroupId(device); in connect()
851 if (getGroupId(mActiveAudioOutDevice) == groupId) { in getConnectedGroupLeadDevice()
1031 int groupId = getGroupId(device); in getGroupDevices()
1156 int groupId = getGroupId(sink); in getBroadcastAudioQualityPerSinkCapabilities()
1726 volumeControlService.setGroupActive(getGroupId(mExposedActiveDevice), false); in notifyVolumeControlServiceAboutActiveGroup()
1730 volumeControlService.setGroupActive(getGroupId(device), true); in notifyVolumeControlServiceAboutActiveGroup()
3641 if (getGroupId(peerDevice) == groupId) { in getConnectedPeerDevices()
4045 int groupId = getGroupId(device); in setConnectionPolicy()
4119 public int getGroupId(BluetoothDevice device) { in getGroupId() method in LeAudioService
4214 .map(dev -> getGroupId(dev)) in setVolume()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java85 public long getGroupId(final int groupPosition) { in getGroupId() method in VCardDetailAdapter
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DAccessNetworkEvaluator.java1596 } else if (threshold.getGroupId() >= 0) { in findUnmatchedThresholds()
1600 excludeThresholdGroup.add(threshold.getGroupId()); in findUnmatchedThresholds()
1606 unmatchedThresholds.removeIf(threshold -> threshold.getGroupId() == excludeGid); in findUnmatchedThresholds()
1625 if (th.getGroupId() < 0) { in updateQualityMonitor()
1628 unmatchedGroupIdSet.add(th.getGroupId()); in updateQualityMonitor()
1646 if (th.getGroupId() < 0) { in updateQualityMonitor()
1651 reducedGroupIdSet.add(th.getGroupId()); in updateQualityMonitor()

123