/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 46 import com.android.emailcommon.provider.Policy; 64 private Policy mAggregatePolicy; 76 * Get the security policy instance 103 * Compute the aggregate policy for all accounts that require it, and record it. 116 * @return a policy representing the strongest aggregate. If no policy sets are defined, 117 * a lightweight "nothing required" policy will be returned. Never null. 120 Policy computeAggregatePolicy() { 122 Policy aggregate = new Policy(); 140 Policy policy = new Policy(); local [all...] |
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
Policy.java | 34 * Class representing Policy subtree in PerProviderSubscription (PPS) 37 * The Policy specifies additional criteria for Passpoint network selections, such as preferred 39 * updating the policy. 46 public final class Policy implements Parcelable { 47 private static final String TAG = "Policy"; 141 * This specifies the maximum acceptable BSS load policy. This is used to prevent device 154 * Policy associated with a roaming provider. This specifies a priority associated 157 * Contains field under PerProviderSubscription/Policy/PreferredRoamingPartnerList. 186 * Priority associated with this roaming partner policy. 309 * Meta data used for policy update [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
PasspointConfigurationTest.java | 25 import android.net.wifi.hotspot2.pps.Policy; 81 * Helper function for creating a {@link Policy} for testing. 83 * @return {@link Policy} 85 private static Policy createPolicy() { 86 Policy policy = new Policy(); local 87 policy.setMinHomeDownlinkBandwidth(123); 88 policy.setMinHomeUplinkBandwidth(345); 89 policy.setMinRoamingDownlinkBandwidth(567) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Config2Impl.h | 114 EFI_IP4_CONFIG2_POLICY *Policy;
141 // EFI_IP4_CONFIG2_POLICY Policy;
158 EFI_IP4_CONFIG2_POLICY Policy; ///< manual or automatic
184 EFI_IP4_CONFIG2_POLICY Policy;
|
/external/clang/unittests/AST/ |
NamedDeclPrinterTest.cpp | 49 PrintingPolicy Policy = Result.Context->getPrintingPolicy(); 50 Policy.SuppressUnwrittenScope = SuppressUnwrittenScope; 51 ND->printQualifiedName(Out, Policy);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeSettings.java | 22 import android.app.NotificationManager.Policy; 67 private Policy mPolicy; 381 String getPrioritySettingSummary(Policy policy) { 383 s = append(s, isCategoryEnabled(policy, Policy.PRIORITY_CATEGORY_REMINDERS), 385 s = append(s, isCategoryEnabled(policy, Policy.PRIORITY_CATEGORY_EVENTS), 387 if (isCategoryEnabled(policy, Policy.PRIORITY_CATEGORY_MESSAGES)) [all...] |
/external/clang/lib/Sema/ |
DeclSpec.cpp | 448 const PrintingPolicy &Policy) { 453 case DeclSpec::TST_wchar: return Policy.MSWChar ? "__wchar_t" : "wchar_t"; 462 case DeclSpec::TST_bool: return Policy.Bool ? "bool" : "_Bool"; 505 const PrintingPolicy &Policy) { 540 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); 543 PrevSpec, DiagID, Policy); 580 const PrintingPolicy &Policy) { 616 const PrintingPolicy &Policy) { 617 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy); 625 const PrintingPolicy &Policy) { [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Application/IfConfig6/ |
IfConfig6.h | 51 EFI_IP6_CONFIG_POLICY Policy;
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6NvData.h | 59 UINT32 Policy; ///< manual or automatic
|
Ip6ConfigImpl.h | 113 EFI_IP6_CONFIG_POLICY *Policy;
142 // EFI_IP6_CONFIG_POLICY Policy;
167 EFI_IP6_CONFIG_POLICY Policy; ///< manual or automatic
194 EFI_IP6_CONFIG_POLICY Policy;
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
syscall_parameters_restrictions_unittests.cc | 22 #include "sandbox/linux/bpf_dsl/policy.h" 46 class RestrictClockIdPolicy : public bpf_dsl::Policy { 114 class RestrictSchedPolicy : public bpf_dsl::Policy { 182 class RestrictPrlimit64Policy : public bpf_dsl::Policy { 211 class RestrictGetrusagePolicy : public bpf_dsl::Policy {
|
/external/llvm/lib/Target/PowerPC/ |
PPCSubtarget.cpp | 201 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, 204 Policy.OnlyTopDown = false; 205 Policy.OnlyBottomUp = false; 210 Policy.ShouldTrackPressure = true;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
MinimalIntervalPolicy.java | 24 * If a task with this policy succeeds, a {@link BlockerTask} with the same {@link TaskId} of the 28 public class MinimalIntervalPolicy implements Policy {
|
/system/update_engine/update_manager/ |
update_manager-inl.h | 34 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 39 // IMPORTANT: We must still proceed with evaluation of the policy in this 54 // First try calling the actual policy. 58 // If evaluating the main policy failed, defer to the default policy. 60 LOG(WARNING) << "Evaluating policy failed: " << error 66 LOG(WARNING) << "Evaluating default policy failed: " << error; 69 << "Default policy would block; this is a bug, forcing failure."; 83 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 87 // Evaluate the policy [all...] |
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...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
PasspointConfigStoreDataTest.java | 25 import android.net.wifi.hotspot2.pps.Policy; 159 // Policy configuration. 160 Policy policy = new Policy(); local 161 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); 162 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); 167 Policy.RoamingPartner partner2 = new Policy.RoamingPartner() [all...] |
/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 | 161 * {@link Policy#priorityCallSenders}, {@link Policy#priorityCategories}, 162 * {@link Policy#priorityMessageSenders} to define or query this criteria. Users can 609 * Throws a SecurityException if policy access is granted to this package. 632 * Throws a SecurityException if policy access is granted to this package. 652 * Throws a SecurityException if policy access is granted to this package. 671 * Throws a SecurityException if policy access is granted to this package. 693 * Throws a SecurityException if policy access is granted to this package. 750 * Checks the ability to read/modify notification policy for the calling package. 753 * Returns true if the calling package can read/modify notification policy 811 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...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/ |
UserProfileAdd.c | 216 Set the default identity policy of the specified user.
226 EFI_USER_INFO_IDENTITY_POLICY *Policy;
236 Policy = (EFI_USER_INFO_IDENTITY_POLICY *) (NewUserInfo + 1);
237 Policy->Type = EFI_USER_INFO_IDENTITY_TRUE;
238 Policy->Length = sizeof (EFI_USER_INFO_IDENTITY_POLICY);
244 NewUserInfo->InfoSize = sizeof (EFI_USER_INFO) + Policy->Length;
258 Set the default access policy of the specified user.
|
/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 | 19 // in a sub-process, under a seccomp-bpf policy specified in 24 // Policy interface. 72 // The |policy| parameter should be a Policy subclass. 76 // also be passed as an argument to the policy's constructor. Policies 80 // of the process running under the seccomp-bpf policy. 82 #define BPF_TEST(test_case_name, test_name, policy, aux) \ 83 BPF_DEATH_TEST(test_case_name, test_name, DEATH_SUCCESS(), policy, aux) 88 #define BPF_DEATH_TEST(test_case_name, test_name, death, policy, aux) \ 92 new sandbox::BPFTesterCompatibilityDelegate<policy, aux>( [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ZenModePreferenceControllerTest.java | 20 import android.app.NotificationManager.Policy; 54 private Policy mPolicy;
|