Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerUtils.java28 case AvrcpControllerService.PASS_THRU_CMD_ID_PLAY: in passThruIdToString()
31 case AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE: in passThruIdToString()
34 case AvrcpControllerService.PASS_THRU_CMD_ID_VOL_UP: in passThruIdToString()
37 case AvrcpControllerService.PASS_THRU_CMD_ID_VOL_DOWN: in passThruIdToString()
40 case AvrcpControllerService.PASS_THRU_CMD_ID_STOP: in passThruIdToString()
43 case AvrcpControllerService.PASS_THRU_CMD_ID_FF: in passThruIdToString()
46 case AvrcpControllerService.PASS_THRU_CMD_ID_REWIND: in passThruIdToString()
49 case AvrcpControllerService.PASS_THRU_CMD_ID_FORWARD: in passThruIdToString()
52 case AvrcpControllerService.PASS_THRU_CMD_ID_BACKWARD: in passThruIdToString()
DAvrcpControllerStateMachine.java119 protected final AvrcpControllerService mService;
149 AvrcpControllerService service, in AvrcpControllerStateMachine()
385 if (scope != AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING in notifyChanged()
386 || (scope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING && isActive())) { in notifyChanged()
475 if (state == AvrcpControllerService.DEVICE_STATE_ACTIVE) { in processMessage()
490 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
494 MSG_AVRCP_PASSTHRU, AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
509 AvrcpControllerService.PASS_THRU_CMD_ID_PLAY); in processMessage()
524 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
537 AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE); in processMessage()
[all …]
DAvrcpControllerService.java53 public class AvrcpControllerService extends ProfileService { class
54 static final String TAG = AvrcpControllerService.class.getSimpleName();
100 private static AvrcpControllerService sService;
136 public AvrcpControllerService(Context ctx) { in AvrcpControllerService() method in AvrcpControllerService
142 public AvrcpControllerService(Context ctx, AvrcpControllerNativeInterface nativeInterface) { in AvrcpControllerService() method in AvrcpControllerService
191 public static synchronized AvrcpControllerService getAvrcpControllerService() { in getAvrcpControllerService()
197 public static synchronized void setAvrcpControllerService(AvrcpControllerService service) { in setAvrcpControllerService()
372 private AvrcpControllerService mService;
375 private AvrcpControllerService getService(AttributionSource source) { in getService()
387 AvrcpControllerServiceBinder(AvrcpControllerService service) { in AvrcpControllerServiceBinder()
[all …]
DBrowseTree.java103 mRootNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_PLAYER_LIST; in BrowseTree()
121 mNowPlayingNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING; in BrowseTree()
158 byte mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS;
229 if (this.mBrowseScope == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in addChild()
431 dummyNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_VFS; in setCurrentBrowsedPlayer()
DAvrcpCoverArtProvider.java78 AvrcpControllerService service = AvrcpControllerService.getAvrcpControllerService(); in getImage()
DBluetoothMediaBrowserService.java194 AvrcpControllerService avrcpControllerService = in getContents()
195 AvrcpControllerService.getAvrcpControllerService(); in getContents()
285 if (node.getScope() == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in notifyChanged()
DAvrcpCoverArtManager.java49 private final AvrcpControllerService mService;
139 public AvrcpCoverArtManager(AvrcpControllerService service, Callback callback) { in AvrcpCoverArtManager()
DAvrcpControllerNativeInterface.java34 private AvrcpControllerService mAvrcpController;
58 void init(AvrcpControllerService controller) { in init()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java88 @Mock private AvrcpControllerService mAvrcpControllerService;
131 AvrcpControllerService.setAvrcpControllerService(mAvrcpControllerService); in setUp()
155 AvrcpControllerService.setAvrcpControllerService(null); in tearDown()
186 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_ACTIVE); in setActiveDevice()
188 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_INACTIVE); in setActiveDevice()
519 eq(AvrcpControllerService.PASS_THRU_CMD_ID_PLAY), in testPlay()
524 eq(AvrcpControllerService.PASS_THRU_CMD_ID_PLAY), in testPlay()
540 eq(AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE), in testPause()
545 eq(AvrcpControllerService.PASS_THRU_CMD_ID_PAUSE), in testPause()
561 eq(AvrcpControllerService.PASS_THRU_CMD_ID_STOP), in testStop()
[all …]
DAvrcpControllerServiceBinderTest.java43 @Mock private AvrcpControllerService mService;
47 AvrcpControllerService.AvrcpControllerServiceBinder mBinder;
52 mBinder = new AvrcpControllerService.AvrcpControllerServiceBinder(mService); in setUp()
DAvrcpBipClientTest.java61 private AvrcpControllerService mService = null;
70 mService = new AvrcpControllerService(targetContext, mNativeInterface); in setUp()
91 mService = AvrcpControllerService.getAvrcpControllerService(); in tearDown()
DAvrcpControllerServiceTest.java72 private AvrcpControllerService mService = null;
94 mService = new AvrcpControllerService(targetContext, mNativeInterface); in setUp()
120 mService = AvrcpControllerService.getAvrcpControllerService(); in tearDown()
127 assertThat(AvrcpControllerService.getAvrcpControllerService()).isNotNull(); in initialize()
DBrowseNodeTest.java113 .isEqualTo(AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING); in addChild_withImageUuid_toNowPlayingNode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java30 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService;
221 AvrcpControllerService avrcpControllerService = in handleMessage()
222 AvrcpControllerService.getAvrcpControllerService(); in handleMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DConfig.java29 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService;
99 AvrcpControllerService.isEnabled(),
144 AvrcpControllerService.isEnabled(),
DAdapterService.java119 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService;
1513 BluetoothProfile.AVRCP_CONTROLLER, AvrcpControllerService::new),
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java38 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService;
56 private AvrcpControllerService mService;
87 mService = new AvrcpControllerService(mTargetContext, mMockAvrcpControllerNativeInterface); in setUp()