Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2f731e9 authored by Chris Manton's avatar Chris Manton
Browse files

Break out BTM_LogHistory

Toward includable code

Bug: 163134718
Test: gd/cert/run
Tag: #refactor

Change-Id: Ibbb8d94783f131a0ad4e455b6a3e9e3861be0dfd
parent b3921f41
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
/*
 * Copyright 2021 The Android Open Source Project
 *
 * 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>

#include "types/ble_address_with_type.h"
#include "types/raw_address.h"

void BTM_LogHistory(const std::string& tag, const RawAddress& addr,
                    const std::string& msg);
void BTM_LogHistory(const std::string& tag, const RawAddress& addr,
                    const std::string& msg, const std::string& extra);
void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& addr,
                    const std::string& msg);
void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& addr,
                    const std::string& msg, const std::string& extra);