Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java99 void run(int playerId, boolean success, String rootId, int numItems); in run() argument
229 void getPlayerRoot(int playerId, GetPlayerRootCallback cb) { in getPlayerRoot() argument
230 cb.run(playerId, playerId == BLUETOOTH_PLAYER_ID, "", mBrowsablePlayers.size()); in getPlayerRoot()
296 void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
357 void getFolderItems(int playerId, String mediaId, GetFolderItemsCallback cb) { in getFolderItems() argument
360 d("getFolderItems(): playerId=" + playerId + ", mediaId=" + mediaId); in getFolderItems()
423 int playerId = mMediaPlayerIds.get(packageName); in addMediaPlayer() local
427 if (mMediaPlayers.containsKey(playerId)) { in addMediaPlayer()
429 MediaPlayerWrapper player = mMediaPlayers.get(playerId); in addMediaPlayer()
433 if (playerId == mActivePlayerId) { in addMediaPlayer()
[all …]
DAvrcpNativeInterface.java132 void setBrowsedPlayer(int playerId) { in setBrowsedPlayer() argument
133 d("setBrowsedPlayer: playerId=" + playerId); in setBrowsedPlayer()
134 mAvrcpService.getPlayerRoot(playerId, (a, b, c, d) -> in setBrowsedPlayer()
138 void setBrowsedPlayerResponse(int playerId, boolean success, String rootId, int numItems) { in setBrowsedPlayerResponse() argument
139 d("setBrowsedPlayerResponse: playerId=" + playerId in setBrowsedPlayerResponse()
143 setBrowsedPlayerResponseNative(playerId, success, rootId, numItems); in setBrowsedPlayerResponse()
146 void getFolderItemsRequest(int playerId, String mediaId) { in getFolderItemsRequest() argument
147 d("getFolderItemsRequest: playerId=" + playerId + " mediaId=" + mediaId); in getFolderItemsRequest()
148 mAvrcpService.getFolderItems(playerId, mediaId, (a, b) -> getFolderItemsResponse(a, b)); in getFolderItemsRequest()
170 void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
[all …]
DAvrcpTargetService.java325 void getPlayerRoot(int playerId, MediaPlayerList.GetPlayerRootCallback cb) { in getPlayerRoot() argument
326 mMediaPlayerList.getPlayerRoot(playerId, cb); in getPlayerRoot()
329 void getFolderItems(int playerId, String mediaId, MediaPlayerList.GetFolderItemsCallback cb) { in getFolderItems() argument
330 mMediaPlayerList.getFolderItems(playerId, mediaId, cb); in getFolderItems()
333 void playItem(int playerId, boolean nowPlaying, String mediaId) { in playItem() argument
336 mMediaPlayerList.playItem(playerId, nowPlaying, mediaId); in playItem()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java809 public native void setBrowsedPlayerNative(byte[] address, int playerId); in setBrowsedPlayerNative() argument
816 public native void setAddressedPlayerNative(byte[] address, int playerId); in setAddressedPlayerNative() argument