Searched refs:policy (Results 1 – 7 of 7) sorted by relevance
/system/core/libcutils/ |
D | sched_policy.c | 68 static int add_tid_to_cgroup(int tid, SchedPolicy policy) in add_tid_to_cgroup() argument 72 switch (policy) { in add_tid_to_cgroup() 92 SLOGE("add_tid_to_cgroup failed; policy=%d\n", policy); in add_tid_to_cgroup() 114 ptr, strerror(errno), policy); in add_tid_to_cgroup() 222 int get_sched_policy(int tid, SchedPolicy *policy) in get_sched_policy() argument 236 *policy = SP_SYSTEM; in get_sched_policy() 238 *policy = SP_BACKGROUND; in get_sched_policy() 240 *policy = SP_FOREGROUND; in get_sched_policy() 250 *policy = SP_FOREGROUND; in get_sched_policy() 252 *policy = SP_BACKGROUND; in get_sched_policy() [all …]
|
/system/core/include/cutils/ |
D | sched_policy.h | 43 extern int set_sched_policy(int tid, SchedPolicy policy); 49 extern int get_sched_policy(int tid, SchedPolicy *policy); 55 extern const char *get_sched_policy_name(SchedPolicy policy);
|
/system/core/libnl_2/ |
D | attr.c | 123 int len, struct nla_policy *policy) in nla_parse() argument 144 struct nlattr *nla, struct nla_policy *policy) in nla_parse_nested() argument 146 return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy); in nla_parse_nested()
|
/system/core/toolbox/ |
D | top.c | 71 char policy[POLICY_NAME_LEN]; member 385 strlcpy(proc->policy, "unk", POLICY_NAME_LEN); in read_policy() 387 strlcpy(proc->policy, get_sched_policy_name(p), POLICY_NAME_LEN); in read_policy() 388 proc->policy[2] = '\0'; in read_policy() 481 …proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->name[0] != 0 ? p… in print_procs() 484 …proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->tname, proc->nam… in print_procs()
|
/system/core/rootdir/ |
D | init.rc | 40 …ip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framew… 253 # Separate location for storing security policy files on data 324 # Assume SMP uses shared cpufreq policy for all CPUs 355 # Set these so we can remotely update SELinux policy
|
/system/core/init/ |
D | readme.txt | 94 Services on the system partition can instead use policy-defined transitions 96 If not specified and no transition is defined in policy, defaults to the init context.
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
D | hci.h | 699 uint16_t policy; member 706 uint16_t policy; member
|