Home
last modified time | relevance | path

Searched refs:src_role (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/stack/pan/
Dpan_api.cc270 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, tPAN_ROLE src_role, in PAN_Connect() argument
281 if (!(pan_cb.role & src_role)) { in PAN_Connect()
282 log::error("PAN is not active for the role {}", src_role); in PAN_Connect()
287 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_NAP_SERVER) || in PAN_Connect()
289 log::error("Either source {} or destination role {} is invalid", src_role, in PAN_Connect()
299 if (src_role == PAN_ROLE_CLIENT) { in PAN_Connect()
334 src_role, dst_role); in PAN_Connect()
369 log::verbose("PAN_Connect() current active role set to {}", src_role); in PAN_Connect()
371 pan_cb.active_role = src_role; in PAN_Connect()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_pan_api.h42 std::function<tPAN_RESULT(const RawAddress& rem_bda, tPAN_ROLE src_role,
47 tPAN_RESULT operator()(const RawAddress& rem_bda, tPAN_ROLE src_role, in operator()
49 return body(rem_bda, src_role, dst_role, handle); in operator()
Dmock_stack_pan_api.cc56 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, tPAN_ROLE src_role, in PAN_Connect() argument
59 return test::mock::stack_pan_api::PAN_Connect(rem_bda, src_role, dst_role, in PAN_Connect()
/packages/modules/Bluetooth/system/bta/pan/
Dbta_pan_act.cc95 uint8_t src_role, uint8_t dst_role) { in bta_pan_conn_state_cback() argument
113 p_scb->local_role = src_role; in bta_pan_conn_state_cback()
119 if (src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback()
121 else if (src_role == PAN_ROLE_NAP_SERVER) in bta_pan_conn_state_cback()
/packages/modules/Bluetooth/system/stack/include/
Dpan_api.h140 uint8_t src_role, uint8_t dst_role);
317 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, tPAN_ROLE src_role,
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_pan.cpp155 jbyteArray address, jint src_role, in connectPanNative() argument
167 bt_status_t status = sPanIf->connect((RawAddress*)addr, src_role, dest_role); in connectPanNative()