/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/ |
Android.mk | 4 # Audio Policy Engine configurable example for generic device build 22 ######### Policy PFW top level file ######### 43 ########## Policy PFW Structures ######### 49 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 62 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 70 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 74 ######### Policy PFW Settings ######### 76 LOCAL_MODULE := parameter-framework.policy 79 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy 110 ######### Policy PFW Settings - No Output ######## [all...] |
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 158 * {@link Policy#priorityCallSenders}, {@link Policy#priorityCategories}, 159 * {@link Policy#priorityMessageSenders} to define or query this criteria. Users can 468 * Throws a SecurityException if policy access is granted to this package. 491 * Throws a SecurityException if policy access is granted to this package. 511 * Throws a SecurityException if policy access is granted to this package. 530 * Throws a SecurityException if policy access is granted to this package. 552 * Throws a SecurityException if policy access is granted to this package. 610 * Checks the ability to read/modify notification policy for the calling package. 613 * Returns true if the calling package can read/modify notification policy 671 service.setNotificationPolicy(mContext.getOpPackageName(), policy); local [all...] |
/external/libchrome/sandbox/linux/bpf_dsl/ |
bpf_dsl_unittest.cc | 26 #include "sandbox/linux/bpf_dsl/policy.h" 65 PolicyEmulator(const golden::Golden& golden, const Policy& policy) 68 program_ = PolicyCompiler(&policy, &traps).Compile(); 116 class BasicPolicy : public Policy { 148 class BooleanLogicPolicy : public Policy { 194 class MoreBooleanLogicPolicy : public Policy { 234 class ArgSizePolicy : public Policy { 257 class NegativeConstantsPolicy : public Policy { 285 class TrappingPolicy : public Policy { [all...] |
/system/update_engine/update_manager/ |
update_manager_unittest.cc | 98 // class extends the DefaultPolicy class to allow extensions of the Policy 132 // A policy that sleeps for a predetermined amount of time, then checks for a 152 // Check for a time threshold. This can be used to ensure that the policy 180 // Tests that policy requests are completed successfully. It is important that 181 // this tests cover all policy requests as defined in Policy. 185 &Policy::UpdateCheckAllowed, &result)); 215 umut_->PolicyRequest(&Policy::UpdateCanStart, &result, 227 &Policy::UpdateCheckAllowed, &result); 235 // The update manager should die (DCHECK) if a policy called synchronousl [all...] |
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.
|
/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/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...] |
/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=");
|
/frameworks/base/core/java/android/service/notification/ |
ZenModeConfig.java | 20 import android.app.NotificationManager.Policy; 636 public Policy toNotificationPolicy() { 638 int priorityCallSenders = Policy.PRIORITY_SENDERS_CONTACTS; 639 int priorityMessageSenders = Policy.PRIORITY_SENDERS_CONTACTS; 641 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS; 644 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; 647 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; 650 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; 653 priorityCategories |= Policy.PRIORITY_CATEGORY_REPEAT_CALLERS; 657 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 {
|