Home
last modified time | relevance | path

Searched refs:BTM_SUCCESS (Results 1 – 25 of 36) sorted by relevance

12

/system/bt/stack/btm/
Dbtm_devctl.c488 return(BTM_SUCCESS); in BTM_ReadLocalDeviceName()
568 return(BTM_SUCCESS); in BTM_SetDeviceClass()
578 return (BTM_SUCCESS); in BTM_SetDeviceClass()
667 return (BTM_SUCCESS); in BTM_VendorSpecificCommand()
714 tBTM_STATUS retval = BTM_SUCCESS; in BTM_RegisterForVSEvents()
733 return (BTM_SUCCESS); in BTM_RegisterForVSEvents()
801 return (BTM_SUCCESS); in BTM_WritePageTimeout()
825 return (BTM_SUCCESS); in BTM_WriteVoiceSettings()
863 BTM_DEFAULT_CONN_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
870 BTM_DEFAULT_DISC_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
[all …]
Dbtm_sec.c882 if (res != BTM_SUCCESS) in BTM_PINCodeReply()
1010 return(BTM_SUCCESS); in btm_sec_bond_by_transport()
1014 if ((BTM_DeleteStoredLinkKey (bd_addr, NULL)) != BTM_SUCCESS) in btm_sec_bond_by_transport()
1242 return BTM_SUCCESS; in BTM_SecBondCancel()
1309 return(BTM_SUCCESS); in BTM_SecGetDeviceLinkKey()
1394 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
1396 return(BTM_SUCCESS); in BTM_SetEncryption()
1500 status = BTM_SUCCESS; in btm_sec_send_hci_disconnect()
1538 if ( (res == BTM_SUCCESS) || (res == BTM_SUCCESS_NO_SECURITY) ) in BTM_ConfirmReqReply()
1542 if (res == BTM_SUCCESS) in BTM_ConfirmReqReply()
[all …]
Dbtm_ble.c374 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_REPEATED_ATTEMPTS; in BTM_SecurityGrant()
398 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BlePasskeyReply()
427 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BleConfirmReply()
457 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_OOB_FAIL; in BTM_BleOobDataReply()
845 return BTM_SUCCESS; in BTM_SetBleDataLength()
983 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
1458 cmd = BTM_SUCCESS; in btm_ble_set_encryption()
1608 btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, TRUE); in btm_ble_link_encrypted()
1667 UINT8 callback_rc = BTM_SUCCESS; in btm_ble_io_capabilities_req()
1674 if ((callback_rc == BTM_SUCCESS) || (BTM_OOB_UNKNOWN != p_data->oob_data)) in btm_ble_io_capabilities_req()
[all …]
Dbtm_inq.c178 == BTM_SUCCESS) in BTM_SetDiscoverability()
283 return (BTM_SUCCESS); in BTM_SetDiscoverability()
321 return (BTM_SUCCESS); in BTM_SetInquiryScanType()
358 return (BTM_SUCCESS); in BTM_SetPageScanType()
404 return (BTM_SUCCESS); in BTM_SetInquiryMode()
552 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelPeriodicInquiry()
604 if (btm_ble_set_connectability(page_mode) != BTM_SUCCESS) in BTM_SetConnectability()
667 return (BTM_SUCCESS); in BTM_SetConnectability()
734 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelInquiry()
1235 return (BTM_SUCCESS); in BTM_ClearInqDb()
[all …]
Dbtm_pm.c144 return BTM_SUCCESS; in BTM_PmRegister()
161 return BTM_SUCCESS; in BTM_PmRegister()
222 return BTM_SUCCESS; in BTM_SetPowerMode()
292 return BTM_SUCCESS; in BTM_ReadPowerMode()
324 return BTM_SUCCESS; in btm_read_power_mode_state()
360 return BTM_SUCCESS; in BTM_SetSsrParams()
Dbtm_sco.c336 tBTM_STATUS status = BTM_SUCCESS;
637 if ((btm_read_power_mode_state(p->esco.data.bd_addr, &state) == BTM_SUCCESS))
650 … if( (BTM_ReadPowerMode(remote_bda, &mode) == BTM_SUCCESS) && (mode == BTM_PM_MD_PARK) )
1082 return (BTM_SUCCESS);
1085 if ((btm_read_power_mode_state(p->esco.data.bd_addr, &state) == BTM_SUCCESS)
1444 return (BTM_SUCCESS);
1477 return (BTM_SUCCESS);
1512 return (BTM_SUCCESS);
1523 return (BTM_SUCCESS);
Dbtm_acl.c579 return(BTM_SUCCESS); in BTM_GetRole()
637 return(BTM_SUCCESS); in BTM_SwitchRole()
655 if ((status = BTM_ReadPowerMode(p->remote_addr, &pwr_mode)) != BTM_SUCCESS) in BTM_SwitchRole()
1284 return(BTM_SUCCESS); in BTM_GetLinkSuperTout()
1319 return(BTM_SUCCESS); in BTM_SetLinkSuperTout()
1747 return(BTM_SUCCESS); in BTM_ReadRemoteVersion()
1859 return(BTM_SUCCESS); in BTM_RegBusyLevelNotif()
2172 results.status = BTM_SUCCESS; in btm_read_tx_power_complete()
2252 results.status = BTM_SUCCESS; in btm_read_rssi_complete()
2323 results.status = BTM_SUCCESS; in btm_read_link_quality_complete()
[all …]
Dbtm_ble_adv_filter.c87 tBTM_STATUS st = BTM_SUCCESS; in btm_ble_obtain_vsc_details()
526 st = BTM_SUCCESS; in btm_ble_update_srvc_data_change()
1061 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleAdvFilterParamSetup()
1193 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleEnableDisableFilterFeature()
1245 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleCfgFilterCondition()
1315 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in btm_ble_adv_filter_init()
Dbtm_ble_batchscan.c184 return BTM_SUCCESS; in btm_ble_batchscan_enq_rep_q()
395 if (BTM_SUCCESS == status && BTM_BLE_SCAN_ENABLE_CALLED == cur_state) in btm_ble_batchscan_vsc_cmpl_cback()
427 if (BTM_SUCCESS == status) in btm_ble_batchscan_vsc_cmpl_cback()
874 if (BTM_SUCCESS == status) in BTM_BleReadScanReports()
Dbtm_ble_gap.c332 HCIC_PARAM_SIZE_BLE_WRITE_EXTENDED_SCAN_PARAM, scan_param, NULL)) != BTM_SUCCESS) in btm_ble_send_extended_scan_params()
1047 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetAdvParams()
1178 scan_setup_status_cback(client_if, BTM_SUCCESS); in BTM_BleSetScanParams()
1217 status = BTM_SUCCESS; in BTM_BleWriteScanRsp()
1269 return BTM_SUCCESS; in BTM_BleWriteAdvData()
1759 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_discoverability()
1814 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) in btm_ble_set_discoverability()
1839 if (status == BTM_SUCCESS && mode == BTM_BLE_LIMITED_DISCOVERABLE) in btm_ble_set_discoverability()
1869 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_connectability()
1920 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) in btm_ble_set_connectability()
[all …]
/system/bt/stack/gap/
Dgap_utils.c117 case BTM_SUCCESS: in gap_convert_btm_status()
/system/bt/bta/dm/
Dbta_dm_act.c966 if (status == BTM_SUCCESS) in bta_dm_bond()
998 if (bta_dm_cb.p_sec_cback && (status != BTM_CMD_STARTED && status != BTM_SUCCESS)) in bta_dm_bond_cancel()
1036 …BTM_PINCodeReply(p_data->pin_reply.bd_addr, BTM_SUCCESS, p_data->pin_reply.pin_len, p_data->pin_re… in bta_dm_pin_reply()
1124 res = BTM_SUCCESS; in bta_dm_confirm()
1176 res = BTM_SUCCESS; in bta_dm_ci_rmt_oob_act()
1252 if (BTM_CancelInquiry() == BTM_SUCCESS) in bta_dm_search_cancel()
2501 rem_name.status = BTM_SUCCESS; in bta_dm_service_search_remname_cback()
2648 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2669 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2798 if(result != BTM_SUCCESS) in bta_dm_authentication_complete_cback()
[all …]
/system/bt/stack/gatt/
Dgatt_auth.c177 if (result == BTM_SUCCESS) in gatt_enc_cmpl_cback()
505 if ( (btm_status != BTM_SUCCESS) && (btm_status != BTM_CMD_STARTED)) in gatt_security_check_start()
/system/bt/bta/sys/
Dutl.c219 if (BTM_SetDeviceClass(dev_class) == BTM_SUCCESS) in utl_set_device_class()
/system/bt/stack/mcap/
Dmca_l2c.c83 if ( res == BTM_SUCCESS ) in mca_sec_check_complete_term()
129 if ( res == BTM_SUCCESS ) in mca_sec_check_complete_orig()
/system/bt/stack/avdt/
Davdt_l2c.c94 if (res == BTM_SUCCESS) in avdt_sec_check_complete_term()
146 if( res == BTM_SUCCESS ) in avdt_sec_check_complete_orig()
/system/bt/stack/hid/
Dhidh_conn.c177 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_term()
191 else if (res != BTM_SUCCESS) in hidh_sec_check_complete_term()
346 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_orig()
358 if( res != BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_orig()
/system/bt/stack/l2cap/
Dl2c_link.c313 status = BTM_SUCCESS; in l2c_link_sec_comp()
337 case BTM_SUCCESS: in l2c_link_sec_comp()
637 else if (rc == BTM_SUCCESS) in l2c_link_timeout()
1039 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) in l2c_link_check_power_mode()
Dl2c_ble.c1422 if (status != BTM_SUCCESS) in l2cble_sec_comp()
1460 if (status != BTM_SUCCESS) in l2cble_sec_comp()
/system/bt/btif/src/
Dbtif_sock_sco.c325 if (BTM_RemoveSco(sco_socket->sco_handle) == BTM_SUCCESS) in socket_read_ready_cb()
/system/bt/stack/bnep/
Dbnep_utils.c643 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req()
1190 if (result != BTM_SUCCESS) in bnep_sec_check_complete()
1225 if (result != BTM_SUCCESS) in bnep_sec_check_complete()
Dbnep_api.c187 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in BNEP_Connect()
/system/bt/stack/rfcomm/
Drfc_port_fsm.c254 if (*((UINT8 *)p_data) != BTM_SUCCESS) in rfc_port_sm_term_wait_sec_check()
335 if (*((UINT8 *)p_data) != BTM_SUCCESS) in rfc_port_sm_orig_wait_sec_check()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.c109 else if ( (status == BTM_SUCCESS) || (status == BTM_UNKNOWN_ADDR) ) in bta_hf_client_sco_remove()
/system/bt/bta/av/
Dbta_av_main.c947 (BTM_GetRole (peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()
1103 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS) in bta_av_link_role_ok()

12