Searched refs:mAudioStreamsHelper (Results 1 – 9 of 9) sorted by relevance
103 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamButtonController112 mAudioStreamsHelper = new AudioStreamsHelper(Utils.getLocalBtManager(context)); in AudioStreamButtonController()113 mLeBroadcastAssistant = mAudioStreamsHelper.getLeBroadcastAssistant(); in AudioStreamButtonController()148 mAudioStreamsHelper.getAllConnectedSources().stream() in updateButton()159 mAudioStreamsHelper.removeSource(mBroadcastId); in updateButton()191 mAudioStreamsHelper.addSource(metadata); in updateButton()
55 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamHeaderController79 mAudioStreamsHelper.startMediaService(93 mAudioStreamsHelper = new AudioStreamsHelper(Utils.getLocalBtManager(context)); in AudioStreamHeaderController()94 mLeBroadcastAssistant = mAudioStreamsHelper.getLeBroadcastAssistant(); in AudioStreamHeaderController()142 mAudioStreamsHelper.getAllConnectedSources().stream() in updateSummary()
85 if (mAudioStreamsHelper != null86 && mAudioStreamsHelper.getAllConnectedSources().stream()190 @Nullable private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamMediaService215 mAudioStreamsHelper = new AudioStreamsHelper(mLocalBtManager); in onCreate()216 mLeBroadcastAssistant = mAudioStreamsHelper.getLeBroadcastAssistant(); in onCreate()364 if (action.equals(LEAVE_BROADCAST_ACTION) && mAudioStreamsHelper != null) { in createLocalMediaSession()365 mAudioStreamsHelper.removeSource(mBroadcastId); in createLocalMediaSession()
97 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsProgressCategoryController112 mAudioStreamsHelper = new AudioStreamsHelper(mBluetoothManager); in AudioStreamsProgressCategoryController()114 mLeBroadcastAssistant = mAudioStreamsHelper.getLeBroadcastAssistant(); in AudioStreamsProgressCategoryController()299 if (mAudioStreamsHelper.getAllConnectedSources().stream() in handleSourceLost()328 && mAudioStreamsHelper.getAllConnectedSources().stream() in handleSourceRemoved()508 mAudioStreamsHelper in startScanning()562 stateHandler.handleStateChange(preference, this, mAudioStreamsHelper); in moveToState()
65 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamHeaderControllerTest76 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()92 when(mAudioStreamsHelper.getAllConnectedSources()) in testDisplayPreference_sourceConnected_setSummary()106 when(mAudioStreamsHelper.getAllConnectedSources()).thenReturn(Collections.emptyList()); in testDisplayPreference_sourceNotConnected_setSummary()
63 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamButtonControllerTest71 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()90 when(mAudioStreamsHelper.getAllConnectedSources()) in testDisplayPreference_sourceConnected_setDisconnectButton()104 when(mAudioStreamsHelper.getAllConnectedSources()).thenReturn(Collections.emptyList()); in testDisplayPreference_sourceNotConnected_setConnectButton()
56 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsActiveDeviceSummaryUpdaterTest62 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()
89 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamMediaServiceTest105 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()106 when(mAudioStreamsHelper.getLeBroadcastAssistant()).thenReturn(mLeBroadcastAssistant); in setUp()
88 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsCategoryControllerTest100 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()