HomeSort by relevance Sort by last modified time
    Searched refs:Policy (Results 51 - 75 of 279) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libchrome/sandbox/linux/bpf_dsl/
policy_compiler.h 21 class Policy;
30 PolicyCompiler(const Policy* policy, TrapRegistry* registry);
33 // Compile registers any trap handlers needed by the policy and
34 // compiles the policy to a BPF program, which it returns.
38 // system calls, regardless of policy.
44 // TODO(mdempsky): Move this into Policy?
85 // Compile the configured policy into a complete instruction sequence.
101 // policy.
139 const Policy* policy_
    [all...]
  /external/clang/include/clang/Sema/
LocInfoType.h 53 const PrintingPolicy &Policy) const;
  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tests_unittest.cc 18 #include "sandbox/linux/bpf_dsl/policy.h"
44 class EmptyClassTakingPolicy : public bpf_dsl::Policy {
85 class EnosysPtracePolicy : public bpf_dsl::Policy {
116 scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
117 return scoped_ptr<bpf_dsl::Policy>(new EnosysPtracePolicy());
  /external/llvm/lib/Target/AArch64/
AArch64Subtarget.cpp 116 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
121 Policy.OnlyTopDown = false;
122 Policy.OnlyBottomUp = false;
127 Policy.DisableLatencyHeuristic = true;
  /frameworks/base/services/core/java/com/android/server/pm/
SELinuxMMAC.java 64 // All policy stanzas read from mac_permissions.xml. This is also the lock
65 // to synchronize access during policy load and access attempts.
66 private static List<Policy> sPolicies = new ArrayList<>();
100 * @return boolean indicating if policy was correctly loaded. A value of false
102 * constructed policy stanzas. A value of true means that all stanzas
107 List<Policy> policies = new ArrayList<>();
113 Slog.d(TAG, "Using policy file " + MAC_PERMISSIONS);
117 parser.require(XmlPullParser.START_TAG, null, "policy");
149 // Now sort the policy stanzas
161 for (Policy policy : sPolicies)
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
PolicyService.java 28 import com.android.emailcommon.provider.Policy;
41 public boolean isActive(Policy policy) {
43 return mSecurityPolicy.isActive(policy);
70 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
71 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
75 public void setAccountPolicy2(long accountId, Policy policy, String securityKey,
78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify)
    [all...]
  /packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/
BaseTaskTest.java 45 verify(task.policy).onBeforeExecute();
46 verify(task.policy).onCompleted();
54 verify(task.policy).onFail();
61 verify(task1.policy, never()).onDuplicatedTaskAdded();
65 verify(task1.policy).onDuplicatedTaskAdded();
76 verify(task1.policy, never()).onDuplicatedTaskAdded();
80 verify(task1.policy, never()).onDuplicatedTaskAdded();
101 public Policy policy; field in class:BaseTaskTest.DummyBaseTask
106 policy = mock(Policy.class)
118 public Policy policy; field in class:BaseTaskTest.FailingBaseTask
    [all...]
  /system/update_engine/update_manager/
chromeos_policy_unittest.cc 80 // No device policy loaded by default.
103 // Sets up a default device policy that does not impose any restrictions
122 // Configures the UpdateCheckAllowed policy to return a desired value by
182 // Runs the passed |policy_method| policy and expects it to return the
267 // Policy honors the server provided check poll interval.
312 // We get the next update_check timestamp from the policy's private method
326 // Check that the policy blocks until the next_update_check is reached.
333 &Policy::UpdateCheckAllowed, &result);
341 &Policy::UpdateCheckAllowed, &result);
369 &Policy::UpdateCheckAllowed, &result)
    [all...]
update_manager-inl.h 34 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
39 // IMPORTANT: We must still proceed with evaluation of the policy in this
54 // First try calling the actual policy.
58 // If evaluating the main policy failed, defer to the default policy.
60 LOG(WARNING) << "Evaluating policy failed: " << error
66 LOG(WARNING) << "Evaluating default policy failed: " << error;
69 << "Default policy would block; this is a bug, forcing failure.";
83 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
87 // Evaluate the policy
    [all...]
  /external/libbrillo/brillo/
backoff_entry_unittest.cc 13 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000, false };
17 explicit TestBackoffEntry(const Policy* const policy)
18 : BackoffEntry(policy),
50 BackoffEntry::Policy never_expires_policy = base_policy;
86 BackoffEntry::Policy always_delay_policy = base_policy;
106 BackoffEntry::Policy no_store_policy = base_policy;
113 BackoffEntry::Policy lenient_policy = base_policy;
163 BackoffEntry::Policy always_delay_policy = base_policy;
200 BackoffEntry::Policy jittery_policy = base_policy
    [all...]
  /external/libweave/src/
