/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 112 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys() local 113 nonIndexableKeys.addAll(getNonIndexableKeysFromXml(context, false /* suppressAllPage */)); in getNonIndexableKeys() 119 .updateNonIndexableKeys(nonIndexableKeys); in getNonIndexableKeys() 122 nonIndexableKeys); in getNonIndexableKeys() 127 nonIndexableKeys.add(controller.getPreferenceKey()); in getNonIndexableKeys() 131 return nonIndexableKeys; in getNonIndexableKeys() 188 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromXml() local 190 nonIndexableKeys.addAll( in getNonIndexableKeysFromXml() 193 return nonIndexableKeys; in getNonIndexableKeysFromXml()
|
D | SettingsSearchIndexablesProvider.java | 157 final List<String> nonIndexableKeys = getNonIndexableKeysFromProvider(getContext()); in queryNonIndexableKeys() local 158 for (String nik : nonIndexableKeys) { in queryNonIndexableKeys() 277 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromProvider() local 318 nonIndexableKeys.addAll(providerNonIndexableKeys); in getNonIndexableKeysFromProvider() 321 return nonIndexableKeys; in getNonIndexableKeysFromProvider()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDataConverter.java | 78 final Map<String, Set<String>> nonIndexableKeys = preIndexData.getNonIndexableKeys(); in convertPreIndexDataToIndexData() local 88 final Set<String> rawNonIndexableKeys = nonIndexableKeys.get(authority); in convertPreIndexDataToIndexData() 97 getNonIndexableKeysForResource(nonIndexableKeys, authority); in convertPreIndexDataToIndexData() 160 Set<String> nonIndexableKeys) { in convertRaw() argument 166 boolean enabled = !(nonIndexableKeys != null && nonIndexableKeys.contains(raw.key)); in convertRaw() 195 Set<String> nonIndexableKeys) { in convertResource() argument 245 enabled = !nonIndexableKeys.contains(headerKey); in convertResource() 281 enabled = !nonIndexableKeys.contains(key); in convertResource() 363 private Set<String> getNonIndexableKeysForResource(Map<String, Set<String>> nonIndexableKeys, in getNonIndexableKeysForResource() argument 365 final Set<String> result = nonIndexableKeys.get(authority); in getNonIndexableKeysForResource()
|
D | DatabaseIndexingManager.java | 151 final Map<String, Set<String>> nonIndexableKeys = preIndexData.getNonIndexableKeys(); in updateDatabase() local 170 updateDataInDatabase(database, nonIndexableKeys); in updateDatabase() 250 Map<String, Set<String>> nonIndexableKeys) { in updateDataInDatabase() argument 267 final Set<String> authorityKeys = nonIndexableKeys.get(authority); in updateDataInDatabase() 289 final Set<String> authorityKeys = nonIndexableKeys.get(authority); in updateDataInDatabase()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkAndInternetFragment.java | 47 List<String> nonIndexableKeys = super.getNonIndexableKeys(context); 50 nonIndexableKeys.add( 52 nonIndexableKeys.add( 55 return nonIndexableKeys;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 112 final List<String> nonIndexableKeys = in searchIndex_pageDisabledBySetting_shouldAddAllKeysToNonIndexable() local 116 assertThat(nonIndexableKeys).contains("enable_adb"); in searchIndex_pageDisabledBySetting_shouldAddAllKeysToNonIndexable() 126 final List<String> nonIndexableKeys = in searchIndex_pageDisabledForNonAdmin_shouldAddAllKeysToNonIndexable() local 130 assertThat(nonIndexableKeys).contains("enable_adb"); in searchIndex_pageDisabledForNonAdmin_shouldAddAllKeysToNonIndexable() 145 final List<String> nonIndexableKeys = in searchIndex_pageEnabled_shouldNotAddKeysToNonIndexable() local 149 assertThat(nonIndexableKeys).doesNotContain("development_prefs_screen"); in searchIndex_pageEnabled_shouldNotAddKeysToNonIndexable()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecuritySettingsTest.java | 78 List<String> nonIndexableKeys = indexProvider.getNonIndexableKeys(mContext); in noAlternativeFragmentAvailable_pageIndexIncluded() local 79 allXmlKeys.removeAll(nonIndexableKeys); in noAlternativeFragmentAvailable_pageIndexIncluded() 91 List<String> nonIndexableKeys = indexProvider.getNonIndexableKeys(mContext); in alternativeFragmentAvailable_pageIndexExcluded() local 92 allXmlKeys.removeAll(nonIndexableKeys); in alternativeFragmentAvailable_pageIndexExcluded()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | SystemSettingsFragment.java | 50 List<String> nonIndexableKeys = super.getNonIndexableKeys(context); 53 nonIndexableKeys.add( 56 return nonIndexableKeys;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 175 final List<String> nonIndexableKeys = in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() local 178 assertThat(nonIndexableKeys).contains("status_header"); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 195 final List<String> nonIndexableKeys = in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable() local 198 assertThat(nonIndexableKeys).contains("pref_key_5"); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | InstallCertificateFromStorageTest.java | 80 final List<String> nonIndexableKeys = in getNonIndexableKeys_existInXmlLayout() local 83 assertThat(nonIndexableKeys).containsAtLeastElementsIn(mTestKeys); in getNonIndexableKeys_existInXmlLayout()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/search/ |
D | CarSettingsSearchIndexablesProviderTest.java | 401 void setNonIndexableKeys(List<String> nonIndexableKeys) { in setNonIndexableKeys() argument 402 mNonIndexableKeys = nonIndexableKeys; in setNonIndexableKeys()
|