HomeSort by relevance Sort by last modified time
    Searched refs:setpriority (Results 101 - 125 of 249) sorted by null

1 2 3 45 6 7 8 910

  /prebuilts/ndk/r11/platforms/android-24/arch-mips64/usr/include/sys/
resource.h 48 extern int setpriority(int, int, int);
  /prebuilts/ndk/r11/platforms/android-24/arch-x86/usr/include/sys/
resource.h 48 extern int setpriority(int, int, int);
  /prebuilts/ndk/r11/platforms/android-24/arch-x86_64/usr/include/sys/
resource.h 48 extern int setpriority(int, int, int);
  /bionic/libc/include/sys/
resource.h 52 int setpriority(int, id_t, int);
  /bionic/libc/upstream-netbsd/lib/libc/gen/
nice.c 64 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1) {
  /external/toybox/toys/posix/
renice.c 45 if (setpriority(which, id, getpriority(which, id)+TT.nArgu) < 0)
46 perror_msg("setpriority %d", id);
  /system/tpm/trunks/
trunksd-seccomp-amd64.policy 81 setpriority: 1
trunksd-seccomp-arm.policy 75 setpriority: 1
trunksd-seccomp-arm64.policy 75 setpriority: 1
trunksd-seccomp-mips.policy 75 setpriority: 1
trunksd-seccomp-x86.policy 82 setpriority: 1
trunksd-seccomp-x86_64.policy 81 setpriority: 1
  /art/runtime/
thread_android.cc 61 // have to call setPriority twice to do what they want :
63 // Thread.setPriority(Thread.MIN_PRIORITY); // no-op wrt to cgroups
64 // Thread.setPriority(Thread.MAX_PRIORITY); // will actually change cgroups.
71 if (setpriority(PRIO_PROCESS, tid, newNice) != 0) {
72 PLOG(INFO) << *this << " setPriority(PRIO_PROCESS, " << tid << ", " << newNice << ") failed";
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
resource.h 41 * Process priority specifications to get/setpriority.
138 int setpriority(int, id_t, int);
  /external/drm_hwcomposer/
worker.cpp 80 setpriority(PRIO_PROCESS, 0, priority_);
  /frameworks/base/cmds/bootanimation/iot/
iotbootanimation_main.cpp 77 setpriority(PRIO_PROCESS, 0, ANDROID_PRIORITY_DISPLAY);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/
resource.h 98 extern int setpriority (__priority_which_t __which, id_t __who, int __prio)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
resource.h 98 extern int setpriority (__priority_which_t __which, id_t __who, int __prio)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
resource.h 98 extern int setpriority (__priority_which_t __which, id_t __who, int __prio)
  /system/vold/
Benchmark.cpp 58 if (setpriority(PRIO_PROCESS, 0, -10) != 0) {
59 PLOG(ERROR) << "Failed to setpriority";
116 if (setpriority(PRIO_PROCESS, 0, orig_prio) != 0) {
117 PLOG(ERROR) << "Failed to setpriority";
  /external/ltp/testcases/kernel/sched/sched_stress/
sched_tc0.c 132 if (setpriority(PRIO_PROCESS, 0, 0) < 0)
sched_tc1.c 133 if (setpriority(PRIO_PROCESS, 0, 0) < 0)
  /external/ltp/testcases/kernel/syscalls/setpriority/
setpriority01.c 21 * Verify that setpriority(2) succeeds set the scheduling priority of
65 TEST(setpriority(tc->which, *tc->who, new_prio));
69 "setpriority(%d, %d, %d) failed",
86 tst_res(TPASS, "setpriority(%s(%d), %d, -20..19) succeeded",
setpriority02.c 22 * 1) setpriority(2) fails with -1 and sets errno to EINVAL if 'which'
24 * 2) setpriority(2) fails with -1 and sets errno to ESRCH if no
26 * 3) setpriority(2) fails with -1 and sets errno to EACCES if an
28 * 4) setpriority(2) fails with -1 and sets errno to EPERM if an
74 TEST(setpriority(tc->which, tc->who, tc->prio));
78 "setpriority(%d, %d, %d) %ssucceeds unexpectedly "
86 "setpriority(%d, %d, %d) %sshould fail with %s",
93 "setpriority(%d, %d, %d) %sfails as expected",
  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
baseline_policy_unittest.cc 324 rc = setpriority(PRIO_PROCESS, 0, original_prio);
327 rc = setpriority(PRIO_PROCESS, getpid(), original_prio);
331 rc = setpriority(PRIO_PROCESS, getpid() + 1, original_prio);

Completed in 1222 milliseconds

1 2 3 45 6 7 8 910