Searched defs:new_role (Results 1 - 14 of 14) sorted by relevance

/external/bluetooth/bluedroid/bta/sys/
H A Dbta_sys_conn.c102 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) argument
106 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_link.c996 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) argument
1001 /* Make sure not called from HCI Command Status (bd_addr and new_role are invalid) */
1008 p_lcb->link_role = new_role;
H A Dl2c_api.c837 UINT8 L2CA_SetDesireRole (UINT8 new_role) argument
840 new_role, l2cb.disallow_switch);
842 if (L2CAP_ROLE_CHECK_SWITCH != (L2CAP_ROLE_CHECK_SWITCH & new_role))
845 if (new_role & L2CAP_ROLE_ALLOW_SWITCH)
849 if (new_role & L2CAP_ROLE_DISALLOW_SWITCH)
855 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE)
856 l2cb.desire_role = new_role;
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_aact.c2298 UINT8 new_role = p_scb->role; local
2311 if (new_role & BTA_AV_ROLE_START_INT)
2396 if (new_role & BTA_AV_ROLE_START_INT)
2398 new_role &= ~BTA_AV_ROLE_START_INT;
2400 else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT))
2427 p_scb->role = new_role;
H A Dbta_av_int.h370 UINT8 new_role; member in struct:__anon452
/external/libsepol/src/
H A Dwrite.c495 buf[2] = cpu_to_le32(tr->new_role);
525 buf[1] = cpu_to_le32(ra->new_role);
1575 int new_role = p->policyvers >= MOD_POLICYDB_VERSION_ROLETRANS; local
1578 if (new_role || only_process(&tr->classes))
1586 if (!new_role && !only_process(&tr->classes)) {
1598 if (new_role)
1601 buf[0] = cpu_to_le32(tr->new_role);
H A Dexpand.c807 role_datum_t *role, *new_role, *regular_role; local
833 new_role =
836 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB);
841 if (ebitmap_union(&new_role->roles, &mapped_roles)) {
860 &new_role->types.types)) {
876 role_datum_t *new_role; local
898 new_role =
900 if (!new_role) {
901 new_role
[all...]
H A Dlink.c351 role_datum_t *role, *base_role, *new_role = NULL; local
383 if ((new_role =
384 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) {
387 role_datum_init(new_role);
389 /* new_role's dominates, types and roles field will be copied
391 new_role->flavor = role->flavor;
392 new_role->s.value = state->base->p_roles.nprim + 1;
396 (hashtab_datum_t) new_role);
401 base_role = new_role;
406 if ((new_role
[all...]
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_acl.c631 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) argument
669 if (p->link_role == new_role)
742 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role))
759 btm_cb.devcb.switch_role_ref_data.role = new_role;
996 evt.new_role = btm_cb.devcb.switch_role_ref_data.role;
1001 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
1002 evt.new_role, evt.hci_status, p->switch_role_state);
2297 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) argument
2322 p_data->role = new_role;
2326 p->link_role = new_role;
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dp2ptransportchannel_unittest.cc683 cricket::IceRole new_role = local
686 channel->SetIceRole(new_role);
/external/libsepol/include/sepol/policydb/
H A Dpolicydb.h147 uint32_t new_role; /* new role */ member in struct:role_trans
153 uint32_t new_role; /* new role */ member in struct:role_allow
273 uint32_t new_role; /* new role */ member in struct:role_trans_rule
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_int.h388 UINT8 new_role; member in struct:__anon495
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h804 UINT8 new_role; /* the new connection role */ member in struct:__anon711
/external/bluetooth/bluedroid/stack/include/
H A Dbtm_api.h880 UINT8 new_role; member in struct:__anon1419
3181 UINT8 new_role,

Completed in 322 milliseconds