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 */,
24 uint16_t /* advertiser_id */) {}
25
OnLeDisconnect(uint8_t)26 void AclArbiter::OnLeDisconnect(uint8_t /* tcb_idx */) {}
27
InterceptAttPacket(uint8_t,const BT_HDR *)28 InterceptAction AclArbiter::InterceptAttPacket(uint8_t /* tcb_idx */,
29 const BT_HDR* /* packet */) {
30 return InterceptAction::FORWARD;
31 }
32
OnOutgoingMtuReq(uint8_t)33 void AclArbiter::OnOutgoingMtuReq(uint8_t /* tcb_idx */) {}
34
OnIncomingMtuResp(uint8_t,size_t)35 void AclArbiter::OnIncomingMtuResp(uint8_t /* tcb_idx */, size_t /* mtu */) {}
36
OnIncomingMtuReq(uint8_t,size_t)37 void AclArbiter::OnIncomingMtuReq(uint8_t /* tcb_idx */, size_t /* mtu */) {}
38
GetArbiter()39 AclArbiter& GetArbiter() {
40 static auto singleton = AclArbiter();
41 return singleton;
42 }
43
44 } // namespace arbiter
45 } // namespace shim
46 } // namespace bluetooth
47