Home
last modified time | relevance | path

Searched refs:BluetoothMediaBrowserService (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java39 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService;
129 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testSrcStart()
141 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testSrcStop()
150 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testSnkPlay()
161 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testSnkPause()
173 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testDisconnect()
184 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testSrcPlay()
220 assertThat(BluetoothMediaBrowserService.isActive()).isTrue(); in testFocusGain()
236 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testFocusTransientMayDuck()
254 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testFocusLostTransient()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java312 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in onBrowsingDisconnected()
313 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mRootNode); in onBrowsingDisconnected()
387 BluetoothMediaBrowserService.notifyChanged(node); in notifyChanged()
393 BluetoothMediaBrowserService.notifyChanged(state); in notifyChanged()
461 BluetoothMediaBrowserService.notifyChanged(mService.sBrowseTree.mRootNode); in enter()
476 BluetoothMediaBrowserService.addressedPlayerChanged(mSessionCallbacks); in processMessage()
477 BluetoothMediaBrowserService.trackChanged( in processMessage()
479 BluetoothMediaBrowserService.notifyChanged( in processMessage()
481 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in processMessage()
586 BluetoothMediaBrowserService.trackChanged(track); in processMessage()
[all …]
DAvrcpControllerService.java39 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService.BrowseResult;
165 Intent startIntent = new Intent(this, BluetoothMediaBrowserService.class); in start()
173 Intent stopIntent = new Intent(this, BluetoothMediaBrowserService.class); in stop()
242 BluetoothMediaBrowserService.reset(); in setActiveDevice()
509 BluetoothMediaBrowserService.setActive(true); in onAudioFocusStateChanged()
512 BluetoothMediaBrowserService.setActive(false); in onAudioFocusStateChanged()
810 sb.append("\n " + BluetoothMediaBrowserService.dump() + "\n"); in dump()
DBluetoothMediaBrowserService.java54 public class BluetoothMediaBrowserService extends MediaBrowserServiceCompat { class
55 private static final String TAG = BluetoothMediaBrowserService.class.getSimpleName();
57 private static BluetoothMediaBrowserService sBluetoothMediaBrowserService;
DAvrcpPlayer.java149 MediaSessionCompat session = BluetoothMediaBrowserService.getSession(); in setCurrentPlayerApplicationSettings()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java139 BluetoothMediaBrowserService.reset(); in setUp()
189 BluetoothMediaBrowserService.reset(); in setActiveDevice()
412 BluetoothMediaBrowserService.getTransportControls(); in testControlOnly()
416 BluetoothMediaBrowserService.getPlaybackState().getState()); in testControlOnly()
446 BluetoothMediaBrowserService.getPlaybackState().getState()); in testBrowsingOnly()
512 BluetoothMediaBrowserService.getTransportControls(); in testPlay()
533 BluetoothMediaBrowserService.getTransportControls(); in testPause()
554 BluetoothMediaBrowserService.getTransportControls(); in testStop()
575 BluetoothMediaBrowserService.getTransportControls(); in testNext()
596 BluetoothMediaBrowserService.getTransportControls(); in testPrevious()
[all …]
DAvrcpControllerServiceTest.java46 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService.BrowseResult;
352 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in onConnectionStateChanged_connectCase()
361 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in onConnectionStateChanged_disconnectCase()
505 assertThat(BluetoothMediaBrowserService.isActive()).isTrue(); in testOnFocusChange_audioGainDeviceActive_sessionActivated()
511 assertThat(BluetoothMediaBrowserService.isActive()).isFalse(); in testOnFocusChange_audioLoss_sessionDeactivated()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java40 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService;
348 BluetoothMediaBrowserService.class); in prepareIntentToStartBluetoothBrowserMediaService()