Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DCategoryManagerTest.java54 private Map<Pair<String, String>, Tile> mTileByComponentCache; field in CategoryManagerTest
64 mTileByComponentCache = new HashMap<>(); in setUp()
82 mTileByComponentCache.put(new Pair<>("PACKAGE", "1"), tile1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
83 mTileByComponentCache.put(new Pair<>("PACKAGE", "2"), tile2); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
85 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
102 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS1"), tile1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
103 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS2"), tile2); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
105 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
121 mTileByComponentCache.put(new Pair<>("PACKAGE", "CLASS1"), tile1); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
123 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
/packages/apps/Settings/src/com/android/settings/dashboard/
DCategoryManager.java50 private final Map<Pair<String, String>, Tile> mTileByComponentCache; field in CategoryManager
65 mTileByComponentCache = new ArrayMap<>(); in CategoryManager()
144 mTileByComponentCache.clear(); in tryInitCategories()
147 mCategories = TileUtils.getCategories(context, mTileByComponentCache); in tryInitCategories()
151 backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); in tryInitCategories()