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.cpp114 sched_fifo_min_priority_ = sched_get_priority_min(SCHED_FIFO); in PerformanceService()
115 sched_fifo_max_priority_ = sched_get_priority_max(SCHED_FIFO); in PerformanceService()
146 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
151 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
156 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
161 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
166 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
171 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
176 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
181 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
[all …]
Dperformance_service_tests.cpp127 EXPECT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, sched_getscheduler(0)); in TEST()
146 EXPECT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, sched_getscheduler(0)); in TEST()
164 EXPECT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, sched_getscheduler(0)); in TEST()
205 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.cpp393 if (sched_setscheduler(mThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
DSurfaceFlinger_hwc1.cpp528 if (sched_setscheduler(mSFEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
531 if (sched_setscheduler(mEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
2887 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in setPowerModeInternal()
DSurfaceFlinger.cpp584 if (sched_setscheduler(mSFEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
587 if (sched_setscheduler(mEventThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
3350 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in setPowerModeInternal()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp138 SCHED_FIFO); in testOpenPlayClose()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp147 if (sched_setscheduler(0 /* current thread*/, SCHED_FIFO, &p) != 0) { in getLooper()
/frameworks/av/services/audioflinger/
DFastThread.cpp177 if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { in threadLoop()
/frameworks/base/core/java/android/os/
DProcess.java306 public static final int SCHED_FIFO = 1; field in Process
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp161 ::android::hardware::setMinSchedulerPolicy(queue, SCHED_FIFO, 98); in createEventQueue()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp982 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
DAudioTrack.cpp1899 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp261 if ((scheduler == SCHED_FIFO) || (scheduler == SCHED_RR)) { in android_os_Process_setProcessGroup()
/frameworks/native/services/sensorservice/
DSensorService.cpp126 if (sched_setscheduler(getTid(), SCHED_FIFO | SCHED_RESET_ON_FORK, &param) != 0) { in enableSchedFifoMode()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java63 import static android.os.Process.SCHED_FIFO;
13545 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, 1);
13595 SCHED_FIFO | SCHED_RESET_ON_FORK, 1);