/frameworks/base/tools/preload/ |
Policy.java | 22 * Policy that governs which classes are preloaded. 24 public class Policy { 29 private Policy() {}
|
/external/chromium_org/chrome/browser/ui/search/ |
search_ipc_router.h | 90 class Policy { 92 virtual ~Policy() {} 118 scoped_ptr<Policy> policy); 216 void set_policy_for_testing(scoped_ptr<Policy> policy); 219 Policy* policy_for_testing() const { return policy_.get(); } 225 scoped_ptr<Policy> 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/ |
NamedDeclPrinterTest.cpp | 49 PrintingPolicy Policy = Result.Context->getPrintingPolicy(); 50 Policy.SuppressUnwrittenScope = SuppressUnwrittenScope; 51 ND->printQualifiedName(Out, Policy);
|
DeclPrinterTest.cpp | 35 PrintingPolicy Policy = Context->getPrintingPolicy(); 36 Policy.TerseOutput = true; 37 D->print(Out, Policy, /*Indentation*/ 0, /*PrintInstantiation*/ false); [all...] |
StmtPrinterTest.cpp | 36 PrintingPolicy Policy = Context->getPrintingPolicy(); 37 S->printPretty(Out, /*Helper*/ nullptr, Policy);
|
/external/conscrypt/src/compat/java/dalvik/system/ |
BlockGuard.java | 32 Class<?> c_policy = cl.loadClass("dalvik.system.BlockGuard.Policy"); 43 public static Policy getThreadPolicy() { 54 public interface Policy { 58 public static class PolicyWrapper implements 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...] |
/external/clang/include/clang/Sema/ |
AnalysisBasedWarnings.h | 35 class Policy { 43 Policy(); 49 Policy DefaultPolicy; 93 void IssueWarnings(Policy P, FunctionScopeInfo *fscope, 96 Policy getDefaultPolicy() { return DefaultPolicy; }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DebugCheckers.cpp | 98 PrintingPolicy Policy(mgr.getLangOpts()); 99 Policy.TerseOutput = true; 100 Policy.PolishForDeclaration = true; 101 D->print(llvm::errs(), Policy);
|
/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/platform/weborigin/ |
SecurityOrigin.h | 43 enum Policy { 152 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...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlSanitizer.java | 38 * Consumes an HTML stream, and dispatches events to a policy object which 44 * Receives events based on the HTML stream, and applies a policy to decide 53 public interface Policy extends HtmlStreamEventReceiver { 85 * Sanitizes the given HTML by applying the given policy to it. 97 * @param policy The Policy that will receive events based on the tokens in 98 * HTML. Typically, this policy ends up routing the events to an 102 public static void sanitize(@Nullable String html, final Policy policy) { 106 = new TagBalancingHtmlStreamEventReceiver(policy); [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 | 29 import com.android.emailcommon.provider.Policy; 164 bundle.setClassLoader(Policy.class.getClassLoader());
|
/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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/76/1/.cp/ant_tasks/ |
resources-ant.jar | |
/frameworks/base/services/core/java/com/android/server/pm/ |
SELinuxMMAC.java | 54 // Signature seinfo values read from policy. 55 private static HashMap<Signature, Policy> sSigSeinfo = new HashMap<Signature, Policy>(); 57 // Default seinfo read from policy. 60 // Data policy override version file. 64 // Base policy version file. 70 // Data override mac_permissions.xml policy file. 74 // Base mac_permissions.xml policy file. 82 // Data override seapp_contexts policy file. 86 // Base seapp_contexts policy file 178 Policy policy = readPolicyTags(parser); local 214 Policy policy = new Policy(); local 354 Policy policy = sSigSeinfo.get(s); local [all...] |
/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...] |
/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...] |
/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...] |