Searched refs:new_role (Results 1 - 25 of 25) 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);
H A Dbta_sys.h288 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status);
/external/bluetooth/bluedroid/stack/l2cap/
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;
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_int.h708 extern void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status);
/external/libsepol/src/
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...]
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 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 Dservices.c914 * role is changing, then check the (current_role, new_role)
922 tcontext->role == ra->new_role)
1311 newcontext.role = roletr->new_role;
H A Dpolicydb.c2368 tr->new_role = le32_to_cpu(buf[2]);
2407 ra->new_role = le32_to_cpu(buf[1]);
3232 tr->new_role = le32_to_cpu(buf[0]);
/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/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...]
H A Dbtm_int.h1010 extern void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 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
H A Dbta_av_main.c910 ** Returns (BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda)
931 APPL_TRACE_DEBUG("new_role:%d, hci_status:x%x hndl: x%x", id, app_id, p_scb->hndl);
940 p_buf->new_role = id;
/external/bluetooth/bluedroid/stack/include/
H A Dl2c_api.h585 L2C_API extern UINT8 L2CA_SetDesireRole (UINT8 new_role);
H A Dbtm_api.h880 UINT8 new_role; member in struct:__anon1419
3181 UINT8 new_role,
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_act.c3317 p_msg->new_role = p_data->role_chg.new_role;
3488 APPL_TRACE_DEBUG("bta_dm_acl_change role chg info:x%x new_role:%d dev count:%d",
3489 p_dev->info, p_data->acl_change.new_role, bta_dm_cb.device_list.count);
3493 if(p_data->acl_change.new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1
3501 else if (bta_dm_cfg.avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER))
3519 bta_sys_notify_role_chg(p_data->acl_change.bd_addr, p_data->acl_change.new_role, p_data->acl_change.hci_status);
3521 conn.role_chg.new_role = (UINT8) p_data->acl_change.new_role;
H A Dbta_dm_int.h388 UINT8 new_role; member in struct:__anon495
/external/checkpolicy/test/
H A Ddispol.c353 display_id(p, fp, SYM_ROLES, rt->new_role - 1, "");
H A Ddismod.c469 display_id(p, fp, SYM_ROLES, tr->new_role - 1, "");
/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/bluetooth/bluedroid/bta/include/
H A Dbta_api.h804 UINT8 new_role; /* the new connection role */ member in struct:__anon711
/external/checkpolicy/
H A Dpolicy_define.c2460 tr->new_role = role->s.value;
2476 rule->new_role = role->s.value;

Completed in 402 milliseconds