Home
last modified time | relevance | path

Searched refs:Settings (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DSettingsTest.java20 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/
Dsettings.js20 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 …]
Dsettings_test.js13 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/
DSettingsTest.java6 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/
DSettings.cpp67 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 …]
DSettingsDelegate.h40 class Settings; variable
44 explicit SettingsDelegate(PassOwnPtr<Settings>);
47 Settings* settings() const { return m_settings.get(); } in settings()
68 OwnPtr<Settings> const m_settings;
DSettings.h52 class Settings {
53 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED;
55 static PassOwnPtr<Settings> create();
92 Settings();
/external/chromium_org/remoting/webapp/
Dplugin_settings.js17 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/
DSettings.cs13 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/
DShadowSettings.java4 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/
Ddata_reduction_proxy_settings_unittest_android.cc54 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/
DSettings.Designer.cs17 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/
Dtrace_model_settings.js10 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/
Dloader.h21 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,
Dfilesystem_utils.h32 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,
Dninja_toolchain_writer.h17 class Settings; variable
25 static bool RunAndWriteFile(const Settings* settings,
30 NinjaToolchainWriter(const Settings* settings,
41 const Settings* settings_;
Dninja_writer.h16 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,
Dsettings.cc11 Settings::Settings(const BuildSettings* build_settings, in Settings() function in Settings
45 Settings::~Settings() { in ~Settings()
Dninja_build_writer.h15 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_;
Ditem.h14 class Settings; variable
22 Item(const Settings* settings, const Label& label);
25 const Settings* settings() const { return settings_; } in settings()
51 const Settings* settings_;
Dninja_writer.cc27 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()
Dsettings.h27 class Settings {
40 Settings(const BuildSettings* build_settings,
42 ~Settings();
126 DISALLOW_COPY_AND_ASSIGN(Settings);
Dfilesystem_utils.cc115 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/
DDataDrivenCollationTest.txt10 "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/
DDataDrivenCollationTest.txt10 "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 …]

1234567891011