/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/lib/Tooling/Core/ |
QualTypeNames.cpp | 469 PrintingPolicy Policy(Ctx.getPrintingPolicy()); 470 Policy.SuppressScope = false; 471 Policy.AnonymousTagLocations = false; 472 Policy.PolishForDeclaration = true; 473 Policy.SuppressUnwrittenScope = true; 475 return FQQT.getAsString(Policy);
|
/cts/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 22 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_AMBIENT; 23 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT; 24 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS; 25 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST; 26 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK; 27 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_OFF; 28 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_ON; 29 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR; 496 Assert.assertEquals("Notification Policy Access Grant is " + 621 mNotificationManager.setNotificationPolicy(new NotificationManager.Policy( 625 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); local 1936 NotificationManager.Policy policy = new NotificationManager.Policy(0,0 ,0 , local [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/ |
Ifconfig.c | 49 EFI_IP4_CONFIG2_POLICY Policy;
491 // Get the config policy.
498 &IfCb->Policy
587 // Print interface config policy.
589 if (IfCb->Policy == Ip4Config2PolicyDhcp) {
761 EFI_IP4_CONFIG2_POLICY Policy;
773 // triggered by the policy transition (static -> dhcp).
779 Policy = Ip4Config2PolicyStatic;
785 &Policy
794 Policy = Ip4Config2PolicyDhcp; [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
HttpBootDhcp6.c | 464 // Select offer by the default policy or by order, and record the SelectIndex
611 Set the IP6 policy to Automatic.
615 @retval EFI_SUCCESS Switch the IP policy succesfully.
624 EFI_IP6_CONFIG_POLICY Policy;
633 // Get and store the current policy of IP6 driver.
639 &Policy
645 if (Policy == Ip6ConfigPolicyManual) {
646 Policy = Ip6ConfigPolicyAutomatic;
651 &Policy
748 EFI_IP6_CONFIG_POLICY Policy;
[all...] |
/external/clang/lib/AST/ |
DeclarationName.cpp | 138 PrintingPolicy Policy) { 140 Policy.adjustForCPlusPlus(); 146 if (Policy.SuppressTemplateArgsInCXXConstructors) { 152 ClassType.print(OS, Policy); 155 void DeclarationName::print(raw_ostream &OS, const PrintingPolicy &Policy) { 170 return printCXXConstructorDestructorName(N.getCXXNameType(), OS, Policy); 174 return printCXXConstructorDestructorName(N.getCXXNameType(), OS, Policy); 206 PrintingPolicy CXXPolicy = Policy;
|
/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() {
|
HtmlPolicyBuilderTest.java | 292 HtmlSanitizer.Policy policy = b.build(HtmlStreamRenderer.create(sb, local 296 HtmlSanitizer.sanitize(src, policy);
|
/external/python/cpython3/Lib/email/ |
policy.py | 1 """This will be the home for the policy that hooks in the new 6 from email._policybase import Policy, Compat32, compat32, _extend_docstrings 15 'Policy', 26 class EmailPolicy(Policy): 31 The API extensions enabled by this policy are currently provisional. 34 This policy adds new header parsing and folding algorithms. Instead of 40 all Policies, this policy adds the following additional attributes: 108 # switch a Message object between a Compat32 policy and a policy derived 110 # Message object constructed with this policy to be passed to a librar [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6Config.vfr | 108 oneof varid = IP6_CONFIG_IFR_NVDATA.Policy,
117 suppressif ideqval IP6_CONFIG_IFR_NVDATA.Policy == IP6_POLICY_AUTO;
|
Ip6ConfigNv.c | 872 @retval EFI_UNSUPPORTED The policy is not supported in the current implementation.
887 EFI_IP6_CONFIG_POLICY Policy;
946 // Get current policy.
953 &Policy
960 if (Policy == Ip6ConfigPolicyManual) {
961 IfrNvData->Policy = IP6_POLICY_MANUAL;
962 } else if (Policy == Ip6ConfigPolicyAutomatic) {
963 IfrNvData->Policy = IP6_POLICY_AUTO;
996 Convert IFR data into IP6 configuration data. The policy, alternative interface
1028 if (IfrNvData->Policy == IP6_POLICY_AUTO) { [all...] |
/external/llvm/include/llvm/Target/ |
TargetSubtargetInfo.h | 150 /// \brief Override generic scheduling policy within a region. 154 /// changes to the generic scheduling policy. 155 virtual void overrideSchedPolicy(MachineSchedPolicy &Policy,
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowNotificationManager.java | 10 import android.app.NotificationManager.Policy; 38 private Policy notificationPolicy; 180 * Currently does not support checking for granted policy access. 190 * @return the value specified via {@link #setNotificationPolicy(Policy)} 193 protected final Policy getNotificationPolicy() { 206 * Currently does not support checking for granted policy access. 211 protected final void setNotificationPolicy(Policy policy) { 212 notificationPolicy = policy; 288 * Enforces that the caller has notification policy access [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
MCCodePadder.h | 69 bool addPolicy(MCCodePaddingPolicy *Policy); 133 /// A mask holding the kind of this policy, i.e. only the i'th bit will be set 136 /// Instruction window size relevant to this policy. 200 /// Returns the kind mask of this policy - A mask holding the kind of this 201 /// policy, i.e. only the i'th bit will be set where i is the kind number. 203 /// Returns the instruction window size relevant to this policy. 209 /// Returns true iff this policy needs padding for a given basic block. 214 /// \returns true iff this policy needs padding for the basic block. 219 /// Returns true iff this policy needs padding for a given instruction. 223 /// \returns true iff this policy needs padding for \p Inst [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
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.
|
/art/compiler/optimizing/ |
locations.h | 76 // a policy that specifies what kind of location is suitable. Payload 77 // contains register allocation policy. 347 enum Policy { 358 static Location UnallocatedLocation(Policy policy) { 359 return Location(kUnallocated, PolicyField::Encode(policy)); 387 Policy GetPolicy() const { 419 typedef BitField<Policy, 0, 3> PolicyField; 431 std::ostream& operator<<(std::ostream& os, const Location::Policy& rhs);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork2CommandsLib/ |
Ifconfig6.c | 49 EFI_IP6_CONFIG_POLICY Policy;
904 // Get the config policy.
911 &IfCb->Policy
1008 // Print interface config policy.
1010 if (IfCb->Policy == Ip6ConfigPolicyAutomatic) {
1116 EFI_IP6_CONFIG_POLICY Policy;
1135 Policy = Ip6ConfigPolicyManual;
1141 &Policy
1150 Policy = Ip6ConfigPolicyAutomatic;
1156 &Policy
[all...] |
/external/clang/lib/Sema/ |
SemaCodeComplete.cpp | [all...] |
/external/syzkaller/vendor/google.golang.org/genproto/googleapis/iam/v1/ |
iam_policy.pb.go | 29 // REQUIRED: The resource for which the policy is being specified. 33 // REQUIRED: The complete policy to be applied to the `resource`. The size of 34 // the policy is limited to a few 10s of KB. An empty policy is a 35 // valid policy but certain Cloud Platform services (such as Projects) 37 Policy *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` 74 func (m *SetIamPolicyRequest) GetPolicy() *Policy { [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
DxeImageVerificationLib.c | [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | [all...] |
/external/libbrillo/brillo/ |
backoff_entry.cc | 17 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) 18 : policy_(policy) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
TargetSubtargetInfo.h | 180 /// Override generic scheduling policy within a region. 184 /// changes to the generic scheduling policy. 185 virtual void overrideSchedPolicy(MachineSchedPolicy &Policy,
|