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 "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(RawAddress* addr, uint32_t device_type, uint32_t status,
28 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(RawAddress* addr, uint32_t device_type, uint32_t class_of_device,
31 uint32_t appearance, uint32_t vendor_id, uint32_t vendor_id_src,
32 uint32_t product_id, uint32_t version) {}
33
LogMetricsProfileConnectionStateChanged(RawAddress * addr,uint32_t profile,uint32_t status,uint32_t state)34 void LogMetricsProfileConnectionStateChanged(RawAddress* addr, uint32_t profile, uint32_t status,
35 uint32_t state) {}
36
LogMetricsAclConnectAttempt(RawAddress * addr,uint32_t acl_state)37 void LogMetricsAclConnectAttempt(RawAddress* addr, uint32_t acl_state) {}
38
LogMetricsAclConnectionStateChanged(RawAddress * addr,uint32_t transport,uint32_t status,uint32_t acl_state,uint32_t direction,uint32_t hci_reason)39 void LogMetricsAclConnectionStateChanged(RawAddress* addr, uint32_t transport, uint32_t status,
40 uint32_t acl_state, uint32_t direction,
41 uint32_t hci_reason) {}
42
LogMetricsChipsetInfoReport()43 void LogMetricsChipsetInfoReport() {}
44
LogMetricsSuspendIdState(uint32_t state)45 void LogMetricsSuspendIdState(uint32_t state) {}
46
47 } // namespace metrics
48 } // namespace bluetooth
49