Home
last modified time | relevance | path

Searched refs:nonIndexableKeys (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java73 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys() local
74 nonIndexableKeys.addAll(getNonIndexableKeysFromXml(context, false /* suppressAllPage */)); in getNonIndexableKeys()
80 .updateNonIndexableKeys(nonIndexableKeys); in getNonIndexableKeys()
83 nonIndexableKeys); in getNonIndexableKeys()
88 nonIndexableKeys.add(controller.getPreferenceKey()); in getNonIndexableKeys()
92 return nonIndexableKeys; in getNonIndexableKeys()
145 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromXml() local
147 nonIndexableKeys.addAll( in getNonIndexableKeysFromXml()
150 return nonIndexableKeys; in getNonIndexableKeysFromXml()
DSettingsSearchIndexablesProvider.java152 final List<String> nonIndexableKeys = getNonIndexableKeysFromProvider(getContext()); in queryNonIndexableKeys() local
153 for (String nik : nonIndexableKeys) { in queryNonIndexableKeys()
224 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromProvider() local
266 nonIndexableKeys.addAll(providerNonIndexableKeys); in getNonIndexableKeysFromProvider()
269 return nonIndexableKeys; in getNonIndexableKeysFromProvider()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DBaseSearchIndexProvider.java73 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeys() local
74 nonIndexableKeys.addAll(getNonIndexableKeysFromXml(context, false /* suppressAllPage */)); in getNonIndexableKeys()
80 .updateNonIndexableKeys(nonIndexableKeys); in getNonIndexableKeys()
83 nonIndexableKeys); in getNonIndexableKeys()
88 nonIndexableKeys.add(controller.getPreferenceKey()); in getNonIndexableKeys()
92 return nonIndexableKeys; in getNonIndexableKeys()
145 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromXml() local
147 nonIndexableKeys.addAll( in getNonIndexableKeysFromXml()
150 return nonIndexableKeys; in getNonIndexableKeysFromXml()
DSettingsSearchIndexablesProvider.java152 final List<String> nonIndexableKeys = getNonIndexableKeysFromProvider(getContext()); in queryNonIndexableKeys() local
153 for (String nik : nonIndexableKeys) { in queryNonIndexableKeys()
224 final List<String> nonIndexableKeys = new ArrayList<>(); in getNonIndexableKeysFromProvider() local
266 nonIndexableKeys.addAll(providerNonIndexableKeys); in getNonIndexableKeysFromProvider()
269 return nonIndexableKeys; in getNonIndexableKeysFromProvider()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDataConverter.java78 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()
DDatabaseIndexingManager.java151 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/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java111 final List<String> nonIndexableKeys = in searchIndex_pageDisabledBySetting_shouldAddAllKeysToNonIndexable() local
115 assertThat(nonIndexableKeys).contains("enable_adb"); in searchIndex_pageDisabledBySetting_shouldAddAllKeysToNonIndexable()
125 final List<String> nonIndexableKeys = in searchIndex_pageDisabledForNonAdmin_shouldAddAllKeysToNonIndexable() local
129 assertThat(nonIndexableKeys).contains("enable_adb"); in searchIndex_pageDisabledForNonAdmin_shouldAddAllKeysToNonIndexable()
142 final List<String> nonIndexableKeys = in searchIndex_pageEnabled_shouldNotAddKeysToNonIndexable() local
146 assertThat(nonIndexableKeys).doesNotContain("development_prefs_screen"); in searchIndex_pageEnabled_shouldNotAddKeysToNonIndexable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DBaseSearchIndexProviderTest.java168 final List<String> nonIndexableKeys = in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() local
171 assertThat(nonIndexableKeys).contains("status_header"); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything()
188 final List<String> nonIndexableKeys = in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable() local
191 assertThat(nonIndexableKeys).contains("pref_key_5"); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DInstallCertificateFromStorageTest.java81 final List<String> nonIndexableKeys = in getNonIndexableKeys_existInXmlLayout() local
84 assertThat(nonIndexableKeys).containsAllIn(mTestKeys); in getNonIndexableKeys_existInXmlLayout()