HomeSort by relevance Sort by last modified time
    Searched refs:role (Results 1 - 25 of 681) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/selinux/libsepol/tests/policies/test-hooks/
module_add_role_allow_trans.conf 5 role role_a_1;
6 role role_a_2;
7 role role_t_1;
8 role role_t_2;
module_add_symbols.conf 7 role role_add_1;
  /external/selinux/libselinux/include/selinux/
get_default_type.h 2 * for functions to get the default type for a role
15 /* Get the default type (domain) for 'role' and set 'type' to refer to it.
18 int get_default_type(const char *role, char **type);
  /external/selinux/libsepol/tests/policies/test-expander/
role-module.conf 5 role role_check_1;
9 role role_check_1 types role_check_1_2_t;
  /external/guava/guava/src/com/google/common/math/
MathPreconditions.java 30 static int checkPositive(@Nullable String role, int x) {
32 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
37 static long checkPositive(@Nullable String role, long x) {
39 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
44 static BigInteger checkPositive(@Nullable String role, BigInteger x) {
46 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
51 static int checkNonNegative(@Nullable String role, int x) {
53 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
58 static long checkNonNegative(@Nullable String role, long x) {
60 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0")
    [all...]
  /external/selinux/libsepol/tests/policies/test-deps/
modreq-role-global.conf 4 role role_req_r, user_r;
11 # role role_req_r types a_t;
modreq-role-opt.conf 12 role role_req_r, user_r;
module.conf 7 role system_r;
13 role system_r types new_t;
  /external/selinux/libsepol/tests/policies/test-linker/
module1.conf 6 role g_b_role_2;
21 #add role in module test
22 role g_m1_role_1;
23 role g_m1_role_1 types g_m1_type_1;
40 #add type to base role test
41 role g_b_role_2 types g_m1_type_1;
42 role g_b_role_3;
43 role g_b_role_3 types g_m1_type_2;
45 #add type to base optional role test
46 role o1_b_role_2
    [all...]
module2.conf 15 role g_m2_role_1;
16 role g_m2_role_1 types g_m2_type_1;
21 #add types to role declared in base test
23 role g_b_role_3;
24 role g_b_role_3 types g_m2_type_2;
26 #optional base role w/ adds in 2 modules
27 role o4_b_role_1;
28 role o4_b_role_1 types g_m2_type_1;
51 role o1_m2_role_1;
52 role o1_m2_role_1 types o1_m2_type_1
    [all...]
  /external/autotest/site_utils/
server_manager.py 8 create(hostname, role=None, note=None)
9 Create a server with given role, with status primary.
14 modify(hostname, role=None, status=None, note=None, delete=False,
16 Modify a server's role, status, note, or attribute:
17 1. Add role to a server. If the server is in primary status, proper actions
18 like service restart will be executed to enable the role.
19 2. Delete a role from a server. If the server is in primary status, proper
20 actions like service restart will be executed to disable the role.
23 or disable each role of the server.
42 def _add_role(server, role, action)
    [all...]
  /external/selinux/libsepol/tests/
test-linker-roles.c 33 * - role in appropriate symtab (global and decl)
38 * - role in base, no modules
39 * - role in base optional, no modules
40 * - role a in base, b in module
41 * - role a in base and module (additive)
42 * - role a in base and 2 module
43 * - role a in base optional, b in module
44 * - role a in base, b in module optional
45 * - role a in base optional, b in module optional
46 * - role a in base optional and modul
73 role_datum_t *role; local
102 role_datum_t *role; local
    [all...]
  /external/selinux/python/sepolicy/sepolicy/templates/
executable.py 55 role system_r types TEMPLATETYPE_t;
89 role TEMPLATETYPE_roles types TEMPLATETYPE_t;
195 role USER_r;
264 ## allow the specified role the TEMPLATETYPE domain.
271 ## <param name="role">
273 ## The role to be allowed the TEMPLATETYPE domain.
289 ## Role access for TEMPLATETYPE
291 ## <param name="role">
293 ## Role allowed access
298 ## User domain for the role
    [all...]
  /external/selinux/libsepol/include/sepol/
roles.h 9 const char *role, int *response);
  /external/webrtc/webrtc/p2p/base/
transportdescription.cc 19 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role) {
29 *role = static_cast<ConnectionRole>(CONNECTIONROLE_ACTIVE + i);
36 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) {
37 switch (role) {
  /external/pdfium/fxjs/xfa/
cjx_assist.h 19 JS_PROP(role);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
context.py 32 self.role = SymbolWrapper(ctx.role)
42 self.role == other.role and \
  /external/snakeyaml/src/test/java/examples/collections/
TypeSafePriorityTest.java 91 private String role; field in class:TypeSafePriorityTest.Developer
96 public Developer(String name, String role) {
98 this.role = role;
110 return role;
113 public void setRole(String role) {
114 this.role = role;
  /frameworks/base/media/java/android/media/
AudioPort.java 79 AudioPort(AudioHandle handle, int role, String name,
84 mRole = role;
106 * Get the audio port role
108 public int role() { method in class:AudioPort
211 String role = Integer.toString(mRole); local
214 role = "NONE";
217 role = "SOURCE";
220 role = "SINK";
224 + ", mRole: " + role
  /hardware/interfaces/usb/1.0/
IUsb.hal 23 * This function is used to change the port role of a specific port.
25 * This is function is asynchronous. The status of the role switch
29 * @param portName name of the port for which the role has to be changed
30 * @param role the new port role.
32 oneway switchRole(string portName, PortRole role);
  /external/selinux/libselinux/src/
get_default_type.c 8 static int find_default_type(FILE * fp, const char *role, char **type);
10 int get_default_type(const char *role, char **type)
18 if (find_default_type(fp, role, type) < 0) {
27 static int find_default_type(FILE * fp, const char *role, char **type)
35 len = strlen(role);
50 if (!strncmp(role, ptr, len)) {
  /external/selinux/libsepol/cil/test/integration_testing/
nonmls.conf 48 role foo_r types foo_t;
49 role rolea_r;
50 role roleb_r;
53 #role decl
  /external/selinux/libsepol/src/
context.c 38 role_datum_t *role; local
45 if (!c->role || c->role > p->p_roles.nprim)
54 if (c->role != OBJECT_R_VAL) {
56 * Role must be authorized for the type.
58 role = p->role_val_to_struct[c->role - 1];
59 if (!role || !ebitmap_get_bit(&role->cache, c->type - 1))
60 /* role may not be associated with type *
157 char *role = strdup(sepol_context_get_role(record)); local
    [all...]
  /external/libxml2/
xlink.c 124 xmlChar *type = NULL, *role = NULL; local
154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
155 if (role != NULL) {
160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset"))
167 if (xmlStrEqual(role, buf))
178 if (role != NULL) xmlFree(role);
  /external/selinux/libselinux/utils/
getdefaultcon.c 23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; local
34 role = strdup(optarg);
70 if (role != NULL && role[0])
71 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon);
79 printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon);
85 free(role);

Completed in 766 milliseconds

1 2 3 4 5 6 7 8 91011>>