Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DCategoryManagerTest.java103 final String oldCategory = "com.android.settings.category.wireless"; in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() local
104 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() local
125 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 …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java195 Category oldCategory = findThirdPartyCategory(packageName); in updateThirdPartyCategories() local
196 if (oldCategory != null) { in updateThirdPartyCategories()
205 removeCategory(oldCategory); in updateThirdPartyCategories()