Home
last modified time | relevance | path

Searched refs:mCsipService (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java110 @Mock private CsipSetCoordinatorService mCsipService; field in HapClientTest
129 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp()
165 doReturn(Arrays.asList(0x02, 0x03)).when(mCsipService).getAllGroupIds(BluetoothUuid.CAP); in setUp()
176 .when(mCsipService) in setUp()
178 doReturn(groups2).when(mCsipService).getGroupUuidMapByDevice(mDevice); in setUp()
179 doReturn(groups2).when(mCsipService).getGroupUuidMapByDevice(mDevice2); in setUp()
181 doReturn(Arrays.asList(mDevice3)).when(mCsipService).getGroupDevicesOrdered(0x03); in setUp()
182 doReturn(groups3).when(mCsipService).getGroupUuidMapByDevice(mDevice3); in setUp()
184 doReturn(Arrays.asList(mDevice)).when(mCsipService).getGroupDevicesOrdered(0x01); in setUp()
691 for (BluetoothDevice device : mCsipService.getGroupDevicesOrdered(test_group)) { in testSetPresetNameForGroup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java97 @Mock private CsipSetCoordinatorService mCsipService; field in VolumeControlServiceTest
139 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp()
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()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java163 @Mock private CsipSetCoordinatorService mCsipService; field in BassClientServiceTest
288 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp()
483 .when(mCsipService) in prepareConnectedDeviceGroup()
486 .when(mCsipService) in prepareConnectedDeviceGroup()