/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerUtils.java | 28 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()
|
D | AvrcpControllerStateMachine.java | 119 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 …]
|
D | AvrcpControllerService.java | 53 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 …]
|
D | BrowseTree.java | 103 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()
|
D | AvrcpCoverArtProvider.java | 78 AvrcpControllerService service = AvrcpControllerService.getAvrcpControllerService(); in getImage()
|
D | BluetoothMediaBrowserService.java | 194 AvrcpControllerService avrcpControllerService = in getContents() 195 AvrcpControllerService.getAvrcpControllerService(); in getContents() 285 if (node.getScope() == AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING) { in notifyChanged()
|
D | AvrcpCoverArtManager.java | 49 private final AvrcpControllerService mService; 139 public AvrcpCoverArtManager(AvrcpControllerService service, Callback callback) { in AvrcpCoverArtManager()
|
D | AvrcpControllerNativeInterface.java | 34 private AvrcpControllerService mAvrcpController; 58 void init(AvrcpControllerService controller) { in init()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 88 @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 …]
|
D | AvrcpControllerServiceBinderTest.java | 43 @Mock private AvrcpControllerService mService; 47 AvrcpControllerService.AvrcpControllerServiceBinder mBinder; 52 mBinder = new AvrcpControllerService.AvrcpControllerServiceBinder(mService); in setUp()
|
D | AvrcpBipClientTest.java | 61 private AvrcpControllerService mService = null; 70 mService = new AvrcpControllerService(targetContext, mNativeInterface); in setUp() 91 mService = AvrcpControllerService.getAvrcpControllerService(); in tearDown()
|
D | AvrcpControllerServiceTest.java | 72 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()
|
D | BrowseNodeTest.java | 113 .isEqualTo(AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING); in addChild_withImageUuid_toNowPlayingNode()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 30 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/ |
D | Config.java | 29 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService; 99 AvrcpControllerService.isEnabled(), 144 AvrcpControllerService.isEnabled(),
|
D | AdapterService.java | 119 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService; 1513 BluetoothProfile.AVRCP_CONTROLLER, AvrcpControllerService::new),
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandlerTest.java | 38 import com.android.bluetooth.avrcpcontroller.AvrcpControllerService; 56 private AvrcpControllerService mService; 87 mService = new AvrcpControllerService(mTargetContext, mMockAvrcpControllerNativeInterface); in setUp()
|