Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSettingsTest.java8 import android.provider.Settings;
9 import android.provider.Settings.Global;
10 import android.provider.Settings.Secure;
33 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(0); in testSystemGetInt()
34 assertThat(Settings.System.getInt(contentResolver, "property", 2)).isEqualTo(2); in testSystemGetInt()
36 Settings.System.putInt(contentResolver, "property", 1); in testSystemGetInt()
37 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(1); in testSystemGetInt()
39 Settings.System.putString(contentResolver, "property", "11"); in testSystemGetInt()
40 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(11); in testSystemGetInt()
45 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(0); in testSecureGetInt()
[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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSettings.java12 import android.provider.Settings;
34 @Implements(Settings.class)
36 @Implements(value = Settings.System.class)
77 @Implements(value = Settings.Secure.class)
133 Settings.Secure.getString(cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED); in updateEnabledProviders()
145 return Settings.Secure.putString( in updateEnabledProviders()
146 cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, newProviders); in updateEnabledProviders()
151 if (Settings.Secure.LOCATION_MODE.equals(name) in putInt()
156 Settings.Secure.class, in putInt()
163 Settings.Secure.class, in putInt()
[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/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/angle/src/android_system_settings/src/com/android/angle/common/
DGlobalSettings.java21 import android.provider.Settings;
53 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
55 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
60 Settings.Global.putString(contentResolver, in clearAllGlobalSettings()
71 int allUseAngle = Settings.Global.getInt( in getAllUseAngle()
75 catch (Settings.SettingNotFoundException e) in getAllUseAngle()
86 int showAngleInUseDialogBox = Settings.Global.getInt(contentResolver, in getShowAngleInUseDialogBox()
90 catch (Settings.SettingNotFoundException e) in getShowAngleInUseDialogBox()
99 Settings.Global.putInt(contentResolver, in updateAllUseAngle()
106 Settings.Global.putInt(contentResolver, in updateShowAngleInUseDialog()
[all …]
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpSettingsUtil.java19 import io.grpc.okhttp.internal.framed.Settings;
25 public static final int MAX_CONCURRENT_STREAMS = Settings.MAX_CONCURRENT_STREAMS;
26 public static final int INITIAL_WINDOW_SIZE = Settings.INITIAL_WINDOW_SIZE;
28 public static boolean isSet(Settings settings, int id) { in isSet()
32 public static int get(Settings settings, int id) { in get()
36 public static void set(Settings settings, int id, int value) { in set()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java28 import android.provider.Settings;
29 import android.provider.Settings.SettingNotFoundException;
79 Intent intent = new Intent(Settings.ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS); in SettingsFacade()
92 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout()
93 android.provider.Settings.System.SCREEN_OFF_TIMEOUT, value * 1000); in setScreenTimeout()
101 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout()
102 android.provider.Settings.System.SCREEN_OFF_TIMEOUT) / 1000; in getScreenTimeout()
193 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness()
194 android.provider.Settings.System.SCREEN_BRIGHTNESS); in getScreenBrightness()
216 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness()
[all …]
/external/speex/ti/speex_C55_test/
Dspeex_C55_test.pjt3 [Project Settings]
27 ["Compiler" Settings: "Debug"]
30 ["Compiler" Settings: "Release"]
33 ["DspBiosBuilder" Settings: "Debug"]
36 ["DspBiosBuilder" Settings: "Release"]
39 ["Linker" Settings: "Debug"]
42 ["Linker" Settings: "Release"]
/external/speex/ti/speex_C64_test/
Dspeex_C64_test.pjt3 [Project Settings]
28 ["Compiler" Settings: "Debug"]
31 ["Compiler" Settings: "Release"]
34 ["DspBiosBuilder" Settings: "Debug"]
37 ["DspBiosBuilder" Settings: "Release"]
40 ["Linker" Settings: "Debug"]
43 ["Linker" Settings: "Release"]
/external/speex/ti/speex_C54_test/
Dspeex_C54_test.pjt3 [Project Settings]
27 ["Compiler" Settings: "Debug"]
30 ["Compiler" Settings: "Release"]
33 ["DspBiosBuilder" Settings: "Debug"]
36 ["DspBiosBuilder" Settings: "Release"]
39 ["Linker" Settings: "Debug"]
42 ["Linker" Settings: "Release"]
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DStaticMockitoSession.java20 import android.provider.Settings;
27 import static android.provider.Settings.Global.DEVICE_NAME;
38 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in strictUnnecessaryStubbing()
41 doReturn("23").when(() -> Settings.Global.getString(any in strictUnnecessaryStubbing()
56 .spyStatic(Settings.Global.class).startMocking(); in lenientUnnecessaryStubbing()
59 doReturn("23").when(() -> Settings.Global.getString(any in lenientUnnecessaryStubbing()
DMockStatic.java19 import static android.provider.Settings.Global.DEVICE_NAME;
41 import android.provider.Settings;
94 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in spyStatic()
96 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in spyStatic()
101 doReturn("23").when(() -> Settings.Global.getString(any in spyStatic()
104 doReturn(42).when(() -> Settings.Global.getInt(any in spyStatic()
108 assertEquals("23", Settings.Global.getString(resolver, "twenty three")); in spyStatic()
109 assertEquals(42, Settings.Global.getInt(resolver, "fourty two")); in spyStatic()
112 assertEquals(deviceName, Settings.Global.getString(resolver, DEVICE_NAME)); in spyStatic()
138 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in mockStatic()
[all …]
/external/opencensus-java/contrib/agent/src/test/java/io/opencensus/contrib/agent/instrumentation/
DThreadInstrumentationTest.java22 import io.opencensus.contrib.agent.Settings;
40 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = false")); in instrument_disabled()
49 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = true")); in instrument_enabled()
DUrlInstrumentationTest.java22 import io.opencensus.contrib.agent.Settings;
40 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = false")); in instrument_disabled()
49 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = true")); in instrument_enabled()
DExecutorInstrumentationTest.java22 import io.opencensus.contrib.agent.Settings;
40 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = false")); in instrument_disabled()
49 Settings settings = new Settings(ConfigFactory.parseString(FEATURE + ".enabled = true")); in instrument_enabled()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers.h26 int* height, int* channels, Settings* s);
31 int wanted_channels, Settings* s);
35 int, Settings*);
37 int, Settings*);
/external/u-boot/arch/x86/include/asm/acpi/
Dirqlinks.asl34 /* Possible Resource Settings for this Link */
40 /* Current Resource Settings for this link */
92 /* Possible Resource Settings for this Link */
98 /* Current Resource Settings for this link */
150 /* Possible Resource Settings for this Link */
156 /* Current Resource Settings for this link */
208 /* Possible Resource Settings for this Link */
214 /* Current Resource Settings for this link */
266 /* Possible Resource Settings for this Link */
272 /* Current Resource Settings for this link */
[all …]
/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()
781 public sealed class Settings class in Google.Protobuf.JsonFormatter
786 public static Settings Default { get; }
790 static Settings() in Settings() method in Google.Protobuf.JsonFormatter.Settings
792 Default = new Settings(false); in Settings()
817 … public Settings(bool formatDefaultValues) : this(formatDefaultValues, TypeRegistry.Empty) in Settings() method in Google.Protobuf.JsonFormatter.Settings
827 …public Settings(bool formatDefaultValues, TypeRegistry typeRegistry) : this(formatDefaultValues, t… in Settings() method in Google.Protobuf.JsonFormatter.Settings
[all …]
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DSettings.java33 public class Settings { class
42 public Settings(Config config) { in Settings() method in Settings
46 static Settings load() { in load()
47 return new Settings(readConfig()); in load()
/external/skqp/src/core/
DSkRemoteGlyphCache.h55 struct SK_API Settings { struct
56 Settings();
65 SkStrikeServer* strikeServer, Settings settings = Settings()); argument
70 Settings settings = Settings());
/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()
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DWizardManagerHelper.java25 import android.provider.Settings;
133 return Settings.Secure.getInt( in isUserSetupComplete()
139 return Settings.Secure.getInt( in isUserSetupComplete()
156 return Settings.Global.getInt( in isDeviceProvisioned()
160 return Settings.Secure.getInt( in isDeviceProvisioned()

12345678910>>...17