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

1 2 3 4 5 6 7

  /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);
23 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
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,
76 mService.setAccountPolicy(accountId, policy, securityKey);
103 public static boolean isActive(Context context, Policy policies) {
127 public static void setAccountPolicy(Context context, long accountId, Policy policy,
130 new PolicyServiceProxy(context).setAccountPolicy(accountId, policy, securityKey)
    [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...]
  /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...]
  /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 {
42 Policy();
48 Policy DefaultPolicy;
92 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
95 Policy getDefaultPolicy() { return DefaultPolicy; }
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
ProvisionParserTests.java 19 import com.android.emailcommon.provider.Policy;
43 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
48 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
51 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
54 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
57 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
69 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
74 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
77 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
80 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">"
118 Policy policy = parser.getPolicy(); local
131 Policy policy = parser.getPolicy(); local
140 Policy policy = parser.getPolicy(); local
    [all...]
  /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_;
  /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()) {
  /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...]
  /frameworks/base/tools/preload/
Policy.java 22 * Policy that governs which classes are preloaded.
24 public class Policy {
29 private Policy() {}
Android.mk 10 Policy.java \
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/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Policy.java 22 public interface Policy {
  /external/clang/lib/AST/
TypePrinter.cpp 33 PrintingPolicy &Policy;
37 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy)
38 : Policy(Policy), Old(Policy.SuppressStrongLifetime) {
39 Policy.SuppressStrongLifetime = false;
43 Policy.SuppressStrongLifetime = Old;
48 PrintingPolicy &Policy;
52 explicit ParamPolicyRAII(PrintingPolicy &Policy)
53 : Policy(Policy), Old(Policy.SuppressSpecifiers)
    [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/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;
  /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 25 import com.android.emailcommon.provider.Policy;
38 public boolean isActive(Policy policy) {
40 return mSecurityPolicy.isActive(policy);
67 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
69 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey);

Completed in 674 milliseconds

1 2 3 4 5 6 7