Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 5 of 5) sorted by relevance

/system/core/toolbox/
Dionice.c13 IoSchedClass clazz = IoSchedClass_NONE; in ionice_main() local
28 if (android_get_ioprio(pid, &clazz, &ioprio)) { in ionice_main()
32 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio); in ionice_main()
37 clazz = IoSchedClass_NONE; in ionice_main()
39 clazz = IoSchedClass_RT; in ionice_main()
41 clazz = IoSchedClass_BE; in ionice_main()
43 clazz = IoSchedClass_IDLE; in ionice_main()
51 printf("Setting pid %d i/o class to %d, prio %d\n", pid, clazz, ioprio); in ionice_main()
52 if (android_set_ioprio(pid, clazz, ioprio)) { in ionice_main()
/system/core/libcutils/
Diosched_policy.c34 int android_set_ioprio(int pid __android_unused, IoSchedClass clazz __android_unused, int ioprio __… in android_set_ioprio()
36 if (syscall(SYS_ioprio_set, IOPRIO_WHO_PROCESS, pid, ioprio | (clazz << IOPRIO_CLASS_SHIFT))) { in android_set_ioprio()
43 int android_get_ioprio(int pid __android_unused, IoSchedClass *clazz, int *ioprio) { in android_get_ioprio() argument
51 *clazz = (rc >> IOPRIO_CLASS_SHIFT); in android_get_ioprio()
54 *clazz = IoSchedClass_NONE; in android_get_ioprio()
/system/core/include/cutils/
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/include/nativebridge/
Dnative_bridge.h192 uint32_t (*getNativeMethodCount)(JNIEnv* env, jclass clazz);
204 uint32_t (*getNativeMethods)(JNIEnv* env, jclass clazz, JNINativeMethod* methods,
/system/core/adb/
Dsysdeps_win32.cpp146 FHClass clazz; member
209 _fh_alloc( FHClass clazz ) in _fh_alloc() argument
222 if ( _win32_fhs[nn].clazz == NULL) { in _fh_alloc()
230 f->clazz = clazz; in _fh_alloc()
233 clazz->_fh_init(f); in _fh_alloc()
244 f->clazz->_fh_close( f ); in _fh_close()
247 f->clazz = NULL; in _fh_close()
436 return f->clazz->_fh_read( f, buf, len ); in adb_read()
448 return f->clazz->_fh_write(f, buf, len); in adb_write()
460 return f->clazz->_fh_lseek(f, pos, where); in adb_lseek()
[all …]