/cts/tests/tests/media/src/android/media/cts/ |
BassBoostTest.java | 115 BassBoost.Settings settings = mBassBoost.getProperties(); local 116 String str = settings.toString(); 117 settings = new BassBoost.Settings(str); 119 short strength = settings.strength; 123 settings.strength = strength; 124 mBassBoost.setProperties(settings); 125 settings = mBassBoost.getProperties(); 130 ((float)settings.strength > (float)strength / STRENGTH_TOLERANCE) & [all...] |
PresetReverbTest.java | 104 PresetReverb.Settings settings = mReverb.getProperties(); local 105 String str = settings.toString(); 106 settings = new PresetReverb.Settings(str); 107 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? 109 settings.preset = preset; 110 mReverb.setProperties(settings); 111 settings = mReverb.getProperties(); 112 assertEquals("setProperties failed", settings.preset, preset) [all...] |
VirtualizerTest.java | 113 Virtualizer.Settings settings = mVirtualizer.getProperties(); local 114 String str = settings.toString(); 115 settings = new Virtualizer.Settings(str); 117 short strength = settings.strength; 121 settings.strength = strength; 122 mVirtualizer.setProperties(settings); 123 settings = mVirtualizer.getProperties(); 128 ((float)settings.strength > (float)strength / STRENGTH_TOLERANCE) & [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
PasswordTransformationMethodTest.java | 22 import android.provider.Settings.SettingNotFoundException; 23 import android.provider.Settings.System;
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
WiFiDirectActivity.java | 31 import android.provider.Settings; 130 // Since this is the system wireless settings activity, it's 134 startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyWriter.java | 117 public synchronized void settings(int flags, Settings settings) throws IOException { method in class:SpdyWriter 119 int size = settings.size(); 124 for (int i = 0; i <= Settings.COUNT; i++) { 125 if (!settings.isSet(i)) continue; 126 int settingsFlags = settings.flags(i); 128 out.writeInt(settings.get(i));
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
MockSpdyPeer.java | 174 public Settings settings; field in class:MockSpdyPeer.InFrame 181 @Override public void settings(int flags, Settings settings) { method in class:MockSpdyPeer.InFrame 185 this.settings = settings;
|
/external/webkit/Source/WebCore/loader/ |
DocumentWriter.cpp | 45 #include "Settings.h" 158 if (Settings* settings = m_frame->settings()) { 160 settings->defaultTextEncodingName(), 161 settings->usesEncodingDetector()); 237 Settings* settings = m_frame->settings(); 238 return settings ? settings->defaultTextEncodingName() : String() [all...] |
/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 687 * A table that stores settings specific to the browser. Only support query and insert. 690 public static final class Settings { 694 private Settings() {} 699 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "settings");
|
/frameworks/base/core/java/android/view/ |
ViewConfiguration.java | 25 import android.provider.Settings; 393 return AppGlobals.getIntCoreSetting(Settings.Secure.LONG_PRESS_TIMEOUT,
|
/frameworks/base/core/java/android/widget/ |
TextClock.java | 29 import android.provider.Settings; 369 * sets the time zone in settings for instance) will be ignored. 489 resolver.registerContentObserver(Settings.System.CONTENT_URI, true, mFormatChangeObserver);
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 29 import android.provider.Settings; 123 if (Settings.AUTHORITY.equals(authority)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaEqualizerTest.java | 229 Equalizer.Settings settings = mEqualizer.getProperties(); local 230 String str = settings.toString(); 231 settings = new Equalizer.Settings(str); 232 mEqualizer.setProperties(settings);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
ClockView.java | 27 import android.provider.Settings; 183 Settings.System.CONTENT_URI, true, mFormatChangeObserver);
|
/frameworks/base/services/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 23 import android.provider.Settings; 77 // get the certificate from Settings.Secure 121 // get the cert from settings 122 String cert = Settings.Secure.getString(cr, UPDATE_CERTIFICATE_KEY); 130 throw new IllegalStateException("Got malformed certificate from settings, ignoring");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 22 import android.provider.Settings; 103 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
DigitalClock.java | 26 import android.provider.Settings; 154 Settings.System.CONTENT_URI, true, mFormatChangeObserver);
|
/packages/apps/Phone/src/com/android/phone/ |
Ringer.java | 34 import android.provider.Settings; 56 Uri mCustomRingtoneUri = Settings.System.DEFAULT_RINGTONE_URI;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
RingtonePickerActivity.java | 28 import android.provider.Settings; 123 mUriForDefaultItem = Settings.System.DEFAULT_RINGTONE_URI;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 110 Settings settings = getSettings(stageIndex); local 129 mCurrentCameraId = settings.mCameraId; 135 mNextPreviewOrientation = settings.mOrientation; 536 private Settings getSettings(int stageIndex) { 539 return new Settings(stageIndex, curCameraId, curOrientation); 542 // Bundle of settings for testing a particular 544 class Settings { 548 Settings(int stageIndex, int cameraId, int orientation) {
|
/frameworks/base/core/java/android/webkit/ |
AccessibilityInjector.java | 23 import android.provider.Settings; 472 final int injectionSetting = Settings.Secure.getInt( 473 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, 0); 570 final String screenReaderUrl = Settings.Secure.getString( 571 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCREEN_READER_URL); 577 * settings. 580 final WebSettings settings = mWebView.getSettings(); local 581 if (settings == null) { 585 return settings.getJavaScriptEnabled(); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 26 import android.provider.Settings; 62 if (Settings.Global.getInt(getInstrumentation().getContext().getContentResolver(), 63 Settings.Global.AIRPLANE_MODE_ON) == 1) { 87 if (Settings.Global.getInt(getInstrumentation().getContext().getContentResolver(), 88 Settings.Global.AIRPLANE_MODE_ON) == 1) {
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 35 import android.provider.Settings; 557 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 565 while (Settings.Global.getInt(mContext.getContentResolver(), 566 Settings.Global.AIRPLANE_MODE_ON, -1) != state) { [all...] |
/frameworks/base/services/java/com/android/server/ |
BatteryService.java | 38 import android.provider.Settings; 551 String dischargeThresholdString = Settings.Global.getString(cr, 552 Settings.Global.BATTERY_DISCHARGE_THRESHOLD); 553 String durationThresholdString = Settings.Global.getString(cr, 554 Settings.Global.BATTERY_DISCHARGE_DURATION_THRESHOLD);
|
NotificationManagerService.java | 63 import android.provider.Settings; 545 String flatIn = Settings.Secure.getStringForUser( 547 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 587 Settings.Secure.putStringForUser(mContext.getContentResolver(), 588 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 600 String flat = Settings.Secure.getStringForUser( 602 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 712 mContext, 0, new Intent(Settings.ACTION_NOTIFICATION_LISTENER_SETTINGS), 0)); [all...] |