Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java114 protected final AvrcpControllerService mService;
140 AvrcpControllerStateMachine(BluetoothDevice device, AvrcpControllerService service) { in AvrcpControllerStateMachine()
378 if (scope != AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING in notifyChanged()
379 || (scope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING in notifyChanged()
518 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
533 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
543 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
662 AvrcpControllerService.KEY_STATE_RELEASED); in passThru()
678 AvrcpControllerService.KEY_STATE_PRESSED); in passThru()
685 cmd, AvrcpControllerService.KEY_STATE_RELEASED); in passThru()
[all …]
DAvrcpControllerService.java44 public class AvrcpControllerService extends ProfileService { class
92 private static AvrcpControllerService sService;
124 public AvrcpControllerService() { in AvrcpControllerService() method in AvrcpControllerService
162 public static AvrcpControllerService getAvrcpControllerService() { in getAvrcpControllerService()
254 private AvrcpControllerService mService;
256 private AvrcpControllerService getService() { in getService()
268 AvrcpControllerServiceBinder(AvrcpControllerService service) { in AvrcpControllerServiceBinder()
279 AvrcpControllerService service = getService(); in getConnectedDevices()
288 AvrcpControllerService service = getService(); in getDevicesMatchingConnectionStates()
297 AvrcpControllerService service = getService(); in getConnectionState()
DBrowseTree.java81 mRootNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_PLAYER_LIST; in BrowseTree()
90 mNowPlayingNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING; in BrowseTree()
127 byte mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS;
197 if (this.mBrowseScope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in addChild()
395 dummyNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS; in setCurrentBrowsedPlayer()
DBluetoothMediaBrowserService.java99 AvrcpControllerService avrcpControllerService = in getContents()
100 AvrcpControllerService.getAvrcpControllerService(); in getContents()
173 if (node.getScope() == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in notifyChanged()
DAvrcpCoverArtManager.java49 private final AvrcpControllerService mService;
124 public AvrcpCoverArtManager(AvrcpControllerService service, Callback callback) { in AvrcpCoverArtManager()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java87 private AvrcpControllerService mAvrcpControllerService;
111 TestUtils.startService(mAvrcpServiceRule, AvrcpControllerService.class); in setUp()
282 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PLAY), eq(KEY_DOWN)); in testPlay()
285 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PLAY), eq(KEY_UP)); in testPlay()
301 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE), eq(KEY_DOWN)); in testPause()
304 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE), eq(KEY_UP)); in testPause()
320 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_STOP), eq(KEY_DOWN)); in testStop()
323 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_STOP), eq(KEY_UP)); in testStop()
339 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_FORWARD), in testNext()
343 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_FORWARD), eq(KEY_UP)); in testNext()
[all …]
DAvrcpControllerServiceTest.java43 private AvrcpControllerService mService = null;
59 TestUtils.startService(mServiceRule, AvrcpControllerService.class); in setUp()
60 mService = AvrcpControllerService.getAvrcpControllerService(); in setUp()
72 TestUtils.stopService(mServiceRule, AvrcpControllerService.class); in tearDown()
73 mService = AvrcpControllerService.getAvrcpControllerService(); in tearDown()
80 Assert.assertNotNull(AvrcpControllerService.getAvrcpControllerService()); in testInitialize()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java32 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService;
86 new ProfileConfig(AvrcpControllerService.class,