Home
last modified time | relevance | path

Searched refs:sir (Results 1 – 25 of 232) sorted by relevance

12345678910

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java83 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 …]
DSimSettings.java128 final SubscriptionInfo sir = mSubscriptionManager in updateSubscriptions() local
130 SimPreference simPreference = new SimPreference(getPrefContext(), sir, i); in updateSubscriptions()
133 mAvailableSubInfos.add(sir); in updateSubscriptions()
134 if (sir != null) { in updateSubscriptions()
135 mSelectableSubInfos.add(sir); in updateSubscriptions()
164 final SubscriptionInfo sir = mSubscriptionManager.getDefaultSmsSubscriptionInfo(); in updateSmsValues() local
168 if (sir != null) { in updateSmsValues()
169 simPref.setSummary(sir.getDisplayName()); in updateSmsValues()
171 } else if (sir == null) { in updateSmsValues()
179 final SubscriptionInfo sir = mSubscriptionManager.getDefaultDataSubscriptionInfo(); in updateCellularDataValues() local
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDataConverter.java95 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 …]
DPreIndexDataCollector.java148 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/src/com/android/settings/sim/
DSimSettings.java128 final SubscriptionInfo sir = mSubscriptionManager in updateSubscriptions() local
130 SimPreference simPreference = new SimPreference(getPrefContext(), sir, i); in updateSubscriptions()
133 mAvailableSubInfos.add(sir); in updateSubscriptions()
134 if (sir != null) { in updateSubscriptions()
135 mSelectableSubInfos.add(sir); in updateSubscriptions()
164 final SubscriptionInfo sir = mSubscriptionManager.getDefaultSmsSubscriptionInfo(); in updateSmsValues() local
168 if (sir != null) { in updateSmsValues()
169 simPref.setSummary(sir.getDisplayName()); in updateSmsValues()
171 } else if (sir == null) { in updateSmsValues()
179 final SubscriptionInfo sir = mSubscriptionManager.getDefaultDataSubscriptionInfo(); in updateCellularDataValues() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DBaseSearchIndexProviderTest.java99 final SearchIndexableResource sir = new SearchIndexableResource(context); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml()
100 sir.xmlResId = R.xml.location_settings; in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml()
101 return Collections.singletonList(sir); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml()
157 final SearchIndexableResource sir = new SearchIndexableResource(context); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything()
158 sir.xmlResId = R.xml.data_usage; in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything()
159 return Collections.singletonList(sir); in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything()
181 final SearchIndexableResource sir = new SearchIndexableResource(context); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
182 sir.xmlResId = R.xml.display_settings; in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
183 return Collections.singletonList(sir); in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DScanningSettingsTest.java46 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/apps/Settings/src/com/android/settings/gestures/
DGlobalActionsPanelSettings.java56 final SearchIndexableResource sir = new SearchIndexableResource(context);
57 sir.xmlResId = R.xml.global_actions_panel_settings;
58 return Arrays.asList(sir);
/packages/apps/Settings/src/com/android/settings/
DLegalSettings.java57 final SearchIndexableResource sir = new SearchIndexableResource(context);
58 sir.xmlResId = R.xml.about_legal;
59 return Arrays.asList(sir);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DLegalSettings.java57 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/applications/specialaccess/
DSpecialAccessSettings.java59 final SearchIndexableResource sir = new SearchIndexableResource(context);
60 sir.xmlResId = R.xml.special_access;
61 result.add(sir);
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DFirmwareVersionSettings.java57 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/notification/
DBubbleNotificationSettings.java60 final SearchIndexableResource sir = new SearchIndexableResource(context);
61 sir.xmlResId = R.xml.bubble_notification_settings;
62 return Arrays.asList(sir);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/firmwareversion/
DFirmwareVersionSettings.java57 final SearchIndexableResource sir = new SearchIndexableResource(context);
58 sir.xmlResId = R.xml.firmware_version;
59 result.add(sir);
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java170 final SearchIndexableResource sir = new SearchIndexableResource(context);
173 sir.xmlResId = R.xml.network_and_internet_v2;
175 sir.xmlResId = R.xml.network_and_internet;
177 return Arrays.asList(sir);
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminSettings.java64 final SearchIndexableResource sir = new SearchIndexableResource(context);
65 sir.xmlResId = R.xml.device_admin_settings;
66 result.add(sir);
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTileConfigFragment.java59 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/applications/specialaccess/
DSpecialAccessSettings.java59 final SearchIndexableResource sir = new SearchIndexableResource(context);
60 sir.xmlResId = R.xml.special_access;
61 result.add(sir);
/packages/apps/Settings/src/com/android/settings/deviceinfo/hardwareinfo/
DHardwareInfoFragment.java60 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/applications/specialaccess/financialapps/
DFinancialAppsSmsAccess.java58 final SearchIndexableResource sir = new SearchIndexableResource(context);
59 sir.xmlResId = R.xml.financial_app_sms_access;
60 result.add(sir);
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentSettings.java62 final SearchIndexableResource sir = new SearchIndexableResource(context);
63 sir.xmlResId = R.xml.trust_agent_settings;
64 result.add(sir);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DAutoBrightnessSettings.java69 final SearchIndexableResource sir = new SearchIndexableResource(context);
70 sir.xmlResId = R.xml.auto_brightness_detail;
71 return Arrays.asList(sir);
/packages/apps/Settings/src/com/android/settings/display/
DAutoBrightnessSettings.java69 final SearchIndexableResource sir = new SearchIndexableResource(context);
70 sir.xmlResId = R.xml.auto_brightness_detail;
71 return Arrays.asList(sir);
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/
DManageDomainUrls.java71 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/applications/specialaccess/deviceadmin/
DDeviceAdminSettings.java64 final SearchIndexableResource sir = new SearchIndexableResource(context);
65 sir.xmlResId = R.xml.device_admin_settings;
66 result.add(sir);

12345678910