Home
last modified time | relevance | path

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

123

/system/bt/test/mock/
Dmock_stack_btm_devctl.cc61 return BTM_SUCCESS; in BTM_BT_Quality_Report_VSE_Register()
66 return BTM_SUCCESS; in BTM_DeleteStoredLinkKey()
70 return BTM_SUCCESS; in BTM_EnableTestMode()
74 return BTM_SUCCESS; in BTM_ReadLocalDeviceName()
79 return BTM_SUCCESS; in BTM_ReadLocalDeviceNameFromController()
83 return BTM_SUCCESS; in BTM_RegisterForVSEvents()
87 return BTM_SUCCESS; in BTM_SetDeviceClass()
91 return BTM_SUCCESS; in BTM_SetLocalDeviceName()
Dmock_stack_btm_inq.cc85 return BTM_SUCCESS; in BTM_CancelRemoteDeviceName()
89 return BTM_SUCCESS; in BTM_ClearInqDb()
95 return BTM_SUCCESS; in BTM_ReadRemoteDeviceName()
99 return BTM_SUCCESS; in BTM_SetConnectability()
103 return BTM_SUCCESS; in BTM_SetDiscoverability()
107 return BTM_SUCCESS; in BTM_SetInquiryMode()
112 return BTM_SUCCESS; in BTM_StartInquiry()
116 return BTM_SUCCESS; in BTM_WriteEIR()
121 return BTM_SUCCESS; in btm_initiate_rem_name()
Dmock_stack_btm_sco.cc57 return BTM_SUCCESS; in BTM_ChangeEScoLinkParms()
63 return BTM_SUCCESS; in BTM_CreateSco()
68 return BTM_SUCCESS; in BTM_RegForEScoEvts()
72 return BTM_SUCCESS; in BTM_RemoveSco()
76 return BTM_SUCCESS; in BTM_SetEScoMode()
Dmock_stack_btm_ble_gap.cc86 return BTM_SUCCESS; in BTM_BleObserve()
91 return BTM_SUCCESS; in btm_ble_read_remote_name()
95 return BTM_SUCCESS; in btm_ble_set_connectability()
99 return BTM_SUCCESS; in btm_ble_set_discoverability()
103 return BTM_SUCCESS; in btm_ble_start_adv()
107 return BTM_SUCCESS; in btm_ble_start_inquiry()
111 return BTM_SUCCESS; in btm_ble_stop_adv()
Dmock_stack_btm_sec.cc147 return BTM_SUCCESS; in BTM_SecBond()
151 return BTM_SUCCESS; in BTM_SecBondCancel()
158 return BTM_SUCCESS; in BTM_SetEncryption()
164 return BTM_SUCCESS; in btm_sec_bond_by_transport()
168 return BTM_SUCCESS; in btm_sec_disconnect()
172 return BTM_SUCCESS; in btm_sec_execute_procedure()
179 return BTM_SUCCESS; in btm_sec_l2cap_access_req()
185 return BTM_SUCCESS; in btm_sec_l2cap_access_req_by_requirement()
193 return BTM_SUCCESS; in btm_sec_mx_access_request()
Dmock_main_shim_btm_api.cc151 return BTM_SUCCESS; in BTM_BleObserve()
155 return BTM_SUCCESS; in BTM_CancelRemoteDeviceName()
159 return BTM_SUCCESS; in BTM_ClearInqDb()
165 return BTM_SUCCESS; in BTM_ReadRemoteDeviceName()
172 return BTM_SUCCESS; in BTM_SecBond()
176 return BTM_SUCCESS; in BTM_SecBondCancel()
182 return BTM_SUCCESS; in BTM_SetConnectability()
186 return BTM_SUCCESS; in BTM_SetDeviceClass()
192 return BTM_SUCCESS; in BTM_SetDiscoverability()
200 return BTM_SUCCESS; in BTM_SetEncryption()
[all …]
Dmock_stack_acl_btm_pm.cc62 return BTM_SUCCESS; in BTM_PmRegister()
67 return BTM_SUCCESS; in BTM_SetPowerMode()
72 return BTM_SUCCESS; in BTM_SetSsrParams()
Dmock_stack_acl.cc168 return BTM_SUCCESS; in BTM_GetLinkSuperTout()
172 return BTM_SUCCESS; in BTM_GetRole()
177 return BTM_SUCCESS; in BTM_ReadFailedContactCounter()
181 return BTM_SUCCESS; in BTM_ReadRSSI()
186 return BTM_SUCCESS; in BTM_ReadTxPower()
191 return BTM_SUCCESS; in BTM_SetLinkSuperTout()
195 return BTM_SUCCESS; in BTM_SwitchRoleToCentral()
199 return BTM_SUCCESS; in btm_remove_acl()
Dmock_stack_btm.cc26 return BTM_SUCCESS; in BTM_BleGetEnergyInfo()
Dmock_stack_l2cap_link.cc39 return BTM_SUCCESS; in l2cu_ConnectAclForSecurity()
/system/bt/stack/test/common/
Dmock_main_shim_btm_api.cc155 return BTM_SUCCESS; in BTM_BleObserve()
159 return BTM_SUCCESS; in BTM_CancelRemoteDeviceName()
163 return BTM_SUCCESS; in BTM_ClearInqDb()
169 return BTM_SUCCESS; in BTM_ReadRemoteDeviceName()
176 return BTM_SUCCESS; in BTM_SecBond()
180 return BTM_SUCCESS; in BTM_SecBondCancel()
186 return BTM_SUCCESS; in BTM_SetConnectability()
190 return BTM_SUCCESS; in BTM_SetDeviceClass()
196 return BTM_SUCCESS; in BTM_SetDiscoverability()
204 return BTM_SUCCESS; in BTM_SetEncryption()
[all …]
Dmock_stack_l2cap_link.cc39 return BTM_SUCCESS; in l2cu_ConnectAclForSecurity()
/system/bt/stack/btm/
Dbtm_devctl.cc347 return (BTM_SUCCESS); in BTM_ReadLocalDeviceName()
416 return (BTM_SUCCESS); in BTM_SetDeviceClass()
424 return (BTM_SUCCESS); in BTM_SetDeviceClass()
505 tBTM_STATUS retval = BTM_SUCCESS; in BTM_RegisterForVSEvents()
519 return (BTM_SUCCESS); in BTM_RegisterForVSEvents()
655 if (BTM_SetConnectability(BTM_CONNECTABLE) != BTM_SUCCESS) { in BTM_EnableTestMode()
660 if (BTM_SetDiscoverability(BTM_GENERAL_DISCOVERABLE) != BTM_SUCCESS) { in BTM_EnableTestMode()
672 return (BTM_SUCCESS); in BTM_EnableTestMode()
708 return (BTM_SUCCESS); in BTM_DeleteStoredLinkKey()
793 if (retval != BTM_SUCCESS) { in BTM_BT_Quality_Report_VSE_Register()
Dbtm_ble.cc227 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_REPEATED_ATTEMPTS; in BTM_SecurityGrant()
253 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BlePasskeyReply()
283 (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BleConfirmReply()
315 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_OOB_FAIL; in BTM_BleOobDataReply()
678 return BTM_SUCCESS; in BTM_SetBleDataLength()
696 return BTM_SUCCESS; in BTM_SetBleDataLength()
947 p_callback(&bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
1398 cmd = BTM_SUCCESS; in btm_ble_set_encryption()
1523 btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, true); in btm_ble_link_encrypted()
1582 uint8_t callback_rc = BTM_SUCCESS; in btm_ble_io_capabilities_req()
[all …]
Dbtm_sec.cc153 btm_cb.api.p_bond_cancel_cmpl_callback(BTM_SUCCESS); in NotifyBondingCanceled()
646 if (res != BTM_SUCCESS) { in BTM_PINCodeReply()
764 return (BTM_SUCCESS); in btm_sec_bond_by_transport()
768 if ((BTM_DeleteStoredLinkKey(&bd_addr, NULL)) != BTM_SUCCESS) in btm_sec_bond_by_transport()
957 return BTM_SUCCESS; in BTM_SecBondCancel()
1056 tBTM_STATUS rc = BTM_SUCCESS; in BTM_SetEncryption()
1078 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
1080 return (BTM_SUCCESS); in BTM_SetEncryption()
1218 if ((res == BTM_SUCCESS) || (res == BTM_SUCCESS_NO_SECURITY)) { in BTM_ConfirmReqReply()
1258 (res != BTM_SUCCESS)) { in BTM_PasskeyReqReply()
[all …]
Dbtm_inq.cc195 if (btm_ble_set_discoverability((uint16_t)(inq_mode)) == BTM_SUCCESS) { in BTM_SetDiscoverability()
260 return (BTM_SUCCESS); in BTM_SetDiscoverability()
331 return (BTM_SUCCESS); in BTM_SetInquiryMode()
361 if (btm_ble_set_connectability(page_mode) != BTM_SUCCESS) { in BTM_SetConnectability()
398 return (BTM_SUCCESS); in BTM_SetConnectability()
737 return (BTM_SUCCESS); in BTM_ClearInqDb()
1279 (status == HCI_SUCCESS) ? BTM_SUCCESS : BTM_ERR_PROCESSING); in btm_process_inq_complete()
1292 if ((p_inq->inq_cmpl_info.status == BTM_SUCCESS) && in btm_process_inq_complete()
1439 rem_name.status = BTM_SUCCESS; in btm_process_remote_name()
1508 return BTM_SUCCESS; in BTM_WriteEIR()
/system/bt/main/shim/
Dlink_policy.cc56 return BTM_SUCCESS; in set_active_mode()
62 return BTM_SUCCESS; in set_hold_mode()
70 return BTM_SUCCESS; in set_sniff_mode()
151 return BTM_SUCCESS; in BTM_SetPowerMode()
156 return BTM_SUCCESS; in BTM_SetPowerMode()
251 return BTM_SUCCESS; in BTM_SetSsrParams()
Dbtm_api.cc484 (*bta_callbacks_->p_bond_cancel_cmpl_callback)(BTM_SUCCESS); in OnDeviceUnbonded()
567 if ((status == BTM_SUCCESS) && in BTM_StartInquiry()
638 return BTM_SUCCESS; in BTM_SetDiscoverability()
741 return BTM_SUCCESS; in BTM_SetInquiryMode()
776 return BTM_SUCCESS; in BTM_SetConnectability()
804 btm_cb.btm_inq_vars.inq_cmpl_info.status = BTM_SUCCESS; in BTM_CancelInquiry()
1243 return BTM_SUCCESS; in BTM_SecBondCancel()
1254 return BTM_SUCCESS; in BTM_SecAddDevice()
1264 bool accept = res == BTM_SUCCESS; in BTM_ConfirmReqReply()
1304 (*p_callback)(&bd_addr, false, p_ref_data, BTM_SUCCESS); in btm_sec_mx_access_request()
[all …]
Dle_scanning_manager.cc123 base::Bind(cb, 0, 0, btm_status_value(BTM_SUCCESS))); in ScanFilterParamSetup()
142 base::Bind(cb, 0, 0, 0, btm_status_value(BTM_SUCCESS))); in ScanFilterAdd()
158 base::Bind(cb, action, btm_status_value(BTM_SUCCESS))); in ScanFilterEnable()
179 do_in_jni_thread(FROM_HERE, base::Bind(cb, btm_status_value(BTM_SUCCESS))); in BatchscanConfigStorage()
193 do_in_jni_thread(FROM_HERE, base::Bind(cb, btm_status_value(BTM_SUCCESS))); in BatchscanEnable()
200 do_in_jni_thread(FROM_HERE, base::Bind(cb, btm_status_value(BTM_SUCCESS))); in BatchscanDisable()
/system/bt/stack/include/
Dbtm_status.h24 BTM_SUCCESS = 0, /* 0 Command succeeded */ enumerator
67 CASE_RETURN_TEXT(BTM_SUCCESS); in btm_status_text()
/system/bt/bta/test/
Dbta_dm_cust_uuid_test.cc29 tBTM_STATUS BTM_ReadLocalDeviceName(char** p_name) { return BTM_SUCCESS; } in BTM_ReadLocalDeviceName()
35 tBTM_STATUS BTM_WriteEIR(BT_HDR* p_buff) { return BTM_SUCCESS; } in BTM_WriteEIR()
/system/bt/stack/acl/
Dbtm_pm.cc129 ? (BTM_SUCCESS) in BTM_PmRegister()
134 ? (BTM_SUCCESS) in BTM_PmRegister()
143 return BTM_SUCCESS; in BTM_PmRegister()
152 return BTM_SUCCESS; in BTM_PmRegister()
244 return BTM_SUCCESS; in BTM_SetPowerMode()
293 case BTM_SUCCESS: in BTM_SetLinkPolicyActiveMode()
355 return BTM_SUCCESS; in BTM_SetSsrParams()
/system/bt/test/headless/read/
Dname.cc64 case BTM_SUCCESS: { in Run()
/system/bt/stack/avdt/
Davdt_l2c.cc109 if (res == BTM_SUCCESS) { in avdt_sec_check_complete_orig()
265 nullptr, BTM_SUCCESS); in avdt_l2c_connect_cfm_cback()
/system/bt/bta/dm/
Dbta_dm_act.cc741 if (status == BTM_SUCCESS) { in bta_dm_bond()
763 (status != BTM_CMD_STARTED && status != BTM_SUCCESS)) { in bta_dm_bond_cancel()
774 bluetooth::shim::BTM_PINCodeReply(msg->bd_addr, BTM_SUCCESS, msg->pin_len, in bta_dm_pin_reply()
777 BTM_PINCodeReply(msg->bd_addr, BTM_SUCCESS, msg->pin_len, msg->p_pin); in bta_dm_pin_reply()
793 accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, bd_addr); in bta_dm_confirm()
795 BTM_ConfirmReqReply(accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, bd_addr); in bta_dm_confirm()
803 msg->accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, msg->bd_addr, msg->c, in bta_dm_ci_rmt_oob_act()
806 BTM_RemoteOobDataReply(msg->accept ? BTM_SUCCESS : BTM_NOT_AUTHORIZED, in bta_dm_ci_rmt_oob_act()
1887 rem_name.status = BTM_SUCCESS; in bta_dm_service_search_remname_cback()
1971 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback()
[all …]

123