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

Commit f8718535 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

testing: Use proper types am: cf2cc848

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1673597

Change-Id: I6e2e417f524e8697f593ff1b98e16964a9daeb6e
parents 39a4f3d2 cf2cc848
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,