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

1 2 3 4 5 6 7 8 9

  /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...]
PolicyServiceProxy.java 24 import com.android.emailcommon.provider.Policy;
49 public boolean isActive(final Policy arg0) throws RemoteException {
61 // This is not a great situation, but it's better to act like the policy isn't enforced
71 public void setAccountPolicy(final long accountId, final Policy policy,
73 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
77 public void setAccountPolicy2(final long accountId, final Policy policy,
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify);
109 public static boolean isActive(Context context, Policy policies)
    [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()) {
  /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
  /packages/apps/Email/src/com/android/email/service/
PolicyService.java 26 import com.android.emailcommon.provider.Policy;
39 public boolean isActive(Policy policy) {
41 return mSecurityPolicy.isActive(policy);
68 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
69 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
73 public void setAccountPolicy2(long accountId, Policy policy, String securityKey,
76 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/policies/
policy.hpp 174 // Begin by defining policy types for error handling:
194 // Policy types for internal promotion:
200 // Policy types for discrete quantiles:
224 // Define the names for each possible policy:
330 // policy<> class will have when modified for forwarding:
365 // Now define the policy type with enough arguments to handle all
381 struct policy struct in namespace:boost::math::policies
447 struct policy<default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies
472 struct policy<detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies
496 template <class Policy,
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ProvisionParser.java 24 import com.android.emailcommon.provider.Policy;
47 private Policy mPolicy = null;
60 public Policy getPolicy() {
87 sb.append(Policy.POLICY_STRING_DELIMITER);
91 * Complete setup of a Policy; we normalize it first (removing inconsistencies, etc.) and then
94 * policy documents, as all versions of the OS support the policies in xml documents).
96 private void setPolicy(Policy policy) {
97 policy.normalize();
99 if (policy.mDontAllowAttachments)
117 Policy policy = new Policy(); local
392 Policy policy = new Policy(); local
    [all...]

Completed in 838 milliseconds

1 2 3 4 5 6 7 8 9