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

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

testing: Use proper types

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
Change-Id: I959e0522ca0e7394e7d1287859694d83d9e50e83
parent f7f31e4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ extern std::map<std::string, int> mock_function_count_map;

tBTA_STATUS BTA_AgEnable(tBTA_AG_CBACK* p_cback) {
  mock_function_count_map[__func__]++;
  return 0;
  return BTA_SUCCESS;
}
void BTA_AgAudioClose(uint16_t handle) { mock_function_count_map[__func__]++; }
void BTA_AgAudioOpen(uint16_t handle) { mock_function_count_map[__func__]++; }
+2 −2
Original line number Diff line number Diff line
@@ -46,12 +46,12 @@ bool BTA_DmGetConnectionState(const RawAddress& bd_addr) {
}
tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) {
  mock_function_count_map[__func__]++;
  return 0;
  return BTA_SUCCESS;
}
tBTA_STATUS BTA_DmSetLocalDiRecord(tBTA_DI_RECORD* p_device_info,
                                   uint32_t* p_handle) {
  mock_function_count_map[__func__]++;
  return 0;
  return BTA_SUCCESS;
}
void BTA_AddEirUuid(uint16_t uuid16) { mock_function_count_map[__func__]++; }
void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,