/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 41 import android.provider.Settings; 178 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(), 179 Settings.Secure.UI_NIGHT_MODE, UiModeManager.MODE_NIGHT_AUTO); 241 Settings.Secure.putInt(mContext.getContentResolver(), 242 Settings.Secure.UI_NIGHT_MODE, mode);
|
NsdService.java | 35 import android.provider.Settings; 134 Settings.Global.getUriFor(Settings.Global.NSD_ON), 559 Settings.Global.putInt(mContentResolver, Settings.Global.NSD_ON, enable ? 1 : 0); 579 boolean ret = Settings.Global.getInt(mContentResolver, Settings.Global.NSD_ON, 1) == 1; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 32 import android.provider.Settings; 430 Settings.Global.putInt(getContentResolver(), 431 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()), 440 int priority = Settings.Global.getInt(getContentResolver(), 441 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()),
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 40 import android.provider.Settings; 678 // Overright the brightness settings if it is automatic 679 int mode = Settings.System.getInt(resolver, Settings.System.SCREEN_BRIGHTNESS_MODE, 680 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); 681 if (mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
|
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 24 import android.provider.Settings; 520 mLocalToneEnabled = Settings.System.getInt(mInCallScreen.getContentResolver(), 521 Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1; [all...] |
SipCallOptionHandler.java | 40 import android.provider.Settings; 186 if (mCallOption.equals(Settings.System.SIP_ASK_ME_EACH_TIME) 191 if (!mCallOption.equals(Settings.System.SIP_ADDRESS_ONLY) 329 // Redirect to sip settings and drop the call.
|
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | 62 import android.provider.Settings; 63 import android.provider.Settings.SettingNotFoundException; 697 final Intent intent = new Intent("android.settings.INPUT_METHOD_SETTINGS"); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcService.java | 70 import android.provider.Settings; 383 mInProvisionMode = Settings.Secure.getInt(mContentResolver, 384 Settings.Global.DEVICE_PROVISIONED, 0) == 0; 469 final String airplaneModeRadios = Settings.System.getString(mContentResolver, 470 Settings.Global.AIRPLANE_MODE_RADIOS); 471 final String toggleableRadios = Settings.System.getString(mContentResolver, 472 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 475 airplaneModeRadios.contains(Settings.Global.RADIO_NFC); 477 toggleableRadios.contains(Settings.Global.RADIO_NFC); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettings.java | 63 import android.provider.Settings; 280 // Dismiss the lock screen when Settings starts. 363 // Settings tile 369 startSettingsActivity(android.provider.Settings.ACTION_SETTINGS); 385 startSettingsActivity(android.provider.Settings.ACTION_WIFI_SETTINGS); 436 "com.android.settings", 437 "com.android.settings.Settings$DataUsageSummaryActivity")); 545 startSettingsActivity(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); 627 startSettingsActivity(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS) [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
ScreenMagnifier.java | 35 import android.provider.Settings; 95 * 6. The magnification scale will be persisted in settings and in the cloud. [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbDeviceManager.java | 46 import android.provider.Settings; 127 boolean enable = (Settings.Global.getInt(mContentResolver, 128 Settings.Global.ADB_ENABLED, 0) > 0); 179 public void setCurrentSettings(UsbSettingsManager settings) { 181 mCurrentSettings = settings; 206 Settings.Global.putInt(mContentResolver, Settings.Global.ADB_ENABLED, mAdbEnabled ? 1 : 0); 365 // register observer to listen for settings changes 367 Settings.Global.getUriFor(Settings.Global.ADB_ENABLED) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 106 /** Lazily-created settings for this connection. */ 107 Settings settings; field in class:SpdyConnection 180 stream = new SpdyStream(streamId, this, flags, priority, slot, requestHeaders, settings); 461 settings); 514 @Override public void settings(int flags, Settings newSettings) { method in class:SpdyConnection.Reader 517 if (settings == null || (flags & Settings.FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS) != 0) { 518 settings = newSettings [all...] |
/external/webkit/Source/WebCore/page/ |
Settings.h | 53 class Settings { 54 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; 56 Settings(Page*);
|
/frameworks/base/core/java/android/app/ |
ApplicationErrorReport.java | 29 import android.provider.Settings; 160 // check if error reporting is enabled in secure settings 161 int enabled = Settings.Global.getInt(context.getContentResolver(), 162 Settings.Global.SEND_ACTION_APP_ERROR, 0);
|
/frameworks/base/core/java/android/webkit/ |
AccessibilityInjectorFallback.java | 20 import android.provider.Settings; 48 * {@link android.provider.Settings.Secure#ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS}. 479 String webContentKeyBindingsString = Settings.Secure.getString( 481 Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 31 import android.provider.Settings; 322 final boolean adbOn = 1 == Settings.Global.getInt( 324 Settings.Global.ADB_ENABLED,
|
/packages/apps/Gallery2/src/com/android/camera/ |
CameraActivity.java | 32 import android.provider.Settings; 151 // Return whether the auto-rotate screen in system settings 332 if (Settings.System.getInt(getContentResolver(), 333 Settings.System.ACCELEROMETER_ROTATION, 0) == 0) {// auto-rotate off
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardSwitcher.java | 40 import com.android.inputmethod.latin.Settings; 186 Settings.readKeyPreviewPopupEnabled(mPrefs, mResources), 187 Settings.readKeyPreviewPopupDismissDelay(mPrefs, mResources));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
PinyinIME.java | 141 * Option dialog to choose settings and other IMEs. 186 Settings.getInstance(PreferenceManager 207 Settings.releaseInstance(); 856 if (Settings.getPrediction()) { [all...] |
/frameworks/base/media/java/android/media/ |
AudioService.java | 65 import android.provider.Settings; 66 import android.provider.Settings.System; 226 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings 227 * of another stream: This avoids multiplying the volume settings for hidden 228 * stream types that follow other stream behavior for volume settings 495 mSafeMediaVolumeState = new Integer(Settings.Global.getInt(mContentResolver, 496 Settings.Global.AUDIO_SAFE_VOLUME_STATE, 663 mDockAudioMediaEnabled = Settings.Global.getInt( 664 cr, Settings.Global.DOCK_AUDIO_MEDIA_ENABLED, 0) == 1; 686 Settings.Global.getInt [all...] |
/development/apps/Development/src/com/android/development/ |
ShowActivity.java | 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java 26 import android.provider.Settings;
|
/external/webkit/Source/WebCore/html/ |
HTMLAppletElement.cpp | 32 #include "Settings.h" 171 Settings* settings = document()->settings(); 172 return settings && settings->isJavaEnabled();
|
HTMLScriptElement.cpp | 32 #include "Settings.h" 96 Settings* settings = document->settings(); 97 if (!settings) 99 if (!settings->needsSiteSpecificQuirks())
|
HTMLTableCellElement.cpp | 37 #include "Settings.h" 101 if (!(document()->frame()) || document()->frame()->settings()->layoutAlgorithm() != Settings::kLayoutSSR)
|
/external/webkit/Source/WebCore/loader/ |
HistoryController.cpp | 48 #include "Settings.h" 315 Settings* settings = m_frame->settings(); local 316 bool needPrivacy = !settings || settings->privateBrowsingEnabled(); 353 Settings* settings = m_frame->settings(); local 354 bool needPrivacy = !settings || settings->privateBrowsingEnabled() 402 Settings* settings = m_frame->settings(); local [all...] |