Searched refs:mTileByComponentCache (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DCategoryManagerTest.java41 private Map<Pair<String, String>, Tile> mTileByComponentCache; field in class:CategoryManagerTest
47 mTileByComponentCache = new HashMap<>();
67 mTileByComponentCache.put(new Pair<>("PACKAGE", "1"), tile1);
68 mTileByComponentCache.put(new Pair<>("PACKAGE", "2"), tile2);
70 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap);
89 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS1"), tile1);
90 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS2"), tile2);
92 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap);
108 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS1"), tile1);
110 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMa
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DCategoryManager.java45 private final Map<Pair<String, String>, Tile> mTileByComponentCache; field in class:CategoryManager
65 mTileByComponentCache = new ArrayMap<>();
124 mTileByComponentCache.clear();
127 mCategories = TileUtils.getCategories(context, mTileByComponentCache,
132 backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap);

Completed in 21 milliseconds