From 999dcb7d7d459868667abd8950a24dc50d080780 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Mon, 7 Sep 2020 22:54:17 -0700 Subject: [PATCH] add neighbor_inquiry API Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: I6a51831e104a57f1f28c0badd215da63edee6c67 --- stack/btm/neighbor_inquiry.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stack/btm/neighbor_inquiry.h b/stack/btm/neighbor_inquiry.h index 009334c6c..b0dea71d1 100644 --- a/stack/btm/neighbor_inquiry.h +++ b/stack/btm/neighbor_inquiry.h @@ -20,6 +20,7 @@ #include "osi/include/alarm.h" #include "stack/include/btm_api_types.h" +#include "types/raw_address.h" /* Discoverable modes */ #define BTM_NON_DISCOVERABLE 0 @@ -248,3 +249,6 @@ typedef union /* contains the inquiry filter condition */ #define BTM_INQ_RESULT_BR 0x01 #define BTM_INQ_RESULT_BLE 0x02 + +extern bool btm_inq_find_bdaddr(const RawAddress& p_bda); +extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda); -- 2.11.0