Home
last modified time | relevance | path

Searched refs:bond_type (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_dev.cc116 p_dev_rec->sec_rec.bond_type = BOND_TYPE_UNKNOWN; in BTM_SecAddDevice()
129 p_dev_rec->sec_rec.bond_type = BOND_TYPE_PERSISTENT; in BTM_SecAddDevice()
188 const auto bond_type = p_dev_rec->sec_rec.bond_type; in BTM_SecDeleteDevice() local
199 bond_type_text(bond_type).c_str())); in BTM_SecDeleteDevice()
411 p_target_rec->sec_rec.bond_type = temp_rec.sec_rec.bond_type; in btm_consolidate_dev()
600 p_dev_rec->sec_rec.bond_type = BOND_TYPE_UNKNOWN; in btm_sec_allocate_dev_rec()
623 return p_dev_rec->sec_rec.bond_type; in btm_get_bond_type_dev()
637 tBTM_BOND_TYPE bond_type) { in btm_set_bond_type_dev() argument
642 p_dev_rec->sec_rec.bond_type = bond_type; in btm_set_bond_type_dev()
Dsecurity_device_record.h240 tBTM_BOND_TYPE bond_type; /* bond type */ member
345 bool is_bond_type_unknown() const { return bond_type == BOND_TYPE_UNKNOWN; } in is_bond_type_unknown()
347 return bond_type == BOND_TYPE_PERSISTENT; in is_bond_type_persistent()
350 return bond_type == BOND_TYPE_TEMPORARY; in is_bond_type_temporary()
367 bond_type_text(bond_type).c_str(), in ToString()
Dbtm_dev.h180 bool btm_set_bond_type_dev(const RawAddress& bd_addr, tBTM_BOND_TYPE bond_type);
Dbtm_ble_sec.cc1653 if (p_dev_rec->sec_rec.bond_type != BOND_TYPE_TEMPORARY) { in btm_proc_smp_cback()
Dbtm_sec.cc4027 if (p_dev_rec->sec_rec.bond_type == BOND_TYPE_TEMPORARY) in btm_sec_disconnected()
/packages/modules/Bluetooth/system/stack/include/
Dbtm_sec_api_types.h521 inline std::string bond_type_text(const tBTM_BOND_TYPE& bond_type) { in bond_type_text() argument
522 switch (bond_type) { in bond_type_text()
527 return base::StringPrintf("UNKNOWN[%hhu]", bond_type); in bond_type_text()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc167 tBTM_BOND_TYPE bond_type; member
594 if (pairing_cb.bond_type == BOND_TYPE_TEMPORARY) { in bond_state_changed()
1106 pairing_cb.bond_type = BOND_TYPE_TEMPORARY; in btif_dm_ssp_cfm_req_evt()
1108 pairing_cb.bond_type = BOND_TYPE_PERSISTENT; in btif_dm_ssp_cfm_req_evt()
1110 btm_set_bond_type_dev(p_ssp_cfm_req->bd_addr, pairing_cb.bond_type); in btif_dm_ssp_cfm_req_evt()
1119 if (is_incoming && pairing_cb.bond_type == BOND_TYPE_TEMPORARY) { in btif_dm_ssp_cfm_req_evt()
1193 pairing_cb.bond_type == BOND_TYPE_PERSISTENT) { in btif_dm_auth_cmpl_evt()
1198 p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt()
1209 p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt()
1210 if (pairing_cb.bond_type == BOND_TYPE_TEMPORARY) { in btif_dm_auth_cmpl_evt()
[all …]