/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimDialogActivity.java | 83 final SubscriptionInfo sir = SubscriptionManager.from(context) in displayPreferredDialog() local 86 if (sir != null) { in displayPreferredDialog() 90 R.string.sim_preferred_message, sir.getDisplayName())); in displayPreferredDialog() 96 final int subId = sir.getSubscriptionId(); in displayPreferredDialog() 167 final SubscriptionInfo sir; in createDialog() 171 sir = subInfoList.get(value); in createDialog() 172 setDefaultDataSubId(context, sir.getSubscriptionId()); in createDialog() 183 sir = subInfoList.get(value); in createDialog() 184 setDefaultSmsSubId(context, sir.getSubscriptionId()); in createDialog() 221 final SubscriptionInfo sir = SubscriptionManager.from(context) in createDialog() local [all …]
|
D | SimSettings.java | 127 final SubscriptionInfo sir = mSubscriptionManager in updateSubscriptions() local 129 SimPreference simPreference = new SimPreference(getPrefContext(), sir, i); in updateSubscriptions() 132 mAvailableSubInfos.add(sir); in updateSubscriptions() 133 if (sir != null) { in updateSubscriptions() 134 mSelectableSubInfos.add(sir); in updateSubscriptions() 163 final SubscriptionInfo sir = mSubscriptionManager.getDefaultSmsSubscriptionInfo(); in updateSmsValues() local 167 if (sir != null) { in updateSmsValues() 168 simPref.setSummary(sir.getDisplayName()); in updateSmsValues() 170 } else if (sir == null) { in updateSmsValues() 178 final SubscriptionInfo sir = mSubscriptionManager.getDefaultDataSubscriptionInfo(); in updateCellularDataValues() local [all …]
|
/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()
|
/packages/apps/Car/Settings/src/com/android/car/settings/search/ |
D | CarBaseSearchIndexProvider.java | 65 SearchIndexableResource sir = new SearchIndexableResource(context); in getXmlResourcesToIndex() local 66 sir.xmlResId = mXmlRes; in getXmlResourcesToIndex() 67 sir.intentAction = mIntentAction; in getXmlResourcesToIndex() 68 sir.intentTargetPackage = context.getPackageName(); in getXmlResourcesToIndex() 69 sir.intentTargetClass = mIntentClass; in getXmlResourcesToIndex() 70 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() 138 for (SearchIndexableResource sir : res) { in getPreferenceControllers() 140 .getPreferenceControllersFromXml(context, sir.xmlResId)); in getPreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | ScanningSettingsTest.java | 46 final List<SearchIndexableResource> sir = ScanningSettings.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_scanning); in searchProvider_shouldIndexDefaultXml()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | LegalSettings.java | 57 final SearchIndexableResource sir = new SearchIndexableResource(context); 58 sir.xmlResId = R.xml.about_legal; 59 return Arrays.asList(sir);
|
/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);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/ |
D | SpecialAccessSettings.java | 59 final SearchIndexableResource sir = new SearchIndexableResource(context); 60 sir.xmlResId = R.xml.special_access; 61 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/firmwareversion/ |
D | FirmwareVersionSettings.java | 57 final SearchIndexableResource sir = new SearchIndexableResource(context); 58 sir.xmlResId = R.xml.firmware_version; 59 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/ |
D | DeviceAdminSettings.java | 57 final SearchIndexableResource sir = new SearchIndexableResource(context); 58 sir.xmlResId = R.xml.device_admin_settings; 59 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | AutoBrightnessSettings.java | 67 final SearchIndexableResource sir = new SearchIndexableResource(context); 68 sir.xmlResId = R.xml.auto_brightness_detail; 69 return Arrays.asList(sir);
|
D | AdaptiveSleepSettings.java | 67 final SearchIndexableResource sir = new SearchIndexableResource(context); 68 sir.xmlResId = R.xml.adaptive_sleep_detail; 69 return Arrays.asList(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/financialapps/ |
D | FinancialAppsSmsAccess.java | 58 final SearchIndexableResource sir = new SearchIndexableResource(context); 59 sir.xmlResId = R.xml.financial_app_sms_access; 60 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/qstile/ |
D | DevelopmentTileConfigFragment.java | 59 final SearchIndexableResource sir = new SearchIndexableResource(context); 60 sir.xmlResId = R.xml.development_tile_settings; 61 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/hardwareinfo/ |
D | HardwareInfoFragment.java | 60 final SearchIndexableResource sir = new SearchIndexableResource(context); 61 sir.xmlResId = R.xml.hardware_info; 62 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/ |
D | BatterySaverSettings.java | 73 final SearchIndexableResource sir = new SearchIndexableResource(context); 74 sir.xmlResId = R.xml.battery_saver_settings; 75 return Arrays.asList(sir);
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkListFragment.java | 64 final SearchIndexableResource sir = new SearchIndexableResource(context); 65 sir.xmlResId = R.xml.mobile_network_list; 66 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/managedomainurls/ |
D | ManageDomainUrls.java | 71 final SearchIndexableResource sir = new SearchIndexableResource(context); 72 sir.xmlResId = R.xml.manage_domain_url_settings; 73 result.add(sir);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | DoubleTapPowerSettings.java | 71 final SearchIndexableResource sir = new SearchIndexableResource(context); 72 sir.xmlResId = R.xml.double_tap_power_settings; 73 return Arrays.asList(sir);
|