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;
136 // pid priority client type number
240 // some higher priority process (e.g. kTestPid2) owns the resource, so getAllClients_l
262 // priority too low
284 // priority too low
303 // priority too low
329 // priority too low
381 // priority too low
403 // priority too low
434 // no more non-secure codec, secure codec from lowest priority process will be reclaimed
453 // kTestPid1 is the lowest priority process with kResourceGraphicMemory.
460 int priority;
464 EXPECT_FALSE(mService->getLowestPriorityPid_l(type, &pid, &priority));
468 EXPECT_TRUE(mService->getLowestPriorityPid_l(type, &pid, &priority));
472 EXPECT_EQ(priority1, priority);
475 EXPECT_TRUE(mService->getLowestPriorityPid_l(type, &pid, &priority));
479 EXPECT_EQ(priority2, priority);