summaryrefslogtreecommitdiff
path: root/system/test/mock/mock_bta_dm_api.cc
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2022-08-10 11:15:16 -0700
committerLinux Build Service Account <lnxbuild@localhost>2022-08-10 11:15:16 -0700
commitfd44afebdcad9cfcaf4b29e979f1d6acc6c917f2 (patch)
tree05fcdd928bf675083b34ec65486e95226d9a2054 /system/test/mock/mock_bta_dm_api.cc
parent7b2835c88cb8d1733d60d7a558d80d9fc0d05150 (diff)
parent7c361396d2c2fbf58423d45d5c54792a69bade75 (diff)
Merge 7c361396d2c2fbf58423d45d5c54792a69bade75 on remote branch
Change-Id: Ib46c197d57679181b505738ad576adf0779e68a0
Diffstat (limited to 'system/test/mock/mock_bta_dm_api.cc')
-rw-r--r--system/test/mock/mock_bta_dm_api.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/test/mock/mock_bta_dm_api.cc b/system/test/mock/mock_bta_dm_api.cc
index bbb46abd9f..4cbab7ef4b 100644
--- a/system/test/mock/mock_bta_dm_api.cc
+++ b/system/test/mock/mock_bta_dm_api.cc
@@ -163,9 +163,10 @@ void BTA_DmConfirm(const RawAddress& bd_addr, bool accept) {
test::mock::bta_dm_api::BTA_DmConfirm(bd_addr, accept);
}
void BTA_DmDiscover(const RawAddress& bd_addr, tBTA_DM_SEARCH_CBACK* p_cback,
- tBT_TRANSPORT transport) {
+ tBT_TRANSPORT transport, bool is_bonding_or_sd) {
mock_function_count_map[__func__]++;
- test::mock::bta_dm_api::BTA_DmDiscover(bd_addr, p_cback, transport);
+ test::mock::bta_dm_api::BTA_DmDiscover(bd_addr, p_cback, transport,
+ is_bonding_or_sd);
}
bool BTA_DmGetConnectionState(const RawAddress& bd_addr) {
mock_function_count_map[__func__]++;
@@ -184,9 +185,9 @@ tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) {
mock_function_count_map[__func__]++;
return test::mock::bta_dm_api::BTA_DmRemoveDevice(bd_addr);
}
-void BTA_DmSearch(tBTA_DM_SEARCH_CBACK* p_cback) {
+void BTA_DmSearch(tBTA_DM_SEARCH_CBACK* p_cback, bool is_bonding_or_sdp) {
mock_function_count_map[__func__]++;
- test::mock::bta_dm_api::BTA_DmSearch(p_cback);
+ test::mock::bta_dm_api::BTA_DmSearch(p_cback, is_bonding_or_sdp);
}
void BTA_DmSearchCancel(void) {
mock_function_count_map[__func__]++;