/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDataConverter.java | 95 final SearchIndexableResource sir = (SearchIndexableResource) data; in convertPreIndexDataToIndexData() local 98 final List<IndexData> resourceData = convertResource(sir, authority, in convertPreIndexDataToIndexData() 194 private List<IndexData> convertResource(SearchIndexableResource sir, String authority, in convertResource() argument 196 final Context context = sir.context; in convertResource() 201 parser = context.getResources().getXml(sir.xmlResId); in convertResource() 252 .setClassName(sir.className) in convertResource() 253 .setPackageName(sir.packageName) in convertResource() 255 .setIntentAction(sir.intentAction) in convertResource() 256 .setIntentTargetPackage(sir.intentTargetPackage) in convertResource() 257 .setIntentTargetClass(sir.intentTargetClass) in convertResource() [all …]
|
D | PreIndexDataCollector.java | 148 SearchIndexableResource sir = new SearchIndexableResource(packageContext); in getIndexablesForXmlResourceUri() local 149 sir.packageName = packageName; in getIndexablesForXmlResourceUri() 150 sir.xmlResId = cursor.getInt(COLUMN_INDEX_XML_RES_RESID); in getIndexablesForXmlResourceUri() 151 sir.className = cursor.getString(COLUMN_INDEX_XML_RES_CLASS_NAME); in getIndexablesForXmlResourceUri() 152 sir.iconResId = cursor.getInt(COLUMN_INDEX_XML_RES_ICON_RESID); in getIndexablesForXmlResourceUri() 153 sir.intentAction = cursor.getString(COLUMN_INDEX_XML_RES_INTENT_ACTION); in getIndexablesForXmlResourceUri() 154 sir.intentTargetPackage = cursor.getString( in getIndexablesForXmlResourceUri() 156 sir.intentTargetClass = cursor.getString( in getIndexablesForXmlResourceUri() 158 resources.add(sir); in getIndexablesForXmlResourceUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 106 final SearchIndexableResource sir = new SearchIndexableResource(context); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 107 sir.xmlResId = R.xml.location_settings; in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 108 return Collections.singletonList(sir); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 164 final SearchIndexableResource sir = new SearchIndexableResource(context); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 165 sir.xmlResId = R.xml.data_usage; in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 166 return Collections.singletonList(sir); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 188 final SearchIndexableResource sir = new SearchIndexableResource(context); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable() 189 sir.xmlResId = R.xml.display_settings; in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable() 190 return Collections.singletonList(sir); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
|
D | FakeSettingsFragment.java | 104 final SearchIndexableResource sir = new SearchIndexableResource(context); 105 sir.xmlResId = com.android.settings.R.xml.display_settings; 106 result.add(sir);
|
/packages/apps/Car/Settings/src/com/android/car/settings/search/ |
D | CarBaseSearchIndexProvider.java | 68 SearchIndexableResource sir = new SearchIndexableResource(context); in getXmlResourcesToIndex() local 69 sir.xmlResId = mXmlRes; in getXmlResourcesToIndex() 70 sir.intentAction = mIntentAction; in getXmlResourcesToIndex() 71 sir.intentTargetPackage = context.getPackageName(); in getXmlResourcesToIndex() 72 sir.intentTargetClass = mIntentClass; in getXmlResourcesToIndex() 73 return Collections.singletonList(sir); in getXmlResourcesToIndex()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 67 final SearchIndexableResource sir = new SearchIndexableResource(context); in getXmlResourcesToIndex() local 68 sir.xmlResId = mXmlRes; in getXmlResourcesToIndex() 69 return Arrays.asList(sir); in getXmlResourcesToIndex() 147 for (SearchIndexableResource sir : res) { in getPreferenceControllers() 149 .getPreferenceControllersFromXml(context, sir.xmlResId)); in getPreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationServicesTest.java | 46 final List<SearchIndexableResource> sir = LocationServices.SEARCH_INDEX_DATA_PROVIDER in searchProvider_shouldIndexDefaultXml() local 49 assertThat(sir).hasSize(1); in searchProvider_shouldIndexDefaultXml() 50 assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_services); in searchProvider_shouldIndexDefaultXml()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardFragment.java | 57 final SearchIndexableResource sir = new SearchIndexableResource(context); 58 sir.xmlResId = R.xml.virtual_keyboard_settings; 59 return Arrays.asList(sir);
|
D | UserDictionaryList.java | 85 final SearchIndexableResource sir = new SearchIndexableResource(context); 86 sir.xmlResId = R.xml.user_dictionary_list_fragment; 87 result.add(sir);
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | PrivacySettingsFinancedPreference.java | 53 final SearchIndexableResource sir = new SearchIndexableResource(mContext); in getXmlResourcesToIndex() local 54 sir.xmlResId = getPreferenceScreenResId(); in getXmlResourcesToIndex() 55 return Collections.singletonList(sir); in getXmlResourcesToIndex()
|
D | PrivacySettingsEnterprisePreference.java | 53 final SearchIndexableResource sir = new SearchIndexableResource(mContext); in getXmlResourcesToIndex() local 54 sir.xmlResId = getPreferenceScreenResId(); in getXmlResourcesToIndex() 55 return Collections.singletonList(sir); in getXmlResourcesToIndex()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagsDashboard.java | 70 final SearchIndexableResource sir = new SearchIndexableResource(context); 71 sir.xmlResId = R.xml.feature_flags_settings; 72 result.add(sir);
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | DoubleTwistGestureSettings.java | 71 final SearchIndexableResource sir = new SearchIndexableResource(context); 72 sir.xmlResId = R.xml.double_twist_gesture_settings; 73 return Arrays.asList(sir);
|
D | AssistGestureSettings.java | 74 final SearchIndexableResource sir = new SearchIndexableResource(context); 75 sir.xmlResId = R.xml.assist_gesture_settings; 76 return Arrays.asList(sir);
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeMessagesSettings.java | 76 final SearchIndexableResource sir = new SearchIndexableResource(context); 77 sir.xmlResId = R.xml.zen_mode_messages_settings; 78 result.add(sir);
|
D | ZenModeCallsSettings.java | 78 final SearchIndexableResource sir = new SearchIndexableResource(context); 79 sir.xmlResId = R.xml.zen_mode_calls_settings; 80 result.add(sir);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppDashboardFragment.java | 89 final SearchIndexableResource sir = new SearchIndexableResource(context); 90 sir.xmlResId = R.xml.apps; 91 return Arrays.asList(sir);
|
/packages/apps/Settings/src/com/android/settings/system/ |
D | SystemDashboardFragment.java | 107 final SearchIndexableResource sir = new SearchIndexableResource(context); 108 sir.xmlResId = R.xml.system_dashboard_fragment; 109 return Arrays.asList(sir);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | SmartBatterySettings.java | 86 final SearchIndexableResource sir = new SearchIndexableResource(context); 87 sir.xmlResId = R.xml.smart_battery_detail; 88 return Arrays.asList(sir);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | PrivacySettingsEnterprisePreference.java | 56 final SearchIndexableResource sir = new SearchIndexableResource(mContext); in getXmlResourcesToIndex() local 57 sir.xmlResId = getPreferenceScreenResId(); in getXmlResourcesToIndex() 58 return Collections.singletonList(sir); in getXmlResourcesToIndex()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkListFragment.java | 91 final SearchIndexableResource sir = new SearchIndexableResource(context); 92 sir.xmlResId = Utils.isProviderModelEnabled(context) 95 result.add(sir);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/search/ |
D | FakeSettingsFragment.java | 103 final SearchIndexableResource sir = new SearchIndexableResource(context); 104 sir.xmlResId = com.android.settings.R.xml.display_settings; 105 result.add(sir);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeSettingsTest.java | 104 final List<SearchIndexableResource> sir = ZenModeSettings.SEARCH_INDEX_DATA_PROVIDER in searchProvider_shouldIndexDefaultXml() local 107 assertThat(sir).hasSize(1); in searchProvider_shouldIndexDefaultXml() 108 assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.zen_mode_settings); in searchProvider_shouldIndexDefaultXml()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | AdvancedConnectedDeviceDashboardFragment.java | 97 final SearchIndexableResource sir = new SearchIndexableResource(context); 98 sir.xmlResId = R.xml.connected_devices_advanced; 99 return Arrays.asList(sir);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ManagedProfileSettings.java | 124 final SearchIndexableResource sir = new SearchIndexableResource(context); 125 sir.xmlResId = R.xml.managed_profile_settings; 126 result.add(sir);
|