Home
last modified time | relevance | path

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

12345678

/packages/apps/Settings/src/com/android/settings/
DSettings.java30 public class Settings extends SettingsActivity {
35 public static class AssistGestureSettingsActivity extends SettingsActivity { /* empty */}
36 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ }
37 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ }
38 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ }
39 public static class FingerprintSettingsActivity extends SettingsActivity { /* empty */ }
40 public static class TetherSettingsActivity extends SettingsActivity {
48 public static class WifiTetherSettingsActivity extends SettingsActivity {
77 public static class VpnSettingsActivity extends SettingsActivity { /* empty */ }
78 public static class DataSaverSummaryActivity 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.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.java48 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/apps/Settings/src/com/android/settings/search/
DSearchResultTrampoline.java19 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS;
20 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB;
26 import com.android.settings.SettingsActivity;
49 final String settingKey = intent.getStringExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY); in onCreate()
52 args.putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, settingKey); in onCreate()
/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/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.java24 import com.android.settings.SettingsActivity;
64 return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this); in createPreferenceControllers()
68 Context context, SettingsActivity settingsActivity, in buildPreferenceControllers()
/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.java24 import com.android.car.developeroptions.SettingsActivity;
64 return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this); in createPreferenceControllers()
68 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()
DSettingsActivityTest.java19 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT;
60 private SettingsActivity mActivity;
68 mActivity = spy(Robolectric.buildActivity(SettingsActivity.class).create().get()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java36 import com.android.settings.SettingsActivity;
65 mActivity = spy(Robolectric.buildActivity(SettingsActivity.class).get()); in setUp()
80 bundle.putInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB, WORK_TAB); in getTabId_setArgumentWork_setCorrectTab()
88 bundle.putInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB, PERSONAL_TAB); in getTabId_setArgumentPersonal_setCorrectTab()
/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/dashboard/profileselector/
DProfileSelectLocationFragment.java24 import com.android.settings.SettingsActivity;
38 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverDashboard.java24 import com.android.settings.SettingsActivity;
64 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsEnrollButtonPreferenceController.java27 import com.android.settings.SettingsActivity;
43 private SettingsActivity mActivity;
100 public void setActivity(SettingsActivity activity) { in setActivity()
/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/connecteddevice/
DBluetoothDashboardFragment.java23 import com.android.settings.SettingsActivity;
84 SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java28 import com.android.settings.SettingsActivity;
72 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()

12345678