Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/
DBinder_test.cpp97 const int policy = SCHED_FIFO; in TEST_F()
108 const int policy = SCHED_FIFO; in TEST_F()
121 const int policy = SCHED_FIFO; in TEST_F()
134 const int policy = SCHED_FIFO; in TEST_F()
155 const int policy = SCHED_FIFO; in SetUp()
178 const int policy = SCHED_FIFO; in TEST_F()
189 const int policy = SCHED_FIFO; in TEST_F()
202 const int policy = SCHED_FIFO; in TEST_F()
215 const int policy = SCHED_FIFO; in TEST_F()
/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/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp109 int policy = SCHED_FIFO; in main()
136 flinger->setMinSchedulerPolicy(SCHED_FIFO, newPriority); in main()
154 composerAIDL->setMinSchedulerPolicy(SCHED_FIFO, newPriority); in main()
DBackgroundExecutor.cpp38 sched_setscheduler(gettid(), highPriority ? SCHED_FIFO : SCHED_NORMAL, &param); in set_thread_priority()
/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/av/services/camera/libcameraservice/utils/
DSchedulingPolicyUtils.cpp60 return sched_setscheduler(tid, SCHED_FIFO | SCHED_RESET_ON_FORK, &param); in requestPriorityDirect()
DUtils.cpp90 res = sched_setscheduler(mTid, SCHED_FIFO, &param); in RunThreadWithRealtimePriority()
/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()
312 ASSERT(!pthread_attr_setschedpolicy(&attr, SCHED_FIFO)); in thread_transaction()
313 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in thread_transaction()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcAsyncWorker.cpp58 sched_setscheduler(gettid(), SCHED_FIFO, &param); in run()
/frameworks/libs/native_bridge_support/android_api/libc/proxy/
Dpthread_translation.h102 static_assert(SCHED_FIFO == 1, "SCHED_FIFO must be 1 because it's 1 on guest");
/frameworks/av/media/libstagefright/renderfright/gl/
DImageManager.cpp42 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in initThread()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java113 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, in requestPriority()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp150 if (sched_setscheduler(0 /* current thread*/, SCHED_FIFO, &p) != 0) { in getLooper()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DTimer.cpp158 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, &param) != 0) { in dispatch()
/frameworks/av/services/audioflinger/fastpath/
DFastThread.cpp136 if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { in threadLoop()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp216 SCHED_FIFO); in testOpenPlayClose()
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.cpp64 sched_policy = SCHED_FIFO; in setSchedFifo()
/frameworks/native/services/sensorservice/aidl/
DSensorManager.cpp218 if (sched_setscheduler(0 /* current thread*/, SCHED_FIFO, &p) != 0) { in getLooper()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp163 AIBinder_setMinSchedulerPolicy(queue->asBinder().get(), SCHED_FIFO, 98); in createEventQueue()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp300 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in EventThread()
333 const int policy = SCHED_FIFO; in createEventConnection()
/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.cpp65 if (sched_setscheduler(0, SCHED_FIFO, &param) != 0) { in threadMain()
/frameworks/base/core/java/android/os/
DProcess.java497 public static final int SCHED_FIFO = 1; field in Process
/frameworks/native/libs/binder/
DBinder.cpp541 case SCHED_FIFO: in setMinSchedulerPolicy()

12