Searched refs:clazz (Results 1 - 4 of 4) sorted by relevance

/system/core/toolbox/
H A Dionice.c12 IoSchedClass clazz = IoSchedClass_NONE; local
27 if (android_get_ioprio(pid, &clazz, &ioprio)) {
31 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio);
36 clazz = IoSchedClass_NONE;
38 clazz = IoSchedClass_RT;
40 clazz = IoSchedClass_BE;
42 clazz = IoSchedClass_IDLE;
50 printf("Setting pid %d i/o class to %d, prio %d\n", pid, clazz, ioprio);
51 if (android_set_ioprio(pid, clazz, iopri
[all...]
/system/core/include/cutils/
H A Diosched_policy.h31 extern int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio);
32 extern int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio);
/system/core/libcutils/
H A Diosched_policy.c41 int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio) { argument
43 if (ioprio_set(WHO_PROCESS, pid, ioprio | (clazz << CLASS_SHIFT))) {
50 int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio) { argument
58 *clazz = (rc >> CLASS_SHIFT);
61 *clazz = IoSchedClass_NONE;
/system/core/adb/
H A Dsysdeps_win32.c95 FHClass clazz; member in struct:FHRec_
158 _fh_alloc( FHClass clazz )
171 if ( _win32_fhs[nn].clazz == NULL) {
179 f->clazz = clazz;
182 clazz->_fh_init(f);
193 f->clazz->_fh_close( f );
196 f->clazz = NULL;
410 return f->clazz->_fh_read( f, buf, len );
422 return f->clazz
[all...]

Completed in 72 milliseconds