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 #include "module.h" 20 21 namespace bluetooth { 22 namespace activity_attribution { 23 24 struct ActivityAttribution::impl {}; 25 OnWakelockAcquired()26void ActivityAttribution::OnWakelockAcquired() {} 27 OnWakelockReleased()28void ActivityAttribution::OnWakelockReleased() {} 29 OnWakeup()30void ActivityAttribution::OnWakeup() {} 31 RegisterActivityAttributionCallback(ActivityAttributionCallback * callback)32void ActivityAttribution::RegisterActivityAttributionCallback(ActivityAttributionCallback* callback) {} 33 ToString() const34std::string ActivityAttribution::ToString() const { 35 return "Btaa Module"; 36 } 37 ListDependencies(ModuleList * list)38void ActivityAttribution::ListDependencies(ModuleList* list) {} 39 Start()40void ActivityAttribution::Start() {} 41 Stop()42void ActivityAttribution::Stop() {} 43 __anon9b51f57b0102() 44const ModuleFactory ActivityAttribution::Factory = ModuleFactory([]() { return new ActivityAttribution(); }); 45 __anon9b51f57b0202(DumpsysDataBuilder* dumpsys_data_builder) 46DumpsysDataFinisher EmptyDumpsysDataFinisher = [](DumpsysDataBuilder* dumpsys_data_builder) {}; GetDumpsysData(flatbuffers::FlatBufferBuilder * builder) const47DumpsysDataFinisher ActivityAttribution::GetDumpsysData(flatbuffers::FlatBufferBuilder* builder) const { 48 return EmptyDumpsysDataFinisher; 49 } 50 } // namespace activity_attribution 51 } // namespace bluetooth 52