Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/stack/hid/
Dhidd_conn.cc440 uint8_t msg_type, param; in hidd_l2cif_data_ind() local
460 msg_type = HID_GET_TRANS_FROM_HDR(*p_data); in hidd_l2cif_data_ind()
463 if (msg_type == HID_TRANS_DATA && cid == p_hcon->intr_cid) { in hidd_l2cif_data_ind()
472 switch (msg_type) { in hidd_l2cif_data_ind()
556 log::warn("got unsupported msg ({})", msg_type); in hidd_l2cif_data_ind()
731 tHID_STATUS hidd_conn_send_data(uint8_t channel, uint8_t msg_type, in hidd_conn_send_data() argument
739 log::verbose("channel({}), msg_type({}), len({})", channel, msg_type, len); in hidd_conn_send_data()
750 switch (msg_type) { in hidd_conn_send_data()
783 *p_out = HID_BUILD_HDR(msg_type, param); in hidd_conn_send_data()
789 if (msg_type == HID_TRANS_DATA && (data || param == HID_PAR_REP_TYPE_OTHER)) { in hidd_conn_send_data()
[all …]
Dhidd_int.h75 tHID_STATUS hidd_conn_send_data(uint8_t channel, uint8_t msg_type,
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_msg.cc1527 uint8_t msg_type; in avdt_msg_ind() local
1545 AVDT_MSG_PRS_HDR(p, label, pkt_type, msg_type); in avdt_msg_ind()
1552 if (msg_type == AVDT_MSG_TYPE_GRJ) { in avdt_msg_ind()
1553 log::warn("Dropping msg msg_type={}", msg_type); in avdt_msg_ind()
1557 else if ((msg_type == AVDT_MSG_TYPE_REJ) && in avdt_msg_ind()
1572 log::warn("Dropping msg sig={} msg_type:{}", sig, msg_type); in avdt_msg_ind()
1576 if (msg_type == AVDT_MSG_TYPE_CMD) { in avdt_msg_ind()
1582 log::verbose("msg_type={}, sig={}", msg_type, sig); in avdt_msg_ind()
1589 if ((msg_type == AVDT_MSG_TYPE_RSP) && (sig == AVDT_SIG_DISCOVER)) { in avdt_msg_ind()
1593 } else if ((msg_type == AVDT_MSG_TYPE_RSP) && in avdt_msg_ind()
[all …]
/packages/services/Car/tools/emulator/
Dvhal_emulator.py175 cmd.msg_type = VehicleHalProto_pb2.GET_CONFIG_CMD
185 cmd.msg_type = VehicleHalProto_pb2.GET_CONFIG_ALL_CMD
193 cmd.msg_type = VehicleHalProto_pb2.GET_PROPERTY_CMD
204 cmd.msg_type = VehicleHalProto_pb2.GET_PROPERTY_ALL_CMD
216 cmd.msg_type = VehicleHalProto_pb2.SET_PROPERTY_CMD
Dvhal_emulator_test.py163 if rxMsg.msg_type != expectedType:
164 … self._log.error("rxMsg Type expected: 0x%X, received: 0x%X", expectedType, rxMsg.msg_type)
Dgui.py35 if (msg.msg_type == VehicleHalProto_pb2.SET_PROPERTY_RESP):