/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() local 34 assertEquals(-3, settings.getUploadBandwidth(-3)); in unsetField() 38 Settings settings = new Settings(); in setFields() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 25 private Settings settings; field in BasicPeriodBuilderFactory 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/ |
D | BasicPeriodBuilderFactory.java | 24 private Settings settings; field in BasicPeriodBuilderFactory 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/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 52 … return null; //To change body of implemented methods use File | Settings | File Templates. in getAssets() 60 … return null; //To change body of implemented methods use File | Settings | File Templates. in getPackageManager() 65 … return null; //To change body of implemented methods use File | Settings | File Templates. in getContentResolver() 70 … return null; //To change body of implemented methods use File | Settings | File Templates. in getMainLooper() 75 … return null; //To change body of implemented methods use File | Settings | File Templates. in getApplicationContext() 80 //To change body of implemented methods use File | Settings | File Templates. in setTheme() 85 … return null; //To change body of implemented methods use File | Settings | File Templates. in getTheme() 90 … return null; //To change body of implemented methods use File | Settings | File Templates. in getClassLoader() 95 … return null; //To change body of implemented methods use File | Settings | File Templates. in getPackageName() 100 … return null; //To change body of implemented methods use File | Settings | File Templates. in getApplicationInfo() [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings_unittest.py | 4 """unittest for settings.""" 11 import settings 25 self.settings = settings.Settings('global_name', 'global') 28 self.assertEqual(self.settings.name, 'global_name') 29 self.assertEqual(self.settings.settings_type, 'global') 30 self.assertIsNone(self.settings.parent) 33 self.assertIsNone(self.settings.parent) 35 self.settings.SetParentSettings(settings_parent) 36 self.assertIsNotNone(self.settings.parent) 37 self.assertEqual(type(self.settings.parent), dict) [all …]
|
D | experiment_file.py | 17 experiment = { _FIELD_VALUE_RE | settings } 18 settings = _OPEN_SETTINGS_RE 34 # Open settings regex, e.g. "label {" 36 # Close settings regex. 44 overrides: A settings object that will override fields in other settings. 55 for settings in self.all_settings: 56 settings.Inherit() 57 settings.Validate() 59 settings.Override(overrides) 64 for settings in self.all_settings: [all …]
|
D | settings.py | 2 """Module to get the settings from experiment file.""" 11 class Settings(object): class 12 """Class representing settings (a set of fields) from an experiment file.""" 20 def SetParentSettings(self, settings): argument 21 """Set the parent settings which these settings can inherit from.""" 22 self.parent = settings 32 raise SyntaxError("'%s' is not a valid field in '%s' settings" % 42 raise SyntaxError("Field '%s' not a valid field in '%s' settings." % 46 raise SyntaxError("Required field '%s' not defined in '%s' settings." % 51 """Inherit any unset values from the parent settings.""" [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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
D | TestOptions.java | 33 * The settings are presented as a set of getters and setters for test options, 40 * <li><code>jpda.settings.debuggeeJavaHome</code> 42 * <li><code>jpda.settings.debuggeeJavaExec</code> 44 * <li><code>jpda.settings.debuggeeJavaPath</code> 46 * <li><code>jdpa.settings.debuggeeAgentArgument</code> 48 * <li><code>jpda.settings.debuggeeAgentName</code> 50 * <li><code>jpda.settings.debuggeeAgentExtraOptions</code> 52 * <li><code>jpda.settings.debuggeeClasspath</code> 54 * <li><code>jpda.settings.debuggeeClassName</code> 56 * <li><code>jpda.settings.debuggeeVMExtraOptions</code> [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_notation.cpp | 18 ScientificSettings settings; in scientific() local 19 settings.fEngineeringInterval = 1; in scientific() 20 settings.fRequireMinInt = false; in scientific() 21 settings.fMinExponentDigits = 1; in scientific() 22 settings.fExponentSignDisplay = UNUM_SIGN_AUTO; in scientific() 24 union_.scientific = settings; in scientific() 29 ScientificSettings settings; in engineering() local 30 settings.fEngineeringInterval = 3; in engineering() 31 settings.fRequireMinInt = false; in engineering() 32 settings.fMinExponentDigits = 1; in engineering() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSettings.java | 12 import android.provider.Settings; 28 @Implements(Settings.class) 30 @Implements(value = Settings.System.class) 71 @Implements(value = Settings.Secure.class) 127 Settings.Secure.getString(cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED); in updateEnabledProviders() 139 return Settings.Secure.putString( in updateEnabledProviders() 140 cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, newProviders); in updateEnabledProviders() 145 if (Settings.Secure.LOCATION_MODE.equals(name) in putInt() 150 Settings.Secure.class, in putInt() 157 Settings.Secure.class, in putInt() [all …]
|
/external/libcups/cups/ |
D | testadmin.c | 28 static void show_settings(int num_settings, cups_option_t *settings); 40 num_settings; /* Number of settings */ in main() 41 cups_option_t *settings; /* Settings */ in main() local 58 for (i = 1, num_settings = 0, settings = NULL; i < argc; i ++) in main() 59 num_settings = cupsParseOptions(argv[i], num_settings, &settings); in main() 61 if (cupsAdminSetServerSettings(http, num_settings, settings)) in main() 63 puts("New server settings:"); in main() 64 cupsFreeOptions(num_settings, settings); in main() 68 printf("Server settings not changed: %s\n", cupsLastErrorString()); in main() 73 puts("Current server settings:"); in main() [all …]
|
/external/u-boot/board/siemens/draco/ |
D | board.c | 39 static struct draco_baseboard_id __attribute__((section(".data"))) settings; variable 74 printf("Set default DDR3 settings\n"); in set_default_ddr3_timings() 75 settings.ddr3 = ddr3_default; in set_default_ddr3_timings() 82 printf("device:\t\t%s\n", settings.ddr3.manu_name); in print_ddr3_timings() 83 printf("marking:\t%s\n", settings.ddr3.manu_marking); in print_ddr3_timings() 112 printf("device: \t'%s'\n", settings.chip.sdevname); in print_chip_data() 113 printf("hw version: \t'%s'\n", settings.chip.shwver); in print_chip_data() 166 (uchar *)&settings.ddr3, sizeof(struct ddr3_data))) { in read_eeprom() 172 (uchar *)&settings.chip, sizeof(settings.chip))) in read_eeprom() 173 printf("Could not read chip settings\n"); in read_eeprom() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | InlineByteBuddyMockMakerTest.java | 15 import org.mockito.internal.creation.settings.CreationSettings; 45 MockCreationSettings<FinalClass> settings = settingsFor(FinalClass.class); in should_create_mock_from_final_class() local 46 … FinalClass proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalClass>(settings)); in should_create_mock_from_final_class() 52 MockCreationSettings<Pattern> settings = settingsFor(Pattern.class); in should_create_mock_from_final_class_in_the_JDK() local 53 Pattern proxy = mockMaker.createMock(settings, new MockHandlerImpl<Pattern>(settings)); in should_create_mock_from_final_class_in_the_JDK() 59 …MockCreationSettings<FinalMethodAbstractType> settings = settingsFor(FinalMethodAbstractType.class… in should_create_mock_from_abstract_class_with_final_method() local 60 …hodAbstractType proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalMethodAbstractType… in should_create_mock_from_abstract_class_with_final_method() 67 …MockCreationSettings<FinalMethod> settings = settingsFor(FinalMethod.class, SampleInterface.class); in should_create_mock_from_final_class_with_interface_methods() local 68 … FinalMethod proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalMethod>(settings)); in should_create_mock_from_final_class_with_interface_methods() 75 MockCreationSettings<GenericSubClass> settings = settingsFor(GenericSubClass.class); in should_detect_non_overridden_generic_method_of_supertype() local [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | codec_database.cc | 77 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings, in VCMDecoderMapItem() argument 80 : settings(settings), in VCMDecoderMapItem() 119 void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { in Codec() argument 120 memset(settings, 0, sizeof(VideoCodec)); in Codec() 123 strncpy(settings->plName, "VP8", 4); in Codec() 124 settings->codecType = kVideoCodecVP8; in Codec() 126 settings->plType = kDefaultPayloadType; in Codec() 127 settings->startBitrate = kDefaultStartBitrateKbps; in Codec() 128 settings->minBitrate = VCM_MIN_BITRATE; in Codec() 129 settings->maxBitrate = 0; in Codec() [all …]
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_util.py | 42 self.save_settings = copy.deepcopy(django.conf.settings) 43 # OAuth2 Settings gets configured based on Django settings 44 # at import time, so in order for us to reload the settings 49 django.conf.settings = copy.deepcopy(self.save_settings) 53 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 62 oauth2_settings = django_util.OAuth2Settings(django.conf.settings) 66 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None 70 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 82 django.conf.settings) 86 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None [all …]
|
/external/autotest/client/cros/ |
D | ownership.py | 135 """Assert that given protobuf is a policy with device settings in it. 138 @raises OwnershipError if this isn't CrOS policy, or has no settings inside. 157 def assert_guest_setting(settings, guests): argument 158 """Assert that given protobuf has given guest-related settings. 160 @param settings: a ChromeDeviceSettingsProto protobuf. 162 @raises OwnershipError if settings doesn't enforce the provided setting. 164 if not settings.HasField("guest_mode_enabled"): 166 if not settings.guest_mode_enabled.HasField("guest_mode_enabled"): 168 if settings.guest_mode_enabled.guest_mode_enabled != guests: 172 def assert_show_users(settings, show_users): argument [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/win/x86/ |
D | grpc_csharp_ext.dll.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/linux/x86/ |
D | libgrpc_csharp_ext.so.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/osx/x86/ |
D | grpc_csharp_ext.bundle.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/linux/x64/ |
D | libgrpc_csharp_ext.so.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/win/x64/ |
D | grpc_csharp_ext.dll.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/osx/x64/ |
D | grpc_csharp_ext.bundle.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/ios/ |
D | libgrpc_csharp_ext.a.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/python/cpython3/Mac/PythonLauncher/ |
D | PreferencesWindowController.m | 25 settings = [FileSettings getDefaultsForFileType: title]; 31 [interpreter setStringValue: [settings interpreter]]; 32 [honourhashbang setState: [settings honourhashbang]]; 33 [debug setState: [settings debug]]; 34 [verbose setState: [settings verbose]]; 35 [inspect setState: [settings inspect]]; 36 [optimize setState: [settings optimize]]; 37 [nosite setState: [settings nosite]]; 38 [tabs setState: [settings tabs]]; 39 [others setStringValue: [settings others]]; [all …]
|