Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_devctl.cc454 return (BTM_SUCCESS); in BTM_ReadLocalDeviceName()
523 return (BTM_SUCCESS); in BTM_SetDeviceClass()
531 return (BTM_SUCCESS); in BTM_SetDeviceClass()
650 tBTM_STATUS retval = BTM_SUCCESS; in BTM_RegisterForVSEvents()
664 return (BTM_SUCCESS); in BTM_RegisterForVSEvents()
764 BTM_DEFAULT_CONN_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
770 BTM_DEFAULT_DISC_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
782 return (BTM_SUCCESS); in BTM_EnableTestMode()
818 return (BTM_SUCCESS); in BTM_DeleteStoredLinkKey()
924 if (retval != BTM_SUCCESS) { in BTM_BT_Quality_Report_VSE_Register()
Dbtm_sec.cc784 if (res != BTM_SUCCESS) { in BTM_PINCodeReply()
915 return (BTM_SUCCESS); in btm_sec_bond_by_transport()
919 if ((BTM_DeleteStoredLinkKey(&bd_addr, NULL)) != BTM_SUCCESS) in btm_sec_bond_by_transport()
1131 return BTM_SUCCESS; in BTM_SecBondCancel()
1190 return (BTM_SUCCESS); in BTM_SecGetDeviceLinkKey()
1271 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
1273 return (BTM_SUCCESS); in BTM_SetEncryption()
1376 status = BTM_SUCCESS; in btm_sec_send_hci_disconnect()
1411 if ((res == BTM_SUCCESS) || (res == BTM_SUCCESS_NO_SECURITY)) { in BTM_ConfirmReqReply()
1414 if (res == BTM_SUCCESS) { in BTM_ConfirmReqReply()
[all …]
Dbtm_inq.cc156 if (btm_ble_set_discoverability((uint16_t)(inq_mode)) == BTM_SUCCESS) { in BTM_SetDiscoverability()
239 return (BTM_SUCCESS); in BTM_SetDiscoverability()
272 return (BTM_SUCCESS); in BTM_SetInquiryScanType()
305 return (BTM_SUCCESS); in BTM_SetPageScanType()
341 return (BTM_SUCCESS); in BTM_SetInquiryMode()
496 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelPeriodicInquiry()
543 if (btm_ble_set_connectability(page_mode) != BTM_SUCCESS) { in BTM_SetConnectability()
595 return (BTM_SUCCESS); in BTM_SetConnectability()
650 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelInquiry()
1027 return (BTM_SUCCESS); in BTM_ClearInqDb()
[all …]
Dbtm_ble.cc310 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_REPEATED_ATTEMPTS; in BTM_SecurityGrant()
335 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BlePasskeyReply()
362 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BleConfirmReply()
391 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_OOB_FAIL; in BTM_BleOobDataReply()
785 return BTM_SUCCESS; in BTM_SetBleDataLength()
888 return BTM_SUCCESS; in BTM_BleSetDefaultPhy()
1099 p_callback(&bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
1547 cmd = BTM_SUCCESS; in btm_ble_set_encryption()
1672 btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, true); in btm_ble_link_encrypted()
1729 uint8_t callback_rc = BTM_SUCCESS; in btm_ble_io_capabilities_req()
[all …]
Dbtm_pm.cc116 return BTM_SUCCESS; in BTM_PmRegister()
129 return BTM_SUCCESS; in BTM_PmRegister()
198 return BTM_SUCCESS; in BTM_SetPowerMode()
269 return BTM_SUCCESS; in BTM_ReadPowerMode()
300 return BTM_SUCCESS; in btm_read_power_mode_state()
334 return BTM_SUCCESS; in BTM_SetSsrParams()
Dbtm_acl.cc515 return (BTM_SUCCESS); in BTM_GetRole()
564 if (p->link_role == new_role) return (BTM_SUCCESS); in BTM_SwitchRole()
587 if (status != BTM_SUCCESS) return (status); in BTM_SwitchRole()
1274 return (BTM_SUCCESS); in BTM_GetLinkSuperTout()
1303 return (BTM_SUCCESS); in BTM_SetLinkSuperTout()
1750 return (BTM_SUCCESS); in BTM_ReadRemoteVersion()
1853 return (BTM_SUCCESS); in BTM_RegBusyLevelNotif()
2177 result.status = BTM_SUCCESS; in btm_read_tx_power_complete()
2247 result.status = BTM_SUCCESS; in btm_read_rssi_complete()
2313 result.status = BTM_SUCCESS; in btm_read_failed_contact_counter_complete()
[all …]
Dbtm_sco.cc488 if ((btm_read_power_mode_state(*remote_bda, &state) == BTM_SUCCESS)) { in BTM_CreateSco()
902 return (BTM_SUCCESS); in BTM_RemoveSco()
906 BTM_SUCCESS) && in BTM_RemoveSco()
1224 return BTM_SUCCESS; in BTM_SetEScoMode()
1253 return (BTM_SUCCESS); in BTM_RegForEScoEvts()
1287 return (BTM_SUCCESS); in BTM_ReadEScoLinkParms()
1295 return (BTM_SUCCESS); in BTM_ReadEScoLinkParms()
Dbtm_ble_gap.cc866 cb.Run(BTM_SUCCESS); in BTM_BleSetScanParams()
901 p_adv_data_cback(BTM_SUCCESS); in BTM_BleWriteScanRsp()
1066 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_discoverability()
1111 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) { in btm_ble_set_discoverability()
1130 if (status == BTM_SUCCESS && mode == BTM_BLE_LIMITED_DISCOVERABLE) { in btm_ble_set_discoverability()
1158 tBTM_STATUS status = BTM_SUCCESS; in btm_ble_set_connectability()
1198 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) { in btm_ble_set_connectability()
2229 return BTM_SUCCESS; in btm_ble_start_adv()
2253 return BTM_SUCCESS; in btm_ble_stop_adv()
Dbtm_ble_batchscan.cc219 if (BTM_SUCCESS == status) { in disable_cb()
/system/bt/bta/dm/
Dbta_dm_act.cc839 if (status == BTM_SUCCESS) { in bta_dm_bond()
858 (status != BTM_CMD_STARTED && status != BTM_SUCCESS)) { in bta_dm_bond_cancel()
877 BTM_PINCodeReply(msg->bd_addr, BTM_SUCCESS, msg->pin_len, msg->p_pin, in bta_dm_pin_reply()
945 BTM_ConfirmReqReply(accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, bd_addr); in bta_dm_confirm()
957 BTM_RemoteOobDataReply(msg->accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, in bta_dm_ci_rmt_oob_act()
1026 if (BTM_CancelInquiry() == BTM_SUCCESS) { in bta_dm_search_cancel()
2159 rem_name.status = BTM_SUCCESS; in bta_dm_service_search_remname_cback()
2287 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback()
2313 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback()
2435 if (result != BTM_SUCCESS) { in bta_dm_authentication_complete_cback()
[all …]
/system/bt/bta/sys/
Dutl.cc207 if (BTM_SetDeviceClass(dev_class) == BTM_SUCCESS) return true; in utl_set_device_class()
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test.cc216 Return(BTM_SUCCESS))); in ConnectServerPort()
230 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); in ConnectServerPort()
358 Return(BTM_SUCCESS))); in ConnectClientPort()
368 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); in ConnectClientPort()
845 Return(BTM_SUCCESS))); in TEST_F()
860 security_callback(&test_address, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); in TEST_F()
/system/bt/stack/gatt/
Dgatt_auth.cc175 if (result == BTM_SUCCESS) { in gatt_enc_cmpl_cback()
429 if ((btm_status != BTM_SUCCESS) && (btm_status != BTM_CMD_STARTED)) { in gatt_security_check_start()
/system/bt/stack/avdt/
Davdt_l2c.cc89 if (res == BTM_SUCCESS) { in avdt_sec_check_complete_term()
139 if (res == BTM_SUCCESS) { in avdt_sec_check_complete_orig()
/system/bt/stack/hid/
Dhidh_conn.cc168 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidh_sec_check_complete_term()
184 else if (res != BTM_SUCCESS) { in hidh_sec_check_complete_term()
337 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidh_sec_check_complete_orig()
350 if (res != BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidh_sec_check_complete_orig()
Dhidd_conn.cc117 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidd_sec_check_complete()
124 } else if (res != BTM_SUCCESS) { in hidd_sec_check_complete()
156 if (res == BTM_SUCCESS) { in hidd_sec_check_complete_orig()
/system/bt/stack/l2cap/
Dl2c_link.cc296 if (status == BTM_SUCCESS_NO_SECURITY) status = BTM_SUCCESS; in l2c_link_sec_comp2()
316 case BTM_SUCCESS: in l2c_link_sec_comp2()
577 } else if (rc == BTM_SUCCESS) { in l2c_link_timeout()
940 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) { in l2c_link_check_power_mode()
Dl2c_ble.cc1169 if (status != BTM_SUCCESS) { in l2cble_sec_comp()
1200 if (status != BTM_SUCCESS) in l2cble_sec_comp()
/system/bt/btif/src/
Dbtif_a2dp_source.cc1307 if (result->status != BTM_SUCCESS) { in btm_read_rssi_cb()
1329 if (result->status != BTM_SUCCESS) { in btm_read_failed_contact_counter_cb()
1351 if (result->status != BTM_SUCCESS) { in btm_read_automatic_flush_timeout_cb()
1368 if (result->status != BTM_SUCCESS) { in btm_read_tx_power_cb()
Dbtif_sock_sco.cc327 if (BTM_RemoveSco(sco_socket->sco_handle) == BTM_SUCCESS) in socket_read_ready_cb()
Dbtif_bqr.cc203 if (btm_status != BTM_SUCCESS) { in ConfigureBqrCmpl()
/system/bt/stack/bnep/
Dbnep_utils.cc612 bnep_sec_check_complete(p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req()
1182 if (result != BTM_SUCCESS) { in bnep_sec_check_complete()
1217 if (result != BTM_SUCCESS) { in bnep_sec_check_complete()
Dbnep_api.cc167 bnep_sec_check_complete(p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in BNEP_Connect()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.cc66 else if ((status == BTM_SUCCESS) || (status == BTM_UNKNOWN_ADDR)) { in bta_hf_client_sco_remove()
/system/bt/stack/rfcomm/
Drfc_port_fsm.cc280 if (*((uint8_t*)p_data) != BTM_SUCCESS) { in rfc_port_sm_term_wait_sec_check()
363 if (*((uint8_t*)p_data) != BTM_SUCCESS) { in rfc_port_sm_orig_wait_sec_check()

12