HomeSort by relevance Sort by last modified time
    Searched refs:Policy (Results 26 - 50 of 301) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeVisualInterruptionSettings.java 20 import android.app.NotificationManager.Policy;
39 private NotificationManager.Policy mPolicy;
62 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_OFF));
76 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_ON));
100 mScreenOff.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_OFF));
101 mScreenOn.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_ON));
120 mPolicy = new Policy(mPolicy.priorityCategories,
  /external/clang/lib/AST/
DeclPrinter.cpp 30 PrintingPolicy Policy;
50 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy,
52 : Out(Out), Policy(Policy), Indentation(Indentation),
111 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy,
113 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation);
152 raw_ostream &Out, const PrintingPolicy &Policy,
155 (*Begin)->print(Out, Policy, Indentation);
164 PrintingPolicy SubPolicy(Policy);
201 if (Policy.PolishForDeclaration
    [all...]
TemplateBase.cpp 37 /// \param Policy the printing policy for EnumConstantDecl printing.
39 raw_ostream &Out, const PrintingPolicy& Policy) {
50 ECD->printQualifiedName(Out, Policy);
56 if (T->isBooleanType() && !Policy.MSVCFormatting) {
354 void TemplateArgument::print(const PrintingPolicy &Policy,
362 PrintingPolicy SubPolicy(Policy);
385 getAsTemplate().print(Out, Policy);
389 getAsTemplateOrTemplatePattern().print(Out, Policy);
394 printIntegral(*this, Out, Policy);
    [all...]
StmtPrinter.cpp 40 PrintingPolicy Policy;
44 const PrintingPolicy &Policy,
46 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {}
49 PrintStmt(S, Policy.Indentation);
126 D->print(OS, Policy, IndentLevel);
131 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
174 Attr->printPretty(OS, Policy);
315 PrintingPolicy SubPolicy(Policy);
323 if (Policy.IncludeNewlines) OS << "\n"
    [all...]
  /system/update_engine/update_manager/
update_manager.h 31 #include "update_engine/update_manager/policy.h"
56 // PolicyRequest() evaluates the given policy with the provided arguments and
58 // Policy class for the policy request to call. The UpdateManager will call
59 // this method on the right policy. The pointer |result| must not be null
63 // When the policy request succeeds, the |result| is set and the method
65 // policy called with this method should not block (i.e. return
70 // um.PolicyRequest(&Policy::SomePolicyMethod, &bool_result, arg1, arg2);
73 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
78 // Evaluates the given |policy_method| policy with the provided |args
    [all...]
chromeos_policy_unittest.cc 82 // No device policy loaded by default.
105 // Sets up a default device policy that does not impose any restrictions
124 // Configures the UpdateCheckAllowed policy to return a desired value by
184 // Runs the passed |policy_method| policy and expects it to return the
269 // Policy honors the server provided check poll interval.
314 // We get the next update_check timestamp from the policy's private method
328 // Check that the policy blocks until the next_update_check is reached.
335 &Policy::UpdateCheckAllowed, &result);
343 &Policy::UpdateCheckAllowed, &result);
371 &Policy::UpdateCheckAllowed, &result)
    [all...]
  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
