Searched defs:new_role (Results 1 - 13 of 13) 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.c963 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) argument
968 /* Make sure not called from HCI Command Status (bd_addr and new_role are invalid) */
975 p_lcb->link_role = new_role;
H A Dl2c_api.c828 UINT8 L2CA_SetDesireRole (UINT8 new_role) argument
831 new_role, l2cb.disallow_switch);
833 if (L2CAP_ROLE_CHECK_SWITCH != (L2CAP_ROLE_CHECK_SWITCH & new_role))
836 if (new_role & L2CAP_ROLE_ALLOW_SWITCH)
840 if (new_role & L2CAP_ROLE_DISALLOW_SWITCH)
846 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE)
847 l2cb.desire_role = new_role;
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_aact.c2009 UINT8 new_role = p_scb->role; local
2020 if (new_role & BTA_AV_ROLE_START_INT)
2098 if (new_role & BTA_AV_ROLE_START_INT)
2100 new_role &= ~BTA_AV_ROLE_START_INT;
2102 else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT))
2114 p_scb->role = new_role;
H A Dbta_av_int.h365 UINT8 new_role; member in struct:__anon398
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_acl.c553 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) argument
591 if (p->link_role == new_role)
666 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role))
683 btm_cb.devcb.switch_role_ref_data.role = new_role;
922 evt.new_role = btm_cb.devcb.switch_role_ref_data.role;
927 BTM_TRACE_DEBUG3("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
928 evt.new_role, evt.hci_status, p->switch_role_state);
1965 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) argument
1990 p_data->role = new_role;
1994 p->link_role = new_role;
[all...]
/external/libsepol/src/
H A Dwrite.c495 buf[2] = cpu_to_le32(tr->new_role);
525 buf[1] = cpu_to_le32(ra->new_role);
1550 int new_role = p->policyvers >= MOD_POLICYDB_VERSION_ROLETRANS; local
1553 if (new_role || only_process(&tr->classes))
1561 if (!new_role && !only_process(&tr->classes)) {
1573 if (new_role)
1576 buf[0] = cpu_to_le32(tr->new_role);
H A Dexpand.c676 role_datum_t *role, *new_role, *regular_role; local
697 new_role =
700 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB);
705 if (ebitmap_union(&new_role->roles, &mapped_roles)) {
724 &new_role->types.types)) {
740 role_datum_t *new_role; local
762 new_role =
764 if (!new_role) {
765 new_role
[all...]
H A Dlink.c309 role_datum_t *role, *base_role, *new_role = NULL; local
341 if ((new_role =
342 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) {
345 role_datum_init(new_role);
347 /* new_role's dominates, types and roles field will be copied
349 new_role->flavor = role->flavor;
350 new_role->s.value = state->base->p_roles.nprim + 1;
354 (hashtab_datum_t) new_role);
359 base_role = new_role;
364 if ((new_role
[all...]
/external/libsepol/include/sepol/policydb/
H A Dpolicydb.h133 uint32_t new_role; /* new role */ member in struct:role_trans
139 uint32_t new_role; /* new role */ member in struct:role_allow
256 uint32_t new_role; /* new role */ member in struct:role_trans_rule
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_int.h357 UINT8 new_role; member in struct:__anon441
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h574 UINT8 new_role; /* the new connection role */ member in struct:__anon591
/external/bluetooth/bluedroid/stack/include/
H A Dbtm_api.h837 UINT8 new_role; member in struct:__anon1180
3096 UINT8 new_role,

Completed in 618 milliseconds