HomeSort by relevance Sort by last modified time
    Searched refs:Policy (Results 51 - 75 of 233) sorted by null

1 23 4 5 6 7 8 910

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
ProtectionDomainTest.java 164 * policy.
167 TestPolicy policy = new TestPolicy(); local
168 // null set of permissions [must] force the PD to use Policy - for
171 policy.setTrackPD(pd);
173 Policy.setPolicy(policy);
176 Policy.setPolicy(null);
178 assertFalse(policy.getPdTracked());
183 * policy.
186 TestPolicy policy = new TestPolicy() local
    [all...]
  /external/chromium_org/chrome/browser/ui/search/
search_ipc_router_policy_unittest.cc 30 SearchIPCRouter::Policy* GetSearchIPCRouterPolicy() {
38 SearchIPCRouterPolicyImpl* policy = local
40 policy->set_is_incognito(true);
139 SearchIPCRouter::Policy* router_policy = GetSearchIPCRouterPolicy();
153 SearchIPCRouter::Policy* router_policy = GetSearchIPCRouterPolicy();
180 SearchIPCRouter::Policy* router_policy = GetSearchIPCRouterPolicy();
195 SearchIPCRouter::Policy* router_policy = GetSearchIPCRouterPolicy();
  /external/chromium_org/tools/grit/grit/format/policy_templates/writers/
adml_writer.py 19 ''' Class for generating an ADML policy template. It is used by the
30 # describe the presentation of Policy-Groups and Policies.
47 def WritePolicy(self, policy):
48 '''Generates the ADML elements for a Policy.
61 policy: The Policy to generate ADML elements for.
63 policy_type = policy['type']
64 policy_name = policy['name']
65 if 'caption' in policy:
66 policy_caption = policy['caption'
    [all...]
  /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...]
  /external/chromium_org/tools/deep_memory_profiler/lib/
policy.py 16 # Heap Profile Policy versions
34 """Represents one matching rule in a policy file."""
108 class Policy(object):
109 """Represents a policy, a content of a policy file."""
257 """Loads a policy file of |filename| in a |format|.
265 A loaded Policy object.
268 return Policy.parse(policy_f, filetype)
272 """Parses a policy file content in a |format|.
280 A loaded Policy object
    [all...]
  /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/guava/guava-tests/test/com/google/common/util/concurrent/
JSR166TestCase.java 36 import java.security.Policy;
159 // Policy.setPolicy(permissivePolicy());
622 * Runs Runnable r with a security policy that permits precisely
632 Policy savedPolicy = Policy.getPolicy();
634 Policy.setPolicy(permissivePolicy());
639 Policy.setPolicy(savedPolicy);
642 Policy savedPolicy = Policy.getPolicy();
643 AdjustablePolicy policy = new AdjustablePolicy(permissions) local
    [all...]
  /art/compiler/optimizing/
locations.h 50 // a policy that specifies what kind of location is suitable. Payload
51 // contains register allocation policy.
197 enum Policy {
207 static Location UnallocatedLocation(Policy policy) {
208 return Location(kUnallocated, PolicyField::Encode(policy));
228 Policy GetPolicy() const {
256 typedef BitField<Policy, 0, 3> PolicyField;
  /external/chromium_org/google_apis/gcm/engine/
checkin_request.h 63 const net::BackoffEntry::Policy& backoff_policy,
registration_request.h 87 const net::BackoffEntry::Policy& backoff_policy,
unregistration_request.h 29 // attempt to unregister fails, it will retry using the backoff policy.
79 const net::BackoffEntry::Policy& backoff_policy,
  /external/chromium_org/net/url_request/
url_request_throttler_entry.h 144 BackoffEntry::Policy backoff_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/llvm/lib/Target/AArch64/
AArch64Subtarget.h 126 void overrideSchedPolicy(MachineSchedPolicy &Policy, MachineInstr *begin,
  /external/llvm/lib/Target/PowerPC/
PPCSubtarget.cpp 262 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
267 Policy.OnlyTopDown = false;
268 Policy.OnlyBottomUp = false;
273 Policy.ShouldTrackPressure = true;
  /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 75 private final Policy mPolicy;
142 private static Policy findPolicy(Type type, int width, int height, int flags) {
161 * A policy defines how the atlas performs the packing operation.
163 private static abstract class Policy {
237 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=");
  /external/chromium_org/chrome/browser/extensions/updater/
request_queue_impl.h 20 const net::BackoffEntry::Policy* const backoff_policy,
139 const net::BackoffEntry::Policy* backoff_policy) {
  /external/chromium_org/chromeos/network/portal_detector/
network_portal_detector_strategy.cc 99 BackoffEntryImpl(const net::BackoffEntry::Policy* const policy,
101 : net::BackoffEntry(policy), delegate_(delegate) {}
188 const net::BackoffEntry::Policy& policy) {
189 policy_ = policy;
  /external/chromium_org/third_party/icu/source/data/sprep/
spreplocal.mk 25 # rfc4011 : Policy Based Management Information Base, SNMP
  /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() {

Completed in 346 milliseconds

1 23 4 5 6 7 8 910