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

1 23 4 5 6 7 8 9

  /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/owasp/sanitizer/src/main/org/owasp/html/
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/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 60 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 141 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 124 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 12 import com.android.emailcommon.provider.Policy;
47 private static final String SAVESTATE_POLICY = "SetupDataFragment.policy";
61 private volatile Policy mPolicy;
165 public synchronized Policy getPolicy() {
169 public synchronized void setPolicy(Policy policy) {
170 mPolicy = policy;
285 sb.append(":policy=");
AccountCheckSettingsFragment.java 35 import com.android.emailcommon.provider.Policy;
99 * Called when we determine that a security policy will need to be installed
232 // report that we need to accept a security policy
396 mSetupData.setPolicy((Policy)bundle.getParcelable(
400 final Policy policy = bundle.getParcelable( local
402 final String unsupported = policy.mProtocolPoliciesUnsupported;
404 unsupported.split("" + Policy.POLICY_STRING_DELIMITER);
  /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/third_party/icu/source/data/sprep/
spreplocal.mk 22 # 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() {
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasFolderSync.java 25 import com.android.emailcommon.provider.Policy;
61 /** During validation, this holds the policy we must enforce. */
62 private Policy mPolicy;
192 // Regardless of whether the policy is supported, we return false because there's
  /external/chromium_org/chrome/browser/captive_portal/
captive_portal_service.h 105 net::BackoffEntry::Policy backoff_policy;
123 // Updates BackoffEntry::Policy and creates a new BackoffEntry, which
183 // Policy for throttling portal checks.
187 // captive_portal::CaptivePortalResult, BackoffEntry::Policy is updated and
  /external/chromium_org/components/policy/core/common/cloud/
external_policy_data_updater.cc 5 #include "components/policy/core/common/cloud/external_policy_data_updater.h"
14 #include "components/policy/core/common/cloud/external_policy_data_fetcher.h"
19 namespace policy { namespace
27 const net::BackoffEntry::Policy kRetrySoonPolicy = {
53 const net::BackoffEntry::Policy kRetryLaterPolicy = {
78 // When the data fails validation (maybe because the policy URL and the data
81 const net::BackoffEntry::Policy kRetryMuchLaterPolicy = {
400 } // namespace policy
  /external/chromium_org/tools/deep_memory_profiler/tests/
dmprof_test.py 18 from lib.policy import Policy
163 policy = Policy.parse(cStringIO.StringIO(self._TEST_POLICY), 'json')
164 self.assertTrue(policy)
165 self.assertEqual('POLICY_DEEP_3', policy.version)
168 policy = Policy.parse(cStringIO.StringIO(self._TEST_POLICY), 'json')
169 self.assertTrue(policy)
182 self.assertEqual('malloc-v8', policy.find_malloc(bucket1)
    [all...]

Completed in 2866 milliseconds

1 23 4 5 6 7 8 9