/system/sepolicy/ |
definitions.mk | 1 # Command to turn collection of policy files into a policy.conf file to be 3 define transform-policy-to-conf 16 .KATI_READONLY := transform-policy-to-conf
|
/system/update_engine/ |
system_state.h | 26 namespace policy { namespace 30 } // namespace policy 61 // Sets or gets the latest device policy. 62 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0; 63 virtual const policy::DevicePolicy* device_policy() = 0;
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
SecureActivity.java | 27 // Check to see if the device is properly secured as per the policy. Send user 28 // back to policy set up screen if necessary. 29 Policy policy = new Policy(this); local 30 policy.readFromLocal(); 31 if (!policy.isDeviceSecured()) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ScheduledTrial.java | 28 private final TrialSchedulingPolicy policy; field in class:ScheduledTrial 31 TrialSchedulingPolicy policy) { 34 this.policy = policy; 37 TrialSchedulingPolicy policy() { method in class:ScheduledTrial 38 return policy;
|
/external/libbrillo/policy/ |
policy_util.h | 15 namespace policy { namespace 17 // The detailed information of the result from loading the policy data. 26 // Reads and parses the policy data from |policy_path|. Returns the details 29 // policy data. Otherwise the contents of |policy_data_str_out| and |policy_out| 36 } // namespace policy
|
resilient_policy_util.cc | 5 #include "policy/resilient_policy_util.h" 14 namespace policy { namespace 23 // Iterate the list of files in the folder, identifying the policy files based 71 } // namespace policy
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
1-2.c | 9 * policy and scheduling parameters for the thread whose thread ID is 11 * policy and param, respectively. The priority value returned from 33 int policy, priority, policy_1; local 36 policy = SCHED_FIFO; 37 priority = sched_get_priority_min(policy); 40 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 51 if (policy_1 != policy) { 52 printf("Failed: policys: %u != %u\n", policy_1, policy);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
1-1.c | 19 int policy, priority, policy_1; local 22 policy = SCHED_FIFO; 23 priority = sched_get_priority_min(policy); 26 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 36 //printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); 37 if (policy_1 != policy || sparam.sched_priority != priority) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedprio/ |
1-1.c | 9 * policy and scheduling parameters for the thread whose thread ID is 11 * policy and param, respectively. The priority value returned from 29 int policy, priority, policy_1; local 32 policy = SCHED_FIFO; 33 priority = sched_get_priority_min(policy); 36 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 46 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); 47 if (policy_1 != policy || sparam.sched_priority != priority) { 63 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
20-1.c | 32 int new_priority, max_priority, policy, result; local 43 policy = sched_getscheduler(getpid()); 44 max_priority = sched_get_priority_max(policy); 46 sched_get_priority_min(policy) : max_priority; 71 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
21-1.c | 12 * their scheduling policy from the process. 32 int new_priority, max_priority, old_policy, policy, result; local 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 76 if (policy == old_policy) { 80 printf("The threads does not inherit the right policy.\n");
|
21-2.c | 32 int new_priority, max_priority, policy, result; local 42 policy = sched_getscheduler(getpid()); 43 max_priority = sched_get_priority_max(policy); 45 sched_get_priority_min(policy) : max_priority; 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
15-1.c | 11 * contention scope threads have their scheduling policy changed to the 33 int new_policy, policy, result; local 38 /* Make sure new policy != old policy */ 63 ("This process does not have the permission to set its own scheduling policy.\nTry to launch this test as root.\n"); 70 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 77 if (policy == new_policy) { 81 printf("sched_setscheduler() does not set the right policy.\n");
|
15-2.c | 33 int new_priority, max_priority, policy, result; local 69 ("This process does not have the permission to set its own scheduling policy.\nTry to launch this test as root.\n"); 76 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
17-6.c | 11 * Test that the policy and scheduling parameters remain unchanged when the 16 * Atempt to change the policy of the process whose ID is 1 which is generally 19 * 1. Get the old policy and priority. 21 * 3. Check that the policy and priority have not changed. 63 int max_priority, old_priority, old_policy, new_policy, policy; local 88 /* Make sure that policy != old_policy */ 89 policy = old_policy == SCHED_FIFO ? SCHED_RR : SCHED_FIFO; 92 max_priority = sched_get_priority_max(policy); 94 sched_get_priority_min(policy) : max_priority; 96 sched_setscheduler(1, policy, ¶m) [all...] |
17-7.c | 11 * Test that the policy and scheduling parameters remain unchanged when no 17 * 1. Get the old policy and priority. 21 * 5. Check that the policy and priority have not changed. 33 int max_priority, old_priority, old_policy, new_policy, policy; local 49 /* Make sure that policy != old_policy */ 50 policy = old_policy == SCHED_FIFO ? SCHED_RR : SCHED_FIFO; 53 max_priority = sched_get_priority_max(policy); 55 sched_get_priority_min(policy) : max_priority; 73 sched_setscheduler(child_pid, policy, ¶m); 95 printf("The policy has changed\n") [all...] |
22-1.c | 12 * their scheduling policy from the process. 33 int new_policy, policy, result; local 43 /* Make sure new policy != old policy */ 51 ("This process does not have the permission to set its own scheduling policy.\nTry to launch this test as root.\n"); 75 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 82 if (policy == new_policy) { 86 printf("The thread does not inherit the right policy.\n");
|
22-2.c | 33 int new_priority, max_priority, policy, result; local 50 ("This process does not have the permission to set its own scheduling policy.\nTry to launch this test as root.\n"); 74 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
/external/python/cpython3/Lib/test/test_email/ |
test_inversion.py | 9 from email import policy, message_from_bytes 29 policy = policy.default variable in class:TestInversion 33 m = message_from_bytes(msg, policy=policy.SMTP) 64 msg2 = message_from_bytes(b, policy=self.policy)
|
/frameworks/base/core/java/com/android/internal/policy/ |
KeyguardDismissCallback.java | 17 package com.android.internal.policy; 20 import com.android.internal.policy.IKeyguardDismissCallback;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CallbackController.java | 15 package com.android.systemui.statusbar.policy;
|
DataSaverController.java | 15 package com.android.systemui.statusbar.policy; 17 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
|
EncryptionHelper.java | 17 package com.android.systemui.statusbar.policy;
|
IconLogger.java | 15 package com.android.systemui.statusbar.policy;
|
NextAlarmController.java | 15 package com.android.systemui.statusbar.policy; 20 import com.android.systemui.statusbar.policy.NextAlarmController.NextAlarmChangeCallback;
|