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

1 2 3 4 5 6 7 8 91011>>

  /external/conscrypt/android-stub/src/main/java/dalvik/system/
BlockGuard.java 22 public static Policy getThreadPolicy() {
26 public interface Policy { void onNetwork(); }
28 public static class PolicyWrapper implements Policy {
  /external/libchrome/sandbox/linux/bpf_dsl/
policy.h 15 // Interface to implement to define a BPF sandbox policy.
16 class SANDBOX_EXPORT Policy {
18 Policy() {}
19 virtual ~Policy() {}
31 DISALLOW_COPY_AND_ASSIGN(Policy);
policy.cc 5 #include "sandbox/linux/bpf_dsl/policy.h"
14 ResultExpr Policy::InvalidSyscall() const {
  /frameworks/base/core/java/android/app/
NotificationManager.aidl 19 parcelable NotificationManager.Policy;
  /frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
Policy.aidl 19 parcelable Policy;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.aidl 18 parcelable Policy;
  /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...]
  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tester_compatibility_delegate.h 16 // deprecated-style BPF policy (that is a SyscallEvaluator function pointer,
19 // This allows both the policy and the test function to take a pointer to an
22 template <class Policy, class Aux>
32 std::unique_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
36 // the policy, which could in turn pass it to the kernel via Trap().
37 return std::unique_ptr<bpf_dsl::Policy>(new Policy(&aux_));
sandbox_bpf.h 20 class Policy;
23 // This class can be used to apply a syscall sandboxing policy expressed in a
24 // bpf_dsl::Policy object to the current process.
34 // Ownership of |policy| is transfered here to the sandbox object.
36 explicit SandboxBPF(bpf_dsl::Policy* policy);
37 // NOTE: Setting a policy and starting the sandbox is a one-way operation.
62 // a new policy requires making system calls, that might already be
65 // combined policy. So, it should only be used if there are no alternatives.
98 // Assembles a BPF filter program from the current policy. After calling thi
    [all...]
  /libcore/ojluni/src/main/java/java/security/
Policy.java 38 public abstract class Policy {
43 public static Policy getPolicy()
48 public static void setPolicy(Policy p)
52 public static Policy getInstance(String type, Policy.Parameters params)
57 public static Policy getInstance(String type,
58 Policy.Parameters params,
65 public static Policy getInstance(String type,
66 Policy.Parameters params,
80 public Policy.Parameters getParameters()
    [all...]
PolicySpi.java 31 * for the {@code Policy} class.
33 * service provider who wishes to supply a Policy implementation.
36 * a public constructor that takes a {@code Policy.Parameters}
39 * {@code Policy.Parameters} input.
48 * Check whether the policy has granted a Permission to a ProtectionDomain.
61 * Refreshes/reloads the policy configuration. The behavior of this method
63 * on a file-based policy will cause the file to be re-read.
67 * by the policy implementation.
76 * Policy.UNSUPPORTED_EMPTY_COLLECTION object. This method can be
77 * overridden if the policy implementation can return a set o
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
OSUCertType.java 8 Policy,
  /frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
PolicyTest.java 37 * Unit tests for {@link android.net.wifi.hotspot2.pps.Policy}.
46 * Helper function for creating a {@link Policy} for testing.
48 * @return {@link Policy}
50 private static Policy createPolicy() {
51 Policy policy = new Policy(); local
52 policy.setMinHomeDownlinkBandwidth(123);
53 policy.setMinHomeUplinkBandwidth(345);
54 policy.setMinRoamingDownlinkBandwidth(567)
134 Policy policy = createPolicy(); local
146 Policy policy = createPolicy(); local
158 Policy policy = createPolicy(); local
184 Policy policy = createPolicy(); local
196 Policy policy = new Policy(); local
218 Policy policy = createPolicy(); local
230 Policy policy = createPolicy(); local
242 Policy policy = createPolicy(); local
259 Policy policy = createPolicy(); local
276 Policy policy = createPolicy(); local
290 Policy policy = createPolicy(); local
304 Policy policy = createPolicy(); local
    [all...]
  /system/update_engine/update_manager/
policy.h 30 // The three different results of a policy request.
40 // UpdateCheckAllowed policy.
46 // A target version prefix, if imposed by policy; otherwise, an empty string.
48 // A target channel, if so imposed by policy; otherwise, an empty string.
58 // everything that a policy might need and that occurred since the first time
74 // update is seen; they are updated at the policy's descretion (via
88 // to the policy. For a newly seen payload, this should be -1.
91 // determined in the previous call to the policy. For a newly seen payload,
95 // the previous call to this policy has returned, or since this payload was
157 // policy on the next time it is called
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
BlockGuard.java 52 public interface Policy {
74 * Returns the policy bitmask, for shipping over Binder calls
75 * to remote threads/processes and reinstantiating the policy
114 return "policy=" + mPolicyState + " violation=" + mPolicyViolated +
120 * The default, permissive policy that doesn't prevent any operations.
122 public static final Policy LAX_POLICY = new Policy() {
132 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
133 @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; }
  /packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
Policy.java 23 * BaseTask#addPolicy(Policy)} to add a policy.
25 public interface 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...]
  /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...]
  /external/libbrillo/brillo/
backoff_entry.h 14 // 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_;
  /frameworks/base/tools/preload/
Policy.java 22 * Policy that governs which classes are preloaded.
24 public class Policy {
29 private Policy() {}
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModePrioritySettings.java 20 import android.app.NotificationManager.Policy;
50 private Policy mPolicy;
69 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_REMINDERS),
84 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_EVENTS),
105 getNewPriorityCategories(allowMessages, Policy.PRIORITY_CATEGORY_MESSAGES),
124 savePolicy(getNewPriorityCategories(allowCalls, Policy.PRIORITY_CATEGORY_CALLS),
144 NotificationManager.Policy.PRIORITY_CATEGORY_REPEAT_CALLERS);
169 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS)
173 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES)
175 mReminders.setChecked(isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS))
    [all...]

Completed in 868 milliseconds

1 2 3 4 5 6 7 8 91011>>