Searched refs:MAX_HEADSET_CONNECTIONS (Results 1 – 2 of 2) sorted by relevance
87 private static final int MAX_HEADSET_CONNECTIONS = 5; field in HeadsetServiceAndStateMachineTest167 doReturn(MAX_HEADSET_CONNECTIONS).when(mAdapterService).getMaxConnectedAudioDevices(); in setUp()427 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testVirtualCall_normalStartStop()439 BluetoothDevice activeDevice = connectedDevices.get(MAX_HEADSET_CONNECTIONS / 2); in testVirtualCall_normalStartStop()467 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testVirtualCall_preemptedByTelecomCall()479 BluetoothDevice activeDevice = connectedDevices.get(MAX_HEADSET_CONNECTIONS / 2); in testVirtualCall_preemptedByTelecomCall()510 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testVirtualCall_rejectedWhenThereIsTelecomCall()522 BluetoothDevice activeDevice = connectedDevices.get(MAX_HEADSET_CONNECTIONS / 2); in testVirtualCall_rejectedWhenThereIsTelecomCall()541 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testDialingOutCall_NormalDialingOut()623 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testDialingOutCall_DialingOutPreemptVirtualCall()[all …]
67 private static final int MAX_HEADSET_CONNECTIONS = 5; field in HeadsetServiceTest103 doReturn(MAX_HEADSET_CONNECTIONS).when(mAdapterService).getMaxConnectedAudioDevices(); in setUp()349 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testConnectDevice_connectDeviceAboveLimit()378 mCurrentDevice = TestUtils.getTestDevice(mAdapter, MAX_HEADSET_CONNECTIONS); in testConnectDevice_connectDeviceAboveLimit()381 verify(mObjectsFactory, times(MAX_HEADSET_CONNECTIONS + 1)).makeStateMachine( in testConnectDevice_connectDeviceAboveLimit()453 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testConnectAudio_withMultipleDevices()529 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testConnectAudio_connectTwoAudioChannelsShouldFail()563 if (MAX_HEADSET_CONNECTIONS >= 2) { in testConnectAudio_connectTwoAudioChannelsShouldFail()605 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testConnectAudio_firstConnectedAudioDevice()808 for (int i = 0; i < MAX_HEADSET_CONNECTIONS; ++i) { in testPhoneStateChange_multipleDevicesSaveState()