Searched refs:lru (Results 1 – 2 of 2) sorted by relevance
1477 List<String> lru; in testTrimMemActivityBg() local1488 lru = getCachedAppsLru(); in testTrimMemActivityBg()1489 assertTrue(lru.size() > 0); in testTrimMemActivityBg()1491 for (int i = lru.size() - 1; i >= 0; i--) { in testTrimMemActivityBg()1492 String p = lru.get(i); in testTrimMemActivityBg()1499 if (lru.size() < minLru) { in testTrimMemActivityBg()1502 if (lru.get(0).indexOf(pkgName) != -1) { in testTrimMemActivityBg()1508 for (int i = 0, size = lru.size(); i < size; i++) { in testTrimMemActivityBg()1509 final String name = lru.get(i); in testTrimMemActivityBg()1531 for (int i = lru.size() - 1; i >= 0; i--) { in testTrimMemActivityBg()[all …]
1770 final LruOrderItem lru = orderItems[orderI]; in verifyLruOrder() local1771 Log.i("XXXXXXXX", "Expecting uid: " + lru.getUid()); in verifyLruOrder()1772 if (!lru.isEquivalentTo(proc)) { in verifyLruOrder()1773 if ((lru.getFlags() & LruOrderItem.FLAG_SKIP_UNKNOWN) != 0) { in verifyLruOrder()1778 if (lru.isEquivalentTo(proc)) { in verifyLruOrder()1783 if (!lru.isEquivalentTo(proc)) { in verifyLruOrder()1784 if ((lru.getFlags() & LruOrderItem.FLAG_SKIP_UNKNOWN) != 0) { in verifyLruOrder()1785 fail("Didn't find expected LRU proc uid=" + lru.getUid()); in verifyLruOrder()1787 fail("Expected proc uid=" + lru.getUid() + " at found proc " in verifyLruOrder()