Home
last modified time | relevance | path

Searched refs:addNewServiceIntent (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java144 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in onViewCreated() local
145 if (addNewServiceIntent != null) { in onViewCreated()
239 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in newAddServicePreferenceOrNull() local
240 if (addNewServiceIntent == null) { in newAddServicePreferenceOrNull()
247 preference.setIntent(addNewServiceIntent); in newAddServicePreferenceOrNull()
278 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in onClick() local
279 if (addNewServiceIntent != null) { // check again just in case. in onClick()
281 startActivity(addNewServiceIntent); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DPrintSettingsFragment.java144 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in onViewCreated() local
145 if (addNewServiceIntent != null) { in onViewCreated()
239 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in newAddServicePreferenceOrNull() local
240 if (addNewServiceIntent == null) { in newAddServicePreferenceOrNull()
247 preference.setIntent(addNewServiceIntent); in newAddServicePreferenceOrNull()
278 final Intent addNewServiceIntent = createAddNewServiceIntentOrNull(); in onClick() local
279 if (addNewServiceIntent != null) { // check again just in case. in onClick()
281 startActivity(addNewServiceIntent); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAutofillPicker.java173 final Intent addNewServiceIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(searchUri)); in newAddServicePreferenceOrNull() local
177 context.startActivityAsUser(addNewServiceIntent, UserHandle.of(mUserId)); in newAddServicePreferenceOrNull()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java173 final Intent addNewServiceIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(searchUri)); in newAddServicePreferenceOrNull() local
177 context.startActivityAsUser(addNewServiceIntent, UserHandle.of(mUserId)); in newAddServicePreferenceOrNull()