HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 126 - 150 of 1062) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
Settings.java 34 public class Settings {
35 static private final String TAG = "Settings";
45 static private Settings sInstance;
50 * Returns the singleton Settings instance.
52 static public Settings getInstance(Context context) {
54 sInstance = new Settings(context);
59 private Settings(Context context) {
  /packages/apps/Settings/src/com/android/settings/
AirplaneModeEnabler.java 17 package com.android.settings;
26 import android.provider.Settings;
82 Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON), true,
94 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON,
DevelopmentSettings.java 17 package com.android.settings;
60 import android.provider.Settings;
82 import com.android.settings.applications.BackgroundCheckSummary;
83 import com.android.settings.fuelgauge.InactiveApps;
84 import com.android.settings.search.BaseSearchIndexProvider;
85 import com.android.settings.search.Indexable;
86 import com.android.settings.widget.SwitchBar;
105 * Preference file were development settings prefs are stored.
110 * Whether to show the development settings to the user. Default is false.
165 private static final String SELECT_LOGD_TAG_SILENCE = "Settings";
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
ToggleFontSizePreferenceFragment.java 17 package com.android.settings.accessibility;
24 import android.provider.Settings;
26 import com.android.settings.PreviewSeekBarPreferenceFragment;
27 import com.android.settings.R;
49 Settings.System.getFloat(resolver, Settings.System.FONT_SCALE, 1.0f);
72 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mValues[mCurrentIndex]);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndSubtypeUtil.java 17 package com.android.settings.inputmethod;
26 import android.provider.Settings;
27 import android.provider.Settings.SettingNotFoundException;
38 import com.android.settings.SettingsPreferenceFragment;
62 // InputMethods and subtypes are saved in the settings as follows:
93 return Settings.Secure.getInt(resolver,
94 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE);
105 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode);
111 final String enabledInputMethodsStr = Settings.Secure.getString
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
DefaultDialerManager.java 25 import android.provider.Settings;
42 * The caller of this method needs to have permission to write to secure settings and
56 * The caller of this method needs to have permission to write to secure settings and
67 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
68 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
80 Settings.Secure.putStringForUser(context.getContentResolver(),
81 Settings.Secure.DIALER_DEFAULT_APPLICATION, packageName, user);
118 String defaultPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
119 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DndCondition.java 16 package com.android.settings.dashboard.conditional;
26 import android.provider.Settings;
27 import android.provider.Settings.Global;
30 import com.android.settings.R;
49 boolean zenModeEnabled = mZen != Settings.Global.ZEN_MODE_OFF;
77 case Settings.Global.ZEN_MODE_ALARMS:
79 case Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS:
82 case Settings.Global.ZEN_MODE_NO_INTERRUPTIONS:
124 notificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
TunerService.java 35 import android.provider.Settings;
45 import com.android.systemui.settings.CurrentUserTracker;
62 // Map of Uris we listen on to their settings keys.
64 // Map of settings keys to the listener.
105 Settings.Secure.putStringForUser(mContentResolver,
114 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser);
118 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser);
122 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser);
126 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser);
140 Uri uri = Settings.Secure.getUriFor(key)
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
UserRestrictionsUtils.java 318 * com.android.providers.settings.SettingsProvider#isGlobalOrSecureSettingRestrictedForUser},
327 // When certain restrictions are cleared, we don't update the system settings,
328 // because these settings are changeable on the Settings UI and we don't know the original
332 // later, they can do it on the Settings UI.
340 android.provider.Settings.Secure.putIntForUser(cr,
341 android.provider.Settings.Global
355 android.provider.Settings.Global.putStringForUser(cr,
356 android.provider.Settings.Global.DATA_ROAMING
362 android.provider.Settings.Global.putStringForUser(cr
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 17 package com.android.providers.settings;
59 import android.provider.Settings;
68 import com.android.providers.settings.SettingsState.Setting;
84 * This class is a content provider that publishes the system settings.
87 * the platform settings.
90 * There are three settings types, global (with signature level protection
93 * protection and per user). Global settings are stored under the device owner.
94 * Each of these settings is represented by a {@link
95 * com.android.providers.settings.SettingsState} object mapped to an integer
97 * id in the least significant bits. Settings are synchronously loaded o
    [all...]
  /frameworks/base/core/java/android/provider/
Settings.java 79 * The Settings provider contains global system-level device preferences.
81 public final class Settings {
83 // Intent actions for Settings
86 * Activity Action: Show system settings.
93 public static final String ACTION_SETTINGS = "android.settings.SETTINGS";
96 * Activity Action: Show settings to allow configuration of APNs.
103 public static final String ACTION_APN_SETTINGS = "android.settings.APN_SETTINGS";
106 * Activity Action: Show settings to allow configuration of current location
118 "android.settings.LOCATION_SOURCE_SETTINGS"
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
GyroscopeTestActivity.java 66 // This activity is reused 6 times with different settings to test each rotation direction
68 Settings settings = getSettings(stageIndex); local
77 mSensorListener = new SensorListener(settings.mSensorEventIndex,
78 settings.mExpectPositiveValue);
82 mRenderer.setRotation(settings.mRotateX, settings.mRotateY, settings.mRotateZ);
87 settings.mStageIndex + 1, settings.mTotalStages))
    [all...]
  /frameworks/base/services/core/java/com/android/server/webkit/
SystemImpl.java 33 import android.provider.Settings.Global;
34 import android.provider.Settings;
187 return Settings.Global.getString(context.getContentResolver(),
188 Settings.Global.WEBVIEW_PROVIDER);
193 Settings.Global.putString(context.getContentResolver(),
194 Settings.Global.WEBVIEW_PROVIDER,
210 return Settings.Global.getInt(AppGlobals.getInitialApplication().getContentResolver(),
211 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, 1) == 1;
216 Settings.Global.putInt(AppGlobals.getInitialApplication().getContentResolver(),
217 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, enable ? 1 : 0)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
PreferredServices.java 35 import android.provider.Settings;
36 import android.provider.Settings.SettingNotFoundException;
57 static final Uri paymentDefaultUri = Settings.Secure.getUriFor(
58 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT);
59 static final Uri paymentForegroundUri = Settings.Secure.getUriFor(
60 Settings.Secure.NFC_PAYMENT_FOREGROUND);
72 ComponentName settingsDefault; // The component preferred in settings (eg Tap&Pay)
108 // Load current settings defaults for payments
131 // Load current payment default from settings
132 String name = Settings.Secure.getStringForUser
    [all...]
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 17 package com.android.settings.nfc;
29 import android.provider.Settings;
30 import android.provider.Settings.SettingNotFoundException;
38 public static final String TAG = "Settings.PaymentBackend";
155 return Settings.Secure.getInt(mContext.getContentResolver(),
156 Settings.Secure.NFC_PAYMENT_FOREGROUND) != 0;
163 Settings.Secure.putInt(mContext.getContentResolver(),
164 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0) ;
168 String componentString = Settings.Secure.getString(mContext.getContentResolver(),
169 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 32 import android.provider.ContactsContract.Settings;
316 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
317 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type);
318 values.put(Settings.UNGROUPED_VISIBLE, 0);
319 mResolver.insert(Settings.CONTENT_URI, values);
324 values.put(Settings.UNGROUPED_VISIBLE, 1);
325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
326 + Settings.ACCOUNT_TYPE + "=?", new String[] {
372 values.put(Settings.ACCOUNT_NAME, sTestAccount.name)
    [all...]
  /external/libweave/src/
config.h 33 struct Settings : public weave::Settings {
41 using OnChangedCallback = base::Callback<void(const weave::Settings&)>;
47 const Config::Settings& GetSettings() const;
119 Settings* settings_;
127 Settings settings_;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
FrameworkFacade.java 35 import android.provider.Settings;
57 return Settings.Global.putInt(context.getContentResolver(), name, def);
61 return Settings.Global.getInt(context.getContentResolver(), name, def);
65 return Settings.Global.getLong(context.getContentResolver(), name, def);
69 return Settings.Global.putString(context.getContentResolver(), name, def);
73 return Settings.Global.getString(context.getContentResolver(), name);
  /external/vulkan-validation-layers/demos/smoke/
Game.h 37 struct Settings {
54 const Settings &settings() const { return settings_; } function in class:Game
100 Settings settings_;
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
ObscureSpeechDelegate.java 23 import android.provider.Settings;
89 if (Settings.Secure.getIntForUser(mContentResolver,
90 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0, UserHandle.USER_CURRENT) != 0) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageManagerSettingsTests.java 114 + "<keyset-settings version=\"1\">"
137 + "</keyset-settings>"
196 private void verifyKeySetMetaData(Settings settings)
198 ArrayMap<String, PackageSetting> packages = settings.mPackages;
199 KeySetManagerService ksms = settings.mKeySetManagerService;
258 Settings settings = new Settings(getContext().getFilesDir(), new Object()); local
259 assertEquals(true, settings.readLPw(createFakeUsers()))
270 Settings settings = new Settings(getContext().getFilesDir(), new Object()); local
282 Settings settings = new Settings(getContext().getFilesDir(), new Object()); local
302 Settings settings = new Settings(getContext().getFilesDir(), new Object()); local
318 Settings settings = new Settings(getContext().getFilesDir(), new Object()); local
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DialerRingtoneManager.java 23 import android.provider.Settings;
78 * {@link Settings.System#VIBRATE_WHEN_RINGING} setting.
82 return Settings.System.getInt(resolver, Settings.System.VIBRATE_WHEN_RINGING, 0) != 0;
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
TrickplayStorageManager.java 21 import android.provider.Settings;
34 // Copied from android.provider.Settings.Global (hidden fields)
49 long lowPercentage = Settings.Global.getInt(context.getContentResolver(),
52 long maxLowBytes = Settings.Global.getLong(context.getContentResolver(),
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyTonePlayer.java 25 import android.provider.Settings;
130 return Settings.Global.getInt(
131 mContext.getContentResolver(), Settings.Global.EMERGENCY_TONE, EMERGENCY_TONE_OFF);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DisallowAppsControlActivity.java 27 import android.provider.Settings;
98 new Intent(Settings.ACTION_APPLICATION_SETTINGS)));
106 new Intent(Settings.ACTION_APPLICATION_SETTINGS)));
114 new Intent(Settings.ACTION_APPLICATION_SETTINGS)));

Completed in 1491 milliseconds

1 2 3 4 56 7 8 91011>>