Searched refs:Settings (Results 76 - 100 of 424) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/os/
H A DPowerManagerVrTest.java25 import android.provider.Settings;
145 String oldVrListeners = Settings.Secure.getString(cr, ENABLED_VR_LISTENERS);
146 Settings.Secure.putString(cr, ENABLED_VR_LISTENERS, newValue);
H A DSetPersistentVrThreadTest.java24 import android.provider.Settings;
59 mOldVrListener = Settings.Secure.getString(mContext.getContentResolver(),
61 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS,
73 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DColorInversionTile.java20 import android.provider.Settings;
21 import android.provider.Settings.Secure;
82 return new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DPowerNotificationControlsFragment.java25 import android.provider.Settings;
64 Settings.Secure.putInt(getContext().getContentResolver(),
89 int setting = Settings.Secure.getInt(getContext().getContentResolver(), KEY_SHOW_PNC, 0);
H A DStatusBarSwitch.java21 import android.provider.Settings;
84 Settings.Secure.putStringForUser(contentResolver, StatusBarIconController.ICON_BLACKLIST,
H A DDemoModeFragment.java25 import android.provider.Settings;
78 contentResolver.registerContentObserver(Settings.Global.getUriFor(
80 contentResolver.registerContentObserver(Settings.Global.getUriFor(DEMO_MODE_ON), false,
114 boolean enabled = Settings.Global.getInt(getContext().getContentResolver(),
121 boolean enabled = Settings.Global.getInt(getContext().getContentResolver(),
199 Settings.Global.putInt(getContext().getContentResolver(), key, value);
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBlacklist.java24 import android.provider.Settings;
61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor(
63 // mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor(
129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCellBroadcastHandler.java19 import static android.provider.Settings.Secure.CMAS_ADDITIONAL_BROADCAST_PKG;
29 import android.provider.Settings;
110 final String additionalPackage = Settings.Secure.getString(
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java426 // because these settings are changeable on the Settings UI and we don't know the original
430 // later, they can do it on the Settings UI.
431 // WARNING: Remember that Settings.Global and Settings.Secure are changeable via adb.
449 android.provider.Settings.Global.putStringForUser(cr,
450 android.provider.Settings.Global.DATA_ROAMING
456 android.provider.Settings.Global.putStringForUser(cr,
457 android.provider.Settings.Global.DATA_ROAMING, "0", userId);
462 android.provider.Settings.Secure.putIntForUser(cr,
463 android.provider.Settings
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java82 Settings settings =
83 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object());
94 Settings settings =
95 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object());
108 Settings settings =
109 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object());
128 Settings settings =
129 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object());
133 // Create Settings again to make it read from the new files
134 settings = new Settings(InstrumentationRegistr
[all...]
/frameworks/base/core/java/com/android/internal/notification/
H A DSystemNotificationChannels.java24 import android.provider.Settings;
63 physicalKeyboardChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
98 networkAlertsChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
121 alertsChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DGenerationRegistry.java21 import android.provider.Settings;
76 bundle.putParcelable(Settings.CALL_METHOD_TRACK_GENERATION_KEY,
78 bundle.putInt(Settings.CALL_METHOD_GENERATION_INDEX_KEY, index);
79 bundle.putInt(Settings.CALL_METHOD_GENERATION_KEY,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DGlobalSetting.java22 import android.provider.Settings.Global;
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DRSTest.java26 import android.provider.Settings.System;
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java33 import android.provider.Settings;
91 resolver.registerContentObserver(Settings.Global.getUriFor(
92 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL),
111 int warnLevel = Settings.Global.getInt(resolver,
112 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, defWarnLevel);
238 if (Settings.Global.getInt(resolver, Settings.Global.SHOW_TEMPERATURE_WARNING,
243 mThresholdTemp = Settings.Global.getFloat(resolver, Settings.Global.WARNING_TEMPERATURE,
365 pw.println(Settings
[all...]
/frameworks/base/core/java/android/os/
H A DIncidentManager.java26 import android.provider.Settings;
92 String setting = Settings.System.getString(mContext.getContentResolver(), settingName);
/frameworks/base/core/java/android/widget/
H A DDigitalClock.java23 import android.provider.Settings;
73 Settings.System.CONTENT_URI, true, mFormatChangeObserver);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java29 import android.provider.Settings;
90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
/frameworks/base/tests/net/java/android/net/ip/
H A DIpManagerTest.java25 import android.provider.Settings;
60 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider());
/frameworks/base/services/core/java/com/android/server/
H A DRescueParty.java28 import android.provider.Settings;
181 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_DEFAULTS);
184 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_CHANGES);
187 resetAllSettings(context, Settings.RESET_MODE_TRUSTED_DEFAULTS);
201 Settings.Global.resetToDefaultsAsUser(resolver, null, mode, UserHandle.USER_SYSTEM);
207 Settings.Secure.resetToDefaultsAsUser(resolver, null, mode, userId);
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
H A DRetailDemoModeService.java60 import android.provider.Settings;
225 private final Uri mDeviceDemoModeUri = Settings.Global
226 .getUriFor(Settings.Global.DEVICE_DEMO_MODE);
227 private final Uri mDeviceProvisionedUri = Settings.Global
228 .getUriFor(Settings.Global.DEVICE_PROVISIONED);
229 private final Uri mRetailDemoConstantsUri = Settings.Global
230 .getUriFor(Settings.Global.RETAIL_DEMO_MODE_CONSTANTS);
279 mParser.setString(Settings.Global.getString(mInjector.getContentResolver(),
280 Settings.Global.RETAIL_DEMO_MODE_CONSTANTS));
358 Settings
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiController.java39 import android.provider.Settings;
70 * See {@link Settings.Global#WIFI_IDLE_MS}. This is the default value if a
71 * Settings.Global value is not present. This timeout value is chosen as
79 * See {@link Settings.Global#WIFI_REENABLE_DELAY_MS}. This is the default value if a
80 * Settings.Global value is not present. This is the minimum time after wifi is disabled
242 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0);
247 Settings.Global.WIFI_IDLE_MS, DEFAULT_IDLE_MS);
252 Settings.Global.WIFI_SLEEP_POLICY,
253 Settings.Global.WIFI_SLEEP_POLICY_NEVER);
258 Settings
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java497 * The Settings class regroups all environmental reverb parameters. It is used in
501 public static class Settings { class in class:EnvironmentalReverb
513 public Settings() { method in class:EnvironmentalReverb.Settings
517 * Settings class constructor from a key=value; pairs formatted string. The string is
518 * typically returned by Settings.toString() method.
521 public Settings(String settings) { method in class:EnvironmentalReverb.Settings
614 * @return an EnvironmentalReverb.Settings object containing all current parameters values
619 public EnvironmentalReverb.Settings getProperties()
623 Settings settings = new Settings();
[all...]
H A DVirtualizer.java552 * The Settings class regroups all virtualizer parameters. It is used in
556 public static class Settings { class in class:Virtualizer
559 public Settings() { method in class:Virtualizer.Settings
563 * Settings class constructor from a key=value; pairs formatted string. The string is
564 * typically returned by Settings.toString() method.
567 public Settings(String settings) { method in class:Virtualizer.Settings
603 * @return a Virtualizer.Settings object containing all current parameters values
608 public Virtualizer.Settings getProperties()
610 Settings settings = new Settings();
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java30 import android.provider.Settings;
87 Settings.Secure.getUriFor(COLLECTOR_ENABLE), false,
92 Settings.Secure.getUriFor(COLLECT_BAD_TOUCHES), false,
97 Settings.Secure.getUriFor(ALLOW_REJECTED_TOUCH_REPORTS), false,
112 mEnableCollector = Build.IS_DEBUGGABLE && 0 != Settings.Secure.getInt(
115 mCollectBadTouches = mEnableCollector && 0 != Settings.Secure.getInt(
118 mAllowReportRejectedTouch = Build.IS_DEBUGGABLE && 0 != Settings.Secure.getInt(

Completed in 708 milliseconds

1234567891011>>