Home
last modified time | relevance | path

Searched refs:SettingsActivity (Results 1 – 25 of 196) sorted by relevance

12345678

/packages/apps/Settings/src/com/android/settings/
DSettings.java26 public class Settings extends SettingsActivity {
31 public static class AssistGestureSettingsActivity extends SettingsActivity { /* empty */}
32 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ }
33 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ }
34 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ }
35 public static class FingerprintSettingsActivity extends SettingsActivity { /* empty */ }
36 public static class SimSettingsActivity extends SettingsActivity { /* empty */ }
37 public static class TetherSettingsActivity extends SettingsActivity { /* empty */ }
38 public static class WifiTetherSettingsActivity extends SettingsActivity { /* empty */ }
39 public static class VpnSettingsActivity extends SettingsActivity { /* empty */ }
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettings.java26 public class Settings extends SettingsActivity {
31 public static class AssistGestureSettingsActivity extends SettingsActivity { /* empty */}
32 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ }
33 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ }
34 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ }
35 public static class SimSettingsActivity extends SettingsActivity { /* empty */ }
36 public static class TetherSettingsActivity extends SettingsActivity { /* empty */ }
37 public static class WifiTetherSettingsActivity extends SettingsActivity { /* empty */ }
38 public static class VpnSettingsActivity extends SettingsActivity { /* empty */ }
39 public static class DateTimeSettingsActivity extends SettingsActivity { /* empty */ }
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt34 import com.android.deskclock.settings.SettingsActivity
97 return prefs.getBoolean(SettingsActivity.KEY_AUTO_HOME_CLOCK, true) in getAutoShowHomeClock()
104 var timeZoneId: String? = prefs.getString(SettingsActivity.KEY_HOME_TZ, null) in getHomeTimeZone()
115 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply() in getHomeTimeZone()
127 return getClockStyle(context, prefs, SettingsActivity.KEY_CLOCK_STYLE) in getClockStyle()
134 return prefs.getBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, false) in getDisplayClockSeconds()
141 prefs.edit().putBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, displaySeconds).apply() in setDisplayClockSeconds()
149 if (!prefs.contains(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS)) { in setDefaultDisplayClockSeconds()
175 val uriString: String? = prefs.getString(SettingsActivity.KEY_TIMER_RINGTONE, null) in getTimerRingtoneUri()
183 return prefs.getBoolean(SettingsActivity.KEY_TIMER_VIBRATE, false) in getTimerVibrate()
[all …]
DSettingsDAO.java32 import com.android.deskclock.settings.SettingsActivity;
108 return prefs.getBoolean(SettingsActivity.KEY_AUTO_HOME_CLOCK, true); in getAutoShowHomeClock()
115 String timeZoneId = prefs.getString(SettingsActivity.KEY_HOME_TZ, null); in getHomeTimeZone()
126 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply(); in getHomeTimeZone()
138 return getClockStyle(context, prefs, SettingsActivity.KEY_CLOCK_STYLE); in getClockStyle()
145 return prefs.getBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, false); in getDisplayClockSeconds()
152 prefs.edit().putBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, displaySeconds).apply(); in setDisplayClockSeconds()
160 if (!prefs.contains(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS)) { in setDefaultDisplayClockSeconds()
186 final String uriString = prefs.getString(SettingsActivity.KEY_TIMER_RINGTONE, null); in getTimerRingtoneUri()
194 return prefs.getBoolean(SettingsActivity.KEY_TIMER_VIBRATE, false); in getTimerVibrate()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java51 import com.android.settings.SettingsActivity;
128 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in testClickPhotos()
130 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in testClickPhotos()
146 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in testClickAudio()
148 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS).getInt( in testClickAudio()
173 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in testClickApps()
175 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in testClickApps()
192 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in testClickAppsForWork()
194 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in testClickAppsForWork()
197 intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in testClickAppsForWork()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DSubSettingLauncher.java29 import com.android.car.developeroptions.SettingsActivity;
143 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.destinationName); in toIntent()
151 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.arguments); in toIntent()
152 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME, in toIntent()
154 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, in toIntent()
156 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE, mLaunchRequest.title); in toIntent()
/packages/apps/Settings/src/com/android/settings/core/
DSubSettingLauncher.java30 import com.android.settings.SettingsActivity;
150 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.destinationName); in toIntent()
158 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.arguments); in toIntent()
159 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME, in toIntent()
161 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, in toIntent()
163 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE, mLaunchRequest.title); in toIntent()
/packages/apps/Settings/src/com/android/settings/search/
DSearchResultTrampoline.java19 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS;
25 import com.android.settings.SettingsActivity;
48 final String settingKey = intent.getStringExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY); in onCreate()
50 args.putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, settingKey); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSearchResultTrampoline.java19 import static com.android.car.developeroptions.SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS;
25 import com.android.car.developeroptions.SettingsActivity;
48 final String settingKey = intent.getStringExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY); in onCreate()
50 args.putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, settingKey); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java49 import com.android.settings.SettingsActivity;
84 private SettingsActivity mActivity;
352 final SettingsActivity sa = mock(SettingsActivity.class); in startAppInfoFragment_noCrashOnNullArgs()
365 final SettingsActivity sa = mock(SettingsActivity.class); in startAppInfoFragment_includesNewAndOldArgs()
379 assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in startAppInfoFragment_includesNewAndOldArgs()
382 assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in startAppInfoFragment_includesNewAndOldArgs()
DAppInfoPreferenceControllerBaseTest.java35 import com.android.settings.SettingsActivity;
54 private SettingsActivity mActivity;
99 assertThat(intentCaptor.getValue().getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in handlePreferenceTreeClick_shouldStartDetailFragmentClass()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceController.java24 import com.android.settings.SettingsActivity;
43 private SettingsActivity mSettingsActivity;
46 public BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController()
56 BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController()
DSmartBatterySettings.java25 import com.android.settings.SettingsActivity;
71 return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this); in createPreferenceControllers()
75 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DResetNetworkTest.java59 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxVisible_eraseEsimChecked()
71 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxVisible_eraseEsimUnchecked()
83 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxGone_eraseEsimChecked()
95 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxGone_eraseEsimUnchecked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryOptimizationPreferenceController.java24 import com.android.car.developeroptions.SettingsActivity;
43 private SettingsActivity mSettingsActivity;
46 public BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController()
56 BatteryOptimizationPreferenceController(SettingsActivity settingsActivity, in BatteryOptimizationPreferenceController()
DSmartBatterySettings.java25 import com.android.car.developeroptions.SettingsActivity;
71 return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this); in createPreferenceControllers()
75 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DSmartBatteryAction.java24 import com.android.settings.SettingsActivity;
30 private SettingsActivity mSettingsActivity;
33 public SmartBatteryAction(SettingsActivity settingsActivity, Fragment fragment) { in SmartBatteryAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/actions/
DSmartBatteryAction.java24 import com.android.car.developeroptions.SettingsActivity;
30 private SettingsActivity mSettingsActivity;
33 public SmartBatteryAction(SettingsActivity settingsActivity, Fragment fragment) { in SmartBatteryAction()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsEnrollButtonPreferenceController.java27 import com.android.settings.SettingsActivity;
43 private SettingsActivity mActivity;
95 public void setActivity(SettingsActivity activity) { in setActivity()
/packages/apps/Settings/src/com/android/settings/development/gamedriver/
DGameDriverDashboard.java25 import com.android.settings.SettingsActivity;
69 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/
DGameDriverDashboard.java25 import com.android.car.developeroptions.SettingsActivity;
69 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java28 import com.android.settings.SettingsActivity;
58 SettingsActivity activity = (SettingsActivity) getActivity(); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java28 import com.android.car.developeroptions.SettingsActivity;
58 SettingsActivity activity = (SettingsActivity) getActivity(); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java29 import com.android.settings.SettingsActivity;
78 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationSettings.java29 import com.android.car.developeroptions.SettingsActivity;
78 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()

12345678