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

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

Explicit use base::Location stack/btu/btu_hcif:: am: e5442818 am: fa83af1f

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

Change-Id: I9ed8a7c108c91c8900e4180dcc95f8130a5c27dd
parents 85480805 fa83af1f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -731,7 +731,7 @@ using hci_cmd_cb = base::OnceCallback<void(

struct cmd_with_cb_data {
  hci_cmd_cb cb;
  Location posted_from;
  base::Location posted_from;
};

void cmd_with_cb_data_init(cmd_with_cb_data* cb_wrapper) {
@@ -875,9 +875,9 @@ static void btu_hcif_command_status_evt_with_cb(uint8_t status, BT_HDR* command,
/* This function is called to send commands to the Host Controller. |cb| is
 * called when command status event is called with error code, or when the
 * command complete event is received. */
void btu_hcif_send_cmd_with_cb(const Location& posted_from, uint16_t opcode,
                               uint8_t* params, uint8_t params_len,
                               hci_cmd_cb cb) {
void btu_hcif_send_cmd_with_cb(const base::Location& posted_from,
                               uint16_t opcode, uint8_t* params,
                               uint8_t params_len, hci_cmd_cb cb) {
  BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE);
  uint8_t* pp = (uint8_t*)(p + 1);