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

1 2 3 4 5 6 7 8 91011>>

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AccessControlExceptionTest.java 46 Permission perm = new AllPermission(); local
47 new AccessControlException("001", perm);
54 Permission perm = new UnresolvedPermission("unresolvedType", local
56 AccessControlException ex = new AccessControlException("001", perm);
57 assertSame(ex.getPermission(), perm); local
  /external/vboot_reference/tests/tpm_lite/
tpmtest_spaceperm.c 21 uint32_t perm; local
28 TPM_CHECK(TlclGetPermissions(INDEX0, &perm));
29 VbAssert((perm & PERMPPGL) == PERMPPGL);
31 TPM_CHECK(TlclGetPermissions(INDEX1, &perm));
32 VbAssert((perm & PERMPP) == PERMPP);
tpmtest_redefine_unowned.c 18 uint32_t perm; local
33 perm = TPM_NV_PER_PPWRITE | TPM_NV_PER_GLOBALLOCK;
34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, 2 * sizeof(uint32_t)));
35 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t)));
37 perm = TPM_NV_PER_PPWRITE;
38 TPM_CHECK(TlclDefineSpace(INDEX1, perm, 2 * sizeof(uint32_t)));
39 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
45 TPM_EXPECT(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t)),
49 TPM_CHECK(TlclDefineSpace(INDEX1, perm, 2 * sizeof(uint32_t)));
50 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)))
    [all...]
tpmtest_testsetup.c 18 uint32_t perm; local
33 perm = TPM_NV_PER_PPWRITE | TPM_NV_PER_GLOBALLOCK;
34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t)));
39 perm = TPM_NV_PER_PPWRITE;
40 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
readonly.c 38 uint32_t perm = TPM_NV_PER_WRITE_STCLEAR | TPM_NV_PER_PPWRITE; local
43 TlclDefineSpace(INDEX0, perm, 4);
45 TlclDefineSpace(INDEX1, perm, 4);
47 TlclDefineSpace(INDEX2, perm, 4);
49 TlclDefineSpace(INDEX3, perm, 4);
52 perm = TPM_NV_PER_READ_STCLEAR | TPM_NV_PER_WRITE_STCLEAR |
54 TlclDefineSpace(INDEX_INITIALIZED, perm, 1);
  /libcore/ojluni/src/main/java/java/security/
AccessControlException.java 48 private Permission perm; field in class:AccessControlException
70 perm = p;
80 return perm;
  /external/libchrome/sandbox/linux/syscall_broker/
broker_file_permission_unittest.cc 41 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); local
46 BrokerFilePermission perm = BrokerFilePermission::ReadOnlyRecursive(kPath); local
54 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); local
62 BrokerFilePermission perm = BrokerFilePermission::ReadOnlyRecursive(kPath); local
70 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); local
78 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); local
81 // CheckPerm tests |path| against |perm| given |access_flags|.
83 void CheckPerm(const BrokerFilePermission& perm,
89 ASSERT_FALSE(perm.CheckAccess(path, X_OK, NULL));
90 ASSERT_TRUE(perm.CheckAccess(path, F_OK, NULL))
175 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); local
184 BrokerFilePermission perm = BrokerFilePermission::ReadOnlyRecursive(kPath); local
192 BrokerFilePermission perm = BrokerFilePermission::WriteOnly(kPath); local
200 BrokerFilePermission perm = BrokerFilePermission::ReadWrite(kPath); local
208 BrokerFilePermission perm = BrokerFilePermission::ReadWriteCreate(kPath); local
227 BrokerFilePermission perm = local
237 BrokerFilePermission perm = local
    [all...]
  /prebuilts/go/darwin-x86/test/bench/go1/
