Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 27) sorted by relevance

12

/system/core/libprocessgroup/
Dsched_policy.cpp42 int set_cpuset_policy(pid_t tid, SchedPolicy policy) { in set_cpuset_policy()
70 int set_sched_policy(pid_t tid, SchedPolicy policy) { in set_sched_policy()
166 static int get_sched_policy_from_group(const std::string& group, SchedPolicy* policy) { in get_sched_policy_from_group()
188 int get_sched_policy(pid_t tid, SchedPolicy* policy) { in get_sched_policy()
224 int get_sched_policy(int, SchedPolicy* policy) { in get_sched_policy()
231 const char* get_sched_policy_name(SchedPolicy policy) { in get_sched_policy_name()
245 const char* get_cpuset_policy_profile_name(SchedPolicy policy) { in get_cpuset_policy_profile_name()
266 const char* get_sched_policy_profile_name(SchedPolicy policy) { in get_sched_policy_profile_name()
Dtask_profiles.h181 SetSchedulerPolicyAction(int policy) in SetSchedulerPolicyAction()
183 SetSchedulerPolicyAction(int policy, int priority_or_nice) in SetSchedulerPolicyAction()
Dtask_profiles.cpp641 bool SetSchedulerPolicyAction::isNormalPolicy(int policy) { in isNormalPolicy()
645 bool SetSchedulerPolicyAction::toPriority(int policy, int virtual_priority, int& priority_out) { in toPriority()
974 const int policy = it->second; in Load() local
/system/core/init/
Dfscrypt_init_extensions.cpp86 static bool LookupPolicy(const std::string& ref_basename, EncryptionPolicy* policy) { in LookupPolicy()
106 static bool EnsurePolicyOrLog(const EncryptionPolicy& policy, const std::string& dir) { in EnsurePolicyOrLog()
117 EncryptionPolicy policy; in SetPolicyOn() local
Dselinux.cpp412 void ReadPolicy(std::string* policy) { in ReadPolicy()
635 static void LoadSelinuxPolicy(std::string& policy) { in LoadSelinuxPolicy()
656 std::string policy; in LoadSelinuxPolicyMicrodroid() local
685 std::string policy; in LoadSelinuxPolicyAndroid() local
/system/vold/
DKeyUtil.cpp105 static bool buildKeySpecifier(fscrypt_key_specifier* spec, const EncryptionPolicy& policy) { in buildKeySpecifier()
132 const KeyBuffer& key, EncryptionPolicy* policy) { in installKey()
248 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy) { in evictKey()
DFsCrypt.cpp338 const KeyBuffer& key, EncryptionPolicy* policy) { in install_storage_key()
392 const EncryptionPolicy& policy) { in prepare_dir_with_policy()
750 UserPolicies& user_policies, EncryptionPolicy* policy) { in read_or_create_volkey()
/system/media/audio_utils/
Dthreads.cpp49 const int policy = sched_getscheduler(tid); in set_thread_priority() local
73 const int policy = sched_getscheduler(tid); in get_thread_priority() local
/system/sepolicy/tools/
Dsepolicy-check.c66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check()
116 int check_rule(char *s, char *t, char *c, char *p, policydb_t *policy) { in check_rule()
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; in main() local
/system/extras/libfscrypt/
Dfscrypt.cpp130 fscrypt_policy_v1 policy; in fscrypt_is_encrypted() local
283 static std::string PolicyDebugString(const EncryptionPolicy& policy) { in PolicyDebugString()
303 bool EnsurePolicy(const EncryptionPolicy& policy, const std::string& directory) { in EnsurePolicy()
/system/bpf/progs/include/
Dbpf_timeinstate.h44 uint64_t policy[CPUS_PER_ENTRY]; member
48 uint32_t policy; member
/system/sepolicy/tools/sepolicy-analyze/
Dsepolicy-analyze.c44 char *policy; in main() local
/system/secretkeeper/dice_policy/tests/
Dtest.rs246 let policy = policy_for_dice_chain(&example.input_dice, example.constraint_spec).unwrap(); in policy_structure_check() localVariable
361 let policy = policy_for_dice_chain(input_dice, constraint_spec).unwrap(); in policy_dice_size_is_same() localVariable
/system/bpfprogs/
DtimeInState.c130 uint32_t policy = *policyp; variable
247 uint32_t policy = *policyp; variable
/system/libhidl/transport/
DHidlTransportSupport.cpp62 bool setMinSchedulerPolicy(const sp<IBase>& service, int policy, int priority) { in setMinSchedulerPolicy()
/system/libhwbinder/vts/performance/
DLatency.cpp83 int policy; in threadGetPri() local
90 int policy; in threadDumpPri() local
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp266 KeymasterEnforcement* policy = context_->enforcement_policy(); in GetHmacSharingParameters() local
279 KeymasterEnforcement* policy = context_->enforcement_policy(); in ComputeSharedHmac() local
291 KeymasterEnforcement* policy = context_->enforcement_policy(); in VerifyAuthorization() local
303 KeymasterEnforcement* policy = context_->enforcement_policy(); in GenerateTimestampToken() local
/system/secretkeeper/comm/src/data_types/
Drequest_response_impl.rs154 let policy: Value = in args() localVariable
/system/see/authmgr/authmgr-be/src/
Ddata_structures.rs138 pub policy: Arc<Policy>, field
150 pub policy: Arc<Policy>, field
/system/libhwbinder/
DIPCThreadState.cpp377 void IPCThreadState::setStrictModePolicy(int32_t policy) in setStrictModePolicy()
DParcel.cpp202 int policy = local->getMinSchedulingPolicy(); in flatten_binder() local
/system/netd/server/
DXfrmControllerTest.cpp506 Policy policy{}; in TEST_P() local
DXfrmController.cpp800 } policy{}; in ipSecApplyTransportModeTransform() local
/system/authgraph/core/src/
Dkey.rs332 pub policy: Option<Policy>, field
/system/core/debuggerd/
Ddebuggerd_test.cpp1460 std::string policy; in setup_jail() local

12