Searched refs:AvrcpControllerService (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerServiceTest.java | 46 private AvrcpControllerService mService = null; 63 TestUtils.startService(mServiceRule, AvrcpControllerService.class); in setUp() 64 mService = AvrcpControllerService.getAvrcpControllerService(); in setUp() 76 TestUtils.stopService(mServiceRule, AvrcpControllerService.class); in tearDown() 77 mService = AvrcpControllerService.getAvrcpControllerService(); in tearDown() 84 Assert.assertNotNull(AvrcpControllerService.getAvrcpControllerService()); in testInitialize()
|
H A D | AvrcpControllerStateMachineTest.java | 85 @Mock private AvrcpControllerService mAvrcpControllerService; 116 TestUtils.startService(mAvrcpServiceRule, AvrcpControllerService.class); in setUp() 184 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_ACTIVE); in setActiveDevice() 186 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_INACTIVE); in setActiveDevice() 472 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PLAY), eq(KEY_UP)); in testPlay() 491 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE), eq(KEY_UP)); in testPause() 510 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_STOP), eq(KEY_UP)); in testStop() 526 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_FORWARD), in testNext() 546 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_BACKWARD), in testPrevious() 567 eq(mTestAddress), eq(AvrcpControllerService.PASS_THRU_CMD_ID_FF), eq(KEY_DOWN)); in testFastForward() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerStateMachine.java | 118 protected final AvrcpControllerService mService; 384 if (scope != AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING in notifyChanged() 385 || (scope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING in notifyChanged() 704 AvrcpControllerService.KEY_STATE_RELEASED); in passThru() 720 AvrcpControllerService.KEY_STATE_PRESSED); in passThru() 727 cmd, AvrcpControllerService.KEY_STATE_RELEASED); in passThru() 732 return (cmd == AvrcpControllerService.PASS_THRU_CMD_ID_REWIND) in isHoldableKey() 733 || (cmd == AvrcpControllerService.PASS_THRU_CMD_ID_FF); in isHoldableKey() 979 case AvrcpControllerService.BROWSE_SCOPE_PLAYER_LIST: in fetchContents() 983 case AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING: in fetchContents() [all …]
|
H A D | AvrcpControllerService.java | 50 public class AvrcpControllerService extends ProfileService { class 102 private static AvrcpControllerService sService; 173 public static AvrcpControllerService getAvrcpControllerService() { in getAvrcpControllerService() 349 private AvrcpControllerService mService; 361 AvrcpControllerServiceBinder(AvrcpControllerService service) { in AvrcpControllerServiceBinder() 372 AvrcpControllerService service = getService(source); in getConnectedDevices() 382 AvrcpControllerService service = getService(source); in getDevicesMatchingConnectionStates() 392 AvrcpControllerService service = getService(source); in getConnectionState() 403 AvrcpControllerService service = getService(source); in sendGroupNavigationCmd() 413 AvrcpControllerService service = getService(source); in setPlayerApplicationSetting() [all …]
|
H A D | BrowseTree.java | 84 mRootNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_PLAYER_LIST; in BrowseTree() 93 mNowPlayingNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING; in BrowseTree() 130 byte mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS; 200 if (this.mBrowseScope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in addChild() 398 dummyNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS; in setCurrentBrowsedPlayer()
|
H A D | AvrcpCoverArtProvider.java | 77 AvrcpControllerService service = AvrcpControllerService.getAvrcpControllerService(); in getImage()
|
H A D | BluetoothMediaBrowserService.java | 134 AvrcpControllerService avrcpControllerService = in getContents() 135 AvrcpControllerService.getAvrcpControllerService(); in getContents() 211 if (node.getScope() == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in notifyChanged()
|
H A D | AvrcpCoverArtManager.java | 50 private final AvrcpControllerService mService; 142 public AvrcpCoverArtManager(AvrcpControllerService service, Callback callback) { in AvrcpCoverArtManager()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | Config.java | 37 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService; 92 new ProfileConfig(AvrcpControllerService.class,
|