/external/bluetooth/bluedroid/bta/sys/ |
H A D | bta_sys_conn.c | 102 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 D | bta_sys.h | 285 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 D | l2c_api.c | 828 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;
|
H A D | l2c_link.c | 963 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 D | l2c_int.h | 701 extern void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status);
|
/external/bluetooth/bluedroid/stack/btm/ |
H A D | btm_acl.c | 553 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...] |
H A D | btm_int.h | 936 extern void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role);
|
/external/libsepol/src/ |
H A D | link.c | 309 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...] |
H A D | expand.c | 676 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 D | write.c | 495 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 D | services.c | 401 * role is changing, then check the (current_role, new_role) 409 tcontext->role == ra->new_role) 686 newcontext.role = roletr->new_role;
|
H A D | policydb.c | 2277 tr->new_role = le32_to_cpu(buf[2]); 2316 ra->new_role = le32_to_cpu(buf[1]); 3141 tr->new_role = le32_to_cpu(buf[0]);
|
/external/libsepol/include/sepol/policydb/ |
H A D | policydb.h | 133 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/av/ |
H A D | bta_av_aact.c | 2009 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 D | bta_av_int.h | 365 UINT8 new_role; member in struct:__anon398
|
H A D | bta_av_main.c | 825 ** Returns (BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda) 845 APPL_TRACE_DEBUG3("new_role:%d, hci_status:x%x hndl: x%x", id, app_id, p_scb->hndl); 854 p_buf->new_role = id;
|
/external/bluetooth/bluedroid/stack/include/ |
H A D | l2c_api.h | 595 L2C_API extern UINT8 L2CA_SetDesireRole (UINT8 new_role);
|
H A D | btm_api.h | 837 UINT8 new_role; member in struct:__anon1180 3096 UINT8 new_role,
|
/external/bluetooth/bluedroid/bta/dm/ |
H A D | bta_dm_act.c | 3079 p_msg->new_role = p_data->role_chg.new_role; 3230 APPL_TRACE_DEBUG3("bta_dm_acl_change role chg info:x%x new_role:%d dev count:%d", 3231 p_dev->info, p_data->acl_change.new_role, bta_dm_cb.device_list.count); 3235 if(p_data->acl_change.new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1 3243 else if (bta_dm_cfg.avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) 3261 bta_sys_notify_role_chg(p_data->acl_change.bd_addr, p_data->acl_change.new_role, p_data->acl_change.hci_status); 3263 conn.role_chg.new_role = (UINT8) p_data->acl_change.new_role;
|
H A D | bta_dm_int.h | 357 UINT8 new_role; member in struct:__anon441
|
/external/checkpolicy/test/ |
H A D | dispol.c | 353 display_id(p, fp, SYM_ROLES, rt->new_role - 1, "");
|
H A D | dismod.c | 469 display_id(p, fp, SYM_ROLES, tr->new_role - 1, "");
|
/external/bluetooth/bluedroid/bta/include/ |
H A D | bta_api.h | 574 UINT8 new_role; /* the new connection role */ member in struct:__anon591
|
/external/checkpolicy/ |
H A D | policy_define.c | 2312 tr->new_role = role->s.value; 2328 rule->new_role = role->s.value;
|