/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_;
|
/external/chromium_org/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 { 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_;
|
/external/clang/unittests/AST/ |
StmtPrinterTest.cpp | 35 PrintingPolicy Policy = Context->getPrintingPolicy(); 36 S->printPretty(Out, /*Helper*/ 0, Policy);
|
DeclPrinterTest.cpp | 35 PrintingPolicy Policy = Context->getPrintingPolicy(); 36 Policy.TerseOutput = true; 37 D->print(Out, Policy, /*Indentation*/ 0, /*PrintInstantiation*/ false); [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Policy.java | 22 public interface 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; 32 // Simple implementation of the policy interface that spawns the right 34 public class Policy implements IPolicy { 38 "com.android.internal.policy.impl.PhoneLayoutInflater", 39 "com.android.internal.policy.impl.PhoneWindow", 40 "com.android.internal.policy.impl.PhoneWindow$1", 41 "com.android.internal.policy.impl.PhoneWindow$DialogMenuCallback", 42 "com.android.internal.policy.impl.PhoneWindow$DecorView", 43 "com.android.internal.policy.impl.PhoneWindow$PanelFeatureState" [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...] |
/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 | 52 public interface Policy { 69 * Returns the policy bitmask, for shipping over Binder calls 70 * to remote threads/processes and reinstantiating the policy 109 return "policy=" + mPolicyState + " violation=" + mPolicyViolated + 115 * The default, permissive policy that doesn't prevent any operations. 117 public static final Policy LAX_POLICY = new Policy() { 126 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() { 127 @Override protected Policy initialValue() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/ |
ComposedShadowTreeWalker.h | 45 enum Policy { 55 ComposedShadowTreeWalker(const Node*, Policy = CrossUpperBoundary, StartPolicy = CannotStartFromShadowBoundary); 126 Policy m_policy; 129 inline ComposedShadowTreeWalker::ComposedShadowTreeWalker(const Node* node, Policy policy, StartPolicy startPolicy) 131 , m_policy(policy)
|
/external/chromium_org/third_party/WebKit/Source/weborigin/ |
SecurityOrigin.h | 43 enum Policy { 145 Policy canShowNotifications() const;
|
/external/chromium_org/tools/deep_memory_profiler/lib/ |
policy.py | 16 # Heap Profile Policy versions 34 """Represents one matching rule in a policy file.""" 108 class Policy(object): 109 """Represents a policy, a content of a policy file.""" 257 """Loads a policy file of |filename| in a |format|. 265 A loaded Policy object. 268 return Policy.parse(policy_f, filetype) 272 """Parses a policy file content in a |format|. 280 A loaded Policy object [all...] |
/external/chromium_org/tools/deep_memory_profiler/tests/ |
dmprof_test.py | 18 from lib.policy import Policy 163 policy = Policy.parse(cStringIO.StringIO(self._TEST_POLICY), 'json') 164 self.assertTrue(policy) 165 self.assertEqual('POLICY_DEEP_3', policy.version) 168 policy = Policy.parse(cStringIO.StringIO(self._TEST_POLICY), 'json') 169 self.assertTrue(policy) 182 self.assertEqual('malloc-v8', policy.find_malloc(bucket1) [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...] |
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
Policy.java | 28 public class Policy { 54 public Policy(Context context) { 64 * Saves the policy parameters. 117 * Getter for the policy administrator ComponentName object. 141 * Configure policy defined in the object. 161 // Deletes previously stored password policy.
|
/frameworks/base/graphics/java/android/graphics/ |
Atlas.java | 75 private final Policy mPolicy; 142 private static Policy findPolicy(Type type, int width, int height, int flags) { 161 * A policy defines how the atlas performs the packing operation. 163 private static abstract class Policy { 237 private static class SlicePolicy extends Policy {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceProxy.java | 31 import com.android.emailcommon.provider.Policy; 209 bundle.setClassLoader(Policy.class.getClassLoader());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/76/1/.cp/ant_tasks/ |
resources-ant.jar | |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 30 PrintingPolicy Policy; 41 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, 43 : Out(Out), Policy(Policy), Indentation(Indentation), 98 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, 100 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation); 137 raw_ostream &Out, const PrintingPolicy &Policy, 140 (*Begin)->print(Out, Policy, Indentation); 149 PrintingPolicy SubPolicy(Policy); 151 TD->print(Out, Policy, Indentation) [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 49 PrintingPolicy Policy = Context.getPrintingPolicy(); 50 Policy.Bool = Context.getLangOpts().Bool; 51 if (!Policy.Bool) { 54 Policy.Bool = BoolMacro->isObjectLike() && 60 return Policy; [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Policy.java | 34 * The Policy class represents a set of security requirements that are associated with an Account. 38 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable { 40 public static final String TAG = "Email/Policy"; 42 public static final String TABLE_NAME = "Policy"; 46 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/policy"); 51 /* Small offset (2 minutes) added to policy expiration to make user testing easier. */ 121 public static final Policy NO_POLICY = new Policy(); 129 public Policy() { 137 public static Policy restorePolicyWithId(Context context, long id) [all...] |
/packages/apps/Email/src/com/android/email/ |
SecurityPolicy.java | 44 import com.android.emailcommon.provider.Policy; 62 private Policy mAggregatePolicy; 74 * Get the security policy instance 101 * Compute the aggregate policy for all accounts that require it, and record it. 114 * @return a policy representing the strongest aggregate. If no policy sets are defined, 115 * a lightweight "nothing required" policy will be returned. Never null. 118 Policy computeAggregatePolicy() { 120 Policy aggregate = new Policy(); 138 Policy policy = new Policy(); local [all...] |