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.c968 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) argument
973 /* Make sure not called from HCI Command Status (bd_addr and new_role are invalid) */
980 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.c2071 UINT8 new_role = p_scb->role; local
2084 if (new_role & BTA_AV_ROLE_START_INT)
2162 if (new_role & BTA_AV_ROLE_START_INT)
2164 new_role &= ~BTA_AV_ROLE_START_INT;
2166 else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT))
2193 p_scb->role = new_role;
H A Dbta_av_int.h365 UINT8 new_role; member in struct:__anon448
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_acl.c543 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) argument
581 if (p->link_role == new_role)
654 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role))
671 btm_cb.devcb.switch_role_ref_data.role = new_role;
908 evt.new_role = btm_cb.devcb.switch_role_ref_data.role;
913 BTM_TRACE_DEBUG3("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
914 evt.new_role, evt.hci_status, p->switch_role_state);
2167 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) argument
2192 p_data->role = new_role;
2196 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);
1562 int new_role = p->policyvers >= MOD_POLICYDB_VERSION_ROLETRANS; local
1565 if (new_role || only_process(&tr->classes))
1573 if (!new_role && !only_process(&tr->classes)) {
1585 if (new_role)
1588 buf[0] = cpu_to_le32(tr->new_role);
H A Dexpand.c713 role_datum_t *role, *new_role, *regular_role; local
739 new_role =
742 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB);
747 if (ebitmap_union(&new_role->roles, &mapped_roles)) {
766 &new_role->types.types)) {
782 role_datum_t *new_role; local
804 new_role =
806 if (!new_role) {
807 new_role
[all...]
H A Dlink.c344 role_datum_t *role, *base_role, *new_role = NULL; local
376 if ((new_role =
377 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) {
380 role_datum_init(new_role);
382 /* new_role's dominates, types and roles field will be copied
384 new_role->flavor = role->flavor;
385 new_role->s.value = state->base->p_roles.nprim + 1;
389 (hashtab_datum_t) new_role);
394 base_role = new_role;
399 if ((new_role
[all...]
/external/libsepol/include/sepol/policydb/
H A Dpolicydb.h146 uint32_t new_role; /* new role */ member in struct:role_trans
152 uint32_t new_role; /* new role */ member in struct:role_allow
269 uint32_t new_role; /* new role */ member in struct:role_trans_rule
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_int.h361 UINT8 new_role; member in struct:__anon491
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h668 UINT8 new_role; /* the new connection role */ member in struct:__anon655
/external/bluetooth/bluedroid/stack/include/
H A Dbtm_api.h854 UINT8 new_role; member in struct:__anon1279
3208 UINT8 new_role,

Completed in 461 milliseconds