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

1 2 3 4 5 6 7 8 910

  /external/chromium_org/components/gcm_driver/
gcm_backoff_policy.cc 11 // Backoff policy. Shared across GCM requests.
14 const net::BackoffEntry::Policy kDefaultBackoffPolicy = {
42 const net::BackoffEntry::Policy& GetGCMBackoffPolicy() {
gcm_backoff_policy.h 12 // Returns the backoff policy that applies to all GCM requests.
13 const net::BackoffEntry::Policy& GetGCMBackoffPolicy();
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.aidl 18 parcelable Policy;
  /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...]
PolicySpi.java 21 * Represents the Service Provider Interface (SPI) for java.security.Policy
24 * <p>If there is any class that wants to provide a Policy implementation, all
28 * Policy.Paramters implementation acts as an input parameter.If the
29 * Policy.Paramters input cannot by understood by the constructor, an
39 * Answers if the policy has granted a Permission to a
54 * Refreshes/reloads the policy configuration. The behavior of this method
56 * file-based policy will cause the file to be re-read.
59 * should be overridden if a refresh operation is supported by the policy
72 * Policy.UNSUPPORTED_EMPTY_COLLECTION object. This method can be overridden
73 * if the policy implementation can return a set of permissions granted to
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/detail/
round_fwd.hpp 22 template <class T, class Policy>
23 T trunc(const T& v, const Policy& pol);
26 template <class T, class Policy>
27 int itrunc(const T& v, const Policy& pol);
30 template <class T, class Policy>
31 long ltrunc(const T& v, const Policy& pol);
35 template <class T, class Policy>
36 boost::long_long_type lltrunc(const T& v, const Policy& pol);
40 template <class T, class Policy>
41 T round(const T& v, const Policy& pol)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IPolicyService.aidl 18 import com.android.emailcommon.provider.Policy;
21 boolean isActive(in Policy policies);
24 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
26 void setAccountPolicy2(long accountId, in Policy policy, String securityKey, boolean notify);
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...]
  /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/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/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_;
  /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()) {
  /external/chromium_org/sandbox/linux/seccomp-bpf/
bpf_tester_compatibility_delegate.h 14 // deprecated-style BPF policy (that is a SyscallEvaluator function pointer,
17 // This allows both the policy and the test function to take a pointer to an
20 template <class Policy, class Aux>
34 // the policy, which could in turn pass it to the kernel via Trap().
35 return scoped_ptr<SandboxBPFPolicy>(new Policy(&aux_));
  /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...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
math_fwd.hpp 28 #include <boost/math/policies/policy.hpp>
48 template <class RT1, class RT2, class RT3, class Policy>
50 beta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Beta function (3 arguments).
56 template <class RT1, class RT2, class RT3, class Policy>
58 betac(RT1 a, RT2 b, RT3 x, const Policy& pol);
64 template <class RT1, class RT2, class RT3, class Policy>
66 ibeta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta function.
72 template <class RT1, class RT2, class RT3, class Policy>
74 ibetac(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta complement function.
80 template <class T1, class T2, class T3, class T4, class Policy>
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
ProvisionParserTests.java 19 import com.android.emailcommon.provider.Policy;
47 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
52 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
55 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
58 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
61 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
73 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
78 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
81 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
84 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">"
122 Policy policy = parser.getPolicy(); local
135 Policy policy = parser.getPolicy(); local
144 Policy policy = parser.getPolicy(); local
    [all...]
  /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/tools/preload/
Policy.java 22 * Policy that governs which classes are preloaded.
24 public class Policy {
29 private Policy() {}
WritePreloadedClassFile.java 58 new FileOutputStream(Policy.PRELOADED_CLASS_FILE),
82 if (!Policy.isPreloadable(loadedClass)) {
99 if (proc.fromZygote() && !Policy.isService(proc.name)) {
139 = Policy.isPreloadable(operation.loadedClass);
152 return Policy.isPreloadable(clazz)
  /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;
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/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/smack/asmack-master/patch/
10-remove-unused-harmony.sh 9 rm org/apache/harmony/javax/security/auth/Policy.java
  /external/chromium_org/chromeos/network/portal_detector/
network_portal_detector_strategy.h 58 const net::BackoffEntry::Policy& policy() const { return policy_; } function in class:chromeos::PortalDetectorStrategy
60 // Resets strategy to the initial stater and sets custom policy.
61 void SetPolicyAndReset(const net::BackoffEntry::Policy& policy);
76 net::BackoffEntry::Policy policy_;

Completed in 445 milliseconds

1 2 3 4 5 6 7 8 910