Home
last modified time | relevance | path

Searched refs:playerId (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java124 void run(int playerId, boolean success, String rootId, int numItems); in run() argument
345 public void getPlayerRoot(int playerId, GetPlayerRootCallback cb) { in getPlayerRoot() argument
356 cb.run(playerId, playerId == BLUETOOTH_PLAYER_ID, "", 0); in getPlayerRoot()
359 cb.run(playerId, playerId == BLUETOOTH_PLAYER_ID, "", results.size()); in getPlayerRoot()
366 cb.run(playerId, playerId == BLUETOOTH_PLAYER_ID, "", mBrowsablePlayers.size()); in getPlayerRoot()
483 public void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
582 public void getFolderItems(int playerId, String mediaId, GetFolderItemsCallback cb) { in getFolderItems() argument
585 d("getFolderItems(): playerId=" + playerId + ", mediaId=" + mediaId); in getFolderItems()
678 int playerId = mMediaPlayerIds.get(packageName); in addMediaPlayer() local
682 if (haveMediaPlayer(playerId)) { in addMediaPlayer()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java177 void setBrowsedPlayer(int playerId) { in setBrowsedPlayer() argument
178 d("setBrowsedPlayer: playerId=" + playerId); in setBrowsedPlayer()
179 mAvrcpService.getPlayerRoot(playerId, (a, b, c, d) -> setBrowsedPlayerResponse(a, b, c, d)); in setBrowsedPlayer()
182 void setBrowsedPlayerResponse(int playerId, boolean success, String rootId, int numItems) { in setBrowsedPlayerResponse() argument
185 + playerId in setBrowsedPlayerResponse()
192 setBrowsedPlayerResponseNative(playerId, success, rootId, numItems); in setBrowsedPlayerResponse()
195 void getFolderItemsRequest(int playerId, String mediaId) { in getFolderItemsRequest() argument
196 d("getFolderItemsRequest: playerId=" + playerId + " mediaId=" + mediaId); in getFolderItemsRequest()
197 mAvrcpService.getFolderItems(playerId, mediaId, (a, b) -> getFolderItemsResponse(a, b)); in getFolderItemsRequest()
227 void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
[all …]
DAvrcpTargetService.java483 void getPlayerRoot(int playerId, MediaPlayerList.GetPlayerRootCallback cb) { in getPlayerRoot() argument
484 mMediaPlayerList.getPlayerRoot(playerId, cb); in getPlayerRoot()
488 void getFolderItems(int playerId, String mediaId, MediaPlayerList.GetFolderItemsCallback cb) { in getFolderItems() argument
489 mMediaPlayerList.getFolderItems(playerId, mediaId, cb); in getFolderItems()
493 void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
496 mMediaPlayerList.playItem(playerId, nowPlaying, mediaId); in playItem()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerNativeInterfaceTest.java81 int playerId = 1; in createFromNativePlayerItem() local
90 playerId, in createFromNativePlayerItem()
97 assertThat(player.getId()).isEqualTo(playerId); in createFromNativePlayerItem()
DAvrcpControllerStateMachineTest.java256 int playerId, in makePlayer() argument
262 apb.setPlayerId(playerId); in makePlayer()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerNativeInterface.java112 void setBrowsedPlayer(byte[] address, int playerId) { in setBrowsedPlayer() argument
113 setBrowsedPlayerNative(address, playerId); in setBrowsedPlayer()
478 private native void setBrowsedPlayerNative(byte[] address, int playerId); in setBrowsedPlayerNative() argument
485 private native void setAddressedPlayerNative(byte[] address, int playerId); in setAddressedPlayerNative() argument
DAvrcpPlayer.java283 public Builder setPlayerId(int playerId) { in setPlayerId() argument
284 mPlayerId = playerId; in setPlayerId()