/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | SettingsTest.java | 20 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 …]
|
D | Http2ConnectionTest.java | 37 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); 142 Settings settings = new Settings(); 143 settings.set(Settings.HEADER_TABLE_SIZE, PERSIST_VALUE, 0); 156 Settings settings = new Settings(); 157 settings.set(Settings.ENABLE_PUSH, 0, 0); // The peer client disables push. [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSettingsTest.java | 8 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/ |
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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 24 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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSettings.java | 12 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/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 25 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/libchrome/base/android/java/src/org/chromium/base/ |
D | CommandLineInitUtil.java | 10 import android.provider.Settings; 84 boolean adbEnabled = Settings.Global.getInt(context.getContentResolver(), 85 Settings.Global.ADB_ENABLED, 0) == 1; 87 return Settings.Global.getString(context.getContentResolver(), 88 Settings.Global.DEBUG_APP); 95 boolean adbEnabled = Settings.System.getInt(context.getContentResolver(), 96 Settings.System.ADB_ENABLED, 0) == 1; 98 return Settings.System.getString(context.getContentResolver(), 99 Settings.System.DEBUG_APP);
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpSettingsUtil.java | 19 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/angle/src/android_system_settings/src/com/android/angle/common/ |
D | GlobalSettings.java | 21 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/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 28 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/ |
D | speex_C55_test.pjt | 3 [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/ |
D | speex_C64_test.pjt | 3 [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/tensorflow/tensorflow/lite/examples/label_image/ |
D | bitmap_helpers.h | 26 int* height, int* channels, Settings* s); 31 int wanted_channels, Settings* s); 35 int, Settings*); 37 int, Settings*); 39 int, Settings*);
|
/external/speex/ti/speex_C54_test/ |
D | speex_C54_test.pjt | 3 [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/ |
D | StaticMockitoSession.java | 20 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()
|
D | MockStatic.java | 19 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/ |
D | ExecutorInstrumentationTest.java | 22 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()
|
D | ThreadInstrumentationTest.java | 22 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()
|
D | UrlInstrumentationTest.java | 22 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/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 71 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/ |
D | Settings.java | 33 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/ |
D | SkRemoteGlyphCache.h | 55 struct SK_API Settings { struct 56 Settings(); 65 SkStrikeServer* strikeServer, Settings settings = Settings()); argument 70 Settings settings = Settings());
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | settings.rs | 36 pub(crate) fn parse_settings(input: TokenStream) -> Result<Settings> { in parse_settings() argument 38 let mut res = Settings(Vec::new()); in parse_settings() 62 pub(crate) struct Settings(Vec<Setting>); struct 64 impl Settings { impl
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.h | 19 const SkSL::Program::Settings& settings, 28 const SkSL::Program::Settings& settings); 31 int count, const SkSL::Program::Settings&);
|