Home
last modified time | relevance | path

Searched refs:getAllSources (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandlerTest.java192 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in handleUserTriggeredNonLeaDeviceConnected_noSharing_setActive()
205 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredNonLeaDeviceConnected_sharing_showStopDialog()
244 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in handleUserTriggeredLeaDeviceConnected_noSharingNoTwoLeaDevices_setActive()
257 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in handleUserTriggeredLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog()
300 when(mAssistant.getAllSources(mDevice1)).thenReturn(ImmutableList.of()); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog()
301 when(mAssistant.getAllSources(mDevice3)).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog()
345 when(mAssistant.getAllSources(mDevice1)).thenReturn(ImmutableList.of()); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
346 when(mAssistant.getAllSources(mDevice3)).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
347 when(mAssistant.getAllSources(mDevice4)).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
391 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in handleNonLeaDeviceConnected_noSharing_doNothing()
[all …]
DAudioSharingCallAudioPreferenceControllerTest.java346 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in onFallbackDeviceChanged_updateSummary()
375 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in displayPreference_showCorrectSummary()
395 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in displayPreference_noFallbackDeviceInSharing_showEmptySummary()
435 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in displayPreference_clickToShowCorrectDialog()
536 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in testBluetoothLeBroadcastAssistantCallbacks_updateSummary()
566 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mState)); in testBluetoothLeBroadcastAssistantCallbacks_doNothing()
DAudioSharingBluetoothDeviceUpdaterTest.java176 when(mAssistant.getAllSources(mBluetoothDevice)).thenReturn(ImmutableList.of()); in onProfileConnectionStateChanged_leaDeviceConnected_noSource_removesPref()
280 when(mAssistant.getAllSources(mBluetoothDevice)).thenReturn(ImmutableList.of(mState)); in setupPreferenceMapWithDevice()
DAudioSharingDeviceVolumeControlUpdaterTest.java168 when(mAssistant.getAllSources(mBluetoothDevice)).thenReturn(ImmutableList.of()); in onProfileConnectionStateChanged_leaDeviceConnected_noSource_removesPref()
364 when(mAssistant.getAllSources(mBluetoothDevice)).thenReturn(ImmutableList.of(mState)); in setupPreferenceMapWithDevice()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBleBroadcastAssistantBinderTest.java269 public void getAllSources() { in getAllSources() method in BleBroadcastAssistantBinderTest
271 mBinder.getAllSources(device); in getAllSources()
272 verify(mService).getAllSources(device); in getAllSources()
275 assertThat(mBinder.getAllSources(device)).isEqualTo(Collections.emptyList()); in getAllSources()
278 assertThat(mBinder.getAllSources(device)).isEqualTo(Collections.emptyList()); in getAllSources()
DBassClientServiceTest.java266 doReturn(new ArrayList<>()).when(stateMachine).getAllSources(); in setUp()
1009 List<BluetoothLeBroadcastReceiveState> stateList = sm.getAllSources(); in injectRemoteSourceState()
1016 doReturn(stateList).when(sm).getAllSources(); in injectRemoteSourceState()
1068 List<BluetoothLeBroadcastReceiveState> stateList = sm.getAllSources(); in injectRemoteSourceStateRemoval()
1089 doReturn(stateList).when(sm).getAllSources(); in injectRemoteSourceStateRemoval()
DBassClientStateMachineTest.java1713 assertThat(mBassClientStateMachine.getAllSources().size()).isEqualTo(1); in receiveSinkReceiveState_inConnectedState()
1714 BluetoothLeBroadcastReceiveState recvState = mBassClientStateMachine.getAllSources().get(0); in receiveSinkReceiveState_inConnectedState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdaterTest.java277 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mBroadcastReceiveState)); in onProfileConnectionStateChanged_leaConnected_notInCallSharingFlagOff_addsPreference()
298 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in onProfileConnectionStateChanged_leaConnected_notInCallNotInSharing_addsPreference()
315 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mBroadcastReceiveState)); in onProfileConnectionStateChanged_leaConnected_inCallSharingFlagOff_addsPreference()
335 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of()); in onProfileConnectionStateChanged_leaConnected_inCallNotInSharing_addsPreference()
354 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mBroadcastReceiveState)); in onProfileConnectionStateChanged_leaDeviceConnected_notInCallInSharing_removesPref()
375 when(mAssistant.getAllSources(any())).thenReturn(ImmutableList.of(mBroadcastReceiveState)); in onProfileConnectionStateChanged_leaDeviceConnected_inCallInSharing_removesPref()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsHelper.java119 mLeBroadcastAssistant.getAllSources(sink).stream() in removeSource()
137 .flatMap(sink -> mLeBroadcastAssistant.getAllSources(sink).stream()) in getAllConnectedSources()
238 assistant.getAllSources(cachedDevice.getDevice()); in hasConnectedBroadcastSource()
250 assistant.getAllSources(device.getDevice()); in hasConnectedBroadcastSource()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java990 getOrCreateStateMachine(device).getAllSources(); in getGroupManagedDeviceSources()
1046 List<BluetoothLeBroadcastReceiveState> currentAllSources = getAllSources(device); in isValidBroadcastSourceAddition()
1077 for (BluetoothLeBroadcastReceiveState recvState : stateMachine.getAllSources()) { in hasRoomForBroadcastSourceAddition()
1097 List<BluetoothLeBroadcastReceiveState> sources = stateMachine.getAllSources(); in getSourceIdToRemove()
2721 public List<BluetoothLeBroadcastReceiveState> getAllSources(BluetoothDevice sink) { in getAllSources() method in BassClientService
2731 for (BluetoothLeBroadcastReceiveState rs : stateMachine.getAllSources()) { in getAllSources()
2798 for (BluetoothLeBroadcastReceiveState receiveState : getAllSources(device)) { in getReceiveStateDevicePairs()
2855 for (BluetoothLeBroadcastReceiveState receiveState : getAllSources(device)) { in stopSourceReceivers()
3066 List<BluetoothLeBroadcastReceiveState> sources = stateMachine.getAllSources(); in resumeReceiversSourceSynchronization()
3161 for (BluetoothLeBroadcastReceiveState receiveState : getAllSources(device)) { in isAnyReceiverReceivingBroadcast()
[all …]
DBassClientStateMachine.java299 List<BluetoothLeBroadcastReceiveState> currentSources = getAllSources(); in getBroadcastReceiveStateForSourceDevice()
318 List<BluetoothLeBroadcastReceiveState> currentSources = getAllSources(); in getBroadcastReceiveStateForSourceId()
1356 public List<BluetoothLeBroadcastReceiveState> getAllSources() { in getAllSources() method
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothLeBroadcastAssistant.aidl59 List<BluetoothLeBroadcastReceiveState> getAllSources(in BluetoothDevice sink); in getAllSources() method
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastAssistant.java1200 public List<BluetoothLeBroadcastReceiveState> getAllSources(@NonNull BluetoothDevice sink) { in getAllSources() method in BluetoothLeBroadcastAssistant
1211 return service.getAllSources(sink); in getAllSources()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java466 mAssistant.getAllSources(device)) { in removeSourceForGroup()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java559 mLeBroadcastAssistant.getAllSources(mCachedDevice.getDevice()); in addConnectedSourcePreference()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt587 …ic java.util.List<android.bluetooth.BluetoothLeBroadcastReceiveState> getAllSources(@NonNull andro…