baseline_policy.h 12 #include "sandbox/linux/bpf_dsl/policy.h"
21 // This class implements the Policy interface with a "baseline"
22 // policy for use within Chromium.
23 // The "baseline" policy is somewhat arbitrary. All Chromium policies are an
26 // A baseline policy is only valid for the process for which this object was
28 class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::Policy {
43 // The PID that the policy applies to (should be equal to the current pid).
  /external/llvm/lib/Target/AMDGPU/
AMDGPUSubtarget.cpp 209 void SISubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
214 Policy.ShouldTrackPressure = true;
218 Policy.OnlyTopDown = false;
219 Policy.OnlyBottomUp = false;
223 Policy.ShouldTrackLaneMasks = true;
  /frameworks/base/tools/preload/
WritePreloadedClassFile.java 58 new FileOutputStream(Policy.PRELOADED_CLASS_FILE),
82 if (!Policy.isPreloadable(loadedClass)) {
99 if (proc.fromZygote() && !Policy.isService(proc.name)) {
139 = Policy.isPreloadable(operation.loadedClass);
152 return Policy.isPreloadable(clazz)
Android.mk 10 Policy.java \
  /device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
ModifyIdentityPolicy.c 2 The functions for identification policy modification.
19 Verify the new identity policy in the current implementation. The same credential
20 provider can't appear twice in one identity policy.
24 @retval TRUE The NewGuid was found in the identity policy.
63 @param[in] Identity Identity policy item including credential provider.
127 Delete User's credental from all the providers that exist in User's identity policy.
129 @param[in] IdentityPolicy Point to User's identity policy.
130 @param[in] IdentityPolicyLen The length of the identity policy.
162 @param[in] IdentityPolicy Point to user identity item in new identification policy.
163 @param[in] Offset The item offset in the new identification policy.
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
BaseTask.java 36 * Policy}
55 @NonNull private final List<Policy> mPolicies = new ArrayList<>();
96 * Should be call in the constructor or {@link Policy#onCreate(BaseTask, Bundle)} will be missed.
99 public BaseTask addPolicy(Policy policy) {
101 mPolicies.add(policy);
106 * Indicate the task has failed. {@link Policy#onFail()} will be triggered once the execution
163 for (Policy policy : mPolicies) {
164 policy.onCreate(this, extras)
    [all...]
PostponePolicy.java 23 * A task with Postpone policy will not be executed immediately. It will wait for a while and if a
28 public class PostponePolicy implements Policy {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
PolicyServiceProxy.java 24 import com.android.emailcommon.provider.Policy;
49 public boolean isActive(final Policy arg0) throws RemoteException {
61 // This is not a great situation, but it's better to act like the policy isn't enforced
71 public void setAccountPolicy(final long accountId, final Policy policy,
73 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
77 public void setAccountPolicy2(final long accountId, final Policy policy,
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify);
97 // This is not a great situation, but it's better to act like the policy isn't enforce
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
FinalizableReferenceQueueClassLoaderUnloadingTest.java 30 import java.security.Policy;
73 private static class PermissivePolicy extends Policy {
151 Policy oldPolicy = Policy.getPolicy();
154 Policy.setPolicy(new PermissivePolicy());
159 Policy.setPolicy(oldPolicy);
180 Policy oldPolicy = Policy.getPolicy();
183 Policy.setPolicy(new PermissivePolicy());
189 Policy.setPolicy(oldPolicy)
    [all...]
  /external/libchrome/sandbox/linux/bpf_dsl/
policy_compiler.h 21 class Policy;
30 PolicyCompiler(const Policy* policy, TrapRegistry* registry);
33 // Compile registers any trap handlers needed by the policy and
34 // compiles the policy to a BPF program, which it returns.
38 // system calls, regardless of policy.
44 // TODO(mdempsky): Move this into Policy?
85 // Compile the configured policy into a complete instruction sequence.
101 // policy.
139 const Policy* policy_
    [all...]
  /external/clang/include/clang/AST/
LocInfoType.h 52 const PrintingPolicy &Policy) const;
  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tests_unittest.cc 19 #include "sandbox/linux/bpf_dsl/policy.h"
45 class EmptyClassTakingPolicy : public bpf_dsl::Policy {
86 class EnosysPtracePolicy : public bpf_dsl::Policy {
117 std::unique_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
118 return std::unique_ptr<bpf_dsl::Policy>(new EnosysPtracePolicy());
  /external/llvm/lib/Target/AArch64/
AArch64Subtarget.cpp 140 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
144 Policy.OnlyTopDown = false;
145 Policy.OnlyBottomUp = false;
149 Policy.DisableLatencyHeuristic = DisableLatencySchedHeuristic;
  /frameworks/base/services/core/java/com/android/server/pm/
SELinuxMMAC.java 59 // All policy stanzas read from mac_permissions.xml. This is also the lock
60 // to synchronize access during policy load and access attempts.
61 private static List<Policy> sPolicies = new ArrayList<>();
85 * @return boolean indicating if policy was correctly loaded. A value of false
87 * constructed policy stanzas. A value of true means that all stanzas
92 List<Policy> policies = new ArrayList<>();
99 Slog.d(TAG, "Using policy file " + MAC_PERMISSIONS[i]);
103 parser.require(XmlPullParser.START_TAG, null, "policy");
136 // Now sort the policy stanzas
148 for (Policy policy : sPolicies)
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
PolicyService.java 28 import com.android.emailcommon.provider.Policy;
41 public boolean isActive(Policy policy) {
43 return mSecurityPolicy.isActive(policy);
70 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
71 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
75 public void setAccountPolicy2(long accountId, Policy policy, String securityKey,
78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify)
    [all...]
  /external/libbrillo/brillo/
backoff_entry_unittest.cc 13 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000, false };
17 explicit TestBackoffEntry(const Policy* const policy)
18 : BackoffEntry(policy),
50 BackoffEntry::Policy never_expires_policy = base_policy;
86 BackoffEntry::Policy always_delay_policy = base_policy;
106 BackoffEntry::Policy no_store_policy = base_policy;
113 BackoffEntry::Policy lenient_policy = base_policy;
163 BackoffEntry::Policy always_delay_policy = base_policy;
200 BackoffEntry::Policy jittery_policy = base_policy
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.java 35 * The Policy class represents a set of security requirements that are associated with an Account.
39 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable {
41 public static final String TAG = "Email/Policy";
43 public static final String TABLE_NAME = "Policy";
47 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/policy");
52 /* Small offset (2 minutes) added to policy expiration to make user testing easier. */
122 public static final Policy NO_POLICY = new Policy();
130 public Policy() {
138 public static Policy restorePolicyWithId(Context context, long id)
    [all...]
  /frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
PpsMoParserTest.java 26 import android.net.wifi.hotspot2.pps.Policy;
164 // Policy configuration.
165 Policy policy = new Policy(); local
166 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>();
167 Policy.RoamingPartner partner1 = new Policy.RoamingPartner();
172 Policy.RoamingPartner partner2 = new Policy.RoamingPartner()
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
PasspointXmlUtilsTest.java 25 import android.net.wifi.hotspot2.pps.Policy;
137 // Policy configuration.
138 Policy policy = new Policy(); local
139 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>();
140 Policy.RoamingPartner partner1 = new Policy.RoamingPartner();
145 Policy.RoamingPartner partner2 = new Policy.RoamingPartner()
    [all...]

Completed in 2323 milliseconds

12 3 4 5 6 7 8 91011>>