Home
last modified time | relevance | path

Searched refs:mAudioStreamsHelper (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamButtonController.java103 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamButtonController
112 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()
DAudioStreamHeaderController.java55 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamHeaderController
79 mAudioStreamsHelper.startMediaService(
93 mAudioStreamsHelper = new AudioStreamsHelper(Utils.getLocalBtManager(context)); in AudioStreamHeaderController()
94 mLeBroadcastAssistant = mAudioStreamsHelper.getLeBroadcastAssistant(); in AudioStreamHeaderController()
142 mAudioStreamsHelper.getAllConnectedSources().stream() in updateSummary()
DAudioStreamMediaService.java85 if (mAudioStreamsHelper != null
86 && mAudioStreamsHelper.getAllConnectedSources().stream()
190 @Nullable private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamMediaService
215 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()
DAudioStreamsProgressCategoryController.java97 private final AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsProgressCategoryController
112 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamHeaderControllerTest.java65 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamHeaderControllerTest
76 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()
92 when(mAudioStreamsHelper.getAllConnectedSources()) in testDisplayPreference_sourceConnected_setSummary()
106 when(mAudioStreamsHelper.getAllConnectedSources()).thenReturn(Collections.emptyList()); in testDisplayPreference_sourceNotConnected_setSummary()
DAudioStreamButtonControllerTest.java63 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamButtonControllerTest
71 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()
90 when(mAudioStreamsHelper.getAllConnectedSources()) in testDisplayPreference_sourceConnected_setDisconnectButton()
104 when(mAudioStreamsHelper.getAllConnectedSources()).thenReturn(Collections.emptyList()); in testDisplayPreference_sourceNotConnected_setConnectButton()
DAudioStreamsActiveDeviceSummaryUpdaterTest.java56 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsActiveDeviceSummaryUpdaterTest
62 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()
DAudioStreamMediaServiceTest.java89 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamMediaServiceTest
105 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()
106 when(mAudioStreamsHelper.getLeBroadcastAssistant()).thenReturn(mLeBroadcastAssistant); in setUp()
DAudioStreamsCategoryControllerTest.java88 @Mock private AudioStreamsHelper mAudioStreamsHelper; field in AudioStreamsCategoryControllerTest
100 ShadowAudioStreamsHelper.setUseMock(mAudioStreamsHelper); in setUp()