Searched refs:currPolicy (Results 1 – 9 of 9) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_test_022.cpp | 35 int currPolicy = 0; in EdfProcess() local 40 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in EdfProcess() 42 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in EdfProcess() 69 int currPolicy = 0; in ChildProcess() local 82 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in ChildProcess() 84 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_027.cpp | 35 int currPolicy = 0; in ChildProcess() local 47 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 48 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_RR, LOS_NOK); in ChildProcess() 57 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 58 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_021.cpp | 35 int ret, currPolicy; in ThreadFuncTest() local 40 ret = pthread_getschedparam(pthread_self(), & currPolicy, &currSchedParam); in ThreadFuncTest() 42 ICUNIT_GOTO_EQUAL( currPolicy, SCHED_DEADLINE, LOS_NOK, EXIT); in ThreadFuncTest() 72 int ret, currPolicy = 0; in ChildProcess() local 85 ret = pthread_getschedparam(pthread_self(), & currPolicy, &currSchedParam); in ChildProcess() 87 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_026.cpp | 35 int currPolicy = 0; in ChildProcess() local 47 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 48 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_RR, LOS_NOK); in ChildProcess() 57 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 58 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_020.cpp | 34 int ret, currPolicy = 0; in ChildProcess() local 46 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 47 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_RR, LOS_NOK); in ChildProcess() 56 currPolicy = sched_getscheduler(getpid()); in ChildProcess() 57 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_023.cpp | 40 int currPolicy = 0; in ChildProcess() local 60 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in ChildProcess() 62 ICUNIT_ASSERT_EQUAL(currPolicy, SCHED_DEADLINE, LOS_NOK); in ChildProcess()
|
D | pthread_test_025.cpp | 47 int currPolicy = 0; in ChildProcess() local
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_013.cpp | 39 int val, currPolicy; in TestCase() local 43 currPolicy = sched_getscheduler(getpid()); in TestCase() 44 ICUNIT_GOTO_EQUAL(currPolicy, SCHED_RR, currPolicy, ERROR_OUT); in TestCase() 54 ICUNIT_GOTO_EQUAL(val, currPolicy, val, ERROR_OUT); in TestCase()
|
/kernel/liteos_a/testsuites/unittest/container/full/ |
D | It_pid_container_014.cpp | 36 int val, currPolicy; in ChildFun() local 46 currPolicy = sched_getscheduler(getpid()); in ChildFun() 47 if (currPolicy != SCHED_RR) { in ChildFun() 62 if (val != currPolicy) { in ChildFun()
|