Searched refs:invalidPolicy (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_m/testsuites/unittest/xts/sched/ |
D | process_sched_api_test.c | 52 …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]);
|
D | pthread_sched_api_test.c | 174 …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 */ 176 … invalidPolicy[6] = GetRandom(10000) + 6; /* 6, 10000, common data for test, no special meaning */ 178 rt = pthread_attr_setschedpolicy(&attr, invalidPolicy[i]);
|