/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingCallAudioPreferenceControllerTest.java | 338 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 …]
|
D | AudioSharingDeviceItemTest.java | 38 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()
|
D | AudioSharingDisconnectDialogFragmentTest.java | 121 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/ |
D | AudioSharingDialogHandler.java | 246 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()
|
D | AudioSharingCallAudioPreferenceController.java | 207 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()
|
D | AudioSharingUtils.java | 102 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()
|
D | AudioSharingDeviceVolumeGroupController.java | 94 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()
|
D | AudioSharingStopDialogFragment.java | 87 int newGroupId = AudioSharingUtils.getGroupId(newDevice); in show() 89 && newGroupId == AudioSharingUtils.getGroupId(sCachedDevice)) { in show()
|
D | AudioSharingDisconnectDialogFragment.java | 90 int newGroupId = AudioSharingUtils.getGroupId(newDevice); in show() 91 if (sNewDevice != null && newGroupId == AudioSharingUtils.getGroupId(sNewDevice)) { in show()
|
D | AudioSharingDeviceItem.java | 37 public int getGroupId() { in getGroupId() method in AudioSharingDeviceItem
|
D | AudioSharingCallAudioDialogFragment.java | 89 if (item.getGroupId() == fallbackActiveGroupId) { in onCreateDialog()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 805 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/ |
D | BluetoothDeviceManagerTest.java | 194 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/ |
D | ThresholdTest.java | 66 Assert.assertEquals(mGid, mThreshold.getGroupId()); in testGetGroupId() 73 Assert.assertEquals(set_gid, mThreshold.getGroupId()); in testSetGroupId()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 76 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/ |
D | CountMetricsTests.java | 492 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/ |
D | GroupMetaData.java | 61 public long getGroupId() { in getGroupId() method in GroupMetaData
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupListItem.java | 59 public long getGroupId() { in getGroupId() method in GroupListItem
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBinderTest.java | 238 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/ |
D | Utils.java | 250 int deviceGroupId = cachedBluetoothDevice.getGroupId(); in getAllOfCachedBluetoothDevices() 262 .filter(cachedDevice -> cachedDevice.getGroupId() == deviceGroupId) in getAllOfCachedBluetoothDevices()
|
D | BluetoothDetailsMacAddressController.java | 54 if (mCachedDevice.getGroupId() != BluetoothCsipSetCoordinator.GROUP_ID_INVALID) { in refresh()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 365 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/ |
D | LeAudioService.java | 736 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/ |
D | VCardDetailAdapter.java | 85 public long getGroupId(final int groupPosition) { in getGroupId() method in VCardDetailAdapter
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | AccessNetworkEvaluator.java | 1596 } 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()
|