/frameworks/base/tools/aapt2/xml/ |
XmlActionExecutor.cpp | 51 bool XmlNodeAction::execute(XmlActionExecutorPolicy policy, SourcePathDiagnostics* diag, 63 error |= !iter->second.execute(policy, diag, childEl); 68 if (policy == XmlActionExecutorPolicy::Whitelist) { 80 bool XmlActionExecutor::execute(XmlActionExecutorPolicy policy, IDiagnostics* diag, 86 if (policy == XmlActionExecutorPolicy::Whitelist) { 96 return iter->second.execute(policy, &sourceDiag, el); 100 if (policy == XmlActionExecutorPolicy::Whitelist) {
|
XmlActionExecutor.h | 71 bool execute(XmlActionExecutorPolicy policy, SourcePathDiagnostics* diag, Element* el) const; 97 bool execute(XmlActionExecutorPolicy policy, IDiagnostics* diag, XmlResource* doc) const;
|
/external/srtp/test/ |
dtls_srtp_driver.c | 124 srtp_policy_t policy; local 178 policy.key = key; 180 /* initialize SRTP policy from profile */ 181 err = crypto_policy_set_from_profile_for_rtp(&policy.rtp, profile); 183 err = crypto_policy_set_from_profile_for_rtcp(&policy.rtcp, profile); 185 policy.ssrc.type = ssrc_any_inbound; 186 policy.ekt = NULL; 187 policy.window_size = 128; 188 policy.allow_repeat_tx = 0; 189 policy.next = NULL [all...] |
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_host.cc | 59 // Open |requested_filename| with |flags| if allowed by our policy. 62 void OpenFileForIPC(const BrokerPolicy& policy, 71 const bool safe_to_open_file = policy.GetFileNameIfAllowedToOpen( 88 write_pickle->WriteInt(-policy.denied_errno()); 93 // policy. Write the syscall return value (-errno) to |write_pickle|. 94 void AccessFileForIPC(const BrokerPolicy& policy, 100 const bool safe_to_access_file = policy.GetFileNameIfAllowedToAccess( 112 write_pickle->WriteInt(-policy.denied_errno()); 119 bool HandleRemoteCommand(const BrokerPolicy& policy, 134 AccessFileForIPC(policy, requested_filename, flags, &write_pickle) [all...] |
/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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
typeattr.py | 25 """Look up the low-level qpol policy reference""" 39 assert name.policy == qpol_policy 54 assert name.policy == qpol_policy 71 assert name.policy == qpol_policy 113 return self.qpol_symbol.ispermissive(self.policy) 121 for attr in self.qpol_symbol.attr_iter(self.policy): 122 yield attribute_factory(self.policy, attr) 126 for alias in self.qpol_symbol.alias_iter(self.policy): 157 for type_ in self.qpol_symbol.type_iter(self.policy): 158 yield type_factory(self.policy, type_ [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SystemUIFactory.java | 39 import com.android.systemui.statusbar.policy.BatteryController; 40 import com.android.systemui.statusbar.policy.BluetoothController; 41 import com.android.systemui.statusbar.policy.CastController; 42 import com.android.systemui.statusbar.policy.FlashlightController; 43 import com.android.systemui.statusbar.policy.HotspotController; 44 import com.android.systemui.statusbar.policy.KeyguardMonitor; 45 import com.android.systemui.statusbar.policy.LocationController; 46 import com.android.systemui.statusbar.policy.NetworkController; 47 import com.android.systemui.statusbar.policy.NextAlarmController; 48 import com.android.systemui.statusbar.policy.RotationLockController [all...] |
/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...] |
/system/sepolicy/tools/ |
sepolicy-check.c | 18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0); 66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { 77 if (expand_avtab(policy, avtab, &exp_avtab)) { 116 int check_rule(char *s, char *t, char *c, char *p, policydb_t *policy) { 131 src = hashtab_search(policy->p_types.table, s); 138 tgt = hashtab_search(policy->p_types.table, t); 145 cls = hashtab_search(policy->p_classes.table, c); 177 perm, policy, &policy->te_avtab); 185 perm, policy, &policy->te_cond_avtab) 235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; local [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...] |
/packages/apps/Email/tests/src/com/android/email/ |
SecurityPolicyTests.java | 34 import com.android.emailcommon.provider.Policy; 55 private static final Policy EMPTY_POLICY = new Policy(); 104 * Create a Policy using the arguments formerly used to create a PolicySet; this minimizes the 107 private Policy setupPolicy(int minPasswordLength, int passwordMode, int maxPasswordFails, 112 Policy policy = new Policy(); local 113 policy.mPasswordMinLength = minPasswordLength; 114 policy.mPasswordMode = passwordMode 217 Policy policy = Policy.restorePolicyWithId(mMockContext, policyKey); local 500 Policy policy = LegacyPolicySet.flagsToPolicy(flags); local [all...] |
/cts/tests/vr/src/android/vr/cts/ |
VrSetFIFOThreadTest.java | 69 int vr_thread = 0, policy = 0; local 75 policy = (int) Process.getThreadScheduler(vr_thread); 76 Log.e(TAG, "scheduling policy: " + policy); 77 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); 95 int vr_thread = 0, policy = 0; local 101 policy = (int) Process.getThreadScheduler(vr_thread); 102 Log.e(TAG, "scheduling policy: " + policy); 103 assertEquals(SCHED_OTHER, policy); [all...] |
/development/ndk/platforms/android-8/include/ |
sched.h | 48 extern int sched_get_priority_max(int policy); 49 extern int sched_get_priority_min(int policy);
|
/development/ndk/platforms/android-9/include/ |
sched.h | 48 extern int sched_get_priority_max(int policy); 49 extern int sched_get_priority_min(int policy);
|
/external/boringssl/src/crypto/x509v3/ |
v3_pcia.c | 45 ASN1_OPT(PROXY_POLICY,policy,ASN1_OCTET_STRING)
|
/external/dbus/test/data/valid-config-files/ |
many-rules.conf | 11 <policy context="default"> 28 </policy> 30 <policy context="mandatory"> 47 </policy>
|
/external/srtp/include/ |
rtp.h | 103 rtp_sender_init_srtp(rtp_sender_t sender, const srtp_policy_t *policy); 106 rtp_receiver_init_srtp(rtp_receiver_t sender, const srtp_policy_t *policy);
|
/frameworks/base/core/java/android/security/ |
NetworkSecurityPolicy.java | 26 * Network security policy. 28 * <p>Network stacks/components should honor this policy to make it possible to centrally control 31 * <p>The policy currently consists of a single flag: whether cleartext network traffic is 41 * Gets the policy for this process. 43 * <p>It's fine to cache this reference. Any changes to the policy will be immediately visible 64 * honor this aspect of the policy. 87 * the policy. 92 FrameworkNetworkSecurityPolicy policy = new FrameworkNetworkSecurityPolicy(permitted); local 93 libcore.net.NetworkSecurityPolicy.setInstance(policy);
|
/frameworks/base/media/java/android/media/ |
AudioManagerInternal.java | 51 int ringerModeInternal, VolumePolicy policy); 55 int ringerModeExternal, VolumePolicy 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...] |
/packages/services/Car/car-lib/src/android/car/content/pm/ |
ICarPackageManager.aidl | 23 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0;
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
CarPackageManagerTest.java | 90 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } local 92 Log.i(TAG, "setting policy"); 93 mCarPm.setAppBlockingPolicy(thisPackage, policy, 95 Log.i(TAG, "setting policy done"); 100 // replace policy 103 policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } 105 mCarPm.setAppBlockingPolicy(thisPackage, policy, 112 //add, it replace the whole package policy. So activities are not added. 115 policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } 117 mCarPm.setAppBlockingPolicy(thisPackage, policy, [all...] |
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/ |
VehiclePropertyAccessControlForTesting.cpp | 37 bool VehiclePropertyAccessControlForTesting::process(const char* policy) { 38 return VehiclePropertyAccessControl::process(policy);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/ |
sched.h | 48 extern int sched_get_priority_max(int policy); 49 extern int sched_get_priority_min(int policy);
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/ |
sched.h | 48 extern int sched_get_priority_max(int policy); 49 extern int sched_get_priority_min(int policy);
|