fannkuch_test.go 18 perm := make([]int, n)
39 for i := 1; i < n; i++ { // perm = perm1
40 perm[i] = perm1[i]
42 k := perm1[0] // cache perm[0] in k
45 perm[i], perm[j] = perm[j], perm[i]
48 // Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
  /prebuilts/go/linux-x86/test/bench/go1/
fannkuch_test.go 18 perm := make([]int, n)
39 for i := 1; i < n; i++ { // perm = perm1
40 perm[i] = perm1[i]
42 k := perm1[0] // cache perm[0] in k
45 perm[i], perm[j] = perm[j], perm[i]
48 // Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
  /external/selinux/policycoreutils/sepolicy/sepolicy/
network.py 28 def get_types(src, tclass, perm):
29 allows = search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm})
32 for i in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]), allows)):
38 def get_network_connect(src, protocol, perm):
41 tlist = get_types(src, "%s_socket" % protocol, [perm])
43 d[(src, protocol, perm)] = []
55 d[(src, protocol, perm)].append((i, ["all ports with out defined types"]))
57 d[(src, protocol, perm)].append((i, ["all ports"]))
59 d[(src, protocol, perm)].append((i, ["all ports > 1024"]))
61 d[(src, protocol, perm)].append((i, ["all ports < 1024"])
    [all...]
booleans.py 36 def get_types(src, tclass, perm):
37 allows = search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm})
39 raise TypeError("The %s type is not allowed to %s any types" % (src, ",".join(perm)))
42 for l in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]), allows)):
  /frameworks/base/services/core/java/com/android/server/am/
UriPermissionOwner.java 77 UriPermission perm = it.next(); local
78 if (grantUri == null || grantUri.equals(perm.uri)) {
79 perm.removeReadOwner(this);
80 service.removeUriPermissionIfNeededLocked(perm);
92 UriPermission perm = it.next(); local
93 if (grantUri == null || grantUri.equals(perm.uri)) {
94 perm.removeWriteOwner(this);
95 service.removeUriPermissionIfNeededLocked(perm);
105 public void addReadPermission(UriPermission perm) {
109 mReadPerms.add(perm);
    [all...]
  /prebuilts/go/darwin-x86/test/bench/shootout/
fannkuch.go 53 perm := make([]int, n)
78 for i := 1; i < n; i++ { // perm = perm1
79 perm[i] = perm1[i]
81 k := perm1[0] // cache perm[0] in k
84 perm[i], perm[j] = perm[j], perm[i]
87 // Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
fannkuch.c 49 Aint* perm; local
62 perm = calloc(n, sizeof(*perm ));
83 for( i=1 ; i<n ; ++i ) { /* perm = perm1 */
84 perm[i] = perm1[i];
86 k = perm1[0]; /* cache perm[0] in k */
90 XCH(perm[i], perm[j])
94 * Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
  /prebuilts/go/linux-x86/test/bench/shootout/
fannkuch.go 53 perm := make([]int, n)
78 for i := 1; i < n; i++ { // perm = perm1
79 perm[i] = perm1[i]
81 k := perm1[0] // cache perm[0] in k
84 perm[i], perm[j] = perm[j], perm[i]
87 // Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
fannkuch.c 49 Aint* perm; local
62 perm = calloc(n, sizeof(*perm ));
83 for( i=1 ; i<n ; ++i ) { /* perm = perm1 */
84 perm[i] = perm1[i];
86 k = perm1[0]; /* cache perm[0] in k */
90 XCH(perm[i], perm[j])
94 * Now exchange k (caching perm[0]) and perm[k]... with care
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
objectmodel.py 84 def __init__(self, perm, dir, weight):
85 self.perm = perm
90 return "<sepolgen.objectmodel.PermMap %s %s %d>" % (self.perm,
122 raise ValueError("duplicate class in perm map")
131 cur[pm.perm] = pm
133 def get(self, obj, perm):
141 return self.classes[obj][perm]
143 def getdefault(self, obj, perm):
151 pm = self.classes[obj][perm]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
objectmodel.py 84 def __init__(self, perm, dir, weight):
85 self.perm = perm
90 return "<sepolgen.objectmodel.PermMap %s %s %d>" % (self.perm,
122 raise ValueError("duplicate class in perm map")
131 cur[pm.perm] = pm
133 def get(self, obj, perm):
141 return self.classes[obj][perm]
143 def getdefault(self, obj, perm):
151 pm = self.classes[obj][perm]
    [all...]
  /system/core/init/
devices.h 25 mode_t perm, unsigned int uid,
  /external/toybox/tests/
find.test 13 mkdir perm
14 touch perm/all-read-only
15 chmod a=r perm/all-read-only
57 testing "find -perm (exact success)" \
58 "find perm -type f -perm 0444" "perm/all-read-only\n" "" ""
59 testing "find -perm (exact failure)" \
60 "find perm -type f -perm 0400" "" "" "
    [all...]
  /development/ndk/platforms/android-3/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]
  /prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]

Completed in 309 milliseconds

1 2 3 4 5 6 7 8 91011>>