Add more logs to debug the TimeCheck timeout crash issues.
Bug:
117349352
Test: Manual run
Change-Id: I3a05ca975e41ab002e466150f3f3f28ba0f037df
(cherry picked from commit
05cc6c7e97ecebd3e031f09e74f730641423ae13)
Merged-In: I3a05ca975e41ab002e466150f3f3f28ba0f037df
struct a2dp_audio_device* a2dp_dev = (struct a2dp_audio_device*)dev;
struct a2dp_stream_out* out = (struct a2dp_stream_out*)stream;
+ INFO("%s: state %d", __func__, out->common.state);
+
// prevent interference with adev_set_parameters.
std::lock_guard<std::recursive_mutex> lock(*a2dp_dev->mutex);
{
return;
}
- VLOG(2) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd);
+ LOG(INFO) << __func__ << " " << audio_ha_hw_dump_ctrl_event(cmd);
// a2dp_cmd_pending = cmd;
switch (cmd) {
hearing_aid_send_ack(HEARING_AID_CTRL_ACK_FAILURE);
break;
}
- VLOG(2) << __func__ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd)
- << " DONE";
+ LOG(INFO) << __func__
+ << " a2dp-ctrl-cmd : " << audio_ha_hw_dump_ctrl_event(cmd)
+ << " DONE";
}
void hearing_aid_ctrl_cb(tUIPC_CH_ID, tUIPC_EVENT event) {