Home
last modified time | relevance | path

Searched refs:SCHED_FIFO (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/services/vr/performanced/
Dperformance_service.cpp44 sched_fifo_min_priority_ = sched_get_priority_min(SCHED_FIFO); in PerformanceService()
45 sched_fifo_max_priority_ = sched_get_priority_max(SCHED_FIFO); in PerformanceService()
58 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
62 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
66 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
70 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
74 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
78 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
82 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
86 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
Dperformance_service_tests.cpp79 EXPECT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, sched_getscheduler(0)); in TEST()
94 EXPECT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, sched_getscheduler(0)); in TEST()
/frameworks/base/core/tests/coretests/src/android/os/
DSetPersistentVrThreadTest.java41 private static final int SCHED_FIFO = 1; field in SetPersistentVrThreadTest
97 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
112 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
115 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
154 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetVrThreadAPIFailsInPersistentMode()
/frameworks/av/media/libnbaio/
DREADME.txt13 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
29 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
/frameworks/native/libs/binder/tests/
Dschd-dbg.cpp92 : (policy == SCHED_FIFO) in thread_dump()
134 if (priority == sched_get_priority_max(SCHED_FIFO)) { in onTransact()
311 ASSERT(!pthread_attr_setschedpolicy(&attr, SCHED_FIFO)); in thread_transaction()
312 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in thread_transaction()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java68 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, in requestPriority()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp116 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in main()
DDispSync.cpp388 if (sched_setscheduler(mThread->getTid(), SCHED_FIFO, &param) != 0) { in DispSync()
DSurfaceFlinger_hwc1.cpp526 if (sched_setscheduler(mSFEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
529 if (sched_setscheduler(mEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
2885 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in setPowerModeInternal()
DSurfaceFlinger.cpp554 if (sched_setscheduler(mSFEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
557 if (sched_setscheduler(mEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
3224 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in setPowerModeInternal()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp113 SCHED_FIFO); in main()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp140 if (sched_setscheduler(0 /* current thread*/, SCHED_FIFO, &p) != 0) { in getLooper()
/frameworks/base/core/java/android/os/
DProcess.java306 public static final int SCHED_FIFO = 1; field in Process
/frameworks/av/services/audioflinger/
DFastThread.cpp172 if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { in threadLoop()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp161 ::android::hardware::setMinSchedulerPolicy(queue, SCHED_FIFO, 98); in createEventQueue()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp944 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
DAudioTrack.cpp1823 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp260 if ((scheduler == SCHED_FIFO) || (scheduler == SCHED_RR)) { in android_os_Process_setProcessGroup()
/frameworks/native/services/sensorservice/
DSensorService.cpp125 if (sched_setscheduler(getTid(), SCHED_FIFO | SCHED_RESET_ON_FORK, &param) != 0) { in enableSchedFifoMode()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java62 import static android.os.Process.SCHED_FIFO;
13405 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, 1);
13451 SCHED_FIFO | SCHED_RESET_ON_FORK, 1);