/external/conscrypt/src/openjdk/java/dalvik/system/ |
BlockGuard.java | 26 public static Policy getThreadPolicy() { 30 public interface Policy { 34 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;
|
/external/conscrypt/src/stub/java/dalvik/system/ |
BlockGuard.java | 24 public static Policy getThreadPolicy() { 28 public interface Policy { 32 public static class PolicyWrapper implements Policy {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Policy.aidl | 18 parcelable Policy;
|
/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);
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
bpf_tester_compatibility_delegate.h | 15 // deprecated-style BPF policy (that is a SyscallEvaluator function pointer, 18 // This allows both the policy and the test function to take a pointer to an 21 template <class Policy, class Aux> 31 scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override { 35 // the policy, which could in turn pass it to the kernel via Trap(). 36 return scoped_ptr<bpf_dsl::Policy>(new Policy(&aux_));
|
sandbox_bpf.h | 19 class Policy; 22 // This class can be used to apply a syscall sandboxing policy expressed in a 23 // bpf_dsl::Policy object to the current process. 33 // Ownership of |policy| is transfered here to the sandbox object. 35 explicit SandboxBPF(bpf_dsl::Policy* policy); 36 // NOTE: Setting a policy and starting the sandbox is a one-way operation. 61 // a new policy requires making system calls, that might already be 64 // combined policy. So, it should only be used if there are no alternatives. 97 // 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</code> class. 33 * service provider who wishes to supply a Policy implementation. 36 * a public constructor that takes a <code>Policy.Parameters</code> 39 * <code>Policy.Parameters</code> 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,
|
/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 { 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/libweave/src/ |
backoff_entry.h | 13 // on requests to a given resource, given a back-off policy. 20 // The set of parameters that define a back-off policy. 21 struct Policy { 57 // Lifetime of policy must enclose lifetime of BackoffEntry. The 59 explicit BackoffEntry(const Policy* const policy); 67 // be rejected at the present time due to exponential back-off policy. 83 // had for Policy::entry_lifetime_ms. 107 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...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeSettings.java | 20 import android.app.NotificationManager.Policy; 38 private Policy mPolicy; 83 s = appendLowercase(s, isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_REMINDERS), 85 s = appendLowercase(s, isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_EVENTS), 87 if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_MESSAGES)) { 88 if (mPolicy.priorityMessageSenders == Policy.PRIORITY_SENDERS_ANY) { 94 if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_CALLS)) { 95 if (mPolicy.priorityCallSenders == Policy.PRIORITY_SENDERS_ANY) { 100 } else if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_REPEAT_CALLERS)) { 108 if (isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_ON [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...] |
/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() {}
|