Home
last modified time | relevance | path

Searched refs:AudioStreamsHelper (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/testshadows/
DShadowAudioStreamsHelper.java23 import com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamsHelper;
35 @Implements(value = AudioStreamsHelper.class, callThroughByDefault = false)
37 private static AudioStreamsHelper sMockHelper;
40 public static void setUseMock(AudioStreamsHelper mockAudioStreamsHelper) { in setUseMock()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreference.java81 String broadcastName = AudioStreamsHelper.getBroadcastName(metadata); in setAudioStreamMetadata()
144 preference.setTitle(AudioStreamsHelper.getBroadcastName(source)); in fromMetadata()
152 preference.setTitle(AudioStreamsHelper.getBroadcastName(receiveState)); in fromReceiveState()
192 ? AudioStreamsHelper.getBroadcastName(mMetadata) in getBroadcastName()
194 ? AudioStreamsHelper.getBroadcastName(mReceiveState) in getBroadcastName()
DAudioStreamsProgressCategoryController.java97 private final AudioStreamsHelper mAudioStreamsHelper;
112 mAudioStreamsHelper = new AudioStreamsHelper(mBluetoothManager); in AudioStreamsProgressCategoryController()
192 AudioStreamsHelper.getBroadcastName(source), source.getBroadcastId()); in handleSourceFound()
241 if (targetBroadcastName.equals(AudioStreamsHelper.getBroadcastName(mSourceFromQrCode))) { in maybeUpdateId()
247 + AudioStreamsHelper.getBroadcastName(mSourceFromQrCode) in maybeUpdateId()
358 if (!AudioStreamsHelper.isConnected(receiveState)) { in handleSourceConnected()
373 AudioStreamsHelper.getBroadcastName(receiveState), in handleSourceConnected()
408 if (!AudioStreamsHelper.isBadCode(receiveState)) { in handleSourceConnectBadCode()
459 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected(mBluetoothManager) in init()
DAudioStreamsHelper.java56 public class AudioStreamsHelper { class
64 AudioStreamsHelper(@Nullable LocalBluetoothManager bluetoothManager) { in AudioStreamsHelper() method in AudioStreamsHelper
138 .filter(AudioStreamsHelper::isConnected) in getAllConnectedSources()
240 && sourceList.stream().anyMatch(AudioStreamsHelper::isConnected)) { in hasConnectedBroadcastSource()
251 if (!list.isEmpty() && list.stream().anyMatch(AudioStreamsHelper::isConnected)) { in hasConnectedBroadcastSource()
DAudioStreamHeaderController.java55 private final AudioStreamsHelper mAudioStreamsHelper;
77 if (AudioStreamsHelper.isConnected(state)) {
93 mAudioStreamsHelper = new AudioStreamsHelper(Utils.getLocalBtManager(context)); in AudioStreamHeaderController()
DAudioStreamButtonController.java73 if (AudioStreamsHelper.isConnected(state)) {
103 private final AudioStreamsHelper mAudioStreamsHelper;
112 mAudioStreamsHelper = new AudioStreamsHelper(Utils.getLocalBtManager(context)); in AudioStreamButtonController()
DAudioStreamStateHandler.java48 AudioStreamsHelper helper) { in handleStateChange()
90 AudioStreamsHelper helper) {} in performAction()
DAudioStreamsProgressCategoryCallback.java39 if (AudioStreamsHelper.isConnected(state)) { in onReceiveStateChanged()
41 } else if (AudioStreamsHelper.isBadCode(state)) { in onReceiveStateChanged()
DAddSourceWaitForResponseState.java52 AudioStreamsHelper helper) { in performAction()
85 AudioStreamsHelper.getBroadcastName(metadata)); in performAction()
DWaitForSyncState.java55 AudioStreamsHelper helper) { in performAction()
74 AudioStreamsHelper.getBroadcastName(metadata)); in performAction()
DAddSourceFailedState.java46 AudioStreamsHelper helper) { in performAction()
DAddSourceBadCodeState.java46 AudioStreamsHelper helper) { in performAction()
DSourceAddedState.java48 AudioStreamsHelper helper) { in performAction()
DAudioStreamsActiveDeviceSummaryUpdater.java89 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected( in getSummary()
DAudioStreamsCategoryController.java103 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected( in updateVisibility()
DAudioStreamsScanQrCodeController.java127 AudioStreamsHelper in updateVisibility()
DAudioStreamMediaService.java190 @Nullable private AudioStreamsHelper mAudioStreamsHelper;
215 mAudioStreamsHelper = new AudioStreamsHelper(mLocalBtManager); in onCreate()
DMediaControlHelper.java57 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected( in start()
DAudioStreamsQrCodeScanFragment.java142 AudioStreamsHelper.getCachedBluetoothDeviceInSharingOrLeConnected( in onViewCreated()
DAudioStreamConfirmDialog.java96 ? AudioStreamsHelper.getBroadcastName(mBroadcastMetadata) in getConfirmDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsActiveDeviceSummaryUpdaterTest.java56 @Mock private AudioStreamsHelper mAudioStreamsHelper;
DWaitForSyncStateTest.java48 @Mock private AudioStreamsHelper mMockHelper;
DAddSourceWaitForResponseStateTest.java49 @Mock private AudioStreamsHelper mMockHelper;
DAudioStreamHeaderControllerTest.java65 @Mock private AudioStreamsHelper mAudioStreamsHelper;
DAudioStreamButtonControllerTest.java63 @Mock private AudioStreamsHelper mAudioStreamsHelper;

12