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

1 2 3 4 5

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.aidl 18 parcelable Policy;
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";
44 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/policy");
48 /* Small offset (2 minutes) added to policy expiration to make user testing easier. */
118 public static final Policy NO_POLICY = new Policy();
126 public Policy() {
134 public static Policy restorePolicyWithId(Context context, long id)
    [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...]
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...]
  /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 26 import com.android.emailcommon.provider.Policy;
52 public boolean isActive(final Policy arg0) throws RemoteException {
70 public void setAccountPolicy(final long accountId, final Policy policy,
74 mService.setAccountPolicy(accountId, policy, securityKey);
99 public static boolean isActive(Context context, Policy policies) {
123 public static void setAccountPolicy(Context context, long accountId, Policy policy,
126 new PolicyServiceProxy(context).setAccountPolicy(accountId, policy, securityKey);
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 53 public interface Policy {
70 * Returns the policy bitmask, for shipping over Binder calls
71 * to remote threads/processes and reinstantiating the policy
110 return "policy=" + mPolicyState + " violation=" + mPolicyViolated +
116 * The default, permissive policy that doesn't prevent any operations.
118 public static final Policy LAX_POLICY = new Policy() {
127 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
128 @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; }
LocInfoType.h 53 const PrintingPolicy &Policy) const;
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
ProvisionParserTests.java 19 import com.android.emailcommon.provider.Policy;
41 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
46 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
49 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
52 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
55 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
67 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
72 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
75 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
78 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">"
116 Policy policy = parser.getPolicy(); local
129 Policy policy = parser.getPolicy(); local
138 Policy policy = parser.getPolicy(); local
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
ProvisionParserTests.java 19 import com.android.emailcommon.provider.Policy;
41 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
46 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
49 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
52 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
55 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">" +
67 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\AE\\" +
72 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
75 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\">" +
78 "<characteristic type=\"HKLM\\Comm\\Security\\Policy\\LASSD\\LAP\\lap_pw\">"
116 Policy policy = parser.getPolicy(); local
129 Policy policy = parser.getPolicy(); local
138 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_;
backoff_entry_unittest.cc 14 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000 };
18 explicit TestBackoffEntry(const Policy* const policy)
19 : BackoffEntry(policy),
51 BackoffEntry::Policy never_expires_policy = base_policy;
87 BackoffEntry::Policy no_store_policy = base_policy;
94 BackoffEntry::Policy lenient_policy = base_policy;
138 BackoffEntry::Policy jittery_policy = base_policy;
194 BackoffEntry::Policy lenient_policy = base_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()) {
  /packages/apps/Email/src/com/android/email/service/
PolicyService.java 20 import com.android.emailcommon.provider.Policy;
34 public boolean isActive(Policy policy) {
35 return mSecurityPolicy.isActive(policy);
58 public boolean isSupported(Policy policy) {
59 return mSecurityPolicy.isSupported(policy);
62 public Policy clearUnsupportedPolicies(Policy policy) {
    [all...]
  /external/clang/lib/AST/
DeclPrinter.cpp 29 PrintingPolicy Policy;
40 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy,
42 : Out(Out), Policy(Policy), Indentation(Indentation),
94 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy,
96 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation);
131 raw_ostream &Out, const PrintingPolicy &Policy,
134 (*Begin)->print(Out, Policy, Indentation);
143 PrintingPolicy SubPolicy(Policy);
145 TD->print(Out, Policy, Indentation)
    [all...]
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...]
  /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)
  /packages/apps/Email/src/com/android/email/
SecurityPolicy.java 41 import com.android.emailcommon.provider.Policy;
58 private Policy mAggregatePolicy;
70 * Get the security policy instance
98 * Compute the aggregate policy for all accounts that require it, and record it.
111 * @return a policy representing the strongest aggregate. If no policy sets are defined,
112 * a lightweight "nothing required" policy will be returned. Never null.
115 Policy computeAggregatePolicy() {
117 Policy ap = new Policy();
135 Policy policy = new Policy(); local
637 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); local
    [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;
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
ProvisionParser.java 24 import com.android.emailcommon.provider.Policy;
42 private Policy mPolicy = null;
55 public Policy getPolicy() {
82 sb.append(Policy.POLICY_STRING_DELIMITER);
86 * Complete setup of a Policy; we normalize it first (removing inconsistencies, etc.) and then
89 * policy documents, as all versions of the OS support the policies in xml documents).
91 private void setPolicy(Policy policy) {
92 policy.normalize();
94 if (policy.mDontAllowAttachments)
112 Policy policy = new Policy(); local
398 Policy policy = new Policy(); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 24 import java.security.Policy;
41 Policy back = Policy.getPolicy();
43 Policy.setPolicy(plc);
54 Policy.setPolicy(back);
236 class DynamicPolicy extends Policy {

Completed in 856 milliseconds

1 2 3 4 5