Home
last modified time | relevance | path

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

/frameworks/native/services/vr/performanced/
Dperformance_service.cpp120 sched_fifo_min_priority_ = sched_get_priority_min(SCHED_FIFO); in PerformanceService()
121 sched_fifo_max_priority_ = sched_get_priority_max(SCHED_FIFO); in PerformanceService()
160 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
165 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
170 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
175 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
180 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
185 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
190 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
195 .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
99 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
114 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
117 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess()
156 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/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp115 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in main()
DSurfaceFlinger.cpp4443 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in setPowerModeInternal()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java108 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, in requestPriority()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp147 if (sched_setscheduler(0 /* current thread*/, SCHED_FIFO, &p) != 0) { in getLooper()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp207 SCHED_FIFO); in testOpenPlayClose()
/frameworks/av/services/audioflinger/
DFastThread.cpp176 if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { in threadLoop()
/frameworks/base/core/java/android/os/
DProcess.java372 public static final int SCHED_FIFO = 1; field in Process
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp164 ::android::hardware::setMinSchedulerPolicy(queue, SCHED_FIFO, 98); in createEventQueue()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp183 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in EventThread()
DDispSync.cpp492 if (sched_setscheduler(mThread->getTid(), SCHED_FIFO, &param) != 0) { in init()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp270 if ((scheduler == SCHED_FIFO) || (scheduler == SCHED_RR)) { in android_os_Process_setProcessGroup()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp1036 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
DAudioTrack.cpp1861 if (policy == SCHED_FIFO || policy == SCHED_RR) { in processAudioBuffer()
/frameworks/native/services/sensorservice/
DSensorService.cpp139 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;
8354 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, 1); in scheduleAsFifoPriority()
8394 SCHED_FIFO | SCHED_RESET_ON_FORK, 1); in setRenderThread()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55939 Landroid/os/Process;->SCHED_FIFO:I