HomeSort by relevance Sort by last modified time
    Searched defs:Policy (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium/chrome/browser/chromeos/
plugin_selection_policy.h 26 // executable path in the browser. It loads a policy file for
51 // Applies the current policy to the given path using the url to
52 // look up what the policy for that domain is. Returns true if the
65 // Initializes from the default policy file.
71 typedef std::vector<std::pair<bool, std::string> > Policy;
72 typedef std::map<std::string, Policy> PolicyMap;
  /frameworks/base/tools/preload/
Policy.java 22 * Policy that governs which classes are preloaded.
24 public class Policy {
29 private Policy() {}
  /external/chromium/net/base/
backoff_entry.h 15 // 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 {
45 // Lifetime of policy must enclose lifetime of BackoffEntry. The
47 explicit BackoffEntry(const Policy* const policy);
55 // be rejected at the present time due to exponential back-off policy.
68 // had for Policy::entry_lifetime_ms_.
87 const Policy* const policy_;
  /frameworks/base/policy/src/com/android/internal/policy/impl/
Policy.java 17 package com.android.internal.policy.impl;
26 import com.android.internal.policy.IPolicy;
27 import com.android.internal.policy.impl.PhoneLayoutInflater;
28 import com.android.internal.policy.impl.PhoneWindow;
29 import com.android.internal.policy.impl.PhoneWindowManager;
35 // Simple implementation of the policy interface that spawns the right
37 public class Policy implements IPolicy {
41 "com.android.internal.policy.impl.PhoneLayoutInflater",
42 "com.android.internal.policy.impl.PhoneWindow",
43 "com.android.internal.policy.impl.PhoneWindow$1"
    [all...]
  /libcore/luni/src/main/java/java/security/
Policy.java 25 public abstract class Policy {
31 public Policy() { }
33 public static Policy getInstance(String type, Policy.Parameters params) throws NoSuchAlgorithmException { return null; }
35 public static Policy getInstance(String type, Policy.Parameters params, String provider) throws NoSuchProviderException, NoSuchAlgorithmException { return null; }
37 public static Policy getInstance(String type, Policy.Parameters params, Provider provider) throws NoSuchAlgorithmException { return null; }
39 public Policy.Parameters getParameters() { return null; }
55 public static Policy getPolicy() { return null;
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 25 import com.android.emailcommon.provider.Policy;
35 * This is a series of unit tests for the Policy class
70 Policy policy1 = new Policy();
71 Policy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey);
73 Policy policy2 = new Policy();
74 Policy.setAccountPolicy(mMockContext, account2, policy2, securitySyncKey);
82 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
84 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext
94 Policy policy = new Policy(); local
189 Policy policy = new Policy(); local
    [all...]
ProviderTests.java 54 import com.android.emailcommon.provider.Policy;
    [all...]
  /external/clang/include/clang/Sema/
AnalysisBasedWarnings.h 35 class Policy {
42 Policy();
48 Policy DefaultPolicy;
92 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
95 Policy getDefaultPolicy() { return DefaultPolicy; }
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 53 public interface Policy {
70 * Returns the policy bitmask, for shipping over Binder calls
71 * to remote threads/processes and reinstantiating the policy
110 return "policy=" + mPolicyState + " violation=" + mPolicyViolated +
116 * The default, permissive policy that doesn't prevent any operations.
118 public static final Policy LAX_POLICY = new Policy() {
127 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
128 @Override protected Policy initialValue()
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java 33 import com.android.emailcommon.provider.Policy;
53 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
551 Policy policy = LegacyPolicySet.flagsToPolicy(flags); local
    [all...]
  /external/clang/lib/Frontend/
ASTConsumers.cpp 42 PrintingPolicy Policy = Context.getPrintingPolicy();
43 Policy.Dump = Dump;
44 Context.getTranslationUnitDecl()->print(Out, Policy, /*Indentation=*/0,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
EmailServiceProxy.java 23 import com.android.emailcommon.provider.Policy;
206 bundle.setClassLoader(Policy.class.getClassLoader());
  /external/clang/lib/AST/
DeclPrinter.cpp 29 PrintingPolicy Policy;
41 const PrintingPolicy &Policy,
44 : Out(Out), Context(Context), Policy(Policy), Indentation(Indentation),
96 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy,
98 DeclPrinter Printer(Out, getASTContext(), Policy, Indentation, PrintInstantiation);
131 raw_ostream &Out, const PrintingPolicy &Policy,
134 (*Begin)->print(Out, Policy, Indentation);
143 PrintingPolicy SubPolicy(Policy);
145 TD->print(Out, Policy, Indentation)
    [all...]
TypePrinter.cpp 30 PrintingPolicy &Policy;
34 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy)
35 : Policy(Policy), Old(Policy.SuppressStrongLifetime) {
36 Policy.SuppressStrongLifetime = false;
40 Policy.SuppressStrongLifetime = Old;
45 PrintingPolicy Policy;
48 explicit TypePrinter(const PrintingPolicy &Policy) : Policy(Policy) {
    [all...]
StmtPrinter.cpp 35 PrintingPolicy Policy;
39 const PrintingPolicy &Policy,
42 Policy(Policy) {}
45 PrintStmt(S, Policy.Indentation);
122 D->print(OS, Policy, IndentLevel);
131 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
298 PrintingPolicy SubPolicy(Policy);
530 Qualifier->print(OS, Policy);
536 Policy);
    [all...]
  /external/clang/lib/Sema/
Sema.cpp 59 PrintingPolicy Policy = Context.getPrintingPolicy();
60 Policy.Bool = getLangOptions().Bool;
61 if (!Policy.Bool) {
63 Policy.Bool = BoolMacro->isObjectLike() &&
69 return Policy;
686 // Set up the context's printing policy based on our current state.
788 void Sema::PopFunctionOrBlockScope(const AnalysisBasedWarnings::Policy *WP,
    [all...]
AnalysisBasedWarnings.cpp 10 // This file defines analysis_warnings::[Policy,Executor].
747 clang::sema::AnalysisBasedWarnings::Policy::Policy() {
785 AnalysisBasedWarnings::IssueWarnings(sema::AnalysisBasedWarnings::Policy P,
    [all...]
SemaCodeComplete.cpp     [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.java 38 * The Policy class represents a set of security requirements that are associated with an Account.
42 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable {
44 public static final String TAG = "Email/Policy";
46 public static final String TABLE_NAME = "Policy";
48 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/policy");
52 /* Small offset (2 minutes) added to policy expiration to make user testing easier. */
115 public static final Policy NO_POLICY = new Policy();
123 public Policy() {
131 public static Policy restorePolicyWithId(Context context, long id)
    [all...]
Account.java 74 // Bit mask for the account's deletion policy (see DELETE_POLICY_x below)
104 // Deletion policy (see FLAGS_DELETE_POLICY_MASK, above)
136 public transient Policy mPolicy;
215 // other defaults (policy)
408 * Set the "delete policy" as a simple 0,1,2 value set.
409 * @param newPolicy the new delete policy
417 * Return the "delete policy" as a simple 0,1,2 value set.
418 * @return the current delete policy
689 * sync, due to roaming while the account's policy disables this
699 // If no security policy, we're goo
    [all...]
  /external/clang/test/CodeGenCXX/
mangle.cpp 301 struct Policy { };
303 template<typename T, typename = Policy<P, true> > class Alloc
  /external/v8/src/
lithium.h 83 enum Policy {
109 explicit LUnallocated(Policy policy) : LOperand(UNALLOCATED, 0) {
110 Initialize(policy, 0, USED_AT_END);
113 LUnallocated(Policy policy, int fixed_index) : LOperand(UNALLOCATED, 0) {
114 Initialize(policy, fixed_index, USED_AT_END);
117 LUnallocated(Policy policy, Lifetime lifetime) : LOperand(UNALLOCATED, 0) {
118 Initialize(policy, 0, lifetime)
165 Policy policy() const { return PolicyField::decode(value_); } function in class:v8::internal::LUnallocated
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/
EasSyncService.java 52 import com.android.emailcommon.provider.Policy;
139 // to time, however, for folder list/policy changes
554 // TODO Need to catch other kinds of errors (e.g. policy) For now, report code.
1393 Policy policy = pp.getPolicy(); local
1789 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); local
2482 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); local
    [all...]
  /external/clang/lib/Analysis/
CFG.cpp     [all...]
  /external/webkit/Source/WebKit/qt/tests/qwebframe/
tst_qwebframe.cpp 74 Q_ENUMS(Policy Strategy)
78 enum Policy {
282 Q_INVOKABLE void myInvokableWithEnumArg(Policy policy) {
284 m_actuals << policy; local
286 Q_INVOKABLE void myInvokableWithQualifiedEnumArg(MyQObject::Policy policy) {
288 m_actuals << policy; local
290 Q_INVOKABLE Policy myInvokableReturningEnum() {
294 Q_INVOKABLE MyQObject::Policy myInvokableReturningQualifiedEnum()
    [all...]

Completed in 1101 milliseconds

1 2