Home
last modified time | relevance | path

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

12

/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.java75 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers() argument
79 if (settingsActivity != null && fragment != null) { in buildPreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java75 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers() argument
79 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()
102 return new OpenBatterySaverAction(settingsActivity); in getActionForBatteryTip()
104 return new BatterySaverAction(settingsActivity); in getActionForBatteryTip()
110 return new RestrictAppAction(settingsActivity, (RestrictAppTip) batteryTip); in getActionForBatteryTip()
113 return new UnrestrictAppAction(settingsActivity, (UnrestrictAppTip) batteryTip); in getActionForBatteryTip()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java95 SettingsActivity settingsActivity, InstrumentedPreferenceFragment fragment) { in getActionForBatteryTip() argument
98 return new SmartBatteryAction(settingsActivity, fragment); in getActionForBatteryTip()
102 return new OpenBatterySaverAction(settingsActivity); in getActionForBatteryTip()
104 return new BatterySaverAction(settingsActivity); in getActionForBatteryTip()
110 return new RestrictAppAction(settingsActivity, (RestrictAppTip) batteryTip); in getActionForBatteryTip()
113 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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/Settings/src/com/android/tv/settings/inputmethod/
DInputMethodHelper.java102 final String settingsActivity = imi.getSettingsActivity(); in getInputMethodSettingsIntent() local
103 if (!TextUtils.isEmpty(settingsActivity)) { in getInputMethodSettingsIntent()
105 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentBackend.java104 String settingsActivity = service.getSettingsActivityName(); in refresh() local
105 if (settingsActivity != null) { in refresh()
108 settingsActivity); in refresh()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DVoiceInputHelper.java162 String settingsActivity = null; in buildUi() local
189 settingsActivity = array.getString( in buildUi()
202 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java162 String settingsActivity = null; in buildUi() local
189 settingsActivity = array.getString( in buildUi()
202 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/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/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java133 final String settingsActivity = info.getSettingsActivity(); in initUI() local
134 if (settingsActivity != null) { in initUI()
136 mSettingsIntent.setComponent(new ComponentName(packageName, settingsActivity)); in initUI()
141 Log.e(LOG_TAG, "Couldn't find settings activity: " + settingsActivity); in initUI()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceController.java134 String settingsActivity = inputMethodInfo.getSettingsActivity(); in createPreference()
135 intent.setClassName(inputMethodInfo.getPackageName(), settingsActivity); in createPreference()
/packages/apps/Settings/src/com/android/settings/notification/
DZenRulePreference.java170 ComponentName settingsActivity = AbstractZenModeAutomaticRulePreferenceController. in setAttributes() local
173 settingsActivity, mId); in setAttributes()

12