HomeSort by relevance Sort by last modified time
    Searched refs:Policy (Results 26 - 50 of 455) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java 34 import com.android.emailcommon.provider.Policy;
55 private static final Policy EMPTY_POLICY = new Policy();
104 * Create a Policy using the arguments formerly used to create a PolicySet; this minimizes the
107 private Policy setupPolicy(int minPasswordLength, int passwordMode, int maxPasswordFails,
112 Policy policy = new Policy(); local
113 policy.mPasswordMinLength = minPasswordLength;
114 policy.mPasswordMode = passwordMode
217 Policy policy = Policy.restorePolicyWithId(mMockContext, policyKey); local
500 Policy policy = LegacyPolicySet.flagsToPolicy(flags); local
    [all...]
  /development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
SecureActivity.java 27 // Check to see if the device is properly secured as per the policy. Send user
28 // back to policy set up screen if necessary.
29 Policy policy = new Policy(this); local
30 policy.readFromLocal();
31 if (!policy.isDeviceSecured()) {
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 32 import com.android.emailcommon.provider.Policy;
37 * This is a series of unit tests for the Policy class
72 Policy policy1 = new Policy();
75 Policy policy2 = new Policy();
84 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
95 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
96 Policy policy = new Policy() local
191 Policy policy = new Policy(); local
    [all...]
  /frameworks/ml/nn/driver/cache/nnCache/
nnCache.h 36 typedef BlobCache::Policy Policy;
38 static Policy defaultPolicy() { return BlobCache::defaultPolicy(); }
54 Policy policy = defaultPolicy());
125 // mPolicy is the policy for cleaning the cache.
126 Policy mPolicy;
  /external/clang/lib/AST/
TypePrinter.cpp 33 PrintingPolicy &Policy;
37 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy)
38 : Policy(Policy), Old(Policy.SuppressStrongLifetime) {
39 if (!Policy.SuppressLifetimeQualifiers)
40 Policy.SuppressStrongLifetime = false;
44 Policy.SuppressStrongLifetime = Old;
49 PrintingPolicy &Policy;
53 explicit ParamPolicyRAII(PrintingPolicy &Policy)
    [all...]
DeclPrinter.cpp 30 PrintingPolicy Policy;
50 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy,
52 : Out(Out), Policy(Policy), Indentation(Indentation),
111 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy,
113 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation);
152 raw_ostream &Out, const PrintingPolicy &Policy,
155 (*Begin)->print(Out, Policy, Indentation);
164 PrintingPolicy SubPolicy(Policy);
201 if (Policy.PolishForDeclaration
    [all...]
TemplateBase.cpp 37 /// \param Policy the printing policy for EnumConstantDecl printing.
39 raw_ostream &Out, const PrintingPolicy& Policy) {
50 ECD->printQualifiedName(Out, Policy);
56 if (T->isBooleanType() && !Policy.MSVCFormatting) {
354 void TemplateArgument::print(const PrintingPolicy &Policy,
362 PrintingPolicy SubPolicy(Policy);
385 getAsTemplate().print(Out, Policy);
389 getAsTemplateOrTemplatePattern().print(Out, Policy);
394 printIntegral(*this, Out, Policy);
    [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_;
  /frameworks/base/tools/preload/
Policy.java 22 * Policy that governs which classes are preloaded.
24 public class Policy {
29 private Policy() {}
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModePrioritySettings.java 20 import android.app.NotificationManager.Policy;
50 private Policy mPolicy;
69 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_REMINDERS),
84 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_EVENTS),
105 getNewPriorityCategories(allowMessages, Policy.PRIORITY_CATEGORY_MESSAGES),
124 savePolicy(getNewPriorityCategories(allowCalls, Policy.PRIORITY_CATEGORY_CALLS),
144 NotificationManager.Policy.PRIORITY_CATEGORY_REPEAT_CALLERS);
169 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS)
173 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES)
175 mReminders.setChecked(isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS))
    [all...]
ZenModeVisualInterruptionSettings.java 20 import android.app.NotificationManager.Policy;
39 private NotificationManager.Policy mPolicy;
62 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_OFF));
76 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_ON));
100 mScreenOff.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_OFF));
101 mScreenOn.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_ON));
120 mPolicy = new Policy(mPolicy.priorityCategories,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
LegacyPolicySet.java 18 import com.android.emailcommon.provider.Policy;
21 * Legacy class for policy storage as a bit field of flags
64 * Convert legacy policy flags to a Policy
65 * @param flags legacy policy flags
66 * @return a Policy representing the legacy policy flag
68 public static Policy flagsToPolicy(long flags) {
69 Policy policy = new Policy() local
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
AttrImpl.inc 17 void AMDGPUFlatWorkGroupSizeAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
47 void AMDGPUNumSGPRAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
77 void AMDGPUNumVGPRAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
107 void AMDGPUWavesPerEUAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
137 void ARMInterruptAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
167 void AVRInterruptAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
197 void AVRSignalAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
227 void AbiTagAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
277 void AcquireCapabilityAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
379 void AcquiredAfterAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
AttrImpl.inc 17 void AMDGPUFlatWorkGroupSizeAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
47 void AMDGPUNumSGPRAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
77 void AMDGPUNumVGPRAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
107 void AMDGPUWavesPerEUAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
137 void ARMInterruptAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
167 void AVRInterruptAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
197 void AVRSignalAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
227 void AbiTagAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
277 void AcquireCapabilityAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const {
379 void AcquiredAfterAttr::printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const
    [all...]
  /system/update_engine/update_manager/
update_manager.h 31 #include "update_engine/update_manager/policy.h"
56 // PolicyRequest() evaluates the given policy with the provided arguments and
58 // Policy class for the policy request to call. The UpdateManager will call
59 // this method on the right policy. The pointer |result| must not be null
63 // When the policy request succeeds, the |result| is set and the method
65 // policy called with this method should not block (i.e. return
70 // um.PolicyRequest(&Policy::SomePolicyMethod, &bool_result, arg1, arg2);
73 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
78 // Evaluates the given |policy_method| policy with the provided |args
    [all...]
  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
baseline_policy.h 12 #include "sandbox/linux/bpf_dsl/policy.h"
21 // This class implements the Policy interface with a "baseline"
22 // policy for use within Chromium.
23 // The "baseline" policy is somewhat arbitrary. All Chromium policies are an
26 // A baseline policy is only valid for the process for which this object was
28 class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::Policy {
43 // The PID that the policy applies to (should be equal to the current pid).
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
46 /// Parse the given string as a cache pruning policy. Defaults are taken from a
53 /// Peform pruning using the supplied policy, returns true if pruning
54 /// occured, i.e. if Policy.Interval was expired.
59 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /external/llvm/lib/Target/AMDGPU/
AMDGPUSubtarget.cpp 209 void SISubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
214 Policy.ShouldTrackPressure = true;
218 Policy.OnlyTopDown = false;
219 Policy.OnlyBottomUp = false;
223 Policy.ShouldTrackLaneMasks = true;

Completed in 789 milliseconds

12 3 4 5 6 7 8 91011>>