Home
last modified time | relevance | path

Searched full:policy (Results 1 – 25 of 10757) sorted by relevance

12345678910>>...431

/external/crosvm/jail/seccomp/
Dcrosvm_seccomp_policy_product_packages.mk20 9p_device.policy \
21 balloon_device.policy \
22 battery.policy \
23 block_device.policy \
24 block_device_vhost_user.policy \
25 coiommu_device.policy \
26 cras_audio_device.policy \
27 fs_device.policy \
28 fw_cfg_device.policy \
29 gpu_device.policy \
[all …]
DAndroid.bp39policy-inliner.sh) $(location x86_64/common_device.policy) $(location x86_64/gpu_common.policy) $(…
44 "policy-inliner.sh",
45 "x86_64/common_device.policy",
46 "x86_64/gpu_common.policy",
47 "x86_64/serial.policy",
48 "x86_64/net.policy",
49 "x86_64/block.policy",
50 "x86_64/vhost_user.policy",
51 "x86_64/vhost_vsock.policy",
57policy-inliner.sh) $(location aarch64/common_device.policy) $(location aarch64/gpu_common.policy) …
[all …]
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_execute.c27 /** Copy the policy digests from a branch list to a digest list.
29 * @param[in] branches The list of policy branches.
79 /** Add a new authorization to a policy.
81 * The the signed hash computed from the policy digest and the policyRef together with
82 * the public key of the key used for signing will be stored in the policy.
84 * @param[in,out] policy The policy to be authorized.
94 TPMS_POLICY *policy, in ifapi_extend_authorization() argument
101 if (policy->policyAuthorizations) { in ifapi_extend_authorization()
103 n = policy->policyAuthorizations->count; in ifapi_extend_authorization()
104 save = policy->policyAuthorizations; in ifapi_extend_authorization()
[all …]
Difapi_policy_calculate.c25 /** Copy policy digest.
27 * One digest is copied from certain position in a policy list to the
49 /** Logdefault policy digest.
64 /** Calculate a policy digest for a certain PCR selection.
67 * is computed. The passed policy digest will be extended with this data
68 * and also with the policy command code.
70 * @param[in] policy The policy with the list of selected PCRs.
72 * @param[in] current_hash_alg The hash algorithm used for the policy computation.
83 TPMS_POLICYPCR *policy, in ifapi_compute_policy_pcr() argument
102 /* Compute of the index of the current policy in the passed digest list */ in ifapi_compute_policy_pcr()
[all …]
Difapi_policyutil_execute.c29 /** Create a new policy on policy stack.
31 * The structures for policy and callback execution are allocated
38 TPMS_POLICY *policy, in new_policy() argument
41 LOG_DEBUG("ADD POLICY"); in new_policy()
75 pol_exec_ctx->policy = policy; in new_policy()
76 if (!context->policy.policyutil_stack) { in new_policy()
77 context->policy.policyutil_stack = *current_policy; in new_policy()
78 context->policy.util_current_policy = *current_policy; in new_policy()
80 context->policy.util_current_policy->next = *current_policy; in new_policy()
81 (*current_policy)->prev = context->policy.util_current_policy; in new_policy()
[all …]
Difapi_policy.c29 /** Compute policy digest for a policy tree.
31 * A policy or a policy path can be passed. If a policy is passed the
32 * policy is computed directly from the policy otherwise the policy has to be
33 * retrieved from policy store to determine the policy.
36 * @param[in] policyPath The policy path for policy store.
37 * @param[in] policy The result of policy deserialization.
38 * @param[in] hash_alg The used hash alg for policy digest computations.
39 * @param[out] digest_idx The index of the current digest. The policy digest can be
42 * @param[out] hash_size The size of the current policy digest.
47 * @retval TSS2_FAPI_RC_BAD_VALUE If wrong values are detected during policy calculation.
[all …]
/external/python/python-api-core/tests/unit/
Dtest_iam.py23 from google.api_core.iam import Policy
25 return Policy
32 policy = self._make_one()
33 assert policy.etag is None
34 assert policy.version is None
35 assert policy.owners == empty
36 assert policy.editors == empty
37 assert policy.viewers == empty
38 assert len(policy) == 0
39 assert dict(policy) == {}
[all …]
/external/cronet/tot/third_party/boringssl/src/pki/testdata/nist-pkits/
Dgenerate_tests.py230 TEST_POLICY_1 = 'NIST-test-policy-1'
231 TEST_POLICY_2 = 'NIST-test-policy-2'
232 TEST_POLICY_3 = 'NIST-test-policy-3'
233 TEST_POLICY_6 = 'NIST-test-policy-6'
237 # * authorities-constrained-policy-set
238 # * explicit-policy-indicator
248 # In all of the tests that are not related to policy processing,
249 # each certificate in the path asserts the certificate policy
263 '4.8.1': [ # All Certificates Same Policy Test1
264 # 1. default settings, but with initial-explicit-policy set. The path
[all …]
/external/cronet/stable/third_party/boringssl/src/pki/testdata/nist-pkits/
Dgenerate_tests.py230 TEST_POLICY_1 = 'NIST-test-policy-1'
231 TEST_POLICY_2 = 'NIST-test-policy-2'
232 TEST_POLICY_3 = 'NIST-test-policy-3'
233 TEST_POLICY_6 = 'NIST-test-policy-6'
237 # * authorities-constrained-policy-set
238 # * explicit-policy-indicator
248 # In all of the tests that are not related to policy processing,
249 # each certificate in the path asserts the certificate policy
263 '4.8.1': [ # All Certificates Same Policy Test1
264 # 1. default settings, but with initial-explicit-policy set. The path
[all …]
/external/aws-sdk-java-v2/test/test-utils/src/main/java/software/amazon/awssdk/core/auth/policy/
DPolicy.java16 package software.amazon.awssdk.core.auth.policy;
24 import software.amazon.awssdk.core.auth.policy.internal.JsonPolicyReader;
25 import software.amazon.awssdk.core.auth.policy.internal.JsonPolicyWriter;
28 * An AWS access control policy is a object that acts as a container for one or
37 * Each statement in an AWS access control policy takes the form:
52 * Note that an AWS access control policy should not be confused with the
53 * similarly named "POST form policy" concept used in Amazon S3.
55 public class Policy { class
57 /** The default policy version. */
65 * Constructs an empty AWS access control policy ready to be populated with
[all …]
/external/autotest/metadata/tests/
Dpolicy.star13 'policy/AccessibilityTest',
18 'policy/AlternateErrorPages',
23 'policy/ArcAudioCaptureAllowed',
28 'policy/ArcBackupRestoreServiceEnabled',
33 'policy/ArcDisableScreenshots',
38 'policy/ArcExternalStorageDisabled',
43 'policy/ArcVideoCaptureAllowed',
48 'policy/AudioOutputAllowed',
53 'policy/AutotestSanity',
54 suites = ['bvt-perbuild', 'ent-nightly', 'policy', 'smoke'],
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dpolicy.py15 """Contains the Policy class for mixed precision training."""
31 @keras_export('keras.mixed_precision.Policy', v1=[])
32 class Policy(object): class
33 """A dtype policy for a Keras layer.
35 A dtype policy determines a layer's computation and variable dtypes. Each
36 layer has a policy. Policies can be passed to the `dtype` argument of layer
37 constructors, or a global policy can be set with
41 name: The policy name, which determines the compute and variable dtypes. Can
58 <Policy "mixed_float16">
62 <Policy "float32">
[all …]
/external/grpc-grpc/test/core/transport/chttp2/
Dwrite_size_policy_test.cc25 Chttp2WriteSizePolicy policy; in TEST() local
26 EXPECT_EQ(policy.WriteTargetSize(), 131072); in TEST()
35 Chttp2WriteSizePolicy policy; in TEST() local
36 EXPECT_EQ(policy.WriteTargetSize(), 131072); in TEST()
38 policy.BeginWrite(131072); in TEST()
40 policy.EndWrite(true); in TEST()
41 EXPECT_EQ(policy.WriteTargetSize(), 131072); in TEST()
43 policy.BeginWrite(131072); in TEST()
45 policy.EndWrite(true); in TEST()
46 EXPECT_EQ(policy.WriteTargetSize(), 196608); in TEST()
[all …]
/external/selinux/checkpolicy/
Dcheckpolicy.83 checkpolicy \- SELinux policy compiler
14 is a program that checks and compiles a SELinux security policy configuration
18 will attempt to read from policy.conf or policy, depending on whether the \-b
24 Read an existing binary policy file rather than a source policy.conf file.
27 Write policy.conf file rather than binary policy file. Can only be used with binary policy file.
30 Write CIL policy file rather than binary policy file.
33 Enter debug mode after loading the policy.
39 Enable the MLS policy when checking and compiling the policy.
45 Specify the policy version, defaults to the latest.
48 Write a policy file (binary, policy.conf, or CIL policy)
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest_policy.py6 import email.policy
31 # These default values are the ones set on email.policy.default.
37 'header_factory': email.policy.EmailPolicy.header_factory,
39 'content_manager': email.policy.EmailPolicy.content_manager,
44 # For each policy under test, we give here what we expect the defaults to
45 # be for that policy. The second argument to make defaults is the
46 # difference between the base defaults and that for the particular policy.
47 new_policy = email.policy.EmailPolicy()
49 email.policy.compat32: make_defaults(compat32_defaults, {}),
50 email.policy.default: make_defaults(policy_defaults, {}),
[all …]
/external/libbrillo/policy/tests/
Dlibpolicy_test.cc5 #include "policy/libpolicy.h"
19 #include "policy/device_policy_impl.h"
21 namespace policy { namespace
23 static const char kPolicyFileAllSet[] = "policy/tests/whitelist/policy_all";
24 static const char kPolicyFileNoneSet[] = "policy/tests/whitelist/policy_none";
25 static const char kKeyFile[] = "policy/tests/whitelist/owner.key";
44 // Test that a policy file can be verified and parsed correctly. The file
56 // Ensure we successfully loaded the device policy file. in TEST()
59 const DevicePolicy& policy = provider.GetDevicePolicy(); in TEST() local
63 ASSERT_TRUE(policy.GetPolicyRefreshRate(&int_value)); in TEST()
[all …]
/external/google-cloud-java/java-policy-troubleshooter/
DCHANGELOG.md3 …gleapis/google-cloud-java/compare/google-cloud-policy-troubleshooter-v1.3.1-SNAPSHOT...google-clou…
23 …/googleapis/google-cloud-java/compare/google-cloud-policy-troubleshooter-v1.2.6...google-cloud-pol…
43 ## [1.2.6](https://github.com/googleapis/java-policy-troubleshooter/compare/v1.2.5...v1.2.6) (2022-…
48 * update protobuf to v3.21.7 ([56379be](https://github.com/googleapis/java-policy-troubleshooter/co…
50 ## [1.2.5](https://github.com/googleapis/java-policy-troubleshooter/compare/v1.2.4...v1.2.5) (2022-…
55 …tps://github.com/googleapis/java-policy-troubleshooter/issues/287)) ([d15fd12](https://github.com/…
56 …tps://github.com/googleapis/java-policy-troubleshooter/issues/267)) ([c3465aa](https://github.com/…
57 …tps://github.com/googleapis/java-policy-troubleshooter/issues/271)) ([23dd3a3](https://github.com/…
58 …tps://github.com/googleapis/java-policy-troubleshooter/issues/272)) ([ca8fc06](https://github.com/…
59 …tps://github.com/googleapis/java-policy-troubleshooter/issues/292)) ([6ff03bd](https://github.com/…
[all …]
/external/python/google-api-python-client/docs/dyn/
Dcloudresourcemanager_v1.folders.html79 <p class="firstline">Clears a `Policy` from a resource.</p>
85Policy` on a resource. This is the result of merging `Policies` in the resource hierarchy. The ret…
88Policy` on a resource. If no `Policy` is set on the resource, a `Policy` is returned with default …
103Policy` on the resource. Creates a new `Policy` for that `Constraint` on the resource if one does …
107 <pre>Clears a `Policy` from a resource.
110 resource: string, Name of the resource for the `Policy` to clear. (required)
115 &quot;constraint&quot;: &quot;A String&quot;, # Name of the `Constraint` of the `Policy` to clear.
116 … version, for concurrency control. Not sending an `etag` will cause the `Policy` to be cleared bli…
138Policy` on a resource. This is the result of merging `Policies` in the resource hierarchy. The ret…
141 resource: string, The name of the resource to start computing the effective `Policy`. (required)
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/supply-chain/
Dconfig.toml44 [policy."adler2:2.0.0"]
47 [policy."aho-corasick:1.1.3"]
50 [policy."anstyle:1.0.10"]
53 [policy."anyhow:1.0.93"]
56 [policy."base64:0.13.1"]
59 [policy."bitflags:1.3.2"]
62 [policy."bitflags:2.6.0"]
65 [policy."bstr:1.11.0"]
68 [policy."bytemuck:1.19.0"]
71 [policy."bytemuck_derive:1.8.0"]
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/supply-chain/
Dconfig.toml44 [policy."adler2:2.0.0"]
47 [policy."aho-corasick:1.1.3"]
50 [policy."anstyle:1.0.10"]
53 [policy."anyhow:1.0.93"]
56 [policy."base64:0.13.1"]
59 [policy."bitflags:1.3.2"]
62 [policy."bitflags:2.6.0"]
65 [policy."bstr:1.11.0"]
68 [policy."bytemuck:1.19.0"]
71 [policy."bytemuck_derive:1.8.0"]
[all …]
/external/ComputeLibrary/tests/validation/reference/
DDepthConvertLayer.cpp42 SimpleTensor<T2> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, … in depth_convert() argument
66 …result[i] = (policy == ConvertPolicy::SATURATE) ? utils::cast::saturate_cast<T2>(val) : static_cas… in depth_convert()
73 SimpleTensor<T2> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, … in depth_convert() argument
77 ARM_COMPUTE_UNUSED(policy, shift); in depth_convert()
99 SimpleTensor<T2> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, … in depth_convert() argument
103 ARM_COMPUTE_UNUSED(policy, shift); in depth_convert()
114 …h_convert(const SimpleTensor<uint8_t> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift);
115 …h_convert(const SimpleTensor<uint8_t> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift);
116 …h_convert(const SimpleTensor<uint8_t> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift);
117 …h_convert(const SimpleTensor<uint8_t> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift);
[all …]
/external/sdk-platform-java/java-core/google-cloud-core/src/test/java/com/google/cloud/
DPolicyTest.java26 import com.google.cloud.Policy.DefaultMarshaller;
53 private static final Policy SIMPLE_POLICY =
54 Policy.newBuilder()
58 private static final Policy FULL_POLICY =
59 Policy.newBuilder()
75 Policy policy = FULL_POLICY.toBuilder().setBindings(editorBinding).build(); in testBuilder() local
76 assertEquals(editorBinding, policy.getBindings()); in testBuilder()
77 assertEquals("etag", policy.getEtag()); in testBuilder()
78 assertEquals(1, policy.getVersion()); in testBuilder()
79 policy = SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); in testBuilder()
[all …]
/external/google-cloud-java/java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/
DUpdateAlertPolicyRequestOrBuilder.java30 * Optional. A list of alerting policy field names. If this field is not
31 * empty, each listed field in the existing alerting policy is set to the
32 * value of the corresponding field in the supplied policy (`alert_policy`),
34 * alerting policy. Fields not listed retain their previous value.
38 * If this field is empty, then the supplied alerting policy replaces the
39 * existing policy. It is the same as deleting the existing policy and
40 * adding the supplied policy, except for the following:
41 * + The new policy will have the same `[ALERT_POLICY_ID]` as the former
42 * policy. This gives you continuity with the former policy in your
44 * + Conditions in the new policy will keep their former `[CONDITION_ID]` if
[all …]
DUpdateAlertPolicyRequest.java74 * Optional. A list of alerting policy field names. If this field is not
75 * empty, each listed field in the existing alerting policy is set to the
76 * value of the corresponding field in the supplied policy (`alert_policy`),
78 * alerting policy. Fields not listed retain their previous value.
82 * If this field is empty, then the supplied alerting policy replaces the
83 * existing policy. It is the same as deleting the existing policy and
84 * adding the supplied policy, except for the following:
85 * + The new policy will have the same `[ALERT_POLICY_ID]` as the former
86 * policy. This gives you continuity with the former policy in your
88 * + Conditions in the new policy will keep their former `[CONDITION_ID]` if
[all …]
/external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/
DGlobalOrganizationSetPolicyRequestOrBuilder.java30 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
40 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
50 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
60 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
70 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
81 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
93 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
105 …* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify …
118 …mplete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of K…
121 * <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code>
[all …]

12345678910>>...431