Home
last modified time | relevance | path

Searched refs:role (Results 1 – 25 of 102) sorted by relevance

12345

/system/bt/stack/pan/
Dpan_api.cc129 tPAN_RESULT PAN_SetRole(uint8_t role, uint8_t* sec_mask, in PAN_SetRole() argument
138 if ((!(role & in PAN_SetRole()
140 role != PAN_ROLE_INACTIVE) { in PAN_SetRole()
141 PAN_TRACE_ERROR("PAN role %d is invalid", role); in PAN_SetRole()
146 if (pan_cb.role == role) { in PAN_SetRole()
147 PAN_TRACE_EVENT("PAN role already was set to: %d", role); in PAN_SetRole()
157 PAN_TRACE_API("PAN_SetRole() called with role 0x%x", role); in PAN_SetRole()
159 if (role & PAN_ROLE_NAP_SERVER) { in PAN_SetRole()
176 else if (pan_cb.role & PAN_ROLE_NAP_SERVER) { in PAN_SetRole()
186 if (role & PAN_ROLE_GN_SERVER) { in PAN_SetRole()
[all …]
/system/bt/bta/pan/
Dbta_pan_api.cc97 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO* p_user_info, in BTA_PanSetRole() argument
104 p_buf->role = role; in BTA_PanSetRole()
106 if (p_user_info && (role & BTA_PAN_ROLE_PANU)) { in BTA_PanSetRole()
114 if (p_gn_info && (role & BTA_PAN_ROLE_GN)) { in BTA_PanSetRole()
122 if (p_nap_info && (role & BTA_PAN_ROLE_NAP)) { in BTA_PanSetRole()
182 void BTA_PanSetRole(UNUSED_ATTR tBTA_PAN_ROLE role, in BTA_PanSetRole() argument
/system/bt/stack/btm/
Dbtm_ble_connection_establishment.cc111 uint8_t role, status, bda_type; in btm_ble_conn_complete() local
119 STREAM_TO_UINT8(role, p); in btm_ble_conn_complete()
178 if (role == HCI_ROLE_MASTER) { in btm_ble_conn_complete()
183 btm_ble_connected(bda, handle, HCI_ENCRYPT_MODE_DISABLED, role, bda_type, in btm_ble_conn_complete()
186 l2cble_conn_comp(handle, role, bda, bda_type, conn_interval, conn_latency, in btm_ble_conn_complete()
206 role = HCI_ROLE_UNKNOWN; in btm_ble_conn_complete()
220 btm_ble_update_mode_operation(role, &bda, status); in btm_ble_conn_complete()
222 if (role == HCI_ROLE_SLAVE) in btm_ble_conn_complete()
/system/media/tests/
Dsystemaudio_tests.cpp44 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
48 .id = 2, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
61 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
69 .id = 1, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
77 .id = 1, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_MIX }; in TEST()
85 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_MIX }; in TEST()
98 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
100 .id = 2, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST()
/system/bt/stack/smp/
Dsmp_br_main.cc306 tSMP_BR_ENTRY_TBL entry_table = smp_br_entry_table[p_cb->role]; in smp_br_state_machine_event()
314 if (p_cb->role > HCI_ROLE_SLAVE) { in smp_br_state_machine_event()
315 SMP_TRACE_ERROR("%s: invalid role %d", __func__, p_cb->role); in smp_br_state_machine_event()
321 (p_cb->role == HCI_ROLE_SLAVE) ? "Slave" : "Master", in smp_br_state_machine_event()
335 state_table = smp_br_state_table[curr_state][p_cb->role]; in smp_br_state_machine_event()
Dsmp_act.cc72 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask()
81 } else if (p_cb->role == HCI_ROLE_SLAVE) { in smp_update_key_mask()
518 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) in smp_proc_pair_cmd()
548 if (p_cb->role == HCI_ROLE_SLAVE) { in smp_proc_pair_cmd()
786 if (!p_dev_rec->new_encryption_key_is_p256 && p_cb->role == HCI_ROLE_SLAVE) { in smp_br_process_pairing_command()
794 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) in smp_br_process_pairing_command()
826 if (p_cb->role == HCI_ROLE_SLAVE) { in smp_br_process_pairing_command()
873 if (p_cb->role == HCI_ROLE_MASTER) { in smp_br_check_authorization_request()
894 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
910 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key()
[all …]
/system/bt/bta/jv/
Dbta_jv_api.cc264 void BTA_JvL2capConnect(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capConnect() argument
275 Bind(&bta_jv_l2cap_connect, conn_type, sec_mask, role, in BTA_JvL2capConnect()
333 void BTA_JvL2capStartServer(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capStartServer() argument
343 Bind(&bta_jv_l2cap_start_server, conn_type, sec_mask, role, in BTA_JvL2capStartServer()
535 tBTA_JV_STATUS BTA_JvRfcommConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommConnect() argument
545 Bind(&bta_jv_rfcomm_connect, sec_mask, role, remote_scn, in BTA_JvRfcommConnect()
590 tBTA_JV_STATUS BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommStartServer() argument
606 Bind(&bta_jv_rfcomm_start_server, sec_mask, role, local_scn, in BTA_JvRfcommStartServer()
Dbta_jv_int.h154 tBTA_JV_ROLE role, uint16_t remote_psm,
163 int32_t type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, uint16_t local_psm,
171 extern void bta_jv_rfcomm_connect(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
177 extern void bta_jv_rfcomm_start_server(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
/system/bt/bta/include/
Dbta_pan_api.h67 tBTA_PAN_ROLE role; /* PAN roles successfully registered */ member
148 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO* p_user_info,
/system/libziparchive/
Dziptool.cpp52 static Role role; variable
120 if (role == kUnzip) { in MaybeShowHeader()
144 if (role == kUnzip) { in MaybeShowFooter()
340 if (role == kUnzip) { in ProcessOne()
385 if (role == kUnzip) { in ShowHelp()
448 role = kUnzip; in main()
450 role = kZipinfo; in main()
460 if (role == kUnzip) { in main()
/system/bt/stack/avct/
Davct_api.cc148 AVCT_TRACE_API("AVCT_CreateConn: %d, control:%d", p_cc->role, p_cc->control); in AVCT_CreateConn()
159 if (p_cc->role == AVCT_INT) { in AVCT_CreateConn()
243 uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role) { in AVCT_CreateBrowse() argument
249 AVCT_TRACE_API("AVCT_CreateBrowse: %d", role); in AVCT_CreateBrowse()
263 if (role == AVCT_INT) { in AVCT_CreateBrowse()
/system/bt/stack/include/
Davct_api.h117 uint8_t role; /* Initiator/acceptor role */ member
209 extern uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role);
/system/core/adb/pairing_connection/
Dpairing_connection.cpp78 explicit PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info,
125 static PairingAuthPtr CreatePairingAuthPtr(Role role, const Data& pswd);
153 PairingConnectionCtx::PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info, in PairingConnectionCtx() argument
155 : role_(role), pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key) { in PairingConnectionCtx()
439 PairingAuthPtr PairingConnectionCtx::CreatePairingAuthPtr(Role role, const Data& pswd) { in CreatePairingAuthPtr() argument
440 switch (role) { in CreatePairingAuthPtr()
450 static PairingConnectionCtx* CreateConnection(PairingConnectionCtx::Role role, const uint8_t* pswd, in CreateConnection() argument
464 return new PairingConnectionCtx(role, vec_pswd, *peer_info, vec_x509_cert, vec_priv_key); in CreateConnection()
/system/sepolicy/prebuilts/api/28.0/private/
Droles_decl1 role r;
/system/sepolicy/prebuilts/api/27.0/private/
Droles_decl1 role r;
/system/sepolicy/private/
Droles_decl1 role r;
/system/sepolicy/prebuilts/api/26.0/private/
Droles_decl1 role r;
/system/sepolicy/prebuilts/api/30.0/private/
Droles_decl1 role r;
/system/sepolicy/reqd_mask/
Droles_decl1 role r;
/system/sepolicy/prebuilts/api/29.0/private/
Droles_decl1 role r;
/system/sepolicy/prebuilts/api/26.0/public/
Droles1 role r types domain;
/system/sepolicy/public/
Droles1 role r types domain;
/system/sepolicy/prebuilts/api/28.0/public/
Droles1 role r types domain;
/system/sepolicy/prebuilts/api/30.0/public/
Droles1 role r types domain;
/system/sepolicy/prebuilts/api/27.0/public/
Droles1 role r types domain;

12345