Home
last modified time | relevance | path

Searched refs:settingsActivity (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCombinedProviderInfo.java113 final CharSequence settingsActivity = cpi.getSettingsActivity(); in getSettingsActivity() local
114 if (!TextUtils.isEmpty(settingsActivity)) { in getSettingsActivity()
115 return String.valueOf(settingsActivity); in getSettingsActivity()
120 final String settingsActivity = mAutofillServiceInfo.getSettingsActivity(); in getSettingsActivity() local
121 if (!TextUtils.isEmpty(settingsActivity)) { in getSettingsActivity()
122 return settingsActivity; in getSettingsActivity()
358 @Nullable CharSequence packageName, @Nullable CharSequence settingsActivity) { in createSettingsActivityIntent() argument
359 if (TextUtils.isEmpty(packageName) || TextUtils.isEmpty(settingsActivity)) { in createSettingsActivityIntent()
364 new ComponentName(String.valueOf(packageName), String.valueOf(settingsActivity)); in createSettingsActivityIntent()
371 + String.valueOf(settingsActivity)); in createSettingsActivityIntent()
[all …]
DDefaultCombinedPreferenceController.java124 @Nullable CharSequence settingsActivity) { in updatePreferenceForProvider() argument
146 mContext, packageName, settingsActivity, getUser()); in updatePreferenceForProvider()
155 primaryPref.setOpenButtonVisible(!TextUtils.isEmpty(settingsActivity)); in updatePreferenceForProvider()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModeAutomaticRulePreferenceController.java121 ComponentName settingsActivity = null; in getSettingsActivity() local
124 settingsActivity = rule.getConfigurationActivity(); in getSettingsActivity()
127 settingsActivity = null; in getSettingsActivity()
130 settingsActivity = new ComponentName(ci.packageName, ci.name); in getSettingsActivity()
136 settingsActivity = ComponentName.unflattenFromString(configurationActivity); in getSettingsActivity()
140 if (settingsActivity == null || owner == null) { in getSettingsActivity()
141 return settingsActivity; in getSettingsActivity()
145 int configActivityOwnerUid = pm.getPackageUid(settingsActivity.getPackageName(), 0); in getSettingsActivity()
147 return settingsActivity; in getSettingsActivity()
DZenRulePreference.java128 ComponentName settingsActivity = AbstractZenModeAutomaticRulePreferenceController. in setAttributes() local
131 settingsActivity, mId); in setAttributes()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java91 SettingsActivity settingsActivity, in getActionForBatteryTip() argument
95 return new SmartBatteryAction(settingsActivity, fragment); in getActionForBatteryTip()
98 return new OpenBatterySaverAction(settingsActivity); in getActionForBatteryTip()
103 return new RestrictAppAction(settingsActivity, (RestrictAppTip) batteryTip); in getActionForBatteryTip()
106 return new UnrestrictAppAction(settingsActivity, (UnrestrictAppTip) batteryTip); in getActionForBatteryTip()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceController.java92 String settingsActivity; in getSettingIntent() local
94 settingsActivity = new AutofillServiceInfo(getContext(), serviceInfo) in getSettingIntent()
101 if (TextUtils.isEmpty(settingsActivity)) { in getSettingIntent()
105 new ComponentName(serviceInfo.packageName, settingsActivity)); in getSettingIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/accessibility/
DScreenReaderUtils.java96 String settingsActivity = serviceInfo.getSettingsActivityName(); in getScreenReaderSettingsActivity() local
97 if (settingsActivity == null || settingsActivity.isEmpty()) { in getScreenReaderSettingsActivity()
102 settingsActivity); in getScreenReaderSettingsActivity()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceController.java128 String settingsActivity = inputMethodInfo.getSettingsActivity(); in createPreference()
129 if (settingsActivity == null) { in createPreference()
135 settingsActivity); in createPreference()
148 Intent createInputMethodSettingsIntent(String packageName, String settingsActivity) { in createInputMethodSettingsIntent() argument
150 intent.setClassName(packageName, settingsActivity); in createInputMethodSettingsIntent()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DSmartBatteryAction.java33 public SmartBatteryAction(SettingsActivity settingsActivity, Fragment fragment) { in SmartBatteryAction() argument
34 super(settingsActivity.getApplicationContext()); in SmartBatteryAction()
35 mSettingsActivity = settingsActivity; in SmartBatteryAction()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DAutofillHelper.java120 final String settingsActivity; in getAutofillSettingsIntent() local
122 settingsActivity = new AutofillServiceInfo(context, serviceInfo) in getAutofillSettingsIntent()
129 if (TextUtils.isEmpty(settingsActivity)) { in getAutofillSettingsIntent()
133 new ComponentName(serviceInfo.packageName, settingsActivity)); in getAutofillSettingsIntent()
DInputMethodHelper.java104 final String settingsActivity = imi.getSettingsActivity(); in getInputMethodSettingsIntent() local
105 if (!TextUtils.isEmpty(settingsActivity)) { in getInputMethodSettingsIntent()
107 intent.setClassName(imi.getPackageName(), settingsActivity); in getInputMethodSettingsIntent() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillHelper.java122 final String settingsActivity; in getAutofillSettingsIntent() local
124 settingsActivity = new AutofillServiceInfo(context, serviceInfo) in getAutofillSettingsIntent()
131 if (TextUtils.isEmpty(settingsActivity)) { in getAutofillSettingsIntent()
135 new ComponentName(serviceInfo.packageName, settingsActivity)); in getAutofillSettingsIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DInputMethodHelper.java104 final String settingsActivity = imi.getSettingsActivity(); in getInputMethodSettingsIntent() local
105 if (!TextUtils.isEmpty(settingsActivity)) { in getInputMethodSettingsIntent()
107 intent.setClassName(imi.getPackageName(), settingsActivity); in getInputMethodSettingsIntent() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAutofillServiceInfo.java46 public static void setSettingsActivity(String settingsActivity) { in setSettingsActivity() argument
47 sSettingsActivity = settingsActivity; in setSettingsActivity()
DShadowVoiceInteractionServiceInfo.java50 public static void setSettingsActivity(ServiceInfo si, String settingsActivity) { in setSettingsActivity() argument
51 sSettingsActivityMap.put(si, settingsActivity); in setSettingsActivity()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckerPreference.java98 final String settingsActivity = sci.getSettingsActivity(); in setValue() local
99 if (TextUtils.isEmpty(settingsActivity)) { in setValue()
103 mIntent.setClassName(sci.getPackageName(), settingsActivity); in setValue() local
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java295 final String settingsActivity; in getIntent() local
297 settingsActivity = new AutofillServiceInfo(mContext, serviceInfo) in getIntent()
304 if (TextUtils.isEmpty(settingsActivity)) { in getIntent()
308 new ComponentName(serviceInfo.packageName, settingsActivity)); in getIntent()
/packages/apps/Settings/src/com/android/settings/language/
DVoiceInputHelper.java182 String settingsActivity; in parseRecognitionServiceXmlMetadata() local
213 settingsActivity = array.getString( in parseRecognitionServiceXmlMetadata()
226 return Pair.create(settingsActivity, selectableAsDefault); in parseRecognitionServiceXmlMetadata()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DSmartBatterySettings.java68 SettingsActivity settingsActivity, in buildPreferenceControllers() argument
71 if (settingsActivity != null && fragment != null) { in buildPreferenceControllers()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/inputmethod/
DInputMethodPreferenceController.java190 final String settingsActivity = mImi.getSettingsActivity(); in update() local
191 if (TextUtils.isEmpty(settingsActivity)) { in update()
196 intent.setClassName(mImi.getPackageName(), settingsActivity); in update() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSearchIndexablesProvider.java52 ResolveInfo settingsActivity = getContext().getPackageManager().resolveActivity( in queryXmlResources() local
59 .add(XmlResource.COLUMN_INTENT_TARGET_CLASS, settingsActivity.activityInfo.name); in queryXmlResources()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java127 String settingsActivity = service.getSettingsActivityName(); in refresh() local
128 if (settingsActivity != null) { in refresh()
131 settingsActivity); in refresh()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModel.kt548 val settingsActivity = systemWallpaperInfo.settingsActivity in <lambda>() constant
549 if (settingsActivity.isNullOrEmpty()) { in <lambda>()
554 component = ComponentName(systemWallpaperInfo.packageName, settingsActivity) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentManagerTest.java164 String settingsActivity = in setUpGetActiveTrustAgents() local
183 .thenReturn(settingsActivity); in setUpGetActiveTrustAgents()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java655 String settingsActivity = info.getSettingsActivity();
656 if (context == null || settingsActivity == null) {
661 new ComponentName(info.getPackageName(), settingsActivity));
666 Log.i(TAG, "Couldn't find wallpaper settings activity: " + settingsActivity);

12