Home
last modified time | relevance | path

Searched refs:CASE_RETURN_TEXT (Results 1 – 23 of 23) sorted by relevance

/system/bt/service/
Dlogging_helpers.cc22 #define CASE_RETURN_TEXT(code) \ macro
28 CASE_RETURN_TEXT(BTAV_CONNECTION_STATE_DISCONNECTED); in BtAvConnectionStateText()
29 CASE_RETURN_TEXT(BTAV_CONNECTION_STATE_CONNECTING); in BtAvConnectionStateText()
30 CASE_RETURN_TEXT(BTAV_CONNECTION_STATE_CONNECTED); in BtAvConnectionStateText()
31 CASE_RETURN_TEXT(BTAV_CONNECTION_STATE_DISCONNECTING); in BtAvConnectionStateText()
39 CASE_RETURN_TEXT(BTAV_AUDIO_STATE_REMOTE_SUSPEND); in BtAvAudioStateText()
40 CASE_RETURN_TEXT(BTAV_AUDIO_STATE_STOPPED); in BtAvAudioStateText()
41 CASE_RETURN_TEXT(BTAV_AUDIO_STATE_STARTED); in BtAvAudioStateText()
49 CASE_RETURN_TEXT(BT_TRANSPORT_AUTO); in BtTransportText()
50 CASE_RETURN_TEXT(BT_TRANSPORT_BR_EDR); in BtTransportText()
[all …]
/system/bt/profile/sdp/
Dsdp_logging_helper.h31 #ifndef CASE_RETURN_TEXT
32 #define CASE_RETURN_TEXT(code) \ macro
39 CASE_RETURN_TEXT(PduId::RESERVED); in PduIdText()
40 CASE_RETURN_TEXT(PduId::ERROR); in PduIdText()
41 CASE_RETURN_TEXT(PduId::SERVICE_SEARCH_REQUEST); in PduIdText()
42 CASE_RETURN_TEXT(PduId::SERVICE_SEARCH_RESPONSE); in PduIdText()
43 CASE_RETURN_TEXT(PduId::SERVICE_ATTRIBUTE_REQUEST); in PduIdText()
44 CASE_RETURN_TEXT(PduId::SERVICE_ATTRIBUTE_RESPONSE); in PduIdText()
45 CASE_RETURN_TEXT(PduId::SERVICE_SEARCH_ATTRIBUTE_REQUEST); in PduIdText()
46 CASE_RETURN_TEXT(PduId::SERVICE_SEARCH_ATTRIBUTE_RESPONSE); in PduIdText()
[all …]
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h31 #define CASE_RETURN_TEXT(code) \ macro
37 CASE_RETURN_TEXT(CType::CONTROL); in CTypeText()
38 CASE_RETURN_TEXT(CType::STATUS); in CTypeText()
39 CASE_RETURN_TEXT(CType::NOTIFY); in CTypeText()
40 CASE_RETURN_TEXT(CType::ACCEPTED); in CTypeText()
41 CASE_RETURN_TEXT(CType::REJECTED); in CTypeText()
42 CASE_RETURN_TEXT(CType::STABLE); in CTypeText()
43 CASE_RETURN_TEXT(CType::CHANGED); in CTypeText()
44 CASE_RETURN_TEXT(CType::INTERIM); in CTypeText()
56 CASE_RETURN_TEXT(Opcode::VENDOR); in OpcodeText()
[all …]
/system/bt/stack/include/
Dbtm_status.h61 #define CASE_RETURN_TEXT(code) \ macro
67 CASE_RETURN_TEXT(BTM_SUCCESS); in btm_status_text()
68 CASE_RETURN_TEXT(BTM_CMD_STARTED); in btm_status_text()
69 CASE_RETURN_TEXT(BTM_BUSY); in btm_status_text()
70 CASE_RETURN_TEXT(BTM_NO_RESOURCES); in btm_status_text()
71 CASE_RETURN_TEXT(BTM_MODE_UNSUPPORTED); in btm_status_text()
72 CASE_RETURN_TEXT(BTM_ILLEGAL_VALUE); in btm_status_text()
73 CASE_RETURN_TEXT(BTM_WRONG_MODE); in btm_status_text()
74 CASE_RETURN_TEXT(BTM_UNKNOWN_ADDR); in btm_status_text()
75 CASE_RETURN_TEXT(BTM_DEVICE_TIMEOUT); in btm_status_text()
[all …]
Dhiddefs.h58 #define CASE_RETURN_TEXT(code) \ macro
64 CASE_RETURN_TEXT(HID_SUCCESS); in hid_status_text()
65 CASE_RETURN_TEXT(HID_ERR_NOT_REGISTERED); in hid_status_text()
66 CASE_RETURN_TEXT(HID_ERR_ALREADY_REGISTERED); in hid_status_text()
67 CASE_RETURN_TEXT(HID_ERR_NO_RESOURCES); in hid_status_text()
68 CASE_RETURN_TEXT(HID_ERR_NO_CONNECTION); in hid_status_text()
69 CASE_RETURN_TEXT(HID_ERR_INVALID_PARAM); in hid_status_text()
70 CASE_RETURN_TEXT(HID_ERR_UNSUPPORTED); in hid_status_text()
71 CASE_RETURN_TEXT(HID_ERR_UNKNOWN_COMMAND); in hid_status_text()
72 CASE_RETURN_TEXT(HID_ERR_CONGESTED); in hid_status_text()
[all …]
Dsmp_api_types.h49 #define CASE_RETURN_TEXT(code) \ macro
55 CASE_RETURN_TEXT(SMP_OPCODE_PAIRING_REQ); in smp_opcode_text()
56 CASE_RETURN_TEXT(SMP_OPCODE_PAIRING_RSP); in smp_opcode_text()
57 CASE_RETURN_TEXT(SMP_OPCODE_CONFIRM); in smp_opcode_text()
58 CASE_RETURN_TEXT(SMP_OPCODE_RAND); in smp_opcode_text()
59 CASE_RETURN_TEXT(SMP_OPCODE_PAIRING_FAILED); in smp_opcode_text()
60 CASE_RETURN_TEXT(SMP_OPCODE_ENCRYPT_INFO); in smp_opcode_text()
61 CASE_RETURN_TEXT(SMP_OPCODE_CENTRAL_ID); in smp_opcode_text()
62 CASE_RETURN_TEXT(SMP_OPCODE_IDENTITY_INFO); in smp_opcode_text()
63 CASE_RETURN_TEXT(SMP_OPCODE_ID_ADDR); in smp_opcode_text()
[all …]
Dsdp_api.h56 #define CASE_RETURN_TEXT(code) \ macro
62 CASE_RETURN_TEXT(SDP_SUCCESS); in sdp_status_text()
63 CASE_RETURN_TEXT(SDP_INVALID_VERSION); in sdp_status_text()
64 CASE_RETURN_TEXT(SDP_INVALID_SERV_REC_HDL); in sdp_status_text()
65 CASE_RETURN_TEXT(SDP_INVALID_REQ_SYNTAX); in sdp_status_text()
66 CASE_RETURN_TEXT(SDP_INVALID_PDU_SIZE); in sdp_status_text()
67 CASE_RETURN_TEXT(SDP_INVALID_CONT_STATE); in sdp_status_text()
68 CASE_RETURN_TEXT(SDP_NO_RESOURCES); in sdp_status_text()
69 CASE_RETURN_TEXT(SDP_DI_REG_FAILED); in sdp_status_text()
70 CASE_RETURN_TEXT(SDP_DI_DISC_FAILED); in sdp_status_text()
[all …]
Davdt_api.h62 #define CASE_RETURN_TEXT(code) \ macro
68 CASE_RETURN_TEXT(AVDT_SUCCESS); in avdt_result_text()
69 CASE_RETURN_TEXT(AVDT_BAD_PARAMS); in avdt_result_text()
70 CASE_RETURN_TEXT(AVDT_NO_RESOURCES); in avdt_result_text()
71 CASE_RETURN_TEXT(AVDT_BAD_HANDLE); in avdt_result_text()
72 CASE_RETURN_TEXT(AVDT_BUSY); in avdt_result_text()
73 CASE_RETURN_TEXT(AVDT_WRITE_FAIL); in avdt_result_text()
78 #undef CASE_RETURN_TEXT
Dgatt_api.h215 #define CASE_RETURN_TEXT(code) \ macro
222 CASE_RETURN_TEXT(GATT_CONN_OK); in gatt_disconnection_reason_text()
223 CASE_RETURN_TEXT(GATT_CONN_L2C_FAILURE); in gatt_disconnection_reason_text()
224 CASE_RETURN_TEXT(GATT_CONN_TIMEOUT); in gatt_disconnection_reason_text()
225 CASE_RETURN_TEXT(GATT_CONN_TERMINATE_PEER_USER); in gatt_disconnection_reason_text()
226 CASE_RETURN_TEXT(GATT_CONN_TERMINATE_LOCAL_HOST); in gatt_disconnection_reason_text()
227 CASE_RETURN_TEXT(GATT_CONN_LMP_TIMEOUT); in gatt_disconnection_reason_text()
228 CASE_RETURN_TEXT(BTA_GATT_CONN_NONE); in gatt_disconnection_reason_text()
233 #undef CASE_RETURN_TEXT
/system/bt/stack/hid/
Dhid_conn.h45 #define CASE_RETURN_TEXT(code) \ macro
51 CASE_RETURN_TEXT(HID_CONN_STATE_UNUSED); in state_text()
52 CASE_RETURN_TEXT(HID_CONN_STATE_CONNECTING_CTRL); in state_text()
53 CASE_RETURN_TEXT(HID_CONN_STATE_CONNECTING_INTR); in state_text()
54 CASE_RETURN_TEXT(HID_CONN_STATE_CONFIG); in state_text()
55 CASE_RETURN_TEXT(HID_CONN_STATE_CONNECTED); in state_text()
56 CASE_RETURN_TEXT(HID_CONN_STATE_DISCONNECTING); in state_text()
57 CASE_RETURN_TEXT(HID_CONN_STATE_SECURITY); in state_text()
62 #undef CASE_RETURN_TEXT
/system/bt/bta/include/
Dbta_ag_api.h109 #define CASE_RETURN_TEXT(code) \ macro
148 CASE_RETURN_TEXT(BTA_AG_SPK_RES); in bta_ag_result_text()
149 CASE_RETURN_TEXT(BTA_AG_MIC_RES); in bta_ag_result_text()
150 CASE_RETURN_TEXT(BTA_AG_INBAND_RING_RES); in bta_ag_result_text()
151 CASE_RETURN_TEXT(BTA_AG_CIND_RES); in bta_ag_result_text()
152 CASE_RETURN_TEXT(BTA_AG_BINP_RES); in bta_ag_result_text()
153 CASE_RETURN_TEXT(BTA_AG_IND_RES); in bta_ag_result_text()
154 CASE_RETURN_TEXT(BTA_AG_BVRA_RES); in bta_ag_result_text()
155 CASE_RETURN_TEXT(BTA_AG_CNUM_RES); in bta_ag_result_text()
156 CASE_RETURN_TEXT(BTA_AG_BTRH_RES); in bta_ag_result_text()
[all …]
Dbta_hh_api.h43 #ifndef CASE_RETURN_TEXT
44 #define CASE_RETURN_TEXT(code) \ macro
147 CASE_RETURN_TEXT(BTA_HH_OK); in bta_hh_status_text()
148 CASE_RETURN_TEXT(BTA_HH_HS_HID_NOT_READY); in bta_hh_status_text()
149 CASE_RETURN_TEXT(BTA_HH_HS_INVALID_RPT_ID); in bta_hh_status_text()
150 CASE_RETURN_TEXT(BTA_HH_HS_TRANS_NOT_SPT); in bta_hh_status_text()
151 CASE_RETURN_TEXT(BTA_HH_HS_INVALID_PARAM); in bta_hh_status_text()
152 CASE_RETURN_TEXT(BTA_HH_HS_ERROR); in bta_hh_status_text()
153 CASE_RETURN_TEXT(BTA_HH_ERR); in bta_hh_status_text()
154 CASE_RETURN_TEXT(BTA_HH_ERR_SDP); in bta_hh_status_text()
[all …]
Dbta_gatt_api.h73 #define CASE_RETURN_TEXT(code) \ macro
79 CASE_RETURN_TEXT(BTA_GATTC_DEREG_EVT); in gatt_client_event_text()
80 CASE_RETURN_TEXT(BTA_GATTC_OPEN_EVT); in gatt_client_event_text()
81 CASE_RETURN_TEXT(BTA_GATTC_CLOSE_EVT); in gatt_client_event_text()
82 CASE_RETURN_TEXT(BTA_GATTC_SEARCH_CMPL_EVT); in gatt_client_event_text()
83 CASE_RETURN_TEXT(BTA_GATTC_SEARCH_RES_EVT); in gatt_client_event_text()
84 CASE_RETURN_TEXT(BTA_GATTC_SRVC_DISC_DONE_EVT); in gatt_client_event_text()
85 CASE_RETURN_TEXT(BTA_GATTC_NOTIF_EVT); in gatt_client_event_text()
86 CASE_RETURN_TEXT(BTA_GATTC_EXEC_EVT); in gatt_client_event_text()
87 CASE_RETURN_TEXT(BTA_GATTC_ACL_EVT); in gatt_client_event_text()
[all …]
Dbta_api.h139 #define CASE_RETURN_TEXT(code) \ macro
145 CASE_RETURN_TEXT(BTA_ANY_ROLE); in preferred_role_text()
146 CASE_RETURN_TEXT(BTA_CENTRAL_ROLE_PREF); in preferred_role_text()
147 CASE_RETURN_TEXT(BTA_CENTRAL_ROLE_ONLY); in preferred_role_text()
148 CASE_RETURN_TEXT(BTA_PERIPHERAL_ROLE_ONLY); in preferred_role_text()
153 #undef CASE_RETURN_TEXT
/system/bt/btif/include/
Dbtif_hh.h59 #define CASE_RETURN_TEXT(code) \ macro
65 CASE_RETURN_TEXT(BTIF_HH_DISABLED); in btif_hh_status_text()
66 CASE_RETURN_TEXT(BTIF_HH_ENABLED); in btif_hh_status_text()
67 CASE_RETURN_TEXT(BTIF_HH_DISABLING); in btif_hh_status_text()
68 CASE_RETURN_TEXT(BTIF_HH_DEV_UNKNOWN); in btif_hh_status_text()
69 CASE_RETURN_TEXT(BTIF_HH_DEV_CONNECTING); in btif_hh_status_text()
70 CASE_RETURN_TEXT(BTIF_HH_DEV_CONNECTED); in btif_hh_status_text()
71 CASE_RETURN_TEXT(BTIF_HH_DEV_DISCONNECTED); in btif_hh_status_text()
76 #undef CASE_RETURN_TEXT
/system/bt/include/hardware/
Dbt_hh.h37 #define CASE_RETURN_TEXT(code) \ macro
44 CASE_RETURN_TEXT(BTHH_CONN_STATE_CONNECTED); in bthh_connection_state_text()
45 CASE_RETURN_TEXT(BTHH_CONN_STATE_CONNECTING); in bthh_connection_state_text()
46 CASE_RETURN_TEXT(BTHH_CONN_STATE_DISCONNECTED); in bthh_connection_state_text()
47 CASE_RETURN_TEXT(BTHH_CONN_STATE_DISCONNECTING); in bthh_connection_state_text()
48 CASE_RETURN_TEXT(BTHH_CONN_STATE_UNKNOWN); in bthh_connection_state_text()
53 #undef CASE_RETURN_TEXT
/system/bt/gd/btaa/linux_generic/
Dattribution_processor.cc159 #ifndef CASE_RETURN_TEXT
160 #define CASE_RETURN_TEXT(code) \ macro
167 CASE_RETURN_TEXT(Activity::ACL); in ActivityToString()
168 CASE_RETURN_TEXT(Activity::ADVERTISE); in ActivityToString()
169 CASE_RETURN_TEXT(Activity::CONNECT); in ActivityToString()
170 CASE_RETURN_TEXT(Activity::CONTROL); in ActivityToString()
171 CASE_RETURN_TEXT(Activity::HFP); in ActivityToString()
172 CASE_RETURN_TEXT(Activity::ISO); in ActivityToString()
173 CASE_RETURN_TEXT(Activity::SCAN); in ActivityToString()
174 CASE_RETURN_TEXT(Activity::VENDOR); in ActivityToString()
/system/bt/stack/btm/
Dsecurity_device_record.h141 #define CASE_RETURN_TEXT(code) \ macro
163 CASE_RETURN_TEXT(BTM_SEC_STATE_IDLE); in security_state_text()
164 CASE_RETURN_TEXT(BTM_SEC_STATE_AUTHENTICATING); in security_state_text()
165 CASE_RETURN_TEXT(BTM_SEC_STATE_ENCRYPTING); in security_state_text()
166 CASE_RETURN_TEXT(BTM_SEC_STATE_GETTING_NAME); in security_state_text()
167 CASE_RETURN_TEXT(BTM_SEC_STATE_AUTHORIZING); in security_state_text()
168 CASE_RETURN_TEXT(BTM_SEC_STATE_SWITCHING_ROLE); in security_state_text()
169 CASE_RETURN_TEXT(BTM_SEC_STATE_DISCONNECTING); in security_state_text()
170 CASE_RETURN_TEXT(BTM_SEC_STATE_DELAY_FOR_ENC); in security_state_text()
171 CASE_RETURN_TEXT(BTM_SEC_STATE_DISCONNECTING_BLE); in security_state_text()
[all …]
/system/bt/stack/gatt/
Dgatt_int.h54 #define CASE_RETURN_TEXT(code) \ macro
60 CASE_RETURN_TEXT(GATT_SEC_NONE); in gatt_security_action_text()
61 CASE_RETURN_TEXT(GATT_SEC_OK); in gatt_security_action_text()
62 CASE_RETURN_TEXT(GATT_SEC_SIGN_DATA); in gatt_security_action_text()
63 CASE_RETURN_TEXT(GATT_SEC_ENCRYPT); in gatt_security_action_text()
64 CASE_RETURN_TEXT(GATT_SEC_ENCRYPT_NO_MITM); in gatt_security_action_text()
65 CASE_RETURN_TEXT(GATT_SEC_ENCRYPT_MITM); in gatt_security_action_text()
66 CASE_RETURN_TEXT(GATT_SEC_ENC_PENDING); in gatt_security_action_text()
72 #undef CASE_RETURN_TEXT
239 #define CASE_RETURN_TEXT(code) \ macro
[all …]
/system/bt/stack/l2cap/
Dl2c_int.h84 #define CASE_RETURN_TEXT(code) \ macro
90 CASE_RETURN_TEXT(CST_CLOSED); in channel_state_text()
91 CASE_RETURN_TEXT(CST_ORIG_W4_SEC_COMP); in channel_state_text()
92 CASE_RETURN_TEXT(CST_TERM_W4_SEC_COMP); in channel_state_text()
93 CASE_RETURN_TEXT(CST_W4_L2CAP_CONNECT_RSP); in channel_state_text()
94 CASE_RETURN_TEXT(CST_W4_L2CA_CONNECT_RSP); in channel_state_text()
95 CASE_RETURN_TEXT(CST_CONFIG); in channel_state_text()
96 CASE_RETURN_TEXT(CST_OPEN); in channel_state_text()
97 CASE_RETURN_TEXT(CST_W4_L2CAP_DISCONNECT_RSP); in channel_state_text()
98 CASE_RETURN_TEXT(CST_W4_L2CA_DISCONNECT_RSP); in channel_state_text()
[all …]
/system/bt/bta/dm/
Dbta_dm_int.h38 #ifndef CASE_RETURN_TEXT
39 #define CASE_RETURN_TEXT(code) \ macro
180 CASE_RETURN_TEXT(BTA_DM_NOT_CONNECTED); in bta_conn_state_text()
181 CASE_RETURN_TEXT(BTA_DM_CONNECTED); in bta_conn_state_text()
182 CASE_RETURN_TEXT(BTA_DM_UNPAIRING); in bta_conn_state_text()
556 #undef CASE_RETURN_TEXT
/system/bt/gd/os/
Dlog.h131 #ifndef CASE_RETURN_TEXT
132 #define CASE_RETURN_TEXT(code) \ macro
/system/bt/bta/av/
Dbta_av_int.h38 #define CASE_RETURN_TEXT(code) \ macro
247 CASE_RETURN_TEXT(BTA_AV_RS_NONE); in bta_av_role_switch_result_text()
248 CASE_RETURN_TEXT(BTA_AV_RS_OK); in bta_av_role_switch_result_text()
249 CASE_RETURN_TEXT(BTA_AV_RS_FAIL); in bta_av_role_switch_result_text()
250 CASE_RETURN_TEXT(BTA_AV_RS_DONE); in bta_av_role_switch_result_text()