/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 17 package com.android.providers.settings; 34 import android.provider.Settings; 65 if (Settings.System.SCREEN_BRIGHTNESS.equals(name)) { 67 } else if (Settings.System.SOUND_EFFECTS_ENABLED.equals(name)) { 69 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) { 72 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) { 95 Settings.Secure.setLocationProviderEnabled( 171 * Informs the audio service of changes to the settings so that
|
/frameworks/base/services/java/com/android/server/ |
DeviceStorageMonitorService.java | 38 import android.provider.Settings; 45 * than a tunable threshold value (a secure settings parameter; 55 * settings parameter with a default value of 12 hours. When the free 57 * settings parameter with a default value of 2MB), the free memory is 145 // Read the log interval from secure settings 146 long freeMemLogInterval = Settings.Secure.getLong(mContentResolver, 147 Settings.Secure.SYS_FREE_STORAGE_LOG_INTERVAL, 172 // Read the reporting threshold from secure settings 173 long threshold = Settings.Secure.getLong(mContentResolver, 174 Settings.Secure.DISK_FREE_CHANGE_REPORTING_THRESHOLD [all...] |
CertBlacklister.java | 24 import android.provider.Settings; 73 return Settings.Secure.getString(mContentResolver, mKey); 130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY), 137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
|
Watchdog.java | 35 import android.provider.Settings; 120 ? mReqRebootInterval : Settings.Secure.getInt( 121 mResolver, Settings.Secure.REBOOT_INTERVAL, 228 : Settings.Secure.getInt( 229 mResolver, Settings.Secure.REBOOT_INTERVAL, 240 : Settings.Secure.getLong( 241 mResolver, Settings.Secure.REBOOT_START_TIME, 244 : Settings.Secure.getLong( 245 mResolver, Settings.Secure.REBOOT_WINDOW, 248 : Settings.Secure.getLong [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsRejectedReceiver.java | 27 import android.provider.Settings; 42 if (Settings.Secure.getInt(context.getContentResolver(), 43 Settings.Secure.DEVICE_PROVISIONED, 0) == 1 &&
|
/packages/apps/Settings/src/com/android/settings/ |
DreamTesterPreference.java | 17 package com.android.settings; 19 import static android.provider.Settings.Secure.SCREENSAVER_COMPONENT; 34 import android.provider.Settings; 66 String component = Settings.Secure.getString(resolver, SCREENSAVER_COMPONENT);
|
WirelessSettings.java | 17 package com.android.settings; 32 import android.provider.Settings; 39 import com.android.settings.nfc.NfcEnabler; 40 import com.android.settings.NsdEnabler; 88 String toggleable = Settings.System.getString(context.getContentResolver(), 89 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 112 String toggleable = Settings.System.getString(activity.getContentResolver(), 113 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 123 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIMAX ) 130 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI)) [all...] |
DateTimeSettings.java | 17 package com.android.settings; 35 import android.provider.Settings; 36 import android.provider.Settings.SettingNotFoundException; 84 boolean autoTimeEnabled = getAutoState(Settings.System.AUTO_TIME); 85 boolean autoTimeZoneEnabled = getAutoState(Settings.System.AUTO_TIME_ZONE); 116 // Initialize if DATE_FORMAT is not set in the system settings 209 Settings.System.putString(getContentResolver(), 210 Settings.System.DATE_FORMAT, format); 214 Settings.System.putInt(getContentResolver(), Settings.System.AUTO_TIME [all...] |
DockSettings.java | 17 package com.android.settings; 19 import com.android.settings.bluetooth.DockEventReceiver; 33 import android.provider.Settings; 86 mDockSounds.setChecked(Settings.System.getInt(resolver, 87 Settings.System.DOCK_SOUNDS_ENABLED, 0) != 0); 146 Settings.System.putInt(getContentResolver(), Settings.System.DOCK_SOUNDS_ENABLED,
|
/packages/apps/Settings/tests/src/com/android/settings/ |
SettingsHookTests.java | 17 package com.android.settings; 19 import com.android.settings.tests.Manufacturer; 20 import com.android.settings.tests.Operator; 38 * Tests for the Settings operator/manufacturer hook. 45 * -w com.android.settings.tests/android.test.InstrumentationTestRunner 47 public class SettingsHookTests extends ActivityInstrumentationTestCase2<Settings> { 49 private static final String PACKAGE_NAME = "com.android.settings.tests"; 55 private static final String INTENT_OPERATOR_HOOK = "com.android.settings.OPERATOR_APPLICATION_SETTING"; 56 private static final String INTENT_MANUFACTURER_HOOK = "com.android.settings.MANUFACTURER_APPLICATION_SETTING"; 58 private Settings mSettings [all...] |
/build/target/product/ |
large_emu_hw.mk | 38 Settings \
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SecureTest.java | 22 import android.provider.Settings; 23 import android.provider.Settings.Secure; 24 import android.provider.Settings.SettingNotFoundException; 48 /** Check that the settings that will be used for testing have proper values. */ 157 0, Secure.getInt(cr, Settings.Secure.INSTALL_NON_MARKET_APPS));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.java | 52 import android.provider.Settings; 170 /* Returns true if Bluetooth is allowed given current airplane mode settings. */ 175 final boolean isAirplaneModeOn = Settings.System.getInt(resolver, 176 Settings.System.AIRPLANE_MODE_ON, 0) == 1; 182 final String airplaneModeRadios = Settings.System.getString(resolver, 183 Settings.System.AIRPLANE_MODE_RADIOS); 185 airplaneModeRadios.contains(Settings.System.RADIO_BLUETOOTH); 191 final String airplaneModeToggleableRadios = Settings.System.getString(resolver, 192 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 194 airplaneModeToggleableRadios.contains(Settings.System.RADIO_BLUETOOTH) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
Use2GOnlyCheckBoxPreference.java | 57 android.provider.Settings.Secure.putInt(mPhone.getContext().getContentResolver(), 58 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, networkType); 92 android.provider.Settings.Secure.putInt(mPhone.getContext().getContentResolver(), 93 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, type);
|
MobileNetworkSettings.java | 47 * "Mobile network settings" screen. This preference screen lets you 54 * Settings app. It's not part of the "Call settings" hierarchy that's 76 private static final String UP_ACTIVITY_PACKAGE = "com.android.settings"; 78 "com.android.settings.Settings$WirelessSettingsActivity"; 145 //displays the value taken from the Settings.System 146 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). 147 getContentResolver(), android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, 178 String tmpl = android.provider.Settings.Secure.getString(getContentResolver() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarSettingsActionProviderActivity.java | 22 import android.provider.Settings; 36 * ActionProvider for launching the system settings and adds a menu item with that 66 /** An intent for launching the system settings. */ 67 private static final Intent sSettingsIntent = new Intent(Settings.ACTION_SETTINGS); 91 // Attach a click listener for launching the system settings.
|
/external/webkit/Source/WebKit/android/content/ |
content_detector.h | 48 class Settings; 90 WebCore::Settings* GetSettings(const WebKit::WebHitTestInfo& hit_test);
|
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
WebFrameNetworkingContext.mm | 24 #import <WebCore/Settings.h> 30 return frame() && frame()->settings() && frame()->settings()->needsSiteSpecificQuirks(); 35 return frame() && frame()->settings() && frame()->settings()->localFileContentSniffingEnabled();
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/ |
WebFrameNetworkingContext.mm | 25 #import <WebCore/Settings.h> 33 return frame() && frame()->settings() && frame()->settings()->needsSiteSpecificQuirks(); 38 return frame() && frame()->settings() && frame()->settings()->localFileContentSniffingEnabled();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursor.java | 23 import android.provider.Settings; 39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null);
|
/packages/apps/Settings/ |
Android.mk | 11 LOCAL_PACKAGE_NAME := Settings
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 31 import static android.provider.Settings.Secure.getString; 33 import android.provider.Settings; 76 Settings.Secure.TTS_DEFAULT_SYNTH); 156 * @return an intent that can launch the settings activity for a given tts engine. 170 final String settings = settingsActivityFromServiceInfo(service, pm); local 171 if (settings != null) { 173 i.setClassName(engine, settings); 213 final String settings = array.getString( local 217 return settings; 285 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which th [all...] |
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityManagerTest.java | 23 import android.provider.Settings; 53 1, Settings.Secure.getInt(mContext.getContentResolver(), 54 Settings.Secure.ACCESSIBILITY_ENABLED)); 57 1, Settings.Secure.getInt(mContext.getContentResolver(), 58 Settings.Secure.TOUCH_EXPLORATION_ENABLED));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneFactory.java | 22 import android.provider.Settings; 107 int networkMode = Settings.Secure.getInt(context.getContentResolver(), 108 Settings.Secure.PREFERRED_NETWORK_MODE, preferredNetworkMode); 128 //Get cdmaSubscription mode from Settings.System 129 cdmaSubscription = Settings.Secure.getInt(context.getContentResolver(), 130 Settings.Secure.PREFERRED_CDMA_SUBSCRIPTION,
|
/packages/apps/Browser/src/com/android/browser/ |
SystemAllowGeolocationOrigins.java | 26 import android.provider.Settings; 60 // Register to receive notifications when the system settings change. 61 Uri uri = Settings.Secure.getUriFor(Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS); 158 String value = Settings.Secure.getString(mContext.getContentResolver(), 159 Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS);
|