/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | SettingsTest.java | 20 import static com.squareup.okhttp.internal.spdy.Settings.DOWNLOAD_BANDWIDTH; 21 import static com.squareup.okhttp.internal.spdy.Settings.DOWNLOAD_RETRANS_RATE; 22 import static com.squareup.okhttp.internal.spdy.Settings.MAX_CONCURRENT_STREAMS; 23 import static com.squareup.okhttp.internal.spdy.Settings.PERSISTED; 24 import static com.squareup.okhttp.internal.spdy.Settings.PERSIST_VALUE; 25 import static com.squareup.okhttp.internal.spdy.Settings.UPLOAD_BANDWIDTH; 32 Settings settings = new Settings(); in unsetField() 37 Settings settings = new Settings(); in setFields() 40 settings.set(Settings.UPLOAD_BANDWIDTH, 0, 42); in setFields() 44 settings.set(Settings.DOWNLOAD_BANDWIDTH, 0, 53); in setFields() [all …]
|
/external/chromium-trace/trace-viewer/src/base/ |
D | settings.js | 20 function Settings() { class 21 return Settings; 33 Settings.get = function(key, opt_default, opt_namespace) { class 34 key = Settings.namespace_(key, opt_namespace); 45 storage_.removeItem(Settings.namespace_(key, opt_namespace)); 59 Settings.set = function(key, value, opt_namespace) { 63 storage_.setItem(Settings.namespace_(key, opt_namespace), v); 73 Settings.keys = function(opt_namespace) { 78 if (Settings.isnamespaced_(key, opt_namespace)) 79 result.push(Settings.unnamespace_(key, opt_namespace)); [all …]
|
D | settings_test.js | 13 assertEquals(expectedValue, base.Settings.get('my_key'), 21 var storage = base.Settings.getAlternativeStorageInstance(); 22 storage.setItem(base.Settings.namespace_('key'), 'hello world'); 24 assertEquals('value', base.Settings.get('key', 'value')); 28 var settings = new base.Settings(); 32 assertEquals('my_val', base.Settings().get('my_key')); 36 var settings = new base.Settings(); 42 var settings = new base.Settings(); 48 var settings = new base.Settings(); 54 var settings = new base.Settings(); [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SettingsTest.java | 6 import android.provider.Settings; 30 Settings.System.putInt(contentResolver, "property", 1); in whileApplicationStaysSame_shouldRememberOldSettings() 31 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whileApplicationStaysSame_shouldRememberOldSettings() 35 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whileApplicationStaysSame_shouldRememberOldSettings() 40 Settings.System.putInt(contentResolver, "property", 1); in whenApplicationChanges_shouldStartWithNewSettings() 41 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whenApplicationChanges_shouldStartWithNewSettings() 46 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); in whenApplicationChanges_shouldStartWithNewSettings() 51 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); in testSystemGetInt() 52 assertThat(Settings.System.getInt(contentResolver, "property", 2), equalTo(2)); in testSystemGetInt() 54 Settings.System.putInt(contentResolver, "property", 1); in testSystemGetInt() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | Settings.cpp | 67 Settings::Settings() in Settings() function in WebCore::Settings 81 PassOwnPtr<Settings> Settings::create() in create() 83 return adoptPtr(new Settings); in create() 88 void Settings::setDelegate(SettingsDelegate* delegate) in setDelegate() 93 void Settings::invalidate(SettingsDelegate::ChangeType changeType) in invalidate() 100 Page* Settings::pageOfShame() const in pageOfShame() 107 void Settings::setTextAutosizingEnabled(bool textAutosizingEnabled) in setTextAutosizingEnabled() 116 bool Settings::textAutosizingEnabled() const in textAutosizingEnabled() 122 void Settings::setTextAutosizingWindowSizeOverride(const IntSize& textAutosizingWindowSizeOverride) in setTextAutosizingWindowSizeOverride() 131 void Settings::setDeviceScaleAdjustment(float deviceScaleAdjustment) in setDeviceScaleAdjustment() [all …]
|
D | SettingsDelegate.h | 40 class Settings; variable 44 explicit SettingsDelegate(PassOwnPtr<Settings>); 47 Settings* settings() const { return m_settings.get(); } in settings() 68 OwnPtr<Settings> const m_settings;
|
D | Settings.h | 52 class Settings { 53 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; 55 static PassOwnPtr<Settings> create(); 92 Settings();
|
/external/chromium_org/remoting/webapp/ |
D | plugin_settings.js | 17 remoting.Settings = function() {}; class 23 remoting.Settings.prototype.PLUGIN_MIMETYPE = 'HOST_PLUGIN_MIMETYPE'; 25 remoting.Settings.prototype.OAUTH2_CLIENT_ID = 'API_CLIENT_ID'; 27 remoting.Settings.prototype.OAUTH2_CLIENT_SECRET = 'API_CLIENT_SECRET'; 30 remoting.Settings.prototype.OAUTH2_BASE_URL = 'OAUTH2_BASE_URL'; 32 remoting.Settings.prototype.OAUTH2_API_BASE_URL = 'OAUTH2_API_BASE_URL'; 34 remoting.Settings.prototype.DIRECTORY_API_BASE_URL = 'DIRECTORY_API_BASE_URL'; 36 remoting.Settings.prototype.TALK_GADGET_URL = 'TALK_GADGET_URL'; 38 remoting.Settings.prototype.OAUTH2_REDIRECT_URL = 'OAUTH2_REDIRECT_URL'; 41 remoting.Settings.prototype.DIRECTORY_BOT_JID = 'DIRECTORY_BOT_JID'; [all …]
|
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/ |
D | Settings.cs | 13 public partial class Settings : System.Configuration.ApplicationSettingsBase class 15 private static Settings m_Value; 19 public static Settings Value 23 if ((Settings.m_Value == null)) 25 System.Threading.Monitor.Enter(Settings.m_SyncObject); 26 if ((Settings.m_Value == null)) 30 Settings.m_Value = new Settings(); 34 System.Threading.Monitor.Exit(Settings.m_SyncObject); 38 return Settings.m_Value;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSettings.java | 4 import android.provider.Settings; 18 @Implements(Settings.class) 20 @Implements(Settings.class) 40 …public static int getInt(ContentResolver cr, String name) throws Settings.SettingNotFoundException… in getInt() 44 throw new Settings.SettingNotFoundException(name); in getInt() 79 …public static long getLong(ContentResolver cr, String name) throws Settings.SettingNotFoundExcepti… in getLong() 83 throw new Settings.SettingNotFoundException(name); in getLong() 103 …public static float getFloat(ContentResolver cr, String name) throws Settings.SettingNotFoundExcep… in getFloat() 107 throw new Settings.SettingNotFoundException(name); in getFloat() 122 @Implements(Settings.System.class) [all …]
|
/external/chromium_org/chrome/browser/net/spdyproxy/ |
D | data_reduction_proxy_settings_unittest_android.cc | 54 DataReductionProxySettingsAndroid* Settings() { in Settings() function in DataReductionProxySettingsAndroidTest 65 Settings()->GetDataReductionProxyOrigin(env_, NULL); in TEST_F() 74 Settings()->AddURLPatternToBypass("http://foo.com/*"); in TEST_F() 75 Settings()->AddHostPatternToBypass("bar.com"); in TEST_F() 77 EXPECT_EQ(Settings()->pac_bypass_rules_.size(), 1u); in TEST_F() 79 Settings()->pac_bypass_rules_[0]); in TEST_F() 81 EXPECT_EQ(Settings()->BypassRules().size(), 1u); in TEST_F() 82 EXPECT_EQ("bar.com", Settings()->BypassRules()[0]); in TEST_F() 87 Settings()->AddDefaultProxyBypassRules(); in TEST_F() 90 std::string raw_pac = Settings()->GetProxyPacScript(false); in TEST_F() [all …]
|
/external/chromium_org/tools/stats_viewer/Properties/ |
D | Settings.Designer.cs | 17 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase class 20 …private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSett… 22 public static Settings Default
|
/external/chromium-trace/trace-viewer/src/tracing/ |
D | trace_model_settings.js | 10 var Settings = base.Settings; 69 var settings = Settings.get('trace_model_settings', {}); 78 Settings.set('trace_model_settings', settings); 97 var settings = Settings.get('trace_model_settings', {}); 113 var settings = Settings.get('trace_model_settings', {}); 117 Settings.set('trace_model_settings', settings);
|
/external/chromium_org/tools/gn/ |
D | loader.h | 21 class Settings; variable 51 virtual const Settings* GetToolchainSettings(const Label& label) = 0; 87 virtual const Settings* GetToolchainSettings(const Label& label) OVERRIDE; 117 void ScheduleLoadFile(const Settings* settings, 120 Settings* settings, 125 void BackgroundLoadFile(const Settings* settings, 129 Settings* settings,
|
D | filesystem_utils.h | 32 Settings::TargetOS os); 41 Settings::TargetOS os); 151 SourceDir GetToolchainOutputDir(const Settings* settings); 152 SourceDir GetToolchainGenDir(const Settings* settings); 153 SourceDir GetOutputDirForSourceDir(const Settings* settings, 155 SourceDir GetGenDirForSourceDir(const Settings* settings,
|
D | ninja_toolchain_writer.h | 17 class Settings; variable 25 static bool RunAndWriteFile(const Settings* settings, 30 NinjaToolchainWriter(const Settings* settings, 41 const Settings* settings_;
|
D | ninja_writer.h | 16 class Settings; variable 30 std::vector<const Settings*>* all_settings); 37 std::vector<const Settings*>* all_settings, 39 bool WriteRootBuildfiles(const std::vector<const Settings*>& all_settings,
|
D | settings.cc | 11 Settings::Settings(const BuildSettings* build_settings, in Settings() function in Settings 45 Settings::~Settings() { in ~Settings()
|
D | ninja_build_writer.h | 15 class Settings; variable 25 const std::vector<const Settings*>& all_settings, 30 const std::vector<const Settings*>& all_settings, 43 std::vector<const Settings*> all_settings_;
|
D | item.h | 14 class Settings; variable 22 Item(const Settings* settings, const Label& label); 25 const Settings* settings() const { return settings_; } in settings() 51 const Settings* settings_;
|
D | ninja_writer.cc | 27 std::vector<const Settings*> all_settings; in RunAndWriteFiles() 38 std::vector<const Settings*>* all_settings) { in RunAndWriteToolchainFiles() 44 bool NinjaWriter::WriteToolchains(std::vector<const Settings*>* all_settings, in WriteToolchains() 71 const Settings* settings = in WriteToolchains() 89 const std::vector<const Settings*>& all_settings, in WriteRootBuildfiles()
|
D | settings.h | 27 class Settings { 40 Settings(const BuildSettings* build_settings, 42 ~Settings(); 126 DISALLOW_COPY_AND_ASSIGN(Settings);
|
D | filesystem_utils.cc | 115 Settings::TargetOS os) { in GetSourceFileType() 125 case Settings::MAC: in GetSourceFileType() 132 case Settings::WIN: in GetSourceFileType() 142 if (os != Settings::WIN) { in GetSourceFileType() 151 Settings::TargetOS os) { in GetExtensionForOutputType() 153 case Settings::MAC: in GetExtensionForOutputType() 166 case Settings::WIN: in GetExtensionForOutputType() 179 case Settings::LINUX: in GetExtensionForOutputType() 567 SourceDir GetToolchainOutputDir(const Settings* settings) { in GetToolchainOutputDir() 577 SourceDir GetToolchainGenDir(const Settings* settings) { in GetToolchainGenDir() [all …]
|
/external/chromium_org/third_party/icu/source/test/testdata/ |
D | DataDrivenCollationTest.txt | 10 "Settings - settings for the test." 11 "Settings/TestLocale - locale for the collator OR" 12 "Settings/Rules - rules for the collator (can't have both)" 13 … "Settings/Arguments - arguments to be passed to the collator before testing. Use rule syntax." 25 Settings { 38 Settings { 49 Settings { 60 Settings { 71 Settings { 83 Settings { [all …]
|
/external/icu4c/test/testdata/ |
D | DataDrivenCollationTest.txt | 10 "Settings - settings for the test." 11 "Settings/TestLocale - locale for the collator OR" 12 "Settings/Rules - rules for the collator (can't have both)" 13 … "Settings/Arguments - arguments to be passed to the collator before testing. Use rule syntax." 25 Settings { 38 Settings { 49 Settings { 60 Settings { 71 Settings { 83 Settings { [all …]
|