/packages/apps/Settings/src/com/android/settings/ |
D | Settings.java | 42 public class Settings extends SettingsActivity { 48 public static class MemtagPageActivity extends SettingsActivity { /* empty */} 49 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ } 50 public static class BluetoothDashboardActivity extends SettingsActivity { /* empty */ } 51 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ } 52 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ } 54 public static class FaceSettingsInternalActivity extends SettingsActivity { /* empty */ } 55 public static class FingerprintSettingsActivity extends SettingsActivity { /* empty */ } 56 public static class FingerprintSettingsActivityV2 extends SettingsActivity { /* empty */ } 57 public static class CombinedBiometricSettingsActivity extends SettingsActivity { /* empty */ } [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 34 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/tests/multivalentTests/src/com/android/launcher3/settings/ |
D | SettingsActivityTest.java | 34 import static com.android.launcher3.settings.SettingsActivity.DEVELOPER_OPTIONS_KEY; 35 import static com.android.launcher3.settings.SettingsActivity.EXTRA_FRAGMENT_ARGS; 36 import static com.android.launcher3.settings.SettingsActivity.EXTRA_FRAGMENT_ROOT_KEY; 80 ActivityScenario.launch(SettingsActivity.class); in testSettings_aboutTap_launchesActivity() 85 hasComponent(SettingsActivity.class.getName()), in testSettings_aboutTap_launchesActivity() 95 ActivityScenario.launch(SettingsActivity.class); in testSettings_developerOptionsTap_launchesActivityWithFragment() 100 hasComponent(SettingsActivity.class.getName()), in testSettings_developerOptionsTap_launchesActivityWithFragment() 110 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_aboutScreenIntent() 122 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_developerOptionsFragmentIntent() 136 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_backButtonFinishesActivity() [all …]
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SubSettingLauncher.java | 31 import com.android.settings.SettingsActivity; 174 String destinationName = intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT); in verifyIntent() 194 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.mDestinationName); in toIntent() 202 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.mArguments); in toIntent() 203 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME, in toIntent() 205 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, in toIntent() 207 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE, mLaunchRequest.mTitle); in toIntent() 211 intent.putExtra(SettingsActivity.EXTRA_IS_SECOND_LAYER_PAGE, in toIntent()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsActivityTest.kt | 37 import com.android.healthconnect.controller.permissions.shared.SettingsActivity in <lambda>() 117 val intent = Intent(context, SettingsActivity::class.java) in <lambda>() 127 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() 135 val intent = Intent(context, SettingsActivity::class.java) in <lambda>() 145 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() 152 val intent = Intent(context, SettingsActivity::class.java) in <lambda>() 162 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() 169 val intent = Intent(context, SettingsActivity::class.java) in <lambda>() 171 launch<SettingsActivity>(intent).use { scenario -> in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SearchResultTrampoline.java | 19 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS; 20 import static com.android.settings.SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB; 32 import com.android.settings.SettingsActivity; 65 final String fragment = intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT); in onCreate() 71 SettingsActivity.EXTRA_FRAGMENT_ARG_KEY); in onCreate() 74 args.putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, settingKey); in onCreate()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | MobileNetworkIntentConverterTest.java | 34 import com.android.settings.SettingsActivity; 108 SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS); in convertSubscriptionId_fromIntentExtra_copyToBundleArgument() 123 SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS); in supportMms_addExtra_whenIntentForMms() 125 assertThat(args.getString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY)).isEqualTo( in supportMms_addExtra_whenIntentForMms() 146 SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS); in supportContacts_addExtra_whenIntentForContacts() 169 assertThat(convertedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE)) in convertFormat_forSettings_fragmentPresentation() 171 assertThat(convertedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in convertFormat_forSettings_fragmentPresentation()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkIntentConverter.java | 40 import com.android.settings.SettingsActivity; 172 Bundle args = reqIntent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS); in extractArguments() 181 args.putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, in convertMmsArguments() 208 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, args); in rePackIntent() 224 if (intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE) == null) { in updateFragment() 227 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE, title.toString()); in updateFragment() 230 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, getFragmentClass(context)); in updateFragment() 243 className = ai.metaData.getString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS); in getFragmentClass()
|
/packages/apps/Settings/src/com/android/settings/activityembedding/ |
D | EmbeddedDeepLinkUtils.kt | 26 import com.android.settings.SettingsActivity 42 SettingsActivity.EXTRA_INITIAL_CALLING_PACKAGE, in tryStartMultiPaneDeepLink() 46 if (intent.getBooleanExtra(SettingsActivity.EXTRA_IS_FROM_SLICE, false)) { in tryStartMultiPaneDeepLink() 109 .putExtra(SettingsActivity.EXTRA_USER_HANDLE, user) in isSubProfile()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | SmartBatteryAction.java | 24 import com.android.settings.SettingsActivity; 30 private SettingsActivity mSettingsActivity; 33 public SmartBatteryAction(SettingsActivity settingsActivity, Fragment fragment) { in SmartBatteryAction()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectLocationFragment.java | 24 import com.android.settings.SettingsActivity; 38 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | SmartAutoRotatePreferenceFragment.java | 32 import com.android.settings.SettingsActivity; 82 final SettingsActivity activity = (SettingsActivity) getActivity(); in onCreateView() 93 void createHeader(SettingsActivity activity) { in createHeader()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DeveloperOptionsActivityLifecycle.java | 28 import com.android.settings.SettingsActivity; 62 if (!(activity instanceof SettingsActivity)) { in onActivityCreated() 66 FragmentManager fm = ((SettingsActivity) activity).getSupportFragmentManager(); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverDashboard.java | 24 import com.android.settings.SettingsActivity; 66 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragmentTest.java | 51 import com.android.settings.SettingsActivity; 89 private SettingsActivity mActivity; 361 final SettingsActivity sa = mock(SettingsActivity.class); in startAppInfoFragment_noCrashOnNullArgs() 374 final SettingsActivity sa = mock(SettingsActivity.class); in startAppInfoFragment_includesNewAndOldArgs() 388 assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in startAppInfoFragment_includesNewAndOldArgs() 391 assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in startAppInfoFragment_includesNewAndOldArgs()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | SmartBatterySettings.java | 24 import com.android.settings.SettingsActivity; 63 return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this); in createPreferenceControllers() 68 SettingsActivity settingsActivity, in buildPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDashboardFragment.java | 26 import com.android.settings.SettingsActivity; 84 final SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
|
D | AudioSharingActivity.java | 21 import com.android.settings.SettingsActivity; 23 public class AudioSharingActivity extends SettingsActivity {
|
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentSettingsDashboardActivity.java | 19 import com.android.settings.SettingsActivity; 24 public class CarDevelopmentSettingsDashboardActivity extends SettingsActivity {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | ScreenPinningSettingsTest.java | 35 import com.android.settings.SettingsActivity; 201 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, in launchFragmentAndRunTest() 206 try (ActivityController<SettingsActivity> controller = in launchFragmentAndRunTest() 207 ActivityController.of(new SettingsActivity(), intent)) { in launchFragmentAndRunTest()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 52 import com.android.settings.SettingsActivity; 251 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchAppsIntent_forPersonal_settingsIntent() 253 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchAppsIntent_forPersonal_settingsIntent() 271 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchAppsIntent_forWork_settingsIntent() 273 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchAppsIntent_forWork_settingsIntent() 276 intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in launchAppsIntent_forWork_settingsIntent() 277 .getInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB)) in launchAppsIntent_forWork_settingsIntent() 280 intent.getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS) in launchAppsIntent_forWork_settingsIntent() 331 assertThat(intent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in launchGamesIntent_settingsIntent() 333 assertThat(intent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in launchGamesIntent_settingsIntent()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSuggestionActivity.java | 22 import com.android.settings.SettingsActivity; 25 public class WifiCallingSuggestionActivity extends SettingsActivity {
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | SettingsActivity.java | 35 public class SettingsActivity extends AppCompatActivity { class 89 private WeakReference<SettingsActivity> mActivity; 94 mActivity = new WeakReference<>((SettingsActivity) context); in onAttach()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceControllerTest.java | 29 import com.android.settings.SettingsActivity; 61 private SettingsActivity mActivity; 76 mActivity = spy(Robolectric.buildActivity(SettingsActivity.class).create().get()); in setUp()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | BluetoothDashboardFragment.java | 27 import com.android.settings.SettingsActivity; 99 SettingsActivity activity = (SettingsActivity) getActivity(); in onActivityCreated()
|