summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2025-01-06 17:44:05 +0100
committer Henri Chataing <henrichataing@google.com> 2025-01-06 17:00:05 +0000
commitbee06e1a5545d37bca607cd02435d608a4ecd09d (patch)
tree84d6ab78920f58a08d0432134ebe8b1eeb819182
parentac8506b8f3efbdb4dc54a5bfa7109b0581d61c0e (diff)
Remove gd/os/logging/log_adapter.h
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, no logical change Change-Id: I0caac76d6500e586e8a205915524feb607274762
-rw-r--r--system/bta/ag/bta_ag_int.h1
-rw-r--r--system/bta/ag/bta_ag_rfc.cc1
-rw-r--r--system/bta/av/bta_av_main.cc1
-rw-r--r--system/bta/csis/csis_client.cc1
-rw-r--r--system/bta/dm/bta_dm_device_search.cc1
-rw-r--r--system/bta/dm/bta_dm_disc.cc1
-rw-r--r--system/bta/groups/groups.cc1
-rw-r--r--system/bta/has/has_ctp.cc1
-rw-r--r--system/bta/hearing_aid/hearing_aid.cc1
-rw-r--r--system/bta/hf_client/bta_hf_client_at.cc1
-rw-r--r--system/bta/le_audio/device_groups.cc1
-rw-r--r--system/bta/le_audio/devices.cc1
-rw-r--r--system/bta/le_audio/le_audio_health_status.cc1
-rw-r--r--system/bta/le_audio/le_audio_log_history.cc1
-rw-r--r--system/bta/le_audio/state_machine.cc1
-rw-r--r--system/bta/vc/devices.h1
-rw-r--r--system/btif/co/bta_av_co.cc1
-rw-r--r--system/btif/src/btif_av.cc1
-rw-r--r--system/btif/src/btif_debug_conn.cc1
-rw-r--r--system/btif/src/btif_dm.cc1
-rw-r--r--system/btif/src/btif_hf.cc1
-rw-r--r--system/btif/src/btif_rc.cc1
-rw-r--r--system/btif/src/btif_sock_logging.cc1
-rw-r--r--system/gd/hci/address.h1
-rw-r--r--system/gd/hci/address_with_type.h1
-rw-r--r--system/gd/os/logging/log_adapter.h21
-rw-r--r--system/internal_include/bt_trace.h2
-rw-r--r--system/osi/src/stack_power_telemetry.cc1
-rw-r--r--system/pdl/hci/include/hci/address.h1
-rw-r--r--system/stack/avdt/avdt_api.cc1
-rw-r--r--system/stack/btm/security_device_record.h1
-rw-r--r--system/stack/connection_manager/connection_manager.cc1
-rw-r--r--system/stack/eatt/eatt.h1
-rw-r--r--system/stack/gatt/gatt_int.h1
-rw-r--r--system/stack/pan/pan_api.cc1
-rw-r--r--system/stack/rfcomm/port_api.cc1
-rw-r--r--system/stack/rfcomm/port_rfc.cc1
-rw-r--r--system/stack/rfcomm/rfc_ts_frames.cc1
-rw-r--r--system/stack/rfcomm/rfc_utils.cc1
39 files changed, 0 insertions, 60 deletions
diff --git a/system/bta/ag/bta_ag_int.h b/system/bta/ag/bta_ag_int.h
index 06caf10be9..f6026815a6 100644
--- a/system/bta/ag/bta_ag_int.h
+++ b/system/bta/ag/bta_ag_int.h
@@ -34,7 +34,6 @@
#include "bta/include/bta_api.h"
#include "bta/sys/bta_sys.h"
#include "internal_include/bt_target.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/btm_api_types.h"
#include "stack/include/sdp_status.h"
diff --git a/system/bta/ag/bta_ag_rfc.cc b/system/bta/ag/bta_ag_rfc.cc
index c96b867c71..58b7215a04 100644
--- a/system/bta/ag/bta_ag_rfc.cc
+++ b/system/bta/ag/bta_ag_rfc.cc
@@ -31,7 +31,6 @@
#include "bta/ag/bta_ag_int.h"
#include "bta/include/bta_sec_api.h"
#include "bta_api.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/main_thread.h"
#include "stack/include/port_api.h"
#include "types/raw_address.h"
diff --git a/system/bta/av/bta_av_main.cc b/system/bta/av/bta_av_main.cc
index c9276a6564..d760b113bf 100644
--- a/system/bta/av/bta_av_main.cc
+++ b/system/bta/av/bta_av_main.cc
@@ -53,7 +53,6 @@
#include "btif/include/btif_config.h"
#include "hardware/bt_av.h"
#include "internal_include/bt_target.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/allocator.h"
#include "osi/include/list.h"
diff --git a/system/bta/csis/csis_client.cc b/system/bta/csis/csis_client.cc
index aba46a68c6..916b1c0c56 100644
--- a/system/bta/csis/csis_client.cc
+++ b/system/bta/csis/csis_client.cc
@@ -59,7 +59,6 @@
#include "internal_include/bt_trace.h"
#include "main/shim/le_scanning_manager.h"
#include "neighbor_inquiry.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/osi.h"
#include "osi/include/stack_power_telemetry.h"
#include "stack/btm/btm_sec.h"
diff --git a/system/bta/dm/bta_dm_device_search.cc b/system/bta/dm/bta_dm_device_search.cc
index ece2659023..0dded3c7db 100644
--- a/system/bta/dm/bta_dm_device_search.cc
+++ b/system/bta/dm/bta_dm_device_search.cc
@@ -33,7 +33,6 @@
#include "common/strings.h"
#include "device/include/interop.h"
#include "main/shim/dumpsys.h"
-#include "os/logging/log_adapter.h"
#include "stack/btm/neighbor_inquiry.h"
#include "stack/include/bt_dev_class.h"
#include "stack/include/bt_name.h"
diff --git a/system/bta/dm/bta_dm_disc.cc b/system/bta/dm/bta_dm_disc.cc
index 2580e3a2da..0ce2062ff8 100644
--- a/system/bta/dm/bta_dm_disc.cc
+++ b/system/bta/dm/bta_dm_disc.cc
@@ -36,7 +36,6 @@
#include "device/include/interop.h"
#include "internal_include/bt_target.h"
#include "main/shim/dumpsys.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "stack/btm/btm_dev.h"
#include "stack/include/bt_name.h"
diff --git a/system/bta/groups/groups.cc b/system/bta/groups/groups.cc
index 2390a2793e..3d79cdf8d3 100644
--- a/system/bta/groups/groups.cc
+++ b/system/bta/groups/groups.cc
@@ -35,7 +35,6 @@
#include "bta_groups.h"
#include "btif/include/btif_profile_storage.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/bt_types.h"
#include "types/bluetooth/uuid.h"
#include "types/raw_address.h"
diff --git a/system/bta/has/has_ctp.cc b/system/bta/has/has_ctp.cc
index dbe41442d5..cb99272707 100644
--- a/system/bta/has/has_ctp.cc
+++ b/system/bta/has/has_ctp.cc
@@ -28,7 +28,6 @@
#include <vector>
#include "has_preset.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/bt_types.h"
#include "types/raw_address.h"
diff --git a/system/bta/hearing_aid/hearing_aid.cc b/system/bta/hearing_aid/hearing_aid.cc
index 340e08d992..245b095b07 100644
--- a/system/bta/hearing_aid/hearing_aid.cc
+++ b/system/bta/hearing_aid/hearing_aid.cc
@@ -63,7 +63,6 @@
#include "internal_include/bt_trace.h"
#include "l2cap_types.h"
#include "main/shim/entry.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "osi/include/properties.h"
#include "profiles_api.h"
diff --git a/system/bta/hf_client/bta_hf_client_at.cc b/system/bta/hf_client/bta_hf_client_at.cc
index 9854d825aa..95d871c17c 100644
--- a/system/bta/hf_client/bta_hf_client_at.cc
+++ b/system/bta/hf_client/bta_hf_client_at.cc
@@ -32,7 +32,6 @@
#include "bta_hfp_api.h"
#include "bta_sys.h"
#include "btm_api_types.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/allocator.h"
#include "osi/include/compat.h"
diff --git a/system/bta/le_audio/device_groups.cc b/system/bta/le_audio/device_groups.cc
index c3fd37b36d..85c230c0b0 100644
--- a/system/bta/le_audio/device_groups.cc
+++ b/system/bta/le_audio/device_groups.cc
@@ -53,7 +53,6 @@
#include "le_audio_utils.h"
#include "main/shim/entry.h"
#include "metrics_collector.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/btm_client_interface.h"
#include "types/bt_transport.h"
diff --git a/system/bta/le_audio/devices.cc b/system/bta/le_audio/devices.cc
index 84253c6fd3..7edb4f1df1 100644
--- a/system/bta/le_audio/devices.cc
+++ b/system/bta/le_audio/devices.cc
@@ -53,7 +53,6 @@
#include "le_audio_log_history.h"
#include "le_audio_utils.h"
#include "main/shim/entry.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/properties.h"
#include "stack/include/btm_client_interface.h"
diff --git a/system/bta/le_audio/le_audio_health_status.cc b/system/bta/le_audio/le_audio_health_status.cc
index b0729a6f9c..79f1a4a93d 100644
--- a/system/bta/le_audio/le_audio_health_status.cc
+++ b/system/bta/le_audio/le_audio_health_status.cc
@@ -31,7 +31,6 @@
#include "devices.h"
#include "hardware/bt_le_audio.h"
#include "main/shim/metrics_api.h"
-#include "os/logging/log_adapter.h"
#include "types/raw_address.h"
using bluetooth::common::ToString;
diff --git a/system/bta/le_audio/le_audio_log_history.cc b/system/bta/le_audio/le_audio_log_history.cc
index d6848f3f79..95998ca1e6 100644
--- a/system/bta/le_audio/le_audio_log_history.cc
+++ b/system/bta/le_audio/le_audio_log_history.cc
@@ -28,7 +28,6 @@
#include "common/circular_buffer.h"
#include "common/strings.h"
#include "main/shim/dumpsys.h"
-#include "os/logging/log_adapter.h"
#include "types/raw_address.h"
using namespace bluetooth;
diff --git a/system/bta/le_audio/state_machine.cc b/system/bta/le_audio/state_machine.cc
index c44e3098c7..2fb2963149 100644
--- a/system/bta/le_audio/state_machine.cc
+++ b/system/bta/le_audio/state_machine.cc
@@ -48,7 +48,6 @@
#include "le_audio_health_status.h"
#include "le_audio_log_history.h"
#include "le_audio_types.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/osi.h"
#include "osi/include/properties.h"
diff --git a/system/bta/vc/devices.h b/system/bta/vc/devices.h
index 4c0a105ee8..88c9d4c5e9 100644
--- a/system/bta/vc/devices.h
+++ b/system/bta/vc/devices.h
@@ -25,7 +25,6 @@
#include "bta/include/bta_gatt_api.h"
#include "bta/vc/types.h"
-#include "os/logging/log_adapter.h"
#include "types/raw_address.h"
namespace bluetooth {
diff --git a/system/btif/co/bta_av_co.cc b/system/btif/co/bta_av_co.cc
index c9dd6e7b74..d15c6be99f 100644
--- a/system/btif/co/bta_av_co.cc
+++ b/system/btif/co/bta_av_co.cc
@@ -49,7 +49,6 @@
#include "device/include/device_iot_conf_defs.h"
#include "device/include/device_iot_config.h"
#include "include/hardware/bt_av.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "stack/include/a2dp_codec_api.h"
#include "stack/include/a2dp_constants.h"
diff --git a/system/btif/src/btif_av.cc b/system/btif/src/btif_av.cc
index 5a09cf2581..84bf10c390 100644
--- a/system/btif/src/btif_av.cc
+++ b/system/btif/src/btif_av.cc
@@ -64,7 +64,6 @@
#include "hardware/bluetooth.h"
#include "hardware/bt_av.h"
#include "include/hardware/bt_rc.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/allocator.h"
#include "osi/include/properties.h"
diff --git a/system/btif/src/btif_debug_conn.cc b/system/btif/src/btif_debug_conn.cc
index 935758a876..15d11cd940 100644
--- a/system/btif/src/btif_debug_conn.cc
+++ b/system/btif/src/btif_debug_conn.cc
@@ -21,7 +21,6 @@
#include <time.h>
#include "common/time_util.h"
-#include "os/logging/log_adapter.h"
#include "types/raw_address.h"
#define NUM_CONNECTION_EVENTS 16
diff --git a/system/btif/src/btif_dm.cc b/system/btif/src/btif_dm.cc
index 77b4c9a438..7aa26795b7 100644
--- a/system/btif/src/btif_dm.cc
+++ b/system/btif/src/btif_dm.cc
@@ -74,7 +74,6 @@
#include "main/shim/le_advertising_manager.h"
#include "main_thread.h"
#include "metrics/bluetooth_event.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/properties.h"
#include "osi/include/stack_power_telemetry.h"
#include "stack/btm/btm_dev.h"
diff --git a/system/btif/src/btif_hf.cc b/system/btif/src/btif_hf.cc
index c6335a23ef..7e6fa5fef3 100644
--- a/system/btif/src/btif_hf.cc
+++ b/system/btif/src/btif_hf.cc
@@ -63,7 +63,6 @@
#include "include/hardware/bluetooth_headset_interface.h"
#include "include/hardware/bt_hf.h"
#include "internal_include/bt_target.h"
-#include "os/logging/log_adapter.h"
#include "stack/btm/btm_sco_hfp_hal.h"
#include "stack/include/bt_uuid16.h"
#include "stack/include/btm_client_interface.h"
diff --git a/system/btif/src/btif_rc.cc b/system/btif/src/btif_rc.cc
index 72c4bdd690..1cd0f48b91 100644
--- a/system/btif/src/btif_rc.cc
+++ b/system/btif/src/btif_rc.cc
@@ -46,7 +46,6 @@
#include "btif_common.h"
#include "btif_util.h"
#include "device/include/interop.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "osi/include/allocator.h"
#include "osi/include/list.h"
diff --git a/system/btif/src/btif_sock_logging.cc b/system/btif/src/btif_sock_logging.cc
index 338a47f2f1..acb38f7de5 100644
--- a/system/btif/src/btif_sock_logging.cc
+++ b/system/btif/src/btif_sock_logging.cc
@@ -25,7 +25,6 @@
#include "btif/include/btif_metrics_logging.h"
#include "btif/include/btif_sock.h"
-#include "os/logging/log_adapter.h"
#include "types/raw_address.h"
#define SOCK_LOGGER_SIZE_MAX 16
diff --git a/system/gd/hci/address.h b/system/gd/hci/address.h
index 10a817cc1c..17c2fce6b4 100644
--- a/system/gd/hci/address.h
+++ b/system/gd/hci/address.h
@@ -25,7 +25,6 @@
#include <ostream>
#include <string>
-#include "os/logging/log_adapter.h"
#include "packet/custom_field_fixed_size_interface.h"
#include "storage/serializable.h"
diff --git a/system/gd/hci/address_with_type.h b/system/gd/hci/address_with_type.h
index 350b88df75..26c35e814d 100644
--- a/system/gd/hci/address_with_type.h
+++ b/system/gd/hci/address_with_type.h
@@ -26,7 +26,6 @@
#include "hci/address.h"
#include "hci/hci_packets.h"
#include "hci/octets.h"
-#include "os/logging/log_adapter.h"
namespace bluetooth {
namespace hci {
diff --git a/system/gd/os/logging/log_adapter.h b/system/gd/os/logging/log_adapter.h
deleted file mode 100644
index 5c58955288..0000000000
--- a/system/gd/os/logging/log_adapter.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/******************************************************************************
- *
- * Copyright 2022 Google, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- ******************************************************************************/
-
-#pragma once
-
-#include <string>
diff --git a/system/internal_include/bt_trace.h b/system/internal_include/bt_trace.h
index 5bd07ca0e0..3b8b7166b4 100644
--- a/system/internal_include/bt_trace.h
+++ b/system/internal_include/bt_trace.h
@@ -29,8 +29,6 @@
#include <sstream>
#include <type_traits>
-#include "os/logging/log_adapter.h"
-
/* Prints integral parameter x as hex string, with '0' fill */
template <typename T>
std::string loghex(T x) {
diff --git a/system/osi/src/stack_power_telemetry.cc b/system/osi/src/stack_power_telemetry.cc
index 18199bcd18..52d5bfcd2a 100644
--- a/system/osi/src/stack_power_telemetry.cc
+++ b/system/osi/src/stack_power_telemetry.cc
@@ -28,7 +28,6 @@
#include <map>
#include <mutex>
-#include "os/logging/log_adapter.h"
#include "osi/include/properties.h"
#include "stack/include/acl_api_types.h"
#include "stack/include/bt_psm_types.h"
diff --git a/system/pdl/hci/include/hci/address.h b/system/pdl/hci/include/hci/address.h
index 7694689bf2..0d258ed0ff 100644
--- a/system/pdl/hci/include/hci/address.h
+++ b/system/pdl/hci/include/hci/address.h
@@ -25,7 +25,6 @@
#include <ostream>
#include <string>
-#include "os/logging/log_adapter.h"
#include "packet/custom_field_fixed_size_interface.h"
#include "storage/serializable.h"
diff --git a/system/stack/avdt/avdt_api.cc b/system/stack/avdt/avdt_api.cc
index 3a979e9c3a..adad0da41d 100644
--- a/system/stack/avdt/avdt_api.cc
+++ b/system/stack/avdt/avdt_api.cc
@@ -39,7 +39,6 @@
#include "avdtc_api.h"
#include "bta/include/bta_sec_api.h"
#include "internal_include/bt_target.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "stack/include/a2dp_codec_api.h"
#include "stack/include/bt_hdr.h"
diff --git a/system/stack/btm/security_device_record.h b/system/stack/btm/security_device_record.h
index 6f647a7ef5..61a6d182a6 100644
--- a/system/stack/btm/security_device_record.h
+++ b/system/stack/btm/security_device_record.h
@@ -25,7 +25,6 @@
#include "internal_include/bt_target.h"
#include "macros.h"
-#include "os/logging/log_adapter.h"
#include "stack/include/bt_device_type.h"
#include "stack/include/bt_name.h"
#include "stack/include/bt_octets.h"
diff --git a/system/stack/connection_manager/connection_manager.cc b/system/stack/connection_manager/connection_manager.cc
index 11d4637b56..25c9ee57ac 100644
--- a/system/stack/connection_manager/connection_manager.cc
+++ b/system/stack/connection_manager/connection_manager.cc
@@ -31,7 +31,6 @@
#include "main/shim/acl_api.h"
#include "main/shim/entry.h"
#include "main/shim/le_scanning_manager.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/alarm.h"
#include "stack/btm/btm_dev.h"
#include "stack/include/advertise_data_parser.h"
diff --git a/system/stack/eatt/eatt.h b/system/stack/eatt/eatt.h
index c47509def7..b4ab901551 100644
--- a/system/stack/eatt/eatt.h
+++ b/system/stack/eatt/eatt.h
@@ -21,7 +21,6 @@
#include <deque>
#include <memory>
-#include "os/logging/log_adapter.h"
#include "stack/gatt/gatt_int.h"
#include "types/raw_address.h"
diff --git a/system/stack/gatt/gatt_int.h b/system/stack/gatt/gatt_int.h
index db0d0da9ca..70ff37546f 100644
--- a/system/stack/gatt/gatt_int.h
+++ b/system/stack/gatt/gatt_int.h
@@ -33,7 +33,6 @@
#include "gatt_api.h"
#include "internal_include/bt_target.h"
#include "macros.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/fixed_queue.h"
#include "stack/include/bt_hdr.h"
#include "types/bluetooth/uuid.h"
diff --git a/system/stack/pan/pan_api.cc b/system/stack/pan/pan_api.cc
index 432a071ec7..8650b5d464 100644
--- a/system/stack/pan/pan_api.cc
+++ b/system/stack/pan/pan_api.cc
@@ -36,7 +36,6 @@
#include "bta/sys/bta_sys.h"
#include "internal_include/bt_target.h"
#include "main/shim/dumpsys.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "stack/include/bnep_api.h"
#include "stack/include/bt_hdr.h"
diff --git a/system/stack/rfcomm/port_api.cc b/system/stack/rfcomm/port_api.cc
index f5f0274990..d74d4d1835 100644
--- a/system/stack/rfcomm/port_api.cc
+++ b/system/stack/rfcomm/port_api.cc
@@ -32,7 +32,6 @@
#include <cstdint>
#include "internal_include/bt_trace.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "osi/include/mutex.h"
#include "stack/include/bt_hdr.h"
diff --git a/system/stack/rfcomm/port_rfc.cc b/system/stack/rfcomm/port_rfc.cc
index 01c8270869..a4cf8d5adf 100644
--- a/system/stack/rfcomm/port_rfc.cc
+++ b/system/stack/rfcomm/port_rfc.cc
@@ -36,7 +36,6 @@
#include "internal_include/bt_target.h"
#include "internal_include/bt_trace.h"
#include "main/shim/entry.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "osi/include/mutex.h"
#include "stack/include/bt_hdr.h"
diff --git a/system/stack/rfcomm/rfc_ts_frames.cc b/system/stack/rfcomm/rfc_ts_frames.cc
index 495d0aea08..fe92bb7ef0 100644
--- a/system/stack/rfcomm/rfc_ts_frames.cc
+++ b/system/stack/rfcomm/rfc_ts_frames.cc
@@ -28,7 +28,6 @@
#include <cstdint>
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/rfcdefs.h"
diff --git a/system/stack/rfcomm/rfc_utils.cc b/system/stack/rfcomm/rfc_utils.cc
index 29b89258f7..f57214644d 100644
--- a/system/stack/rfcomm/rfc_utils.cc
+++ b/system/stack/rfcomm/rfc_utils.cc
@@ -29,7 +29,6 @@
#include <cstdint>
#include "internal_include/bt_target.h"
-#include "os/logging/log_adapter.h"
#include "osi/include/allocator.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/port_ext.h"