HomeSort by relevance Sort by last modified time
    Searched defs:Settings (Results 26 - 50 of 697) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
AccessibilitySettingsTest.java 17 package com.android.settings.accessibility;
29 import android.provider.Settings;
32 import com.android.settings.R;
33 import com.android.settings.testutils.SettingsRobolectricTestRunner;
34 import com.android.settings.testutils.XmlTestUtils;
73 Settings.System.putInt(mContext.getContentResolver(),
74 Settings.System.NOTIFICATION_VIBRATION_INTENSITY,
77 Settings.System.putInt(mContext.getContentResolver(),
78 Settings.System.HAPTIC_FEEDBACK_INTENSITY,
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
AutoBatterySaverPreferenceControllerTest.java 18 package com.android.settings.fuelgauge.batterysaver;
23 import android.provider.Settings;
26 import com.android.settings.testutils.SettingsRobolectricTestRunner;
27 import com.android.settings.testutils.shadow.SettingsShadowResources;
55 Settings.Global.putInt(mContext.getContentResolver(),
56 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0);
64 Settings.Global.putInt(mContext.getContentResolver(),
65 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 15);
75 assertThat(Settings.Global.getInt(mContext.getContentResolver(),
76 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0)).isNotEqualTo(0)
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
UserRestrictionsUtils.java 37 import android.provider.Settings;
38 import android.provider.Settings.Global;
203 * in settings. So it is handled separately.
453 // When certain restrictions are cleared, we don't update the system settings,
454 // because these settings are changeable on the Settings UI and we don't know the original
458 // later, they can do it on the Settings UI.
459 // WARNING: Remember that Settings.Global and Settings.Secure are changeable via adb.
478 android.provider.Settings.Global.putStringForUser(cr
    [all...]
  /cts/suite/audio_quality/lib/include/
Settings.h 23 class Settings {
25 static Settings* Instance();
38 static Settings* mInstance;
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
ImePreferences.java 31 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName());
46 return Settings.class.getName().equals(fragmentName);
49 public static class Settings extends InputMethodSettingsFragment {
  /external/tensorflow/tensorflow/contrib/lite/examples/label_image/
label_image.h 24 struct Settings {
  /frameworks/base/core/tests/coretests/src/android/os/
BrightnessLimit.java 22 import android.provider.Settings;
47 Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 0);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DevelopmentSettingsEnabler.java 23 import android.provider.Settings;
35 Settings.Global.putInt(context.getContentResolver(),
36 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, enable ? 1 : 0);
43 final boolean settingEnabled = Settings.Global.getInt(context.getContentResolver(),
44 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED,
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
SettingsHelperRestoreTest.java 17 package com.android.providers.settings;
26 import android.provider.Settings;
35 * String, String, int)}. Specifically verifies that we restore critical accessibility settings only
51 /** Tests for {@link Settings.Secure#ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED}. */
57 Settings.Secure.putInt(
59 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED,
66 Settings.Secure.getUriFor(
67 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED),
68 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED,
73 Settings.Secure.getInt
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
TunerServiceImpl.java 28 import android.provider.Settings;
29 import android.provider.Settings.Secure;
38 import com.android.systemui.settings.CurrentUserTracker;
53 // Things that use the tunable infrastructure but are now real user settings and
54 // shouldn't be reset with tuner settings.
57 Settings.Secure.DOZE_ALWAYS_ON
61 // Map of Uris we listen on to their settings keys.
63 // Map of settings keys to the listener.
111 Settings.Secure.putStringForUser(mContentResolver,
129 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser)
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeConfigurationTest.java 22 import android.provider.Settings;
50 Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.DOZE_ALWAYS_ON,
  /packages/apps/Settings/src/com/android/settings/accessibility/
SettingsContentObserver.java 17 package com.android.settings.accessibility;
23 import android.provider.Settings;
33 mKeysToObserve.add(Settings.Secure.ACCESSIBILITY_ENABLED);
34 mKeysToObserve.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
45 Settings.Secure.getUriFor(mKeysToObserve.get(i)), false, this);
TouchVibrationPreferenceFragment.java 16 package com.android.settings.accessibility;
22 import android.provider.Settings;
25 import com.android.settings.R;
46 return Settings.System.HAPTIC_FEEDBACK_INTENSITY;
65 Settings.System.putInt(getContext().getContentResolver(),
66 Settings.System.HAPTIC_FEEDBACK_ENABLED, hapticFeedbackEnabled ? 1 : 0);
  /packages/apps/Settings/src/com/android/settings/display/
TapToWakePreferenceController.java 14 package com.android.settings.display;
17 import android.provider.Settings;
21 import com.android.settings.core.PreferenceControllerMixin;
46 int value = Settings.Secure.getInt(
47 mContext.getContentResolver(), Settings.Secure.DOUBLE_TAP_TO_WAKE, 0);
54 Settings.Secure.putInt(
55 mContext.getContentResolver(), Settings.Secure.DOUBLE_TAP_TO_WAKE, value ? 1 : 0);
  /packages/apps/Settings/src/com/android/settings/security/
LockdownButtonPreferenceController.java 17 package com.android.settings.security;
21 import android.provider.Settings;
26 import com.android.settings.core.BasePreferenceController;
27 import com.android.settings.core.TogglePreferenceController;
51 return Settings.Secure.getInt(mContext.getContentResolver(),
52 Settings.Secure.LOCKDOWN_IN_POWER_MENU, 0) != 0;
57 Settings.Secure.putInt(mContext.getContentResolver(),
58 Settings.Secure.LOCKDOWN_IN_POWER_MENU, isChecked ? 1 : 0);
  /packages/apps/Settings/src/com/android/settings/wifi/tether/
WifiTetherAutoOffPreferenceController.java 17 package com.android.settings.wifi.tether;
20 import android.provider.Settings;
24 import com.android.settings.core.BasePreferenceController;
40 final boolean settingsOn = Settings.Global.getInt(mContext.getContentResolver(),
41 Settings.Global.SOFT_AP_TIMEOUT_ENABLED, 1) != 0;
49 Settings.Global.putInt(mContext.getContentResolver(),
50 Settings.Global.SOFT_AP_TIMEOUT_ENABLED, settingsOn ? 1 : 0);
  /packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
PublicVolumeSettingsTest.java 18 package com.android.settings.deviceinfo;
26 import com.android.settings.Settings;
37 public ActivityTestRule<Settings.PublicVolumeSettingsActivity> mActivityRule =
38 new ActivityTestRule<>(Settings.PublicVolumeSettingsActivity.class, true, true);
43 intent.setAction(android.provider.Settings.ACTION_INTERNAL_STORAGE_SETTINGS);
45 Settings.PublicVolumeSettingsActivity.class.getName());
  /system/bt/service/
settings.h 26 // The Settings class stores global runtime configurations, such as IPC domain
29 class Settings {
34 Settings();
35 ~Settings();
39 // Initializes the Settings object. This reads the command-line options for
41 // base::CommandLine) and sets up the initial global settings. Returns false
71 DISALLOW_COPY_AND_ASSIGN(Settings);
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 43 Settings.Secure.putString(r, "test_service", "Value");
44 assertEquals("Value", Settings.Secure.getString(r, "test_service"));
47 Settings.Secure.putString(r, "test_service", "New");
48 assertEquals("New", Settings.Secure.getString(r, "test_service"));
51 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null));
52 assertEquals(null, Settings.Secure.getString(r, "test_service"));
54 // Apps should not be able to use System settings.
56 Settings.System.putString(r, "test_setting", "Value");
70 testRowNameContentUri(Settings.Secure.CONTENT_URI, Settings.Secure.NAME
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/location/
LocationEnablerTest.java 16 package com.android.settings.location;
40 import android.provider.Settings;
43 import com.android.settings.testutils.SettingsRobolectricTestRunner;
44 import com.android.settings.testutils.shadow.ShadowSecureSettings;
121 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse();
128 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse();
135 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_BATTERY_SAVING)).isTrue();
148 Settings.Secure.putInt(mContext.getContentResolver(),
149 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_BATTERY_SAVING)
    [all...]
  /frameworks/base/core/java/android/provider/
