HomeSort by relevance Sort by last modified time
    Searched full:role (Results 651 - 675 of 1713) sorted by null

<<21222324252627282930>>

  /system/bt/stack/avdt/
avdt_ad.c 386 /* use err_param to indicate the role of connection.
537 void avdt_ad_open_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, UINT8 role)
550 AVDT_TRACE_DEBUG("avdt_ad_open_req: type: %d, role: %d, tcid:%d",
551 type, role, p_tbl->tcid);
573 if (role == AVDT_ACP)
  /external/libweave/src/
component_manager_unittest.cc 425 UserRole role; local
426 ASSERT_TRUE(manager_.GetMinimalRole("trait1.command1", &role, nullptr));
427 EXPECT_EQ(UserRole::kUser, role);
429 ASSERT_TRUE(manager_.GetMinimalRole("trait1.command2", &role, nullptr));
430 EXPECT_EQ(UserRole::kViewer, role);
432 ASSERT_TRUE(manager_.GetMinimalRole("trait2.command1", &role, nullptr));
433 EXPECT_EQ(UserRole::kManager, role);
435 ASSERT_TRUE(manager_.GetMinimalRole("trait2.command2", &role, nullptr));
436 EXPECT_EQ(UserRole::kOwner, role);
438 EXPECT_FALSE(manager_.GetMinimalRole("trait1.command3", &role, nullptr))
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
refparser.py 108 'ROLE',
173 'role' : 'ROLE',
559 | ROLE comma_list SEMI
573 s.role = p[3]
768 '''role_def : ROLE IDENTIFIER TYPES comma_list SEMI
769 | ROLE IDENTIFIER SEMI'''
770 r = refpolicy.Role()
771 r.role = p[2]
857 t.role = p[2
    [all...]
  /external/webrtc/webrtc/p2p/base/
dtlstransportchannel_unittest.cc 71 void SetupChannels(int count, cricket::IceRole role) {
75 transport_->SetIceRole(role);
77 (role == cricket::ICEROLE_CONTROLLING) ? 1 : 2);
207 void CheckRole(rtc::SSLRole role) {
208 if (role == rtc::SSL_CLIENT) {
359 // Look at the handshake packets to see what role we played.
844 // Initial role for client1 is ACTPASS and client2 is ACTIVE.
868 // Initial role for client1 is ACTPASS and client2 is ACTIVE.
887 // Test that any change in role after the intial setup will result in failure.
    [all...]
transportcontroller_unittest.cc 243 // Test that when one channel encounters a role conflict, the ICE role is
264 rtc::SSLRole role; local
265 EXPECT_FALSE(transport_controller_->GetSslRole("video", &role));
266 EXPECT_TRUE(transport_controller_->GetSslRole("audio", &role));
267 EXPECT_EQ(rtc::SSL_CLIENT, role);
425 // Need controlling ICE role to get in failed state.
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
refparser.py 108 'ROLE',
173 'role' : 'ROLE',
560 | ROLE comma_list SEMI
574 s.role = p[3]
769 '''role_def : ROLE IDENTIFIER TYPES comma_list SEMI
770 | ROLE IDENTIFIER SEMI'''
771 r = refpolicy.Role()
772 r.role = p[2]
858 t.role = p[2
    [all...]
  /system/bt/stack/avrc/
avrc_api.c 850 ** The connection can be a target, a controller or for both role,
866 ** p_ccb->conn: AVCTP connection role. This is set to
870 ** p_ccb->control: Control role. This is set to
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/webapp/
StandardDescriptorProcessor.java 99 registerVisitor("security-role", this.getClass().getDeclaredMethod("visitSecurityRole", __signature));
393 Iterator sRefsIter = node.iterator("security-role-ref");
397 String roleName = securityRef.getString("role-name", false, true);
398 String roleLink = securityRef.getString("role-link", false, true);
401 if (LOG.isDebugEnabled()) LOG.debug("link role " + roleName + " to " + roleLink + " for " + this);
402 Origin o = context.getMetaData().getOrigin(servlet_name+".servlet.role-name."+roleName);
409 context.getMetaData().setOrigin(servlet_name+".servlet.role-name."+roleName, descriptor);
420 context.getMetaData().setOrigin(servlet_name+".servlet.role-name."+roleName, descriptor);
427 throw new IllegalStateException("Conflicting role-link for role-name "+roleName+" for servlet "+servlet_name+" in "+descriptor.getResource())
1417 String role = iter.next().toString(false, true); local
1680 String role = roleNode.toString(false, true); local
    [all...]
  /external/selinux/libsepol/cil/src/
cil_verify.c 667 struct cil_role *role = node->data; local
670 struct cil_role *r1 = role;
671 struct cil_role *r2 = role->bounds;
675 cil_log(CIL_ERR, "Circular bounds found for role %s\n", r1->datum.name);
691 cil_log(CIL_ERR, "Invalid role at line %d of %s\n", node->line, node->path);
730 struct cil_role *role = ctx->role; local
741 if (!ebitmap_get_bit(user->roles, role->value)) {
742 cil_log(CIL_ERR, "Role %s is invalid for user %s\n", ctx->role_str, ctx->user_str);
752 if (role->types != NULL)
    [all...]
  /frameworks/base/core/jni/
android_media_AudioSystem.cpp 605 static bool useInChannelMask(audio_port_type_t type, audio_port_role_t role)
607 return ((type == AUDIO_PORT_TYPE_DEVICE) && (role == AUDIO_PORT_ROLE_SOURCE)) ||
608 ((type == AUDIO_PORT_TYPE_MIX) && (role == AUDIO_PORT_ROLE_SINK));
648 nAudioPortConfig->role = (audio_port_role_t)env->GetIntField(jAudioPort,
659 ALOGV("convertAudioPortConfigToNative handle %d role %d type %d",
660 nAudioPortConfig->id, nAudioPortConfig->role, nAudioPortConfig->type);
670 bool useInMask = useInChannelMask(nAudioPortConfig->type, nAudioPortConfig->role);
744 0, // role
761 bool useInMask = useInChannelMask(nAudioPortConfig->type, nAudioPortConfig->role);
    [all...]
  /external/selinux/libsepol/src/
write.c 526 buf[0] = cpu_to_le32(tr->role);
557 buf[0] = cpu_to_le32(ra->role);
818 buf[items++] = cpu_to_le32(c->role);
1042 role_datum_t *role; local
1049 role = (role_datum_t *) datum;
1052 * Role attributes are redundant for policy.X, skip them
1058 if ((role->flavor == ROLE_ATTRIB) &&
1067 buf[items++] = cpu_to_le32(role->s.value);
1069 buf[items++] = cpu_to_le32(role->bounds);
1078 if (ebitmap_write(&role->dominates, fp)
1931 role_datum_t *role = datum; local
    [all...]
hierarchy.c 549 /* The role bounds is defined as: a child role cannot have a type that
565 ERR(a->handle, "Role bounds violation, %s exceeds %s",
584 ERR(handle, "%d errors found during role bounds check",
592 /* The user bounds is defined as: a child user cannot have a role that
662 /* Orphan type/role/user */ \
678 static add_hierarchy_callback_template(role)
  /external/clang/include/clang/Lex/
