/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btDbvt.java | 593 public static void enumNodes(btDbvtNode root, ICollide policy) { 594 CollisionJNI.btDbvt_enumNodes(btDbvtNode.getCPtr(root), root, ICollide.getCPtr(policy), policy); local 597 public static void enumLeaves(btDbvtNode root, ICollide policy) { 598 CollisionJNI.btDbvt_enumLeaves(btDbvtNode.getCPtr(root), root, ICollide.getCPtr(policy), policy); local 601 public void collideTT(btDbvtNode root0, btDbvtNode root1, ICollide policy) { 602 CollisionJNI.btDbvt_collideTT(swigCPtr, this, btDbvtNode.getCPtr(root0), root0, btDbvtNode.getCPtr(root1), root1, ICollide.getCPtr(policy), policy); 605 public void collideTTpersistentStack(btDbvtNode root0, btDbvtNode root1, ICollide policy) { 614 CollisionJNI.btDbvt_rayTest(btDbvtNode.getCPtr(root), root, rayFrom, rayTo, ICollide.getCPtr(policy), policy); local 624 CollisionJNI.btDbvt_collideKDOP__SWIG_0(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, count, ICollide.getCPtr(policy), policy); local 631 CollisionJNI.btDbvt_collideOCL__SWIG_0(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy, fullsort); local 638 CollisionJNI.btDbvt_collideOCL__SWIG_1(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy); local 643 CollisionJNI.btDbvt_collideTU(btDbvtNode.getCPtr(root), root, ICollide.getCPtr(policy), policy); local 661 CollisionJNI.btDbvt_collideKDOP__SWIG_1(btDbvtNode.getCPtr(root), root, normals, offsets, count, ICollide.getCPtr(policy), policy); local 669 CollisionJNI.btDbvt_collideOCL__SWIG_2(btDbvtNode.getCPtr(root), root, normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy, fullsort); local 677 CollisionJNI.btDbvt_collideOCL__SWIG_3(btDbvtNode.getCPtr(root), root, normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy); local [all...] |
/external/ipsec-tools/src/libipsec/ |
ipsec_dump_policy.c | 71 * policy is sadb_x_policy buffer. 76 ipsec_dump_policy(policy, delimiter) 77 ipsec_policy_t policy; 80 return ipsec_dump_policy1(policy, delimiter, 0); 84 ipsec_dump_policy_withports(policy, delimiter) 85 void *policy; 88 return ipsec_dump_policy1(policy, delimiter, 1); 92 ipsec_dump_policy1(policy, delimiter, withports) 93 void *policy; 97 struct sadb_x_policy *xpl = policy; [all...] |
/packages/apps/Settings/src/com/android/settings/datausage/ |
ChartDataUsagePreference.java | 128 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { 132 if (policy == null) { 136 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { 138 labels[2] = getLabel(policy.limitBytes, R.string.data_usage_sweep_limit, mLimitColor); 141 if (policy.warningBytes != NetworkPolicy.WARNING_DISABLED) { 142 chart.setDividerLoc((int) (policy.warningBytes / RESOLUTION)); 143 float weight = policy.warningBytes / RESOLUTION / (float) top; 147 labels[1] = getLabel(policy.warningBytes, R.string.data_usage_sweep_warning, 163 public void setNetworkPolicy(NetworkPolicy policy) { 164 mPolicy = policy; [all...] |
/frameworks/base/core/java/android/os/ |
StrictMode.java | 131 * enable/disable policy. 163 // Byte 1: Thread-policy 198 // Byte 2: Process-policy 334 * {@link StrictMode} policy applied to a certain thread. 336 * <p>The policy is enabled by {@link #setThreadPolicy}. The current policy 346 * The default, lax policy which doesn't catch anything. 373 * StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder() 377 * StrictMode.setThreadPolicy(policy); 396 public Builder(ThreadPolicy policy) { 903 final BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 1614 VmPolicy policy = getVmPolicy(); local 1993 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 2180 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 2200 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 2212 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 2224 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); local 2333 public final int policy; field in class:StrictMode.ViolationInfo [all...] |
/packages/services/Car/service/src/com/android/car/pm/ |
CarPackageManagerService.java | 53 //TODO monitor app installing and refresh policy 66 * Hold policy set from policy service or client. 67 * Key: packageName of policy service 91 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { 93 Log.i(CarLog.TAG_PACKAGE, "policy setting from binder call, client:" + packageName); 95 doSetAppBlockingPolicy(packageName, policy, flags, true /*setNow*/); 98 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags, 106 if (policy == null) { 107 throw new IllegalArgumentException("policy cannot be null") 462 doSetAppBlockingPolicy(proxy.getPackageName(), policy, 0, false \/*setNow*\/); local [all...] |
AppBlockingPolicyProxy.java | 46 * policy not set within this time after binding will be treated as failure and will be 60 Log.w(CarLog.TAG_PACKAGE, "Timeout for policy setting for service:" + mServiceInfo); 108 ICarAppBlockingPolicy policy = null; local 112 policy = mPolicyService; 113 if (policy == null) { 118 Log.w(CarLog.TAG_PACKAGE, "Policy service connected with null binder:" + name); 140 Log.w(CarLog.TAG_PACKAGE, "Policy service keep crashing, giving up:" + name); 154 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { 156 if (policy == null) { 157 Log.w(CarLog.TAG_PACKAGE, "setAppBlockingPolicy null policy from policy service:" [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 252 // change background policy and expect broadcast 410 final NetworkPolicy policy = new NetworkPolicy( local 412 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 421 final NetworkPolicy policy = new NetworkPolicy( local 423 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 432 final NetworkPolicy policy = new NetworkPolicy( local 434 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 443 final NetworkPolicy policy = new NetworkPolicy( local 445 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 450 final NetworkPolicy policy = new NetworkPolicy local 474 final NetworkPolicy policy = new NetworkPolicy( local 482 final NetworkPolicy policy = new NetworkPolicy( local 489 final NetworkPolicy policy = new NetworkPolicy( local 504 final NetworkPolicy policy = new NetworkPolicy( local 519 final NetworkPolicy policy = new NetworkPolicy( local 541 final NetworkPolicy policy = new NetworkPolicy( local [all...] |
/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...] |
/external/webrtc/webrtc/modules/audio_processing/ |
noise_suppression_impl.cc | 126 int policy = 1; local 129 policy = 0; 132 policy = 1; 135 policy = 2; 138 policy = 3; 146 int error = NS_SET_POLICY(suppressor->state(), policy);
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
difference.py | 27 """Base class for all policy differences.""" 42 def left_policy(self, policy): 43 self.log.info("Policy diff left policy set to {0}".format(policy)) 44 self._left_policy = policy 52 def right_policy(self, policy): 53 self.log.info("Policy diff right policy set to {0}".format(policy)) [all...] |
/external/autotest/client/site_tests/login_GuestAndActualSession/ |
login_GuestAndActualSession.py | 11 from autotest_lib.client.common_lib.cros import policy, session_manager namespace 55 retrieved_policy = policy.get_policy(self._session_manager) 56 if retrieved_policy is None: raise error.TestFail('Policy not found') 57 policy.compare_policy_response(self.srcdir, retrieved_policy,
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
ElementPolicy.java | 37 * A policy that can be applied to an element to decide whether or not to 64 * Given zero or more element policies, returns an element policy equivalent 94 for (ElementPolicy policy : policies) { 95 if (policy == null) { continue; } 96 pu.join(policy);
|
/external/selinux/libsepol/tests/ |
Makefile | 23 # test policy pieces 46 rm -f policies/test-downgrade/policy.hi policies/test-downgrade/policy.lo 51 ../../checkpolicy/checkpolicy -M policies/test-cond/refpolicy-base.conf -o policies/test-downgrade/policy.hi
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
KeyguardStateMonitor.java | 17 package com.android.server.policy.keyguard; 24 import com.android.internal.policy.IKeyguardService; 25 import com.android.internal.policy.IKeyguardStateCallback;
|
/device/google/dragon/ |
tune-thermal-gov.sh | 34 echo "$2" > $tz/policy 42 echo $2 "is not a available policy"
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/ |
connection.py | 50 location=Location.DEFAULT, policy=None, 67 :type policy: :class:`boto.gs.acl.CannedACLStrings` 68 :param policy: A canned ACL policy that will be applied to the new key 77 if policy: 79 headers[self.provider.acl_header] = policy 81 headers = {self.provider.acl_header : policy}
|
/external/libbrillo/policy/ |
libpolicy.cc | 5 #include "policy/libpolicy.h" 9 #include "policy/device_policy.h" 11 #include "policy/device_policy_impl.h" 14 namespace policy { namespace 37 LOG(WARNING) << "Could not load the device policy file."; 48 DCHECK("Trying to get policy data but policy was not loaded!"); 53 } // namespace 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...] |
sandbox_bpf.h | 19 class Policy; 22 // This class can be used to apply a syscall sandboxing policy expressed in a 23 // bpf_dsl::Policy object to the current process. 33 // Ownership of |policy| is transfered here to the sandbox object. 35 explicit SandboxBPF(bpf_dsl::Policy* policy); 36 // NOTE: Setting a policy and starting the sandbox is a one-way operation. 61 // a new policy requires making system calls, that might already be 64 // combined policy. So, it should only be used if there are no alternatives. 97 // Assembles a BPF filter program from the current policy. After calling thi [all...] |
/external/libnl/lib/genl/ |
genl.c | 79 * genlmsg_parse(nlh, 0, attrs, ATTR_MAX, policy); 161 struct nla_policy *policy) 170 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy); 174 int maxtype, struct nla_policy *policy) 183 genlmsg_attrlen(ghdr, hdrlen), policy);
|
/external/libweave/src/ |
backoff_entry.h | 13 // on requests to a given resource, given a back-off policy. 20 // The set of parameters that define a back-off policy. 21 struct Policy { 57 // Lifetime of policy must enclose lifetime of BackoffEntry. The 59 explicit BackoffEntry(const Policy* const policy); 67 // be rejected at the present time due to exponential back-off policy. 83 // had for Policy::entry_lifetime_ms. 107 const Policy* const policy_;
|
/external/selinux/libsepol/include/sepol/policydb/ |
module.h | 37 sepol_policydb_t *policy; member in struct:sepol_module_package
|
/external/srtp/include/ |
srtp.h | 101 * policy (or other mechanism). 112 * @brief crypto_policy_t describes a particular crypto policy that 115 * A crypto_policy_t describes a particular cryptographic policy that 116 * can be applied to an SRTP or SRTCP stream. An SRTP session policy 172 * @brief points to an EKT policy 184 * @brief represents the policy for an SRTP session. 186 * A single srtp_policy_t struct represents the policy for a single 188 * policy for an entire SRTP session. Each element contains the SRTP 192 * holds a pointer to the next element in the list of policy elements, 197 * another policy element. Similarly, the value SSRC_ANY_OUTBOUN [all...] |
/external/tpm2/ |
PCR_SetAuthPolicy.c | 15 // TPM_RC_VALUE PCR referenced by pcrNum is not a member of a PCR policy group 38 // If PCR does not belong to a policy group, return TPM_RC_VALUE 44 // Set PCR policy 46 gp.pcrPolicies.policy[groupIndex] = in->authPolicy; 48 // Save new policy to NV
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AutoTileManager.java | 23 import com.android.systemui.statusbar.policy.DataSaverController; 24 import com.android.systemui.statusbar.policy.DataSaverController.Listener; 25 import com.android.systemui.statusbar.policy.HotspotController; 26 import com.android.systemui.statusbar.policy.HotspotController.Callback;
|