Settings.java 106 * The Settings provider contains global system-level device preferences.
108 public final class Settings {
110 // Intent actions for Settings
113 * Activity Action: Show system settings.
120 public static final String ACTION_SETTINGS = "android.settings.SETTINGS";
123 * Activity Action: Show settings to allow configuration of APNs.
134 public static final String ACTION_APN_SETTINGS = "android.settings.APN_SETTINGS";
137 * Activity Action: Show settings to allow configuration of current location
149 "android.settings.LOCATION_SOURCE_SETTINGS"
    [all...]
  /packages/apps/SpareParts/src/com/android/spare_parts/
SpareParts.java 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java
37 import android.provider.Settings;
38 import android.provider.Settings.SettingNotFoundException;
128 mCompatibilityMode.setChecked(Settings.Global.getInt(getContentResolver(),
129 Settings.Global.COMPATIBILITY_MODE, 1) != 0);
145 mFancyImeAnimationsPref.setChecked(Settings.Global.getInt(
147 Settings.Global.FANCY_IME_ANIMATIONS, 0) != 0);
148 mHapticFeedbackPref.setChecked(Settings.System.getInt(
150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
CaptionCustomFragment.java 17 package com.android.tv.settings.system.development;
21 import android.provider.Settings;
29 import com.android.tv.settings.R;
199 final String typeface = Settings.Secure.getString(getContext().getContentResolver(),
200 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE);
206 Settings.Secure.putString(getContext().getContentResolver(),
207 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, null);
209 Settings.Secure.putString(getContext().getContentResolver(),
210 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, fontFamily);
215 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver()
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
RingtoneSyncTest.java 19 import static android.provider.Settings.Secure.SYNC_PARENT_SOUNDS;
25 import android.provider.Settings;
46 * Checks that the ringtone set in the settings provider and the ringtone retrieved from
55 assertEquals(1, Settings.Secure.getInt(mContentResolver, SYNC_PARENT_SOUNDS));
57 String defaultRingtone = Settings.System.getString(mContentResolver,
58 Settings.System.RINGTONE);
59 String defaultNotification = Settings.System.getString(mContentResolver,
60 Settings.System.NOTIFICATION_SOUND);
61 String defaultAlarm = Settings.System.getString(mContentResolver,
62 Settings.System.ALARM_ALERT)
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
EnableAdbPreferenceControllerTest.java 28 import android.provider.Settings;
101 Settings.Secure.putInt(mContext.getContentResolver(),
102 Settings.Global.ADB_ENABLED, 1);
108 assertThat(Settings.Secure.getInt(mContext.getContentResolver(),
109 Settings.Global.ADB_ENABLED, 0)).isEqualTo(0);
127 Settings.Secure.putInt(mContext.getContentResolver(),
128 Settings.Global.ADB_ENABLED, 1);
140 Settings.Secure.putInt(mContext.getContentResolver(),
141 Settings.Global.ADB_ENABLED, 0);

Completed in 720 milliseconds

12 3 4 5 6 7 8 91011>>