Home
last modified time | relevance | path

Searched refs:SCHED_RESET_ON_FORK (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DBinder_test.cpp103 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
114 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
127 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
140 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
184 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
195 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
208 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
221 ASSERT_EQ(policy, sfPolicy.policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
/frameworks/native/services/vr/performanced/
Dperformance_service.cpp160 .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()
200 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
206 .scheduler_policy = SCHED_FIFO | SCHED_RESET_ON_FORK, in PerformanceService()
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.java42 private static final int SCHED_RESET_ON_FORK = 0x40000000; 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/services/camera/libcameraservice/utils/
DSchedulingPolicyUtils.cpp60 return sched_setscheduler(tid, SCHED_FIFO | SCHED_RESET_ON_FORK, &param); in requestPriorityDirect()
/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/av/services/audioflinger/fastpath/
DFastThread.cpp135 const int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; in threadLoop()
/frameworks/base/core/java/android/os/
DProcess.java521 public static final int SCHED_RESET_ON_FORK = 0x40000000; field in Process
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp1169 EXPECT_EQ(kSchedPolicy, policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
1189 EXPECT_EQ(kSchedPolicy, policy & (~SCHED_RESET_ON_FORK)); in TEST_F()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp1263 int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; in processAudioBuffer()
DAudioTrack.cpp2392 int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; in processAudioBuffer()
/frameworks/native/services/sensorservice/
DSensorService.cpp294 if (sched_setscheduler(getTid(), SCHED_FIFO | SCHED_RESET_ON_FORK, &param) != 0) { in enableSchedFifoMode()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java110 import static android.os.Process.SCHED_RESET_ON_FORK;
8315 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, 1); in scheduleAsFifoPriority()
8377 SCHED_FIFO | SCHED_RESET_ON_FORK, 1); in setRenderThread() local
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37664 Landroid/os/Process;->SCHED_RESET_ON_FORK:I