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

1 23 4 5 6 7 8 91011

  /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 63 // All policy stanzas read from mac_permissions.xml. This is also the lock
64 // to synchronize access during policy load and access attempts.
65 private static List<Policy> sPolicies = new ArrayList<>();
97 * @return boolean indicating if policy was correctly loaded. A value of false
99 * constructed policy stanzas. A value of true means that all stanzas
104 List<Policy> policies = new ArrayList<>();
110 Slog.d(TAG, "Using policy file " + MAC_PERMISSIONS);
114 parser.require(XmlPullParser.START_TAG, null, "policy");
146 // Now sort the policy stanzas
158 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...]
  /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...]
update_manager_unittest.cc 98 // class extends the DefaultPolicy class to allow extensions of the Policy
132 // A policy that sleeps for a predetermined amount of time, then checks for a
152 // Check for a time threshold. This can be used to ensure that the policy
180 // Tests that policy requests are completed successfully. It is important that
181 // this tests cover all policy requests as defined in Policy.
185 &Policy::UpdateCheckAllowed, &result));
215 umut_->PolicyRequest(&Policy::UpdateCanStart, &result,
227 &Policy::UpdateCheckAllowed, &result);
235 // The update manager should die (DCHECK) if a policy called synchronousl
    [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;
  /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...]
  /frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
Android.mk 4 # Audio Policy Engine configurable example for generic device build
22 ######### Policy PFW top level file #########
43 ########## Policy PFW Structures #########
49 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy
62 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy
70 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy
74 ######### Policy PFW Settings #########
76 LOCAL_MODULE := parameter-framework.policy
79 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy
110 ######### Policy PFW Settings - No Output ########
    [all...]
  /frameworks/base/core/java/android/app/
NotificationManager.java 158 * {@link Policy#priorityCallSenders}, {@link Policy#priorityCategories},
159 * {@link Policy#priorityMessageSenders} to define or query this criteria. Users can
468 * Throws a SecurityException if policy access is granted to this package.
491 * Throws a SecurityException if policy access is granted to this package.
511 * Throws a SecurityException if policy access is granted to this package.
530 * Throws a SecurityException if policy access is granted to this package.
552 * Throws a SecurityException if policy access is granted to this package.
610 * Checks the ability to read/modify notification policy for the calling package.
613 * Returns true if the calling package can read/modify notification policy
671 service.setNotificationPolicy(mContext.getOpPackageName(), policy); local
    [all...]
  /external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl_unittest.cc 26 #include "sandbox/linux/bpf_dsl/policy.h"
65 PolicyEmulator(const golden::Golden& golden, const Policy& policy)
68 program_ = PolicyCompiler(&policy, &traps).Compile();
116 class BasicPolicy : public Policy {
148 class BooleanLogicPolicy : public Policy {
194 class MoreBooleanLogicPolicy : public Policy {
234 class ArgSizePolicy : public Policy {
257 class NegativeConstantsPolicy : public Policy {
285 class TrappingPolicy : public Policy {
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
ProtectionDomainTest.java 164 * policy.
167 TestPolicy policy = new TestPolicy(); local
168 // null set of permissions [must] force the PD to use Policy - for
171 policy.setTrackPD(pd);
173 Policy.setPolicy(policy);
176 Policy.setPolicy(null);
178 assertFalse(policy.getPdTracked());
183 * policy.
186 TestPolicy policy = new TestPolicy() local
    [all...]

Completed in 577 milliseconds

1 23 4 5 6 7 8 91011