Home
last modified time | relevance | path

Searched refs:invalidPolicy (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_m/testsuites/unittest/xts/sched/
Dprocess_sched_api_test.c52 …int invalidPolicy[] = {SCHED_FIFO, SCHED_OTHER, SCHED_BATCH, SCHED_IDLE, SCHED_DEADLINE, SCHED_RES… variable
53 int testLoop = sizeof(invalidPolicy) / sizeof(int);
56 int prio = sched_get_priority_max(invalidPolicy[i]);
94 …int invalidPolicy[] = {SCHED_FIFO, SCHED_OTHER, SCHED_BATCH, SCHED_IDLE, SCHED_DEADLINE, SCHED_RES… variable
95 int testLoop = sizeof(invalidPolicy) / sizeof(int);
98 int prio = sched_get_priority_min(invalidPolicy[i]);
Dpthread_sched_api_test.c174 …int invalidPolicy[7] = {SCHED_OTHER, SCHED_BATCH, SCHED_IDLE, SCHED_DEADLINE, SCHED_RESET_ON_FORK}… variable
175 invalidPolicy[5] = -GetRandom(10000); /* 5, 10000, common data for test, no special meaning */
176invalidPolicy[6] = GetRandom(10000) + 6; /* 6, 10000, common data for test, no special meaning */
178 rt = pthread_attr_setschedpolicy(&attr, invalidPolicy[i]);