1 /*
2  * Copyright 2020 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 "btaa/activity_attribution.h"
18 
19 // TODO: Implement for Linux.
20 namespace bluetooth {
21 namespace activity_attribution {
22 
__anonde8cc16d0102() 23 const ModuleFactory ActivityAttribution::Factory = ModuleFactory([]() { return new ActivityAttribution(); });
24 
25 struct ActivityAttribution::impl {
implbluetooth::activity_attribution::ActivityAttribution::impl26   impl(ActivityAttribution* module) {}
27 
on_hci_packetbluetooth::activity_attribution::ActivityAttribution::impl28   void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) {}
29 
register_callbackbluetooth::activity_attribution::ActivityAttribution::impl30   void register_callback(ActivityAttributionCallback* callback) {}
31 };
32 
Capture(const hal::HciPacket & packet,hal::SnoopLogger::PacketType type)33 void ActivityAttribution::Capture(const hal::HciPacket& packet, hal::SnoopLogger::PacketType type) {}
34 
RegisterActivityAttributionCallback(ActivityAttributionCallback * callback)35 void ActivityAttribution::RegisterActivityAttributionCallback(ActivityAttributionCallback* callback) {}
36 
ToString() const37 std::string ActivityAttribution::ToString() const {
38   return "Btaa Module";
39 }
40 
ListDependencies(ModuleList * list)41 void ActivityAttribution::ListDependencies(ModuleList* list) {}
42 
Start()43 void ActivityAttribution::Start() {}
44 
Stop()45 void ActivityAttribution::Stop() {}
46 
__anonde8cc16d0202(DumpsysDataBuilder* dumpsys_data_builder) 47 DumpsysDataFinisher EmptyDumpsysDataFinisher = [](DumpsysDataBuilder* dumpsys_data_builder) {};
GetDumpsysData(flatbuffers::FlatBufferBuilder * builder) const48 DumpsysDataFinisher ActivityAttribution::GetDumpsysData(flatbuffers::FlatBufferBuilder* builder) const {
49   return EmptyDumpsysDataFinisher;
50 }
51 
52 }  // namespace activity_attribution
53 }  // namespace bluetooth
54