Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModeAutomaticRulePreferenceController.java120 ComponentName settingsActivity = null; in getSettingsActivity() local
123 settingsActivity = rule.getConfigurationActivity(); in getSettingsActivity()
126 settingsActivity = null; in getSettingsActivity()
129 settingsActivity = new ComponentName(ci.packageName, ci.name); in getSettingsActivity()
135 settingsActivity = ComponentName.unflattenFromString(configurationActivity); in getSettingsActivity()
139 if (settingsActivity == null || owner == null) { in getSettingsActivity()
140 return settingsActivity; in getSettingsActivity()
144 int configActivityOwnerUid = pm.getPackageUid(settingsActivity.getPackageName(), 0); in getSettingsActivity()
146 return settingsActivity; in getSettingsActivity()
DZenRulePreference.java170 ComponentName settingsActivity = AbstractZenModeAutomaticRulePreferenceController. in setAttributes() local
173 settingsActivity, mId); in setAttributes()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceController.java46 public BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController() argument
48 super(settingsActivity); in BatteryOptimizationPreferenceController()
50 mSettingsActivity = settingsActivity; in BatteryOptimizationPreferenceController()
56 BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController() argument
58 super(settingsActivity); in BatteryOptimizationPreferenceController()
60 mSettingsActivity = settingsActivity; in BatteryOptimizationPreferenceController()
DSmartBatterySettings.java68 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers() argument
71 if (settingsActivity != null && fragment != null) { in buildPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java95 SettingsActivity settingsActivity, InstrumentedPreferenceFragment fragment) { in getActionForBatteryTip() argument
98 return new SmartBatteryAction(settingsActivity, fragment); in getActionForBatteryTip()
101 return new OpenBatterySaverAction(settingsActivity); in getActionForBatteryTip()
106 return new RestrictAppAction(settingsActivity, (RestrictAppTip) batteryTip); in getActionForBatteryTip()
109 return new UnrestrictAppAction(settingsActivity, (UnrestrictAppTip) batteryTip); in getActionForBatteryTip()
111 return new BatteryDefenderAction(settingsActivity); in getActionForBatteryTip()
/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/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/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DBatteryDefenderAction.java32 public BatteryDefenderAction(SettingsActivity settingsActivity) { in BatteryDefenderAction() argument
33 super(settingsActivity.getApplicationContext()); in BatteryDefenderAction()
34 mSettingsActivity = settingsActivity; in BatteryDefenderAction()
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/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/Settings/src/com/android/settings/inputmethod/
DSpellCheckerPreference.java90 final String settingsActivity = sci.getSettingsActivity(); in setValue() local
91 if (TextUtils.isEmpty(settingsActivity)) { in setValue()
95 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/applications/assist/
DVoiceInputHelper.java117 String settingsActivity = null; in buildUi() local
145 settingsActivity = array.getString( in buildUi()
162 resolveInfo.serviceInfo, settingsActivity, selectableAsDefault)); in buildUi()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java104 String settingsActivity = service.getSettingsActivityName(); in refresh() local
105 if (settingsActivity != null) { in refresh()
108 settingsActivity); in refresh()
/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/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java134 String settingsActivity = getSettingsActivity(info); in onCreate() local
135 if (settingsActivity != null) { in onCreate()
138 settingsActivity)); in onCreate()
143 Log.i(TAG, "Couldn't find wallpaper settings activity: " + settingsActivity); in onCreate()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java134 final String settingsActivity = info.getSettingsActivity(); in initUI() local
135 if (settingsActivity != null) { in initUI()
137 mSettingsIntent.setComponent(new ComponentName(packageName, settingsActivity)); in initUI()
142 Log.e(LOG_TAG, "Couldn't find settings activity: " + settingsActivity); in initUI()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceControllerTest.java301 Intent createInputMethodSettingsIntent(String packageName, String settingsActivity) { in createInputMethodSettingsIntent() argument
302 Intent intent = super.createInputMethodSettingsIntent(packageName, settingsActivity); in createInputMethodSettingsIntent()