Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 248) sorted by relevance

12345678910

/system/bt/test/suite/support/
Dgatt.c73 void btgattc_register_app_cb(int status, int clientIf, bt_uuid_t *app_uuid) { in btgattc_register_app_cb() argument
74 gatt_status = status; in btgattc_register_app_cb()
83 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_open_cb() argument
87 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_close_cb() argument
91 void btgattc_search_complete_cb(int conn_id, int status) { in btgattc_search_complete_cb() argument
99 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_… in btgattc_get_characteristic_cb() argument
103 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… in btgattc_get_descriptor_cb() argument
107 void btgattc_get_included_service_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_srv… in btgattc_get_included_service_cb() argument
111 void btgattc_register_for_notification_cb(int conn_id, int registered, int status, btgatt_srvc_id_t… in btgattc_register_for_notification_cb() argument
119 void btgattc_read_characteristic_cb(int conn_id, int status, btgatt_read_params_t *p_data) { in btgattc_read_characteristic_cb() argument
[all …]
Dcallbacks.c23 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state);
24 void adapter_properties(bt_status_t status, int num_properties, bt_property_t *properties);
26 void bond_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_bond_state_t state);
30 void remote_device_properties(bt_status_t status, bt_bdaddr_t *bd_addr, int num_properties, bt_prop…
39 void btgattc_register_app_cb(int status, int clientIf, bt_uuid_t *app_uuid);
41 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda);
42 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda);
43 void btgattc_search_complete_cb(int conn_id, int status);
45 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_…
46 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t…
[all …]
/system/bt/stack/avrc/
Davrc_pars_tg.c44 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd() local
66 status = AVRC_STS_BAD_CMD; in avrc_pars_vendor_cmd()
73 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd()
76 if (status != AVRC_STS_NO_ERROR) in avrc_pars_vendor_cmd()
77 return status; in avrc_pars_vendor_cmd()
84 status = AVRC_STS_BAD_PARAM; in avrc_pars_vendor_cmd()
86 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd()
92 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd()
98 status = AVRC_STS_BAD_PARAM; in avrc_pars_vendor_cmd()
100 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd()
[all …]
Davrc_pars_ct.c45 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_pars_vendor_rsp() local
63 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
64 return p_result->rsp.status; in avrc_pars_vendor_rsp()
75 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_rsp()
90 p_result->reg_notif.status=p_msg->hdr.ctype; in avrc_pars_vendor_rsp()
99 status = AVRC_STS_BAD_CMD; in avrc_pars_vendor_rsp()
103 return status; in avrc_pars_vendor_rsp()
118 tAVRC_STS status = AVRC_STS_INTERNAL_ERR; in AVRC_ParsResponse() local
128 status = avrc_pars_vendor_rsp(&p_msg->vendor, p_result); in AVRC_ParsResponse()
132 status = avrc_pars_pass_thru(&p_msg->pass, &id); in AVRC_ParsResponse()
[all …]
Davrc_bld_tg.c48 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_bld_get_capability_rsp() local
53 status = AVRC_STS_BAD_PARAM; in avrc_bld_get_capability_rsp()
54 return status; in avrc_bld_get_capability_rsp()
103 status = AVRC_STS_NO_ERROR; in avrc_bld_get_capability_rsp()
105 return status; in avrc_bld_get_capability_rsp()
546 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_bld_notify_rsp() local
568 status = AVRC_STS_BAD_PARAM; in avrc_bld_notify_rsp()
596 status = AVRC_STS_BAD_PARAM; in avrc_bld_notify_rsp()
609 status = AVRC_STS_BAD_PARAM; in avrc_bld_notify_rsp()
632 status = AVRC_STS_BAD_PARAM; in avrc_bld_notify_rsp()
[all …]
Davrc_bld_ct.c193 tAVRC_STS status = AVRC_STS_BAD_PARAM; in AVRC_BldCommand() local
197 AVRC_TRACE_API("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, p_cmd->cmd.status); in AVRC_BldCommand()
214 status = AVRC_STS_NO_ERROR; in AVRC_BldCommand()
220 status = avrc_bld_next_cmd(&p_cmd->continu, p_pkt); in AVRC_BldCommand()
224 status = avrc_bld_next_cmd(&p_cmd->abort, p_pkt); in AVRC_BldCommand()
228 status = avrc_bld_set_abs_volume_cmd(&p_cmd->volume, p_pkt); in AVRC_BldCommand()
235 status=avrc_bld_vol_change_notfn(p_pkt); in AVRC_BldCommand()
241 if (alloc && (status != AVRC_STS_NO_ERROR) ) in AVRC_BldCommand()
246 AVRC_TRACE_API("AVRC_BldCommand: returning %d", status); in AVRC_BldCommand()
247 return status; in AVRC_BldCommand()
/system/bt/bta/hl/
Dbta_hl_ci.c50 tBTA_HL_STATUS status, in bta_hl_ci_get_tx_data() argument
57 mdl_handle, status, evt); in bta_hl_ci_get_tx_data()
64 p_evt->status = status; in bta_hl_ci_get_tx_data()
85 tBTA_HL_STATUS status, in bta_hl_ci_put_rx_data() argument
91 mdl_handle, status, evt); in bta_hl_ci_put_rx_data()
98 p_evt->status = status; in bta_hl_ci_put_rx_data()
120 tBTA_HL_STATUS status, in bta_hl_ci_get_echo_data() argument
127 mcl_handle, status, evt); in bta_hl_ci_get_echo_data()
134 p_evt->status = status; in bta_hl_ci_get_echo_data()
155 tBTA_HL_STATUS status, in bta_hl_ci_put_echo_data() argument
[all …]
Dbta_hl_main.c540 evt_data.enable_cfm.status = BTA_HL_STATUS_FAIL; in bta_hl_api_enable()
551 evt_data.enable_cfm.status = BTA_HL_STATUS_OK; in bta_hl_api_enable()
568 tBTA_HL_STATUS status = BTA_HL_STATUS_OK; in bta_hl_api_disable() local
577 status = BTA_HL_STATUS_FAIL; in bta_hl_api_disable()
578 evt_data.disable_cfm.status = status; in bta_hl_api_disable()
584 if (status != BTA_HL_STATUS_OK) in bta_hl_api_disable()
586 APPL_TRACE_DEBUG("bta_hl_api_disable status =%s", bta_hl_status_code(status)); in bta_hl_api_disable()
605 tBTA_HL_STATUS status = BTA_HL_STATUS_FAIL; in bta_hl_api_update() local
612 status = bta_hl_app_update(p_data->api_update.app_id, p_data->api_update.is_register); in bta_hl_api_update()
617 evt_data.dereg_cfm.status = status; in bta_hl_api_update()
[all …]
/system/core/fastboot/
Dengine.c76 int (*func)(Action *a, int status, char *resp);
112 int status; in fb_format_supported() local
117 status = fb_getvar(usb, fs_type, "partition-type:%s", partition); in fb_format_supported()
118 if (status) { in fb_format_supported()
124 static int cb_default(Action *a, int status, char *resp) in cb_default() argument
126 if (status) { in cb_default()
133 return status; in cb_default()
225 static int cb_check(Action *a, int status, char *resp, int invert) in cb_check() argument
232 if (status) { in cb_check()
234 return status; in cb_check()
[all …]
/system/bt/btif/src/
Dbtif_sock.c65 bt_status_t status = btsock_rfc_init(thread_handle); in btif_sock_init() local
66 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
67 LOG_ERROR("%s error initializing RFCOMM sockets: %d", __func__, status); in btif_sock_init()
71 status = btsock_l2cap_init(thread_handle); in btif_sock_init()
72 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
73 LOG_ERROR("%s error initializing L2CAP sockets: %d", __func__, status); in btif_sock_init()
84 status = btsock_sco_init(thread); in btif_sock_init()
85 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
86 LOG_ERROR("%s error initializing SCO sockets: %d", __func__, status); in btif_sock_init()
124 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() local
[all …]
Dbtif_sdp_server.c379 BOOLEAN status = TRUE; in add_maps_sdp() local
398 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp()
409 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp()
412 status &= SDP_AddAttribute(sdp_handle, in add_maps_sdp()
419 status &= SDP_AddProfileDescriptorList(sdp_handle, in add_maps_sdp()
424 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAS_INSTANCE_ID, UINT_DESC_TYPE, in add_maps_sdp()
428 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_MSG_TYPE, UINT_DESC_TYPE, in add_maps_sdp()
433 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAP_SUPPORTED_FEATURES, in add_maps_sdp()
440 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_maps_sdp()
445 status &= SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_maps_sdp()
[all …]
/system/bt/bta/jv/
Dbta_jv_api.c62 tBTA_JV_STATUS status = BTA_JV_FAILURE; in BTA_JvEnable() local
84 status = BTA_JV_SUCCESS; in BTA_JvEnable()
91 return(status); in BTA_JvEnable()
178 tBTA_JV_STATUS status = BTA_JV_FAILURE; in BTA_JvGetChannelId() local
189 status = BTA_JV_SUCCESS; in BTA_JvGetChannelId()
192 return(status); in BTA_JvGetChannelId()
211 tBTA_JV_STATUS status = BTA_JV_FAILURE; in BTA_JvFreeChannel() local
221 status = BTA_JV_SUCCESS; in BTA_JvFreeChannel()
224 return(status); in BTA_JvFreeChannel()
243 tBTA_JV_STATUS status = BTA_JV_FAILURE; in BTA_JvStartDiscovery() local
[all …]
/system/bt/stack/btu/
Dbtu_hcif.c52 extern void btm_process_cancel_complete(UINT8 status, UINT8 mode);
74 static void btu_hcif_command_status_evt (uint8_t status, BT_HDR *command, void *context);
433 UINT8 status; in btu_hcif_inquiry_comp_evt() local
435 STREAM_TO_UINT8 (status, p); in btu_hcif_inquiry_comp_evt()
438 btm_process_inq_complete(status, BTM_BR_INQUIRY_MASK); in btu_hcif_inquiry_comp_evt()
498 UINT8 status; in btu_hcif_connection_comp_evt() local
507 STREAM_TO_UINT8 (status, p); in btu_hcif_connection_comp_evt()
517 btm_sec_connected (bda, handle, status, enc_mode); in btu_hcif_connection_comp_evt()
519 l2c_link_hci_conn_comp (status, handle, bda); in btu_hcif_connection_comp_evt()
527 btm_sco_connected (status, bda, handle, &esco_data); in btu_hcif_connection_comp_evt()
[all …]
/system/bt/stack/btm/
Dbtm_ble_batchscan.c318 tBTM_STATUS status = BTM_NO_RESOURCES; in btm_ble_read_batchscan_reports() local
327 if ((status = BTM_VendorSpecificCommand (HCI_BLE_BATCH_SCAN_OCF, in btm_ble_read_batchscan_reports()
331 BTM_TRACE_ERROR("btm_ble_read_batchscan_reports %d", status); in btm_ble_read_batchscan_reports()
335 if (BTM_CMD_STARTED == status) in btm_ble_read_batchscan_reports()
342 return status; in btm_ble_read_batchscan_reports()
362 UINT8 status = 0, subcode = 0, opcode = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
376 STREAM_TO_UINT8(status, p); in btm_ble_batchscan_vsc_cmpl_cback()
394 if (BTM_SUCCESS == status && BTM_BLE_SCAN_ENABLE_CALLED == cur_state) in btm_ble_batchscan_vsc_cmpl_cback()
404 status, ble_batchscan_cb.cur_state, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback()
407 ble_batchscan_cb.p_setup_cback(cb_evt, ref_value, status); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
Dbtm_ble_cont_energy.c48 UINT8 status = 0; in btm_ble_cont_energy_cmpl_cback() local
57 STREAM_TO_UINT8(status, p); in btm_ble_cont_energy_cmpl_cback()
64 status, total_tx_time, total_rx_time, total_energy_used, total_idle_time); in btm_ble_cont_energy_cmpl_cback()
68 total_energy_used, status); in btm_ble_cont_energy_cmpl_cback()
86 tBTM_STATUS status = BTM_ILLEGAL_VALUE; in BTM_BleGetEnergyInfo() local
100 if ((status = BTM_VendorSpecificCommand (HCI_BLE_ENERGY_INFO_OCF, 0, NULL, in BTM_BleGetEnergyInfo()
103 BTM_TRACE_ERROR("BTM_BleGetEnergyInfo status: %d", status); in BTM_BleGetEnergyInfo()
107 return status; in BTM_BleGetEnergyInfo()
/system/bt/bta/hh/
Dbta_hh_act.c70 tBTA_HH_STATUS status = BTA_HH_ERR; in bta_hh_api_enable() local
86 status = BTA_HH_OK; in bta_hh_api_enable()
101 if (status == BTA_HH_OK) in bta_hh_api_enable()
108 (* bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH *)&status); in bta_hh_api_enable()
165 tBTA_HH_STATUS status = BTA_HH_OK; in bta_hh_disc_cmpl() local
169 status = BTA_HH_ERR; in bta_hh_disc_cmpl()
173 UNUSED(status); in bta_hh_disc_cmpl()
175 bta_hh_cleanup_disable(status); in bta_hh_disc_cmpl()
193 tBTA_HH_STATUS status = BTA_HH_ERR_SDP; in bta_hh_sdp_cback() local
217 status = BTA_HH_OK; in bta_hh_sdp_cback()
[all …]
/system/bt/bta/gatt/
Dbta_gattc_ci.c51 void bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_open() argument
62 p_evt->status = status; in bta_gattc_ci_cache_open()
84 tBTA_GATTC_NV_ATTR *p_attr, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_load() argument
97 p_evt->status = status; in bta_gattc_ci_cache_load()
125 void bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_save() argument
136 p_evt->status = status; in bta_gattc_ci_cache_save()
Dbta_gatts_act.c187 tBTA_GATT_STATUS status = BTA_GATT_OK; in bta_gatts_register() local
202 status = BTA_GATT_DUP_REG; in bta_gatts_register()
208 if (status == BTA_GATT_OK) in bta_gatts_register()
235 status = BTA_GATT_NO_RESOURCES; in bta_gatts_register()
249 status = BTA_GATT_NO_RESOURCES; in bta_gatts_register()
256 status = BTA_GATT_NO_RESOURCES; in bta_gatts_register()
260 cb_data.reg_oper.status = status; in bta_gatts_register()
300 tBTA_GATT_STATUS status = BTA_GATT_ERROR; in bta_gatts_deregister() local
306 cb_data.reg_oper.status = status; in bta_gatts_deregister()
313 status = BTA_GATT_OK; in bta_gatts_deregister()
[all …]
Dbta_gattc_act.c55 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
188 tBTA_GATT_STATUS status = BTA_GATT_NO_RESOURCES; in bta_gattc_register() local
193 cb_data.reg_oper.status = BTA_GATT_NO_RESOURCES; in bta_gattc_register()
208 status = BTA_GATT_ERROR; in bta_gattc_register()
225 status = BTA_GATT_OK; in bta_gattc_register()
231 status = BTA_GATT_NO_RESOURCES; in bta_gattc_register()
245 cb_data.reg_oper.status = status; in bta_gattc_register()
408 cb_data.status = BTA_GATT_ERROR; in bta_gattc_process_api_open_cancel()
462 cb_data.status=BTA_GATT_ERROR; in bta_gattc_cancel_open_error()
560 tBTA_GATT_STATUS status = BTA_GATT_NO_RESOURCES; in bta_gattc_init_bk_conn() local
[all …]
/system/bt/bta/av/
Dbta_av_sbc.c427 UINT8 status = A2D_SUCCESS; in bta_av_sbc_cfg_for_cap() local
432 if ((status = A2D_ParsSbcInfo(&peer_cie, p_peer, TRUE)) != 0) in bta_av_sbc_cfg_for_cap()
434 return status; in bta_av_sbc_cfg_for_cap()
504 if (status == A2D_SUCCESS) in bta_av_sbc_cfg_for_cap()
509 return status; in bta_av_sbc_cfg_for_cap()
524 UINT8 status = 0; in bta_av_sbc_cfg_matches_cap() local
528 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, TRUE)) != 0) in bta_av_sbc_cfg_matches_cap()
530 APPL_TRACE_ERROR(" bta_av_sbc_cfg_matches_cap Parsing Failed %d", status); in bta_av_sbc_cfg_matches_cap()
531 return status; in bta_av_sbc_cfg_matches_cap()
547 status = A2D_NS_SAMP_FREQ; in bta_av_sbc_cfg_matches_cap()
[all …]
/system/bt/btif/co/
Dbta_gattc_co.c91 tBTA_GATT_STATUS status = BTA_GATT_OK; in bta_gattc_co_cache_open() local
93 status = BTA_GATT_ERROR; in bta_gattc_co_cache_open()
95 BTIF_TRACE_DEBUG("%s() - status=%d", __FUNCTION__, status); in bta_gattc_co_cache_open()
96 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id); in bta_gattc_co_cache_open()
118 tBTA_GATT_STATUS status = BTA_GATT_ERROR; in bta_gattc_co_cache_load() local
123 status = (num_attr < BTA_GATTC_NV_LOAD_MAX ? BTA_GATT_OK : BTA_GATT_MORE); in bta_gattc_co_cache_load()
127 __FUNCTION__, sCacheFD, start_index, num_attr, status); in bta_gattc_co_cache_load()
128 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id); in bta_gattc_co_cache_load()
150 tBTA_GATT_STATUS status = BTA_GATT_OK; in bta_gattc_co_cache_save() local
159 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id); in bta_gattc_co_cache_save()
/system/bt/bta/include/
Dbta_jv_api.h164 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
171 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
178 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
184 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
193 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
206 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
214 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
222 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
230 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
238 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */ member
[all …]
/system/bt/stack/a2dp/
Da2d_sbc.c225 tA2D_STATUS status; in A2D_BldSbcInfo() local
240 status = A2D_INVALID_PARAMS; in A2D_BldSbcInfo()
244 status = A2D_SUCCESS; in A2D_BldSbcInfo()
257 return status; in A2D_BldSbcInfo()
280 tA2D_STATUS status; in A2D_ParsSbcInfo() local
284 status = A2D_INVALID_PARAMS; in A2D_ParsSbcInfo()
291 status = A2D_WRONG_CODEC; in A2D_ParsSbcInfo()
304 status = A2D_SUCCESS; in A2D_ParsSbcInfo()
306 status = A2D_BAD_MIN_BITPOOL; in A2D_ParsSbcInfo()
310 status = A2D_BAD_MAX_BITPOOL; in A2D_ParsSbcInfo()
[all …]
/system/bt/stack/gatt/
Dgatt_db.c218 tGATT_STATUS status; in read_attr_value() local
228status = gatts_check_attr_readability((tGATT_ATTR16 *)p_attr, offset, read_long, sec_flag, key_siz… in read_attr_value()
230 if (status != GATT_SUCCESS) in read_attr_value()
231 return status; in read_attr_value()
236 status = GATT_NO_RESOURCES; in read_attr_value()
244 status = GATT_SUCCESS; in read_attr_value()
270 status = GATT_SUCCESS; in read_attr_value()
290 status = GATT_SUCCESS; in read_attr_value()
295 status = GATT_PENDING; in read_attr_value()
300 return status; in read_attr_value()
[all …]
/system/security/keystore/
DIKeystoreService.cpp407 status_t status = remote()->transact(BnKeystoreService::GET_STATE, data, &reply); in getState() local
408 if (status != NO_ERROR) { in getState()
409 ALOGD("getState() could not contact remote: %d\n", status); in getState()
426 status_t status = remote()->transact(BnKeystoreService::GET, data, &reply); in get() local
427 if (status != NO_ERROR) { in get()
428 ALOGD("get() could not contact remote: %d\n", status); in get()
465 status_t status = remote()->transact(BnKeystoreService::INSERT, data, &reply); in insert() local
466 if (status != NO_ERROR) { in insert()
467 ALOGD("import() could not contact remote: %d\n", status); in insert()
485 status_t status = remote()->transact(BnKeystoreService::DEL, data, &reply); in del() local
[all …]

12345678910