1 /*
2  * Copyright 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef BTIF_RC_H
18 #define BTIF_RC_H
19 
20 #include "bta_av_api.h"
21 #include "types/raw_address.h"
22 
23 class RawAddress;
24 
25 void btif_rc_handler(tBTA_AV_EVT event, tBTA_AV* p_data);
26 uint8_t btif_rc_get_connected_peer_handle(const RawAddress& peer_addr);
27 void btif_rc_check_handle_pending_play(const RawAddress& peer_addr,
28                                        bool bSendToApp);
29 bool btif_rc_is_connected_peer(const RawAddress& peer_addr);
30 void btif_debug_rc_dump(int fd);
31 
32 #endif  // BTIF_RC_H
33