Home
last modified time | relevance | path

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

1234567

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSettingsTest.java20 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
21 import static com.squareup.okhttp.internal.framed.Settings.DOWNLOAD_BANDWIDTH;
22 import static com.squareup.okhttp.internal.framed.Settings.DOWNLOAD_RETRANS_RATE;
23 import static com.squareup.okhttp.internal.framed.Settings.MAX_CONCURRENT_STREAMS;
24 import static com.squareup.okhttp.internal.framed.Settings.PERSISTED;
25 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE;
26 import static com.squareup.okhttp.internal.framed.Settings.UPLOAD_BANDWIDTH;
33 Settings settings = new Settings(); in unsetField()
38 Settings settings = new Settings(); in setFields()
45 settings.set(Settings.HEADER_TABLE_SIZE, 0, 8096); in setFields()
[all …]
DHttp2ConnectionTest.java37 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
38 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE;
103 Settings initial = new Settings();
104 initial.set(Settings.INITIAL_WINDOW_SIZE, PERSIST_VALUE, 1684);
105 Settings shouldntImpactConnection = new Settings();
106 shouldntImpactConnection.set(Settings.INITIAL_WINDOW_SIZE, PERSIST_VALUE, 3368);
141 Settings settings = new Settings();
142 settings.set(Settings.HEADER_TABLE_SIZE, PERSIST_VALUE, 0);
155 Settings settings = new Settings();
156 settings.set(Settings.ENABLE_PUSH, 0, 0); // The peer client disables push.
[all …]
DSpdy3ConnectionTest.java46 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
47 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE;
260 final Settings settings = new Settings();
261 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10);
290 Settings settings1 = new Settings();
291 settings1.set(Settings.UPLOAD_BANDWIDTH, PERSIST_VALUE, 100);
292 settings1.set(Settings.DOWNLOAD_BANDWIDTH, PERSIST_VALUE, 200);
293 settings1.set(Settings.DOWNLOAD_RETRANS_RATE, 0, 300);
295 Settings settings2 = new Settings();
296 settings2.set(Settings.DOWNLOAD_BANDWIDTH, 0, 400);
[all …]
/external/robolectric/v1/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/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/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java25 private Settings settings;
31 this.settings = new Settings(); in BasicPeriodBuilderFactory()
38 class Settings { class in BasicPeriodBuilderFactory
49 Settings setUnits(int uset) { in setUnits()
53 Settings result = inUse ? copy() : this; in setUnits()
102 Settings setMaxLimit(float maxLimit) { in setMaxLimit()
107 Settings result = inUse ? copy() : this; in setMaxLimit()
112 Settings setMinLimit(float minLimit) { in setMinLimit()
117 Settings result = inUse ? copy() : this; in setMinLimit()
122 Settings setAllowZero(boolean allow) { in setAllowZero()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java24 private Settings settings;
30 this.settings = new Settings(); in BasicPeriodBuilderFactory()
37 class Settings { class in BasicPeriodBuilderFactory
48 Settings setUnits(int uset) { in setUnits()
52 Settings result = inUse ? copy() : this; in setUnits()
101 Settings setMaxLimit(float maxLimit) { in setMaxLimit()
106 Settings result = inUse ? copy() : this; in setMaxLimit()
111 Settings setMinLimit(float minLimit) { in setMinLimit()
116 Settings result = inUse ? copy() : this; in setMinLimit()
121 Settings setAllowZero(boolean allow) { in setAllowZero()
[all …]
/external/robolectric/v1/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/libmojo/base/android/java/src/org/chromium/base/
DCommandLineInitUtil.java10 import android.provider.Settings;
88 boolean adbEnabled = Settings.Global.getInt(context.getContentResolver(),
89 Settings.Global.ADB_ENABLED, 0) == 1;
91 return Settings.Global.getString(context.getContentResolver(),
92 Settings.Global.DEBUG_APP);
99 boolean adbEnabled = Settings.System.getInt(context.getContentResolver(),
100 Settings.System.ADB_ENABLED, 0) == 1;
102 return Settings.System.getString(context.getContentResolver(),
103 Settings.System.DEBUG_APP);
/external/vulkan-validation-layers/layers/
Dvk_layer_settings.txt5 # Settings lines are of the form:
15 # Validation Layer Common Settings:
57 # VK_LAYER_LUNARG_core_validation Settings
62 # VK_LAYER_LUNARG_image Settings
67 # VK_LAYER_LUNARG_object_tracker Settings
72 # VK_LAYER_LUNARG_parameter_validation Settings
77 # VK_LAYER_LUNARG_swapchain Settings
82 # VK_LAYER_GOOGLE_threading Settings
87 # VK_LAYER_GOOGLE_unique_objects Settings
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsService.java46 import android.provider.Settings;
100 boolean enabled = Settings.Global.getInt(getContentResolver(), in onCreate()
101 Settings.Global.MOBILE_DATA, 1) == 1; in onCreate()
112 Settings.Global.getUriFor(Settings.Global.MOBILE_DATA), in onCreate()
117 Settings.Global.getUriFor(Settings.Global.VT_IMS_ENABLED), in onCreate()
291 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
292 Settings.Global.MOBILE_DATA, 1) == 1; in onChange()
333 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
334 Settings.Global.VT_IMS_ENABLED, 1) == 1; in onChange()
/external/skia/src/sksl/ir/
DSkSLProgram.h32 struct Settings { struct
44 case Program::Settings::Value::kBool_Kind: in literal() argument
48 case Program::Settings::Value::kInt_Kind: in literal()
106 Settings settings, in Program()
121 Settings fSettings;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java28 import android.provider.Settings.SettingNotFoundException;
74 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout()
75 android.provider.Settings.System.SCREEN_OFF_TIMEOUT, value * 1000); in setScreenTimeout()
83 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout()
84 android.provider.Settings.System.SCREEN_OFF_TIMEOUT) / 1000; in getScreenTimeout()
175 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness()
176 android.provider.Settings.System.SCREEN_BRIGHTNESS); in getScreenBrightness()
198 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness()
199 android.provider.Settings.System.SCREEN_BRIGHTNESS, brightness); in setScreenBrightness()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs53 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: false)); in DefaultValues_WhenOmitted()
63 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: true)); in DefaultValues_WhenIncluded()
249 var formatter = new JsonFormatter(new JsonFormatter.Settings(false)); in Oneof()
251 formatter = new JsonFormatter(new JsonFormatter.Settings(true)); in Oneof()
283 var formatter = new JsonFormatter(new JsonFormatter.Settings(true)); in WrapperFormatting_IncludeNull()
292 var formatter = new JsonFormatter(new JsonFormatter.Settings(false)); in OutputIsInNumericFieldOrder_NoDefaults()
304 var formatter = new JsonFormatter(new JsonFormatter.Settings(true)); in OutputIsInNumericFieldOrder_WithDefaults()
468 …var formatter = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Time… in AnyWellKnownType()
477 …var formatter = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Test… in AnyMessageType()
486 …var formatter = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Test… in AnyMessageType_CustomPrefix()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DSettings.java24 public final class Settings { class
89 Settings set(int id, int idFlags, int value) { in set()
125 if (isPersisted(id)) result |= Settings.PERSISTED; in flags()
126 if (persistValue(id)) result |= Settings.PERSIST_VALUE; in flags()
233 void merge(Settings other) { in merge()
DFramedConnection.java44 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
115 Settings okHttpSettings = new Settings();
121 final Settings peerSettings = new Settings();
149 okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, OKHTTP_CLIENT_WINDOW_SIZE); in FramedConnection()
161 peerSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, 65535); in FramedConnection()
162 peerSettings.set(Settings.MAX_FRAME_SIZE, 0, Http2.INITIAL_MAX_FRAME_SIZE); in FramedConnection()
516 int windowSize = okHttpSettings.getInitialWindowSize(Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface()
517 if (windowSize != Settings.DEFAULT_INITIAL_WINDOW_SIZE) { in sendConnectionPreface()
518 frameWriter.windowUpdate(0, windowSize - Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface()
523 public void setSettings(Settings settings) throws IOException { in setSettings()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dscreenshare_layers_unittest.cc22 typedef VP9EncoderImpl::SuperFrameRefSettings Settings; typedef
47 void EqualRefsForLayer(const Settings& actual, uint8_t layer_id) { in EqualRefsForLayer()
58 void EqualRefs(const Settings& actual) { in EqualRefs()
65 void EqualStartStopKeyframe(const Settings& actual) { in EqualStartStopKeyframe()
76 Settings actual = in EqualToExpected()
82 Settings expected_;
/external/toolchain-utils/crosperf/
Dsettings_factory.py12 from settings import Settings
15 class BenchmarkSettings(Settings):
54 class LabelSettings(Settings):
123 class GlobalSettings(Settings):
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs71 public static JsonFormatter Default { get; } = new JsonFormatter(Settings.Default);
74 … private static readonly JsonFormatter diagnosticFormatter = new JsonFormatter(Settings.Default);
126 private readonly Settings settings;
134 public JsonFormatter(Settings settings) in JsonFormatter()
824 public sealed class Settings class in Google.Protobuf.JsonFormatter
829 public static Settings Default { get; }
833 static Settings() in Settings() method in Google.Protobuf.JsonFormatter.Settings
835 Default = new Settings(false); in Settings()
856 … public Settings(bool formatDefaultValues) : this(formatDefaultValues, TypeRegistry.Empty) in Settings() method in Google.Protobuf.JsonFormatter.Settings
866 public Settings(bool formatDefaultValues, TypeRegistry typeRegistry) in Settings() method in Google.Protobuf.JsonFormatter.Settings
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.csproj79 <Compile Include="Properties\Settings.cs">
81 <DependentUpon>Settings.settings</DependentUpon>
83 <None Include="Properties\Settings.settings">
85 <LastGenOutput>Settings.cs</LastGenOutput>
/external/vulkan-validation-layers/demos/smoke/
DGame.h31 struct Settings { struct
48 const Settings &settings() const { return settings_; } in settings() argument
94 Settings settings_;
/external/proguard/docs/manual/
Dstyle.css82 /* Settings for variable width code. */
91 /* Settings for diagrams. */
132 /* Settings for buttons. */
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.h24 const SkSL::Program::Settings& settings,
28 int count, const SkSL::Program::Settings&);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java20 import com.squareup.okhttp.internal.framed.Settings;
46 private Settings settings;
251 public MockResponse withSettings(Settings settings) { in withSettings()
256 public Settings getSettings() { in getSettings()
/external/proguard/docs/
Dstyle.css88 /* Settings for the introductory paragraph. */
97 /* Settings for the title frame. */
135 /* Settings for the section frames. */
187 /* Settings for the yellow note tables. */

1234567