Home
last modified time | relevance | path

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

123456

/packages/apps/Settings/src/com/android/settings/
DSettings.java36 public class Settings extends SettingsActivity {
41 public static class AssistGestureSettingsActivity extends SettingsActivity { /* empty */}
42 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ }
43 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ }
44 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ }
45 public static class FingerprintSettingsActivity extends SettingsActivity { /* empty */ }
46 public static class CombinedBiometricSettingsActivity extends SettingsActivity { /* empty */ }
47 …public static class CombinedBiometricProfileSettingsActivity extends SettingsActivity { /* empty *…
48 public static class TetherSettingsActivity extends SettingsActivity {
56 public static class WifiTetherSettingsActivity extends SettingsActivity {
[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 …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/settings/
DSettingsActivityTest.java34 import static com.android.launcher3.settings.SettingsActivity.EXTRA_FRAGMENT;
35 import static com.android.launcher3.settings.SettingsActivity.EXTRA_FRAGMENT_ARGS;
79 ActivityScenario.launch(SettingsActivity.class); in testSettings_aboutTap_launchesActivity()
84 hasComponent(SettingsActivity.class.getName()), in testSettings_aboutTap_launchesActivity()
93 ActivityScenario.launch(SettingsActivity.class); in testSettings_developerOptionsTap_launchesActivityWithFragment()
98 hasComponent(SettingsActivity.class.getName()), in testSettings_developerOptionsTap_launchesActivityWithFragment()
107 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_aboutScreenIntent()
118 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_developerOptionsFragmentIntent()
130 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_intentWithUnknownFragment()
145 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_backButtonFinishesActivity()
[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/apps/Settings/src/com/android/settings/core/
DSubSettingLauncher.java29 import com.android.settings.SettingsActivity;
156 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.destinationName); in toIntent()
164 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.arguments); in toIntent()
165 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME, in toIntent()
167 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, in toIntent()
169 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE, mLaunchRequest.title); in toIntent()
/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/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()
DAppMemoryPreferenceControllerTest.java33 import com.android.settings.SettingsActivity;
55 private SettingsActivity mActivity;
128 assertThat(intentCaptor.getValue().getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in handlePreferenceTreeClick_shouldStartProcessStatsDetail()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DResetNetworkTest.java58 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxVisible_eraseEsimChecked()
70 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxVisible_eraseEsimUnchecked()
82 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxGone_eraseEsimChecked()
94 assertThat(intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in showFinalConfirmation_checkboxGone_eraseEsimUnchecked()
DSettingsActivityTest.java19 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT;
63 private SettingsActivity mActivity;
71 mActivity = spy(Robolectric.buildActivity(SettingsActivity.class).create().get()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java51 import com.android.settings.SettingsActivity;
233 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchAppsIntent_forPersonal_settingsIntent()
235 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchAppsIntent_forPersonal_settingsIntent()
253 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchAppsIntent_forWork_settingsIntent()
255 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchAppsIntent_forWork_settingsIntent()
258 intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in launchAppsIntent_forWork_settingsIntent()
259 .getInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB)) in launchAppsIntent_forWork_settingsIntent()
262 intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in launchAppsIntent_forWork_settingsIntent()
296 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchGamesIntent_settingsIntent()
298 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchGamesIntent_settingsIntent()
/packages/apps/Settings/src/com/android/settings/display/
DSmartAutoRotatePreferenceFragment.java33 import com.android.settings.SettingsActivity;
69 final SettingsActivity activity = (SettingsActivity) getActivity(); in onCreateView()
81 void createHeader(SettingsActivity activity) { in createHeader()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DBatteryDefenderAction.java23 import com.android.settings.SettingsActivity;
30 private SettingsActivity mSettingsActivity;
32 public BatteryDefenderAction(SettingsActivity settingsActivity) { in BatteryDefenderAction()
DSmartBatteryAction.java24 import com.android.settings.SettingsActivity;
30 private SettingsActivity mSettingsActivity;
33 public SmartBatteryAction(SettingsActivity settingsActivity, Fragment fragment) { in SmartBatteryAction()
/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/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/connecteddevice/
DBluetoothDashboardFragment.java23 import com.android.settings.SettingsActivity;
84 SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsEnrollButtonPreferenceController.java29 import com.android.settings.SettingsActivity;
50 private SettingsActivity mActivity;
112 public void setActivity(SettingsActivity activity) { in setActivity()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java28 import com.android.settings.SettingsActivity;
75 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java38 import com.android.settings.SettingsActivity;
100 SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSettings.java33 import com.android.settings.SettingsActivity;
84 final SettingsActivity activity = (SettingsActivity) getActivity(); in initializeSwitchBar()
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/
DCarDevelopmentSettingsDashboardActivity.java19 import com.android.settings.SettingsActivity;
24 public class CarDevelopmentSettingsDashboardActivity extends SettingsActivity {

123456