Searched refs:Settings (Results 151 - 175 of 199) sorted by relevance

12345678

/frameworks/base/core/java/com/android/internal/widget/
H A DWaveView.java30 import android.provider.Settings;
578 final boolean hapticEnabled = Settings.System.getIntForUser(
579 mContext.getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 1,
H A DSlidingTab.java26 import android.provider.Settings;
816 final boolean hapticEnabled = Settings.System.getIntForUser(
817 mContext.getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 1,
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java40 import android.provider.Settings;
701 Settings.Global.putInt(context.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON,
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java40 import android.provider.Settings;
688 Settings.System.putInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java61 import android.provider.Settings;
152 final boolean provisioned = 0 != Settings.Global.getInt(
153 mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0);
200 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED), true,
341 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayAdapter.java40 import android.provider.Settings;
372 Intent settingsIntent = new Intent(Settings.ACTION_WIFI_DISPLAY_SETTINGS);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java314 EnvironmentalReverb.Settings settings = mReverb.getProperties();
320 settings = new EnvironmentalReverb.Settings(str);
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java27 import android.provider.Settings;
77 * applicable {@link Settings.Secure#CONNECTIVITY_CHANGE_DELAY}.
334 * Default value for {@link Settings.Global#CONNECTIVITY_CHANGE_DELAY} in
H A DProxy.java28 import android.provider.Settings;
/frameworks/base/core/java/android/provider/
H A DContacts.java99 * Columns from the Settings table that other columns join into themselves.
142 public static final class Settings implements BaseColumns, SettingsColumns { class in class:Contacts
146 private Settings() {} method in class:Contacts.Settings
206 Cursor cursor = cr.query(Settings.CONTENT_URI, new String[]{VALUE},
231 cr.update(Settings.CONTENT_URI, values, null, null);
/frameworks/base/core/java/android/webkit/
H A DWebSettingsClassic.java25 import android.provider.Settings;
26 import android.provider.Settings.SettingNotFoundException;
303 Settings.System.getInt(context.getContentResolver(),
304 Settings.System.TEXT_SHOW_PASSWORD) != 0;
1717 * Let the Settings object know that our owner is being destroyed.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneBase.java34 import android.provider.Settings;
636 Settings.Global.getInt(mContext.getContentResolver(),
637 Settings.Global.WIFI_COUNTRY_CODE);
638 } catch (Settings.SettingNotFoundException e) {
H A DSMSDispatcher.java43 import android.provider.Settings;
217 mContext.getContentResolver().registerContentObserver(Settings.Global.getUriFor(
218 Settings.Global.SMS_SHORT_CODE_RULE), false, mSettingsObserver);
248 mPremiumSmsRule.set(Settings.Global.getInt(mContext.getContentResolver(),
249 Settings.Global.SMS_SHORT_CODE_RULE, PREMIUM_RULE_USE_SIM));
1371 // Always set the SMS permission so that Settings will show a permission setting
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DBassBoostTest.java247 mBassBoost.setProperties(new BassBoost.Settings(mSettings));
H A DVirtualizerTest.java244 mVirtualizer.setProperties(new Virtualizer.Settings(mSettings));
H A DPresetReverbTest.java271 mPresetReverb.setProperties(new PresetReverb.Settings(mSettings));
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java47 import android.provider.Settings;
48 import android.provider.Settings.SettingNotFoundException;
1674 origDefaultLoc = Settings.Global.getInt(mContext.getContentResolver(),
1675 Settings.Global.DEFAULT_INSTALL_LOCATION);
1682 Settings.Global.putInt(mContext.getContentResolver(),
1683 Settings.Global.DEFAULT_INSTALL_LOCATION, loc);
2561 return Settings.Global.getInt(
2562 mContext.getContentResolver(), Settings.Global.SET_INSTALL_LOCATION) != 0;
2569 Settings.Global.putInt(mContext.getContentResolver(),
2570 Settings
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java50 import android.provider.Settings;
533 boolean dataEnabled = Settings.Global.getInt(mContext.getContentResolver(),
534 Settings.Global.MOBILE_DATA, 1) == 1;
955 if (Settings.Global.getInt(mContext.getContentResolver(),
956 Settings.Global.ASSISTED_GPS_ENABLED, 1) != 0) {
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java72 import android.provider.Settings;
730 boolean areEnabled = Settings.Secure.getInt(resolver,
731 Settings.Secure.BACKUP_ENABLED, 0) != 0;
732 mProvisioned = Settings.Global.getInt(resolver,
733 Settings.Global.DEVICE_PROVISIONED, 0) != 0;
734 mAutoRestore = Settings.Secure.getInt(resolver,
735 Settings.Secure.BACKUP_AUTO_RESTORE, 1) != 0;
739 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED),
818 mCurrentTransport = Settings
[all...]
H A DDevicePolicyManagerService.java64 import android.provider.Settings;
833 "Settings do not start with policies tag: found " + tag);
1778 Settings.Global.putInt(mContext.getContentResolver(),
1779 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0);
2133 Settings.Global.putString(res, Settings.Global.GLOBAL_HTTP_PROXY_HOST, data[0]);
2134 Settings.Global.putInt(res, Settings.Global.GLOBAL_HTTP_PROXY_PORT, proxyPort);
2135 Settings.Global.putString(res, Settings
[all...]
H A DLocationManagerService.java58 import android.provider.Settings;
227 Settings.Secure.getUriFor(Settings.Secure.LOCATION_PROVIDERS_ALLOWED), true,
681 return Settings.Secure.isLocationProviderEnabledForUser(resolver, provider, mCurrentUserId);
1840 boolean allowMocks = Settings.Secure.getInt(mContext.getContentResolver(),
1841 Settings.Secure.ALLOW_MOCK_LOCATION, 0) == 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java289 int networkMode = android.provider.Settings.Global.getInt(phone.getContext()
291 android.provider.Settings.Global.PREFERRED_NETWORK_MODE,
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPasswordUnlockScreen.java31 import android.provider.Settings;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java34 import android.provider.Settings;
/frameworks/base/media/java/android/media/
H A DAudioManager.java34 import android.provider.Settings;
1711 * Settings has an in memory cache, so this is fast.
1714 return Settings.System.getInt(mContext.getContentResolver(), Settings.System.SOUND_EFFECTS_ENABLED, 0) != 0;
2275 * Reload audio settings. This method is called by Settings backup

Completed in 363 milliseconds

12345678