• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2023 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 #include "stack/arbiter/acl_arbiter.h"
18 
19 namespace bluetooth {
20 namespace shim {
21 namespace arbiter {
22 
OnLeConnect(uint8_t,uint16_t)23 void AclArbiter::OnLeConnect(uint8_t /* tcb_idx */, uint16_t /* advertiser_id */) {}
24 
OnLeDisconnect(uint8_t)25 void AclArbiter::OnLeDisconnect(uint8_t /* tcb_idx */) {}
26 
InterceptAttPacket(uint8_t,const BT_HDR *)27 InterceptAction AclArbiter::InterceptAttPacket(uint8_t /* tcb_idx */, const BT_HDR* /* packet */) {
28   return InterceptAction::FORWARD;
29 }
30 
OnOutgoingMtuReq(uint8_t)31 void AclArbiter::OnOutgoingMtuReq(uint8_t /* tcb_idx */) {}
32 
OnIncomingMtuResp(uint8_t,size_t)33 void AclArbiter::OnIncomingMtuResp(uint8_t /* tcb_idx */, size_t /* mtu */) {}
34 
OnIncomingMtuReq(uint8_t,size_t)35 void AclArbiter::OnIncomingMtuReq(uint8_t /* tcb_idx */, size_t /* mtu */) {}
36 
GetArbiter()37 AclArbiter& GetArbiter() {
38   static auto singleton = AclArbiter();
39   return singleton;
40 }
41 
42 }  // namespace arbiter
43 }  // namespace shim
44 }  // namespace bluetooth
45