Home
last modified time | relevance | path

Searched refs:getActiveSyncedSources (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java573 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources()
589 assertThat(mBassClientService.getActiveSyncedSources()).isEmpty(); in testStopSearchingForSources()
610 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStop()
623 assertThat(mBassClientService.getActiveSyncedSources()).isEmpty(); in testStop()
657 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources_startAndSyncAgain()
696 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStop_startAndSyncAgain()
751 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources_addSourceCauseSyncEvenWithoutScanning()
801 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources_timeoutForActiveSync()
838 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources_clearTimeoutForActiveSync()
849 assertThat(mBassClientService.getActiveSyncedSources().size()).isEqualTo(1); in testStopSearchingForSources_clearTimeoutForActiveSync()
[all …]
DBassClientStateMachineTest.java352 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in testStatesChangesWithMessages()
574 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in parseScanRecord_withoutBaseData_callCancelActiveSync()
579 verify(mBassClientService).getActiveSyncedSources(any()); in parseScanRecord_withoutBaseData_callCancelActiveSync()
1044 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in sendOtherMessages_inDisconnectedState_doesNotChangeState()
1158 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in sendDisconnectMessage_inConnectedState()
1182 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in sendStateChangedMessage_inConnectedState()
1267 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in sendPsyncActiveMessage_inConnectedState()
1272 verify(mBassClientService).getActiveSyncedSources(any()); in sendPsyncActiveMessage_inConnectedState()
1402 when(mBassClientService.getActiveSyncedSources(any())).thenReturn(null); in sendReachedMaxSourceLimitMessage_inConnectedState()
1407 verify(mBassClientService).getActiveSyncedSources(any()); in sendReachedMaxSourceLimitMessage_inConnectedState()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java506 List<Integer> getActiveSyncedSources(BluetoothDevice scanDelegator) { in getActiveSyncedSources() method in BassClientService
554 List<Integer> getActiveSyncedSources() { in getActiveSyncedSources() method in BassClientService
2102 List<Integer> activeSyncedSrc = new ArrayList<>(getActiveSyncedSources()); in cancelActiveSync()
2277 List<Integer> activeSyncedSrc = getActiveSyncedSources(); in handleSelectSourceRequest()
2327 List<Integer> activeSyncedSrc = getActiveSyncedSources(sink); in selectSource()
2414 List<Integer> activeSyncedSrc = getActiveSyncedSources(); in addSource()
DBassClientStateMachine.java518 List<Integer> activeSyncedSrc = mService.getActiveSyncedSources(mDevice); in isSourceSynced()
534 List<Integer> activeSyncedSrc = mService.getActiveSyncedSources(mDevice); in cancelActiveSync()
550 if (mService.getActiveSyncedSources(mDevice) == null) { in cancelActiveSync()
1950 List<Integer> activeSyncedSrc = mService.getActiveSyncedSources(mDevice); in processMessage()