Home
last modified time | relevance | path

Searched refs:categoryKey (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DSafetyLabelTestPersistableBundles.kt278 DataCategoryConstants.VALID_CATEGORIES.forEach { categoryKey -> in <lambda>() method
279 putPersistableBundle(categoryKey, createTypeMapPersistableBundle(categoryKey)) in <lambda>()
287 DataCategoryConstants.VALID_CATEGORIES.forEach { categoryKey -> in <lambda>() method
288 putPersistableBundle(categoryKey, createTypeMapPersistableBundle(categoryKey)) in <lambda>()
300 DataCategoryConstants.VALID_CATEGORIES.forEach { categoryKey -> in <lambda>() method
301 putPersistableBundle(categoryKey, createInvalidTypeMapPersistableBundle()) in <lambda>()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenCustomRuleSettingsBase.java89 String categoryKey = getPreferenceCategoryKey(); in updatePreferences() local
90 if (categoryKey != null) { in updatePreferences()
91 Preference prefCategory = screen.findPreference(categoryKey); in updatePreferences()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java495 private void initializePreBundledServicesMapFromArray(String categoryKey, int key) { in initializePreBundledServicesMapFromArray() argument
497 PreferenceCategory category = mCategoryToPrefCategoryMap.get(categoryKey); in initializePreBundledServicesMapFromArray()
516 private void updateCategoryOrderFromArray(String categoryKey, int key) { in updateCategoryOrderFromArray() argument
518 PreferenceCategory category = mCategoryToPrefCategoryMap.get(categoryKey); in updateCategoryOrderFromArray()
537 private void updatePreferenceCategoryVisibility(String categoryKey) { in updatePreferenceCategoryVisibility() argument
538 final PreferenceCategory category = mCategoryToPrefCategoryMap.get(categoryKey); in updatePreferenceCategoryVisibility()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceControllerTest.java86 final String categoryKey = "basic_info_category"; in setup() local
88 mCategory.setKey(categoryKey); in setup()
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DCategoryManagerTest.java411 private Tile createActivityTile(String categoryKey, String packageName, String className, in createActivityTile() argument
418 return new ActivityTile(activityInfo, categoryKey); in createActivityTile()
421 private Tile createProviderTile(String categoryKey, String packageName, String className, in createProviderTile() argument
430 return new ProviderTile(providerInfo, categoryKey, metaData); in createProviderTile()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java187 final String categoryKey = getCategoryKey(); in onCategoriesChanged() local
189 mDashboardFeatureProvider.getTilesForCategory(categoryKey); in onCategoriesChanged()
197 } else if (categories.contains(categoryKey)) { in onCategoriesChanged()
198 Log.i(TAG, "refresh tiles for " + categoryKey); in onCategoriesChanged()
DCategoryManager.java77 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey) { in getTilesByCategory() argument
80 return mCategoryByKeyMap.get(categoryKey); in getTilesByCategory()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/
DSimStatusPreferenceControllerTest.java119 final String categoryKey = "device_detail_category"; in setUp() local
120 when(mScreen.findPreference(categoryKey)).thenReturn(mCategory); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceControllerTest.java99 final String categoryKey = "device_detail_category"; in setUp() local
100 when(mScreen.findPreference(categoryKey)).thenReturn(mCategory); in setUp()
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java437 final String categoryKey = DashboardFragmentRegistry.PARENT_TO_CATEGORY_KEY_MAP in refreshSearchEnabledState() local
439 if (categoryKey == null) { in refreshSearchEnabledState()
444 .getTilesByCategory(context, categoryKey); in refreshSearchEnabledState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSettingsSearchIndexablesProviderTest.java233 public DashboardCategory getTilesByCategory(Context context, String categoryKey) { in getTilesByCategory() argument