HomeSort by relevance Sort by last modified time
    Searched refs:Policy (Results 76 - 100 of 268) sorted by null

1 2 34 5 6 7 8 91011

  /external/clang/lib/Sema/
SemaStmtAttr.cpp 184 PrintingPolicy Policy(S.Context.getLangOpts());
189 << /*Duplicate=*/true << PrevAttr->getDiagnosticName(Policy)
190 << LH->getDiagnosticName(Policy);
201 << CategoryState.StateAttr->getDiagnosticName(Policy)
202 << CategoryState.NumericAttr->getDiagnosticName(Policy);
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
reduce_to_column.hpp 124 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
127 const int BLOCK_SIZE_X = Policy::block_size_x;
128 const int BLOCK_SIZE_Y = Policy::block_size_y;
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlChangeReporter.java 38 * Sits between the HTML parser, and then policy, and the renderer so that it
48 * The renderer receives events from the policy unchanged, but the reporter
50 * policy.
69 public void setPolicy(HtmlSanitizer.Policy policy) {
70 this.input.policy = policy;
75 public HtmlSanitizer.Policy getWrappedPolicy() { return input; }
77 private static final class InputChannel<T> implements HtmlSanitizer.Policy {
78 HtmlStreamEventReceiver policy; field in class:HtmlChangeReporter.InputChannel
    [all...]
HtmlSanitizer.java 38 * Consumes an HTML stream, and dispatches events to a policy object which
44 * Receives events based on the HTML stream, and applies a policy to decide
53 public interface Policy extends HtmlStreamEventReceiver {
85 * Sanitizes the given HTML by applying the given policy to it.
97 * @param policy The Policy that will receive events based on the tokens in
98 * HTML. Typically, this policy ends up routing the events to an
102 public static void sanitize(@Nullable String html, final Policy policy) {
106 = new TagBalancingHtmlStreamEventReceiver(policy);
    [all...]
PolicyFactory.java 54 implements Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> {
70 public HtmlSanitizer.Policy apply(@Nonnull HtmlStreamEventReceiver out) {
80 * that were rejected by the policy. This may tie into intrusion
86 public <CTX> HtmlSanitizer.Policy apply(
109 * that were rejected by the policy. This may tie into intrusion
114 * @return a string of HTML that complies with this factory's policy.
  /development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
Policy.java 28 public class Policy {
54 public Policy(Context context) {
64 * Saves the policy parameters.
117 * Getter for the policy administrator ComponentName object.
141 * Configure policy defined in the object.
161 // Deletes previously stored password policy.
  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tests.h 17 // in a sub-process, under a seccomp-bpf policy specified in
22 // Policy interface.
70 // The |policy| parameter should be a Policy subclass.
74 // also be passed as an argument to the policy's constructor. Policies
78 // of the process running under the seccomp-bpf policy.
80 #define BPF_TEST(test_case_name, test_name, policy, aux) \
81 BPF_DEATH_TEST(test_case_name, test_name, DEATH_SUCCESS(), policy, aux)
86 #define BPF_DEATH_TEST(test_case_name, test_name, death, policy, aux) \
90 new sandbox::BPFTesterCompatibilityDelegate<policy, aux>(
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
JSR166TestCase.java 31 import java.security.Policy;
161 // Policy.setPolicy(permissivePolicy());
624 * Runs Runnable r with a security policy that permits precisely
634 Policy savedPolicy = Policy.getPolicy();
636 Policy.setPolicy(permissivePolicy());
641 Policy.setPolicy(savedPolicy);
644 Policy savedPolicy = Policy.getPolicy();
645 AdjustablePolicy policy = new AdjustablePolicy(permissions) local
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DebugCheckers.cpp 101 PrintingPolicy Policy(mgr.getLangOpts());
102 Policy.TerseOutput = true;
103 Policy.PolishForDeclaration = true;
104 D->print(llvm::errs(), Policy);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/76/1/.cp/ant_tasks/
resources-ant.jar 
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/
reduce_to_vec.hpp 177 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
187 grid_reduce_to_vec_detail::reduceToColumn<Reductor, Policy>(shrinkPtr(src),
194 template <class Reductor, class Policy, class SrcPtr, typename ResType>
202 grid_reduce_to_vec_detail::reduceToColumn<Reductor, Policy>(shrinkPtr(src),
209 // default policy
  /external/owasp/sanitizer/src/main/org/owasp/html/examples/
SlashdotPolicyExample.java 59 * Accordingly, we've built a policy file that allows fairly similar
66 /** A policy definition that matches the minimal HTML that Slashdot allows. */
67 public static final Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy>
117 // Use the policy defined above to sanitize the HTML.
  /frameworks/base/graphics/java/android/graphics/
Atlas.java 70 private final Policy mPolicy;
137 private static Policy findPolicy(Type type, int width, int height, int flags) {
156 * A policy defines how the atlas performs the packing operation.
158 private static abstract class Policy {
232 private static class SlicePolicy extends Policy {
  /packages/apps/Email/src/com/android/email/activity/setup/
SetupDataFragment.java 13 import com.android.emailcommon.provider.Policy;
40 private static final String SAVESTATE_POLICY = "SetupDataFragment.policy";
54 private volatile Policy mPolicy;
158 public synchronized Policy getPolicy() {
162 public synchronized void setPolicy(Policy policy) {
163 mPolicy = policy;
278 sb.append(":policy=");
  /system/update_engine/update_manager/
default_policy.h 26 #include "update_engine/update_manager/policy.h"
33 // it was a design decision to keep policy calls side-effect free. We make an
58 // The DefaultPolicy is a safe Policy implementation that doesn't fail. The
59 // values returned by this policy are safe default in case of failure of the
60 // actual policy being used by the UpdateManager.
61 class DefaultPolicy : public Policy {
67 // Policy overrides.
90 // Policy override.
mock_policy.h 25 #include "update_engine/update_manager/policy.h"
29 // A mocked implementation of Policy.
30 class MockPolicy : public Policy {
59 // Policy overrides.
81 // Policy override.
  /frameworks/base/core/java/android/service/notification/
ZenModeConfig.java 20 import android.app.NotificationManager.Policy;
628 public Policy toNotificationPolicy() {
630 int priorityCallSenders = Policy.PRIORITY_SENDERS_CONTACTS;
631 int priorityMessageSenders = Policy.PRIORITY_SENDERS_CONTACTS;
633 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS;
636 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES;
639 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS;
642 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS;
645 priorityCategories |= Policy.PRIORITY_CATEGORY_REPEAT_CALLERS;
649 suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_SCREEN_OFF
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
CycleDetectingLockFactory.java 55 * execution of the {@link Policy} specified when creating the factory. The
64 * (except those with {@code Policy.DISABLED}). A lock's behavior when a cycle
65 * is detected, however, is defined by the {@code Policy} of the factory that
106 * a potential deadlock situation, and the appropriate Policy is executed.
177 public interface Policy {
193 * Pre-defined {@link Policy} implementations.
198 public enum Policies implements Policy {
200 * When potential deadlock is detected, this policy results in the throwing
213 * When potential deadlock is detected, this policy results in the logging
231 * Note that locks created by a factory with this policy will <em>not</em
482 final Policy policy; field in class:CycleDetectingLockFactory
    [all...]
  /external/clang/unittests/AST/
StmtPrinterTest.cpp 36 PrintingPolicy Policy = Context->getPrintingPolicy();
37 S->printPretty(Out, /*Helper*/ nullptr, Policy);
  /external/owasp/sanitizer/src/tests/org/owasp/html/
HtmlPolicyBuilderFuzzerTest.java 48 * Throws random policy calls to find evidence against the claim that the
49 * security of the policy is decoupled from that of the parser.
58 final Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> policyFactory
92 HtmlSanitizer.Policy policy = policyFactory.apply( local
94 policy.openDocument();
107 policy.openTag(pick(rnd, ELEMENT_NAMES), attributes);
110 policy.closeTag(pick(rnd, ELEMENT_NAMES));
113 policy.text(pickChunk(rnd));
120 policy.closeDocument()
    [all...]
HtmlSanitizerFuzzerTest.java 50 private static final HtmlSanitizer.Policy DO_NOTHING_POLICY
51 = new HtmlSanitizer.Policy() {
  /frameworks/av/services/audiopolicy/engineconfigurable/wrapper/config/
audio_policy_criteria.conf 4 # Audio Policy Criteria file example for generic device build
27 # Policy {
36 # Policy {
45 Policy {
  /libcore/luni/src/test/java/dalvik/system/
BlockGuardTest.java 32 private BlockGuard.Policy oldPolicy;
142 public static class RecordingPolicy implements BlockGuard.Policy {
  /external/llvm/include/llvm/Target/
TargetSubtargetInfo.h 141 /// \brief Override generic scheduling policy within a region.
145 /// changes to the generic scheduling policy.
146 virtual void overrideSchedPolicy(MachineSchedPolicy &Policy,
  /frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
HomeSP.java 27 private final Policy mPolicy;
78 Policy policy,
100 mPolicy = policy;
116 public Policy getPolicy() {

Completed in 287 milliseconds

1 2 34 5 6 7 8 91011