backoff_entry_unittest.cc 14 BackoffEntry::Policy base_policy = {0, 1000, 2.0, 0.0, 20000, 2000, false};
18 explicit TestBackoffEntry(const Policy* const policy)
19 : BackoffEntry(policy), now_(TimeTicks()) {
48 BackoffEntry::Policy never_expires_policy = base_policy;
84 BackoffEntry::Policy always_delay_policy = base_policy;
104 BackoffEntry::Policy no_store_policy = base_policy;
111 BackoffEntry::Policy lenient_policy = base_policy;
161 BackoffEntry::Policy always_delay_policy = base_policy;
198 BackoffEntry::Policy jittery_policy = base_policy
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.java 35 * The Policy class represents a set of security requirements that are associated with an Account.
39 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable {
41 public static final String TAG = "Email/Policy";
43 public static final String TABLE_NAME = "Policy";
47 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/policy");
52 /* Small offset (2 minutes) added to policy expiration to make user testing easier. */
122 public static final Policy NO_POLICY = new Policy();
130 public Policy() {
138 public static Policy restorePolicyWithId(Context context, long id)
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/
copy.hpp 63 template <class Policy, class SrcPtr, typename DstType, class MaskPtr>
73 grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream));
76 template <class Policy, class SrcPtr, typename DstType, class MaskPtr>
85 grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream));
88 template <class Policy, class SrcPtr, typename DstType>
96 grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream));
99 template <class Policy, class SrcPtr, typename DstType>
107 grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream));
110 template <class Policy, class SrcPtrTuple, typename D0, typename D1, class MaskPtr>
123 grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src)
    [all...]
transform.hpp 63 template <class Policy, class SrcPtr, typename DstType, class UnOp, class MaskPtr>
73 grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream));
76 template <class Policy, class SrcPtr, typename DstType, class UnOp, class MaskPtr>
85 grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream));
88 template <class Policy, class SrcPtr, typename DstType, class UnOp>
96 grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream));
99 template <class Policy, class SrcPtr, typename DstType, class UnOp>
107 grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream));
110 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
121 grid_transform_detail::transform_binary<Policy>(shrinkPtr(src1), shrinkPtr(src2), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor (…)
    [all...]
  /frameworks/base/tools/preload/
Android.mk 10 Policy.java \
  /packages/apps/Email/provider_src/com/android/email/
SecurityPolicy.java 46 import com.android.emailcommon.provider.Policy;
64 private Policy mAggregatePolicy;
76 * Get the security policy instance
103 * Compute the aggregate policy for all accounts that require it, and record it.
116 * @return a policy representing the strongest aggregate. If no policy sets are defined,
117 * a lightweight "nothing required" policy will be returned. Never null.
120 Policy computeAggregatePolicy() {
122 Policy aggregate = new Policy();
140 Policy policy = new Policy(); local
    [all...]
  /external/clang/unittests/AST/
NamedDeclPrinterTest.cpp 49 PrintingPolicy Policy = Result.Context->getPrintingPolicy();
50 Policy.SuppressUnwrittenScope = SuppressUnwrittenScope;
51 ND->printQualifiedName(Out, Policy);
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
reduce.hpp 415 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
418 const dim3 block(Policy::block_size_x, Policy::block_size_y);
419 const dim3 grid(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y));
421 reduce<Reductor, Policy::block_size_x * Policy::block_size_y, Policy::patch_size_x, Policy::patch_size_y><<<grid, block, 0, stream>>>(src, result, mask, rows, cols);
430 template <class Policy, class SrcPtr, typename ResType, class MaskPtr
    [all...]
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/
URIParameterTest.java 42 assertTrue(uriParameter instanceof Policy.Parameters);
  /external/clang/lib/AST/
TemplateName.cpp 128 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy,
134 QTN->getQualifier()->print(OS, Policy);
140 DTN->getQualifier()->print(OS, Policy);
149 subst->getReplacement().print(OS, Policy, SuppressNNS);
  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
syscall_parameters_restrictions_unittests.cc 22 #include "sandbox/linux/bpf_dsl/policy.h"
46 class RestrictClockIdPolicy : public bpf_dsl::Policy {
111 class RestrictSchedPolicy : public bpf_dsl::Policy {
177 class RestrictPrlimit64Policy : public bpf_dsl::Policy {
206 class RestrictGetrusagePolicy : public bpf_dsl::Policy {
  /external/llvm/lib/Target/PowerPC/
PPCSubtarget.cpp 193 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
198 Policy.OnlyTopDown = false;
199 Policy.OnlyBottomUp = false;
204 Policy.ShouldTrackPressure = true;
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/
MinimalIntervalPolicy.java 24 * If a task with this policy succeeds, a {@link BlockerTask} with the same {@link TaskId} of the
28 public class MinimalIntervalPolicy implements Policy {
PostponePolicy.java 24 * A task with Postpone policy will not be executed immediately. It will wait for a while and if a
29 public class PostponePolicy implements Policy {
  /external/clang/lib/Sema/
DeclSpec.cpp 444 const PrintingPolicy &Policy) {
449 case DeclSpec::TST_wchar: return Policy.MSWChar ? "__wchar_t" : "wchar_t";
457 case DeclSpec::TST_bool: return Policy.Bool ? "bool" : "_Bool";
495 const PrintingPolicy &Policy) {
530 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy);
533 PrevSpec, DiagID, Policy);
570 const PrintingPolicy &Policy) {
606 const PrintingPolicy &Policy) {
607 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy);
615 const PrintingPolicy &Policy) {
    [all...]

Completed in 2691 milliseconds

1 23 4 5 6 7 8 91011>>