Home | History | Annotate | Download | only in test

Lines Matching defs:priority

40     virtual bool getPriority(int pid, int *priority) {
41 // For testing, use pid as priority.
42 // Lower the value higher the priority.
43 *priority = pid;
140 // pid priority client type number
243 // some higher priority process (e.g. kTestPid2) owns the resource, so getAllClients_l
264 // priority too low
286 // priority too low
305 // priority too low
331 // priority too low
383 // priority too low
405 // priority too low
436 // no more non-secure codec, secure codec from lowest priority process will be reclaimed
455 // kTestPid1 is the lowest priority process with MediaResource::kGraphicMemory.
462 int priority;
466 EXPECT_FALSE(mService->getLowestPriorityPid_l(type, &pid, &priority));
470 EXPECT_TRUE(mService->getLowestPriorityPid_l(type, &pid, &priority));
474 EXPECT_EQ(priority1, priority);
477 EXPECT_TRUE(mService->getLowestPriorityPid_l(type, &pid, &priority));
481 EXPECT_EQ(priority2, priority);