/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
DownloadManagerBaseTest.java | 36 import android.provider.Settings; 467 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 475 while (Settings.System.getInt(mContext.getContentResolver(), 476 Settings.System.AIRPLANE_MODE_ON, -1) != state) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardStatusViewManager.java | 33 import android.provider.Settings; 325 final boolean ownerInfoEnabled = Settings.Secure.getInt(res, 326 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED, 1) != 0; 328 Settings.Secure.getString(res, Settings.Secure.LOCK_SCREEN_OWNER_INFO) : null;
|
LockScreen.java | 37 import android.provider.Settings; 275 final boolean vibe = (Settings.System.getInt( 277 Settings.System.VIBRATE_IN_SILENT, 1) == 1); 305 * @param lockPatternUtils Used to know the state of the lock pattern settings.
|
/frameworks/base/services/java/com/android/server/ |
BatteryService.java | 36 import android.provider.Settings; 447 String dischargeThresholdString = Settings.Secure.getString(cr, 448 Settings.Secure.BATTERY_DISCHARGE_THRESHOLD); 449 String durationThresholdString = Settings.Secure.getString(cr, 450 Settings.Secure.BATTERY_DISCHARGE_DURATION_THRESHOLD);
|
UiModeManagerService.java | 48 import android.provider.Settings; 339 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(), 340 Settings.Secure.UI_NIGHT_MODE, UiModeManager.MODE_NIGHT_AUTO); 383 Settings.Secure.putInt(mContext.getContentResolver(), 384 Settings.Secure.UI_NIGHT_MODE, mode); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 40 import android.provider.Settings; 641 // Overright the brightness settings if it is automatic 642 int mode = Settings.System.getInt(resolver, Settings.System.SCREEN_BRIGHTNESS_MODE, 643 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); 644 if (mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
|
/frameworks/base/media/java/android/media/ |
AudioService.java | 53 import android.provider.Settings; 54 import android.provider.Settings.System; 190 /* STREAM_VOLUME_ALIAS[] indicates for each stream if it uses the volume settings 191 * of another stream: This avoids multiplying the volume settings for hidden 192 * stream types that follow other stream behavior for volume settings 442 // sanity check in case the settings are restored from a device with incompatible 451 // make sure settings for ringer mode are consistent with device type: non voice capable 453 mRingerModeAffectedStreams = Settings.System.getInt(cr, 454 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 462 Settings.System.putInt(cr [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pService.java | 54 import android.provider.Settings; 221 String id = Settings.Secure.getString(mContext.getContentResolver(), 222 Settings.Secure.ANDROID_ID); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcService.java | 65 import android.provider.Settings; 336 final String airplaneModeRadios = Settings.System.getString(resolver, 337 Settings.System.AIRPLANE_MODE_RADIOS); 338 final String toggleableRadios = Settings.System.getString(resolver, 339 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 342 airplaneModeRadios.contains(Settings.System.RADIO_NFC); 344 toggleableRadios.contains(Settings.System.RADIO_NFC); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 386 args = {EnvironmentalReverb.Settings.class} 392 EnvironmentalReverb.Settings settings = mReverb.getProperties(); local 393 String str = settings.toString(); 394 settings = new EnvironmentalReverb.Settings(str); 395 short level = (short)((settings.roomLevel == 0) ? -1000 : 0); 396 settings.roomLevel = level; 397 mReverb.setProperties(settings); 398 settings = mReverb.getProperties() [all...] |
EqualizerTest.java | 255 args = {Equalizer.Settings.class} 261 Equalizer.Settings settings = mEqualizer.getProperties(); local 262 assertTrue("no enough bands", settings.numBands >= MIN_NUMBER_OF_BANDS); 264 if (settings.bandLevels[0] == 0) { 267 String str = settings.toString(); 268 settings = new Equalizer.Settings(str); 269 settings.curPreset = (short)-1; 270 settings.bandLevels[0] = newLevel [all...] |
/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.Secure.getInt(context.getContentResolver(), 162 Settings.Secure.SEND_ACTION_APP_ERROR, 0);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 40 import android.provider.Settings; 654 Settings.System.putInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 41 import android.provider.Settings; 401 * Explicit install flags should override the manifest settings. 434 int installPreference = Settings.System.getInt(getApplicationContext() 436 Settings.Secure.DEFAULT_INSTALL_LOCATION,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 30 import android.provider.Settings; 318 final boolean adbOn = 1 == Settings.Secure.getInt( 320 Settings.Secure.ADB_ENABLED,
|
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 23 import android.provider.Settings; 442 mLocalToneEnabled = Settings.System.getInt(mInCallScreen.getContentResolver(), 443 Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1; 742 // Read the settings as it may be changed by the user during the call 831 * Sends the dtmf character over the network for short DTMF settings
|
EmergencyDialer.java | 35 import android.provider.Settings; 439 mDTMFToneEnabled = Settings.System.getInt(getContentResolver(), 440 Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1;
|
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.
|
/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...] |
/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...] |
/external/webkit/Source/WebCore/page/ |
Navigator.cpp | 44 #include "Settings.h" 100 Settings* settings = frame->settings(); 101 if (!settings) 103 return settings->needsSiteSpecificQuirks(); 161 if (!m_frame || !m_frame->settings()) 164 return m_frame->settings()->isJavaEnabled();
|