Searched refs:oldCategory (Results 1 – 2 of 2) sorted by relevance
103 final String oldCategory = "com.android.settings.category.wireless"; in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() local104 final Tile tile2 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()107 final DashboardCategory category2 = new DashboardCategory(oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()110 mCategoryByKeyMap.put(oldCategory, category2); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()119 assertThat(mCategoryByKeyMap.get(oldCategory).getTilesCount()).isEqualTo(1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()124 final String oldCategory = "com.android.settings.category.wireless"; in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys() local125 final Tile tile1 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()126 tile1.setCategory(oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()127 final DashboardCategory category1 = new DashboardCategory(oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()129 mCategoryByKeyMap.put(oldCategory, category1); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()[all …]
195 Category oldCategory = findThirdPartyCategory(packageName); in updateThirdPartyCategories() local196 if (oldCategory != null) { in updateThirdPartyCategories()205 removeCategory(oldCategory); in updateThirdPartyCategories()