HomeSort by relevance Sort by last modified time
    Searched refs:policy (Results 251 - 275 of 1172) sorted by null

<<11121314151617181920>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
dta.py 52 def __init__(self, policy, reverse=False, exclude=None):
55 policy The policy to analyze.
59 self.policy = policy
83 self._exclude = [self.policy.lookup_type(t) for t in types]
104 s = self.policy.lookup_type(source)
105 t = self.policy.lookup_type(target)
140 s = self.policy.lookup_type(source)
141 t = self.policy.lookup_type(target
    [all...]
rbacrulequery.py 33 policy The policy to query.
81 self._target = self.policy.lookup_type_or_attr(value)
83 self._target = self.policy.lookup_role(value)
87 self.log.info("Generating results from {0.policy}".format(self))
96 for rule in self.policy.rbacrules():
  /external/webrtc/webrtc/base/
platform_thread.cc 210 const int policy = SCHED_RR; local
212 const int policy = SCHED_FIFO;
214 const int min_prio = sched_get_priority_min(policy);
215 const int max_prio = sched_get_priority_max(policy);
246 return pthread_setschedparam(thread_, policy, &param) == 0;
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DevicePolicyManagerService.java 176 * Implementation of the device policy APIs.
222 private static final String ATTR_PERMISSION_POLICY = "permission-policy";
512 // Reset the policy data
1308 DevicePolicyData policy = getUserData(userHandle); local
1654 DevicePolicyData policy = mUserData.get(userHandle); local
1692 DevicePolicyData policy = mUserData.get(userHandle); local
1879 final DevicePolicyData policy = getUserData(userId); local
1973 final DevicePolicyData policy = getUserData(userId); local
2007 final DevicePolicyData policy = getUserData(userId); local
2022 final DevicePolicyData policy = getUserData(userId); local
2095 final DevicePolicyData policy = getUserData(userHandle); local
2133 DevicePolicyData policy = getUserData(userHandle); local
2200 DevicePolicyData policy = getUserData(userHandle); local
2740 final DevicePolicyData policy = getUserData(userHandle.getIdentifier()); local
2850 DevicePolicyData policy = getUserData(userHandle); local
2948 DevicePolicyData policy = getUserData(userHandle); local
2968 DevicePolicyData policy = getUserData(userHandle); local
3149 DevicePolicyData policy = getUserData(userInfo.id); local
3721 DevicePolicyData policy = getUserDataUnchecked(getCredentialOwner(userHandle, parent)); local
3736 DevicePolicyData policy = getUserDataUnchecked(getCredentialOwner(userHandle, false)); local
3780 DevicePolicyData policy = getUserDataUnchecked(getCredentialOwner(userHandle, parent)); local
4046 DevicePolicyData policy = getUserData(userHandle); local
4143 DevicePolicyData policy = getUserDataUnchecked(profileId); local
4165 DevicePolicyData policy = getUserDataUnchecked(getProfileParentId(userHandle)); local
4214 DevicePolicyData policy = getUserData(userInfo.id); local
4368 final DevicePolicyData policy = getUserData(userHandle); local
4624 DevicePolicyData policy = getUserData(userHandle); local
4635 DevicePolicyData policy = getUserData(userHandle); local
4827 DevicePolicyData policy = getUserData(userHandle); local
4893 DevicePolicyData policy = getUserData(userHandle); local
4936 DevicePolicyData policy = getUserData(userHandle); local
5014 DevicePolicyData policy = getUserData(UserHandle.USER_SYSTEM); local
5066 DevicePolicyData policy = getUserData(UserHandle.USER_SYSTEM); local
5174 DevicePolicyData policy = getUserData(UserHandle.USER_SYSTEM); local
5212 DevicePolicyData policy = getUserData(userHandle); local
5331 DevicePolicyData policy = getUserData(userHandle); local
5705 DevicePolicyData policy = getUserData(userHandle); local
5951 DevicePolicyData policy = getUserData(mOwners.getDeviceOwnerUserId()); local
6104 DevicePolicyData policy = getUserData(userId); local
6286 DevicePolicyData policy = getUserData(userHandle); local
6548 DevicePolicyData policy = getUserData(mUserData.keyAt(u)); local
6641 DevicePolicyData policy = getUserData(userHandle); local
6655 DevicePolicyData policy = getUserData(userHandle); local
6665 final DevicePolicyData policy = getUserData(userHandle); local
6980 DevicePolicyData policy = getUserDataUnchecked(profileId); local
7159 DevicePolicyData policy = getUserDataUnchecked(profileId); local
7666 DevicePolicyData policy = getUserData(userId); local
7927 DevicePolicyData policy = getUserData(userHandle); local
7950 final DevicePolicyData policy = getUserData(userHandle); local
7964 DevicePolicyData policy = getUserData(userHandle); local
7985 final DevicePolicyData policy = getUserData(userHandle); local
8130 DevicePolicyData policy = getUserData(userId); local
8177 DevicePolicyData policy = getUserData(userHandle); local
8233 DevicePolicyData policy = getUserDataUnchecked(profileId); local
8343 SystemUpdatePolicy policy = mOwners.getSystemUpdatePolicy(); local
9178 final DevicePolicyData policy = getUserData(userHandle); local
9202 DevicePolicyData policy = getUserData(UserHandle.USER_SYSTEM); local
9212 final DevicePolicyData policy = getUserData(UserHandle.USER_SYSTEM); local
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
test_connection.py 85 url = k.generate_url(3600, 'PUT', force_http=True, policy='private', reduced_redundancy=True)
170 policy = bucket.get_acl()
171 assert len(policy.acl.grants) == 2
173 policy = bucket.get_acl()
174 assert len(policy.acl.grants) == 1
177 policy = k.get_acl()
178 assert len(policy.acl.grants) == 2
180 policy = k.get_acl()
181 assert len(policy.acl.grants) == 1
  /external/libnl/lib/
attr.c 80 * validation of each attribute based on an attribute policy. The
228 * // The minimal length policy may be used to enforce the presence of at
245 * nla_parse_nested(nested, ATTR_MAX, attrs[ATTR_OPTS], &policy);
333 * // The policy defines two attributes: a 32 bit integer and a container
352 * // any further checks since nlmsg_parse() enforced the policy.
528 struct nla_policy *policy)
536 pt = &policy[type];
571 * @arg policy Attribute validation policy.
577 * compatibility. If \a policy is not NULL, the attribute will b
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
TSTInfoTest.java 42 // Unizeto CETRUM policy
43 String policy = "1.2.3.4.5"; local
60 TSTInfo info = new TSTInfo(1, policy, msgImprint, BigInteger.TEN,
68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy());
  /external/autotest/client/site_tests/login_MultiUserPolicy/
