Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_devctl.c488 return(BTM_SUCCESS); in BTM_ReadLocalDeviceName()
565 return(BTM_SUCCESS); in BTM_SetDeviceClass()
575 return (BTM_SUCCESS); in BTM_SetDeviceClass()
666 return (BTM_SUCCESS); in BTM_VendorSpecificCommand()
717 tBTM_STATUS retval = BTM_SUCCESS; in BTM_RegisterForVSEvents()
736 return (BTM_SUCCESS); in BTM_RegisterForVSEvents()
804 return (BTM_SUCCESS); in BTM_WritePageTimeout()
828 return (BTM_SUCCESS); in BTM_WriteVoiceSettings()
866 BTM_DEFAULT_CONN_INTERVAL) == BTM_SUCCESS) in BTM_EnableTestMode()
873 BTM_DEFAULT_DISC_INTERVAL) == BTM_SUCCESS) in BTM_EnableTestMode()
[all …]
Dbtm_sec.c882 if (res != BTM_SUCCESS) in BTM_PINCodeReply()
1011 return(BTM_SUCCESS); in btm_sec_bond_by_transport()
1015 if ((BTM_DeleteStoredLinkKey (bd_addr, NULL)) != BTM_SUCCESS) in btm_sec_bond_by_transport()
1244 return BTM_SUCCESS; in BTM_SecBondCancel()
1311 return(BTM_SUCCESS); in BTM_SecGetDeviceLinkKey()
1401 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
1403 return(BTM_SUCCESS); in BTM_SetEncryption()
1507 status = BTM_SUCCESS; in btm_sec_send_hci_disconnect()
1545 if ( (res == BTM_SUCCESS) || (res == BTM_SUCCESS_NO_SECURITY) ) in BTM_ConfirmReqReply()
1549 if (res == BTM_SUCCESS) in BTM_ConfirmReqReply()
[all …]
Dbtm_inq.c172 == BTM_SUCCESS) in BTM_SetDiscoverability()
277 return (BTM_SUCCESS); in BTM_SetDiscoverability()
315 return (BTM_SUCCESS); in BTM_SetInquiryScanType()
352 return (BTM_SUCCESS); in BTM_SetPageScanType()
398 return (BTM_SUCCESS); in BTM_SetInquiryMode()
546 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelPeriodicInquiry()
598 if (btm_ble_set_connectability(page_mode) != BTM_SUCCESS) in BTM_SetConnectability()
661 return (BTM_SUCCESS); in BTM_SetConnectability()
728 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelInquiry()
1229 return (BTM_SUCCESS); in BTM_ClearInqDb()
[all …]
Dbtm_ble.c394 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_REPEATED_ATTEMPTS; in BTM_SecurityGrant()
418 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BlePasskeyReply()
447 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BleConfirmReply()
475 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_OOB_FAIL; in BTM_BleOobDataReply()
866 return BTM_SUCCESS; in BTM_SetBleDataLength()
1462 btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, TRUE); in btm_ble_link_encrypted()
1577 UINT8 callback_rc = BTM_SUCCESS; in btm_ble_io_capabilities_req()
1585 if ((callback_rc == BTM_SUCCESS) || (BTM_OOB_UNKNOWN != p_data->oob_data)) in btm_ble_io_capabilities_req()
1587 if (callback_rc == BTM_SUCCESS) in btm_ble_io_capabilities_req()
1665 UINT8 callback_rc = BTM_SUCCESS; in btm_ble_br_keys_req()
[all …]
Dbtm_pm.c144 return BTM_SUCCESS; in BTM_PmRegister()
161 return BTM_SUCCESS; in BTM_PmRegister()
223 return BTM_SUCCESS; in BTM_SetPowerMode()
295 return BTM_SUCCESS; in BTM_ReadPowerMode()
331 return BTM_SUCCESS; in BTM_SetSsrParams()
Dbtm_sco.c331 tBTM_STATUS status = BTM_SUCCESS; in BTM_WriteScoData()
632 if(BTM_ReadPowerMode(remote_bda, &md) == BTM_SUCCESS) in BTM_CreateSco()
643 … if( (BTM_ReadPowerMode(remote_bda, &mode) == BTM_SUCCESS) && (mode == BTM_PM_MD_PARK) ) in BTM_CreateSco()
1041 return (BTM_SUCCESS); in BTM_RemoveSco()
1394 return (BTM_SUCCESS); in BTM_SetEScoMode()
1427 return (BTM_SUCCESS); in BTM_RegForEScoEvts()
1462 return (BTM_SUCCESS); in BTM_ReadEScoLinkParms()
1473 return (BTM_SUCCESS); in BTM_ReadEScoLinkParms()
Dbtm_acl.c575 return(BTM_SUCCESS); in BTM_GetRole()
633 return(BTM_SUCCESS); in BTM_SwitchRole()
651 if ((status = BTM_ReadPowerMode(p->remote_addr, &pwr_mode)) != BTM_SUCCESS) in BTM_SwitchRole()
1278 return(BTM_SUCCESS); in BTM_GetLinkSuperTout()
1313 return(BTM_SUCCESS); in BTM_SetLinkSuperTout()
1741 return(BTM_SUCCESS); in BTM_ReadRemoteVersion()
1853 return(BTM_SUCCESS); in BTM_RegBusyLevelNotif()
2125 results.status = BTM_SUCCESS; in btm_read_tx_power_complete()
2188 results.status = BTM_SUCCESS; in btm_read_rssi_complete()
2242 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()
527 st = BTM_SUCCESS; in btm_ble_update_srvc_data_change()
1064 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleAdvFilterParamSetup()
1196 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleEnableDisableFilterFeature()
1248 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) in BTM_BleCfgFilterCondition()
1318 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()
394 if (BTM_SUCCESS == status && BTM_BLE_SCAN_ENABLE_CALLED == cur_state) in btm_ble_batchscan_vsc_cmpl_cback()
426 if (BTM_SUCCESS == status) in btm_ble_batchscan_vsc_cmpl_cback()
873 if (BTM_SUCCESS == status) in BTM_BleReadScanReports()
Dbtm_ble_gap.c324 HCIC_PARAM_SIZE_BLE_WRITE_EXTENDED_SCAN_PARAM, scan_param, NULL)) != BTM_SUCCESS) in btm_ble_send_extended_scan_params()
1026 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetAdvParams()
1157 scan_setup_status_cback(client_if, BTM_SUCCESS); in BTM_BleSetScanParams()
1197 status = BTM_SUCCESS; in BTM_BleWriteScanRsp()
1249 return BTM_SUCCESS; in BTM_BleWriteAdvData()
1746 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_discoverability()
1801 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) in btm_ble_set_discoverability()
1824 if (status == BTM_SUCCESS && mode == BTM_BLE_LIMITED_DISCOVERABLE) in btm_ble_set_discoverability()
1852 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_connectability()
1903 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) in btm_ble_set_connectability()
[all …]
Dbtm_ble_privacy.c497 st = BTM_SUCCESS; in btm_ble_clear_resolving_list()
/system/bt/stack/gap/
Dgap_utils.c117 case BTM_SUCCESS: in gap_convert_btm_status()
/system/bt/bta/dm/
Dbta_dm_act.c901 if (status == BTM_SUCCESS) in bta_dm_bond()
933 if (bta_dm_cb.p_sec_cback && (status != BTM_CMD_STARTED && status != BTM_SUCCESS)) in bta_dm_bond_cancel()
971 …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()
1059 res = BTM_SUCCESS; in bta_dm_confirm()
1112 res = BTM_SUCCESS; in bta_dm_ci_rmt_oob_act()
2565 rem_name.status = BTM_SUCCESS; in bta_dm_service_search_remname_cback()
2722 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2743 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2867 if(result != BTM_SUCCESS) in bta_dm_authentication_complete_cback()
2887 return BTM_SUCCESS; in bta_dm_authentication_complete_cback()
[all …]
/system/bt/stack/gatt/
Dgatt_auth.c181 if (result == BTM_SUCCESS) in gatt_enc_cmpl_cback()
508 if ( (btm_status != BTM_SUCCESS) && (btm_status != BTM_CMD_STARTED)) in gatt_security_check_start()
/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/bta/sys/
Dutl.c241 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/hid/
Dhidh_conn.c172 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_term()
186 else if (res != BTM_SUCCESS) in hidh_sec_check_complete_term()
329 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_orig()
341 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.c306 status = BTM_SUCCESS; in l2c_link_sec_comp()
330 case BTM_SUCCESS: in l2c_link_sec_comp()
613 else if (rc == BTM_SUCCESS) in l2c_link_timeout()
1080 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) in l2c_link_check_power_mode()
/system/bt/btif/src/
Dbtif_sock_sco.c323 if (BTM_RemoveSco(sco_socket->sco_handle) == BTM_SUCCESS) in socket_read_ready_cb()
/system/bt/stack/bnep/
Dbnep_utils.c665 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req()
1217 if (result != BTM_SUCCESS) in bnep_sec_check_complete()
1250 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.c972 (BTM_GetRole (peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()
1126 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS) in bta_av_link_role_ok()

12