• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 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 #define LOG_TAG "BluetoothMetrics"
17 
18 #include "gd/metrics/metrics.h"
19 
20 namespace bluetooth {
21 namespace metrics {
22 
LogMetricsAdapterStateChanged(uint32_t state)23 void LogMetricsAdapterStateChanged(uint32_t state) {}
24 
LogMetricsBondCreateAttempt(RawAddress * addr,uint32_t device_type)25 void LogMetricsBondCreateAttempt(RawAddress* addr, uint32_t device_type) {}
26 
LogMetricsBondStateChanged(RawAddress * addr,uint32_t device_type,uint32_t status,uint32_t bond_state,int32_t fail_reason)27 void LogMetricsBondStateChanged(
28     RawAddress* addr, uint32_t device_type, uint32_t status, uint32_t bond_state, int32_t fail_reason) {}
29 
LogMetricsDeviceInfoReport(RawAddress * addr,uint32_t device_type,uint32_t class_of_device,uint32_t appearance,uint32_t vendor_id,uint32_t vendor_id_src,uint32_t product_id,uint32_t version)30 void LogMetricsDeviceInfoReport(
31     RawAddress* addr,
32     uint32_t device_type,
33     uint32_t class_of_device,
34     uint32_t appearance,
35     uint32_t vendor_id,
36     uint32_t vendor_id_src,
37     uint32_t product_id,
38     uint32_t version) {}
39 
LogMetricsProfileConnectionStateChanged(RawAddress * addr,uint32_t profile,uint32_t status,uint32_t state)40 void LogMetricsProfileConnectionStateChanged(RawAddress* addr, uint32_t profile, uint32_t status, uint32_t state) {}
41 
LogMetricsAclConnectAttempt(RawAddress * addr,uint32_t acl_state)42 void LogMetricsAclConnectAttempt(RawAddress* addr, uint32_t acl_state) {}
43 
LogMetricsAclConnectionStateChanged(RawAddress * addr,uint32_t transport,uint32_t status,uint32_t acl_state,uint32_t direction,uint32_t hci_reason)44 void LogMetricsAclConnectionStateChanged(
45     RawAddress* addr,
46     uint32_t transport,
47     uint32_t status,
48     uint32_t acl_state,
49     uint32_t direction,
50     uint32_t hci_reason) {}
51 
LogMetricsChipsetInfoReport()52 void LogMetricsChipsetInfoReport() {}
53 
54 }  // namespace metrics
55 }  // namespace bluetooth
56