login_MultiUserPolicy.py 10 from autotest_lib.client.common_lib.cros import policy, session_manager namespace
15 """Verifies that storing and retrieving user policy works with
34 # policy or key lingering around. At this stage the session isn't
45 # Start a session for the first user, and verify that no policy exists
51 raise error.TestError('session_manager already has user policy!')
53 # Now store a policy. This is building a device policy protobuf, but
58 policy_data = policy.build_policy_data(self.srcdir)
59 policy_response = policy.generate_policy(self.srcdir,
67 raise error.TestFail('Failed to store user policy')
    [all...]
  /external/lzma/CPP/Windows/
SecurityUtils.cpp 41 static void MyLookupSids(CPolicy &policy, PSID ps)
45 NTSTATUS nts = policy.LookupSids(1, &ps, &referencedDomains, &names);
108 CPolicy policy; local
116 if (policy.Open(NULL, &attr,
138 NTSTATUS status = policy.EnumerateAccountRights(psid, &userRightsArray, &countOfRights);
159 NTSTATUS status = policy.EnumerateAccountsWithUserRight(&userRights, &enums, &countReturned);
163 MyLookupSids(policy, enums[i].Sid);
169 NTSTATUS status = policy.AddAccountRights(psid, &userRights);
  /packages/apps/Settings/src/com/android/settings/datausage/
BillingCycleSettings.java 98 NetworkPolicy policy = services.mPolicyEditor.getPolicy(mNetworkTemplate); local
99 mBillingCycle.setSummary(getString(R.string.billing_cycle_summary, policy != null ?
100 policy.cycleDay : 1));
101 if (policy != null && policy.warningBytes != WARNING_DISABLED) {
102 mDataWarning.setSummary(Formatter.formatFileSize(getContext(), policy.warningBytes));
110 if (policy != null && policy.limitBytes != LIMIT_DISABLED) {
111 mDataLimit.setSummary(Formatter.formatFileSize(getContext(), policy.limitBytes));
367 final NetworkPolicy policy = parent.services.mPolicyEdito
    [all...]
  /external/minijail/
syscall_filter_unittest.c 549 FILE *policy = fopen("test/seccomp.policy", "r"); local
550 int res = compile_filter(policy, &actual, NO_LOGGING);
574 fclose(policy);
579 FILE *policy = fopen("test/stdin_stdout.policy", "r"); local
580 int res = compile_filter(policy, &actual, NO_LOGGING);
607 fclose(policy);
613 FILE *policy = fopen("test/invalid_syscall_name.policy", "r") local
627 FILE *policy = fopen("test\/nonexistent-file.policy", "r"); local
635 FILE *policy = fopen("test\/seccomp.policy", "r"); local
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/policies/
policy.hpp 174 // Begin by defining policy types for error handling:
194 // Policy types for internal promotion:
200 // Policy types for discrete quantiles:
224 // Define the names for each possible policy:
330 // policy<> class will have when modified for forwarding:
365 // Now define the policy type with enough arguments to handle all
381 struct policy struct in namespace:boost::math::policies
447 struct policy<default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies
472 struct policy<detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies
496 template <class Policy,
    [all...]
  /bionic/libc/bionic/
pthread_attr.cpp 72 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) {
73 attr->sched_policy = policy;
77 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) {
78 *policy = attr->sched_policy;
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/
distribution.py 450 policy = object.get_acl()
452 policy.acl = ACL()
453 policy.acl.add_user_grant('READ', oai.s3_user_id)
454 object.set_acl(policy)
498 policy = 'private'
500 policy = 'public-read'
503 object.set_contents_from_file(content, headers=headers, policy=policy)
543 provide: 'http://example.com/media/\*' and the policy
576 for key in ["Expires", "Policy", "Signature", "Key-Pair-Id"]
    [all...]
  /external/libbrillo/brillo/
backoff_entry.h 14 // on requests to a given resource, given a back-off policy.
21 // The set of parameters that define a back-off policy.
22 struct Policy {
58 // Lifetime of policy must enclose lifetime of BackoffEntry. The
60 explicit BackoffEntry(const Policy* const policy);
68 // be rejected at the present time due to exponential back-off policy.
84 // had for Policy::entry_lifetime_ms.
108 const Policy* const policy_;
  /external/selinux/libsepol/tests/
test-deps.c 130 * req_met boolean indicating whether the base policy meets the
132 * b index of the base policy in the global bases_met array.
134 * policy name of the policy module to load for this test.
138 static void do_deps_modreq_global(int req_met, int b, char *policy, char *decl_type)
162 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0);
212 * req_met boolean indicating whether the base policy meets the
214 * b index of the base policy in the global bases_met array.
216 * policy name of the policy module to load for this test
    [all...]
  /external/srtp/test/
rtp.c 150 rtp_sender_init_srtp(rtp_sender_t sender, const srtp_policy_t *policy) {
151 return srtp_create(&sender->srtp_ctx, policy);
155 rtp_receiver_init_srtp(rtp_receiver_t sender, const srtp_policy_t *policy) {
156 return srtp_create(&sender->srtp_ctx, policy);
  /external/tpm2/
ChangePPS.c 53 gp.pcrPolicies.policy[i].t.size = 0;
  /frameworks/base/core/java/com/android/internal/policy/
DecorContext.java 17 package com.android.internal.policy;
PhoneLayoutInflater.java 17 package com.android.internal.policy;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
KeyguardService.java 29 import com.android.internal.policy.IKeyguardDrawnCallback;
30 import com.android.internal.policy.IKeyguardExitCallback;
31 import com.android.internal.policy.IKeyguardService;
32 import com.android.internal.policy.IKeyguardStateCallback;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
GlobalSetting.java 24 import com.android.systemui.statusbar.policy.Listenable;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
ShortcutKeyServiceProxy.java 22 import com.android.internal.policy.IShortcutService;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
FullscreenUserSwitcher.java 24 import com.android.systemui.statusbar.policy.UserSwitcherController;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
AccessibilityContentDescriptions.java 3 package com.android.systemui.statusbar.policy;

Completed in 1152 milliseconds

<<11121314151617181920>>