ModuleMap.h 89 /// \brief Flags describing the role of a module header.
113 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { }
125 /// \brief The role of this header within the module.
479 /// \param Role The role of the header wrt the module.
481 ModuleHeaderRole Role, bool Imported = false);
  /external/selinux/secilc/docs/
cil_mls_labeling_statements.md 561 ; Define object_r role. This must be assigned in CIL.
562 (role object_r)
566 (role role)
571 (userrole user role)
573 (roletype role process)
574 (roletype role object)
  /external/wpa_supplicant_8/src/p2p/
p2p_invitation.c 648 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
655 p2p_dbg(p2p, "Request to invite peer " MACSTR " role=%d persistent=%d "
657 MAC2STR(peer), role, persistent_group, force_freq);
674 p2p->retry_invite_req = role == P2P_INVITE_ROLE_GO &&
687 role != P2P_INVITE_ROLE_CLIENT) < 0)
690 if (persistent_group && role == P2P_INVITE_ROLE_CLIENT && !force_freq &&
711 p2p->inv_role = role;
  /frameworks/base/core/java/android/hardware/usb/
UsbManager.java 568 * This list is guaranteed to contain all dual-role USB Type C ports but it might
605 * Sets the desired role combination of the port.
607 * The supported role combinations depend on what is connected to the port and may be
616 * @param powerRole The desired power role: {@link UsbPort#POWER_ROLE_SOURCE}
617 * or {@link UsbPort#POWER_ROLE_SINK}, or 0 if no power role.
618 * @param dataRole The desired data role: {@link UsbPort#DATA_ROLE_HOST}
619 * or {@link UsbPort#DATA_ROLE_DEVICE}, or 0 if no data role.
  /hardware/ti/omap4-aah/domx/omx_core/src/
OMX_Core.c 632 * @param[in] role The role name to query for
633 * @param[in] pNumComps The number of components supporting the given role
634 * @param[in] compNames The names of the components supporting the given role
641 OMX_API OMX_ERRORTYPE OMX_GetComponentsOfRole(OMX_IN OMX_STRING role,
649 CORE_require(role != NULL, OMX_ErrorBadParameter, NULL);
663 role) == 0)
  /hardware/ti/omap4xxx/domx/omx_core/src/
OMX_Core.c 619 * @param[in] role The role name to query for
620 * @param[in] pNumComps The number of components supporting the given role
621 * @param[in] compNames The names of the components supporting the given role
628 OMX_API OMX_ERRORTYPE OMX_GetComponentsOfRole(OMX_IN OMX_STRING role,
636 CORE_require(role != NULL, OMX_ErrorBadParameter, NULL);
650 role) == 0)
  /packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
HealthService.java 163 if (VDBG) log("register datatype: " + appConfig.getDataType() + " role: " +
732 private int convertRoleToHal(int role) {
733 if (role == BluetoothHealth.SOURCE_ROLE) return MDEP_ROLE_SOURCE;
734 if (role == BluetoothHealth.SINK_ROLE) return MDEP_ROLE_SINK;
735 Log.e(TAG, "unkonw role: " + role);
    [all...]
  /system/bt/btif/src/
btif_sock_rfc.c 90 int role; member in struct:__anon73809
245 accept_rs->role = srv_rs->role;
340 tBTA_JV_STATUS ret = BTA_JvRfcommConnect(slot->security, slot->role, slot->scn, slot->addr.address, rfcomm_cback, (void *)(uintptr_t)slot->id);
653 BTA_JvRfcommStartServer(rs->security, rs->role, rs->scn, MAX_RFC_SESSION,
676 BTA_JvRfcommStartServer(slot->security, slot->role, slot->scn, MAX_RFC_SESSION, rfcomm_cback, (void *)(uintptr_t)slot->id);
692 if (BTA_JvRfcommConnect(slot->security, slot->role, p_data->disc_comp.scn, slot->addr.address, rfcomm_cback, (void *)(uintptr_t)slot->id) == BTA_JV_SUCCESS) {
  /system/bt/stack/include/
l2c_api.h 673 ** Description This function sets the desire role for L2CAP.
674 ** If the new role is L2CAP_ROLE_ALLOW_SWITCH, allow switch on
676 ** If the new role is L2CAP_ROLE_DISALLOW_SWITCH, do not allow switch on
679 ** If the new role is a valid role (HCI_ROLE_MASTER or HCI_ROLE_SLAVE),
680 ** the desire role is set to the new value. Otherwise, it is not changed.
682 ** Returns the new (current) role
    [all...]
  /system/bt/stack/l2cap/
l2c_ble.c 177 L2CAP_TRACE_WARNING ("%s - BD_ADDR %08x%04x not LE (link role %d)", __FUNCTION__,
198 ** Description This function returns the connection role.
200 ** Returns link role.
205 UINT8 role = HCI_ROLE_UNKNOWN; local
210 role = p_lcb->link_role;
212 return role;
474 void l2cble_conn_comp(UINT16 handle, UINT8 role, BD_ADDR bda, tBLE_ADDR_TYPE type,
477 btm_ble_update_link_topology_mask(role, TRUE);
479 if (role == HCI_ROLE_MASTER)
    [all...]
  /external/autotest/site_utils/suite_scheduler/
suite_scheduler.py 236 # If server database is enabled, check if the server has role
237 # `suite_scheduler`. If the server does not have suite_scheduler role,
244 role='suite_scheduler')
  /external/clang/docs/
MSVCCompatibility.rst 9 .. role:: none
10 .. role:: partial
11 .. role:: good
  /external/jetty/src/java/org/eclipse/jetty/servlet/
ServletHolder.java 223 /** Link a user role.
224 * Translate the role name used by a servlet, to the link name
226 * @param name The role name as used by the servlet
227 * @param link The role name as used by the container.
237 /** get a user role link.
238 * @param name The name of the role
557 // pop run-as role
633 public void setRunAsRole(String role)
635 _runAsRole = role;
696 // pop run-as role
    [all...]

Completed in 1507 milliseconds

<<21222324252627282930>>