Searched defs:policy (Results 1 - 4 of 4) sorted by last modified time

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h699 uint16_t policy; member in struct:__anon51
706 uint16_t policy; member in struct:__anon52
/system/core/libcutils/
H A Dsched_policy.c30 /* Re-map SP_DEFAULT to the system default policy, and leave other values unchanged.
32 * Returns the possibly re-mapped policy.
67 /* Add tid to the scheduling group defined by the policy */
68 static int add_tid_to_cgroup(int tid, SchedPolicy policy) argument
72 switch (policy) {
92 SLOGE("add_tid_to_cgroup failed; policy=%d\n", policy);
113 SLOGW("add_tid_to_cgroup failed to write '%s' (%s); policy=%d\n",
114 ptr, strerror(errno), policy);
222 int get_sched_policy(int tid, SchedPolicy *policy) argument
261 set_sched_policy(int tid, SchedPolicy policy) argument
334 set_sched_policy(int tid, SchedPolicy policy) argument
339 get_sched_policy(int tid, SchedPolicy *policy) argument
347 get_sched_policy_name(SchedPolicy policy) argument
[all...]
/system/core/libnl_2/
H A Dattr.c123 int len, struct nla_policy *policy)
144 struct nlattr *nla, struct nla_policy *policy)
146 return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy);
122 nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len, struct nla_policy *policy) argument
143 nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, struct nla_policy *policy) argument
/system/core/toolbox/
H A Dtop.c71 char policy[POLICY_NAME_LEN]; member in struct:proc_info
385 strlcpy(proc->policy, "unk", POLICY_NAME_LEN);
387 strlcpy(proc->policy, get_sched_policy_name(p), POLICY_NAME_LEN);
388 proc->policy[2] = '\0';
481 proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->name[0] != 0 ? proc->name : proc->tname);
484 proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->tname, proc->name);

Completed in 123 milliseconds