HomeSort by relevance Sort by last modified time
    Searched defs:Policy (Results 1 - 25 of 32) 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 {
41 Policy();
47 Policy DefaultPolicy;
91 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
94 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.PrintingPolicy;
43 Policy.Dump = Dump;
44 Context.getTranslationUnitDecl()->print(Out, Policy);
  /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;
40 const PrintingPolicy &Policy,
42 : Out(Out), Context(Context), Policy(Policy), Indentation(Indentation) { }
87 void Decl::print(llvm::raw_ostream &Out, const PrintingPolicy &Policy,
89 DeclPrinter Printer(Out, getASTContext(), Policy, Indentation);
122 llvm::raw_ostream &Out, const PrintingPolicy &Policy,
125 (*Begin)->print(Out, Policy, Indentation);
134 PrintingPolicy SubPolicy(Policy);
136 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/
AnalysisBasedWarnings.cpp 10 // This file defines analysis_warnings::[Policy,Executor].
595 clang::sema::AnalysisBasedWarnings::Policy::Policy() {
628 AnalysisBasedWarnings::IssueWarnings(sema::AnalysisBasedWarnings::Policy P,
  /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 56 // Bit mask for the account's deletion policy (see DELETE_POLICY_x below)
86 // Deletion policy (see FLAGS_DELETE_POLICY_MASK, above)
118 public transient Policy mPolicy;
197 // other defaults (policy)
390 * Set the "delete policy" as a simple 0,1,2 value set.
391 * @param newPolicy the new delete policy
399 * Return the "delete policy" as a simple 0,1,2 value set.
400 * @return the current delete policy
675 // If a policy is set and there's no policy, link it to the accoun
    [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
549 // TODO Need to catch other kinds of errors (e.g. policy) For now, report code.
1388 Policy policy = pp.getPolicy(); local
1779 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); local
2469 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...]
  /prebuilt/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar 
  /prebuilt/sdk/10/
android.jar 

Completed in 6272 milliseconds

1 2