Home
last modified time | relevance | path

Searched refs:mCoverArtManager (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java111 protected AvrcpCoverArtManager mCoverArtManager; field in AvrcpControllerService
128 mCoverArtManager.removeImage(device, event.getUuid()); in onImageDownloadComplete()
159 mCoverArtManager = new AvrcpCoverArtManager(this, new ImageDownloadCallback()); in start()
182 if (mCoverArtManager != null) { in stop()
183 mCoverArtManager.cleanup(); in stop()
184 mCoverArtManager = null; in stop()
542 if (mCoverArtManager != null) { in onTrackChanged()
545 item.setCoverArtUuid(mCoverArtManager.getUuidForHandle(device, handle)); in onTrackChanged()
619 if (mCoverArtManager != null) { in handleGetFolderItemsRsp()
622 item.setCoverArtUuid(mCoverArtManager.getUuidForHandle(device, handle)); in handleGetFolderItemsRsp()
[all …]
DAvrcpControllerStateMachine.java122 protected final AvrcpCoverArtManager mCoverArtManager; field in AvrcpControllerStateMachine
158 mCoverArtManager = service.getCoverArtManager(); in AvrcpControllerStateMachine()
262 + (mCoverArtManager.getState(mDevice) == BluetoothProfile.STATE_CONNECTED)); in dump()
322 if (mCoverArtManager != null in connectCoverArt()
324 && mCoverArtManager.getState(mDevice) != BluetoothProfile.STATE_CONNECTED) { in connectCoverArt()
326 mCoverArtManager.connect(mDevice, /* psm */ mCoverArtPsm); in connectCoverArt()
331 if (mCoverArtManager != null in refreshCoverArt()
333 && mCoverArtManager.getState(mDevice) == BluetoothProfile.STATE_CONNECTED) { in refreshCoverArt()
335 mCoverArtManager.refreshSession(mDevice); in refreshCoverArt()
341 if (mCoverArtManager != null) { in disconnectCoverArt()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java90 @Mock private AvrcpCoverArtManager mCoverArtManager; field in AvrcpControllerStateMachineTest
116 doReturn(BluetoothProfile.STATE_DISCONNECTED).when(mCoverArtManager).getState(any()); in setUp()
129 doReturn(mCoverArtManager).when(mAvrcpControllerService).getCoverArtManager(); in setUp()