Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 2929) sorted by relevance

12345678910>>...118

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java98 Configuration configuration, DisplayMetrics displayMetrics) { in applyToConfiguration() argument
102 configuration.mcc = resTab.mcc; in applyToConfiguration()
106 configuration.mnc = resTab.mnc; in applyToConfiguration()
111 int screenLayoutSize = getScreenLayoutSize(configuration); in applyToConfiguration()
117 configuration.screenWidthDp = 0; in applyToConfiguration()
121 configuration.screenHeightDp = 0; in applyToConfiguration()
125 int screenLayoutLong = getScreenLayoutLong(configuration); in applyToConfiguration()
131 int screenLayoutLayoutDir = getScreenLayoutLayoutDir(configuration); in applyToConfiguration()
137 int screenLayoutRound = getScreenLayoutRound(configuration); in applyToConfiguration()
143 configuration.screenLayout = in applyToConfiguration()
[all …]
/external/proguard/src/proguard/ant/
DConfigurationTask.java36 protected final Configuration configuration = new Configuration(); field in ConfigurationTask
43 public void appendTo(Configuration configuration) in appendTo() argument
46 configuration.programJars = extendClassPath(configuration.programJars, in appendTo()
47 this.configuration.programJars); in appendTo()
49 configuration.libraryJars = extendClassPath(configuration.libraryJars, in appendTo()
50 this.configuration.libraryJars); in appendTo()
52 configuration.keep = extendClassSpecifications(configuration.keep, in appendTo()
53 … this.configuration.keep); in appendTo()
55 configuration.keepDirectories = extendList(configuration.keepDirectories, in appendTo()
56 this.configuration.keepDirectories); in appendTo()
[all …]
DProGuardTask.java52 parser.parse(configuration); in setConfiguration()
81 configuration.skipNonPublicLibraryClasses = skipNonPublicLibraryClasses; in setSkipnonpubliclibraryclasses()
87 configuration.skipNonPublicLibraryClassMembers = skipNonPublicLibraryClassMembers; in setSkipnonpubliclibraryclassmembers()
93 configuration.targetClassVersion = ClassUtil.internalClassVersion(target); in setTarget()
94 if (configuration.targetClassVersion == 0) in setTarget()
103 configuration.lastModified = forceProcessing ? Long.MAX_VALUE : 0; in setForceprocessing()
109 configuration.printSeeds = optionalFile(printSeeds); in setPrintseeds()
115 configuration.shrink = shrink; in setShrink()
121 configuration.printUsage = optionalFile(printUsage); in setPrintusage()
127 configuration.optimize = optimize; in setOptimize()
[all …]
/external/proguard/src/proguard/
DProGuard.java43 private final Configuration configuration; field in ProGuard
52 public ProGuard(Configuration configuration) in ProGuard() argument
54 this.configuration = configuration; in ProGuard()
67 if (configuration.printConfiguration != null) in execute()
72 new ConfigurationChecker(configuration).check(); in execute()
74 if (configuration.programJars != null && in execute()
75 configuration.programJars.hasOutput() && in execute()
76 new UpToDateChecker(configuration).check()) in execute()
83 if (configuration.shrink || in execute()
84 configuration.optimize || in execute()
[all …]
DConfigurationParser.java141 public void parse(Configuration configuration) in parse() argument
150 … .startsWith(nextWord)) configuration.lastModified = parseIncludeAr… in parse()
154 … .startsWith(nextWord)) configuration.programJars = parseClassPathA… in parse()
155 … .startsWith(nextWord)) configuration.programJars = parseClassPathA… in parse()
156 … .startsWith(nextWord)) configuration.libraryJars = parseClassPathA… in parse()
158 … .startsWith(nextWord)) configuration.systemJars = parseClassPathA… in parse()
160 …IP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) configuration.skipNonPublicL… in parse()
161 …NT_SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) configuration.skipNonPublicL… in parse()
162 …NT_SKIP_NON_PUBLIC_LIBRARY_CLASS_MEMBERS_OPTION.startsWith(nextWord)) configuration.skipNonPublicL… in parse()
163 …RGET_OPTION .startsWith(nextWord)) configuration.targetClassVer… in parse()
[all …]
DInitializer.java42 private final Configuration configuration; field in Initializer
49 public Initializer(Configuration configuration) in Initializer() argument
51 this.configuration = configuration; in Initializer()
65 …ingPrinter fullyQualifiedClassNameNotePrinter = new WarningPrinter(System.out, configuration.note); in execute()
72 fullyQualifiedClassNameChecker.checkClassSpecifications(configuration.keep); in execute()
73 fullyQualifiedClassNameChecker.checkClassSpecifications(configuration.assumeNoSideEffects); in execute()
75 StringMatcher keepAttributesMatcher = configuration.keepAttributes != null ? in execute()
76 new ListParser(new NameParser()).parse(configuration.keepAttributes) : in execute()
79 … WarningPrinter getAnnotationNotePrinter = new WarningPrinter(System.out, configuration.note); in execute()
88 WarningPrinter getSignatureNotePrinter = new WarningPrinter(System.out, configuration.note); in execute()
[all …]
DConfigurationWriter.java93 public void write(Configuration configuration) throws IOException in write() argument
98 configuration.programJars); in write()
104 configuration.libraryJars); in write()
111 configuration.systemJars); in write()
115 …igurationConstants.SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION, configuration.skipNonPublicL… in write()
116 …gurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASS_MEMBERS_OPTION, !configuration.skipNonPublicL… in write()
117 …igurationConstants.KEEP_DIRECTORIES_OPTION, configuration.keepDirectorie… in write()
118 …N, ClassUtil.externalClassVersion(configuration.targetClassVer… in write()
119 …igurationConstants.FORCE_PROCESSING_OPTION, configuration.lastModified =… in write()
121 writeOption(ConfigurationConstants.DONT_SHRINK_OPTION, !configuration.shrink); in write()
[all …]
DInputReader.java37 private final Configuration configuration; field in InputReader
44 public InputReader(Configuration configuration) in InputReader() argument
46 this.configuration = configuration; in InputReader()
57 WarningPrinter warningPrinter = new WarningPrinter(System.err, configuration.warn); in execute()
58 WarningPrinter notePrinter = new WarningPrinter(System.out, configuration.note); in execute()
67 if (configuration.systemJars != null) in execute()
74 configuration.systemJars, in execute()
77 configuration.skipNonPublicLibraryClasses, in execute()
78 configuration.skipNonPublicLibraryClassMembers, in execute()
89 configuration.programJars, in execute()
[all …]
DUpToDateChecker.java32 private final Configuration configuration; field in UpToDateChecker
38 public UpToDateChecker(Configuration configuration) in UpToDateChecker() argument
40 this.configuration = configuration; in UpToDateChecker()
54 checker.updateInputModificationTime(configuration.lastModified); in check()
56 ClassPath programJars = configuration.programJars; in check()
57 ClassPath libraryJars = configuration.libraryJars; in check()
86 checker.updateInputModificationTime(configuration.applyMapping); in check()
87 checker.updateInputModificationTime(configuration.obfuscationDictionary); in check()
88 checker.updateInputModificationTime(configuration.classObfuscationDictionary); in check()
89 checker.updateInputModificationTime(configuration.packageObfuscationDictionary); in check()
[all …]
DConfigurationChecker.java34 private final Configuration configuration; field in ConfigurationChecker
40 public ConfigurationChecker(Configuration configuration) in ConfigurationChecker() argument
42 this.configuration = configuration; in ConfigurationChecker()
51 ClassPath programJars = configuration.programJars; in check()
52 ClassPath libraryJars = configuration.libraryJars; in check()
54 ClassPath systemJars = configuration.systemJars; in check()
98 if ((configuration.note == null || in check()
99 !configuration.note.isEmpty())) in check()
103 if (configuration.obfuscate && in check()
104 configuration.useMixedCaseClassNames && in check()
[all …]
/external/proguard/src/proguard/obfuscate/
DObfuscator.java43 private final Configuration configuration; field in Obfuscator
49 public Obfuscator(Configuration configuration) in Obfuscator() argument
51 this.configuration = configuration; in Obfuscator()
62 if (configuration.keep == null && in execute()
63 configuration.applyMapping == null && in execute()
64 configuration.printMapping == null) in execute()
77 configuration.useUniqueClassMemberNames ? in execute()
87 ClassSpecificationVisitorFactory.createClassPoolVisitor(configuration.keep, in execute()
117 configuration.keepAttributes == null ? null : in execute()
118 new AttributeNameFilter(configuration.keepAttributes, in execute()
[all …]
/external/testng/src/test/java/test/mannotation/
DMAnnotationSampleTest.java111 IConfigurationAnnotation configuration = in verifyConfigurationBefore() local
113 Assert.assertNotNull(configuration); in verifyConfigurationBefore()
114 Assert.assertTrue(configuration.getBeforeSuite()); in verifyConfigurationBefore()
115 Assert.assertTrue(configuration.getBeforeTestMethod()); in verifyConfigurationBefore()
116 Assert.assertTrue(configuration.getBeforeTest()); in verifyConfigurationBefore()
117 Assert.assertTrue(configuration.getBeforeTestClass()); in verifyConfigurationBefore()
118 Assert.assertFalse(configuration.getAfterSuite()); in verifyConfigurationBefore()
119 Assert.assertFalse(configuration.getAfterTestMethod()); in verifyConfigurationBefore()
120 Assert.assertFalse(configuration.getAfterTest()); in verifyConfigurationBefore()
121 Assert.assertFalse(configuration.getAfterTestClass()); in verifyConfigurationBefore()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java62 private Configuration configuration; field in BootstrapTest
68 configuration = new Configuration(); in setUp()
148 Bootstrap.applyQualifiers("", Build.VERSION.RESOURCES_SDK_INT, configuration, displayMetrics); in applyQualifiers_shouldAddDefaults()
149 String outQualifiers = ConfigurationV25.resourceQualifierString(configuration, displayMetrics); in applyQualifiers_shouldAddDefaults()
155 assertThat(configuration.mcc).isEqualTo(0); in applyQualifiers_shouldAddDefaults()
156 assertThat(configuration.mnc).isEqualTo(0); in applyQualifiers_shouldAddDefaults()
157 assertThat(configuration.locale).isEqualTo(new Locale("en", "US")); in applyQualifiers_shouldAddDefaults()
158 …assertThat(configuration.screenLayout & SCREENLAYOUT_LAYOUTDIR_MASK).isEqualTo(SCREENLAYOUT_LAYOUT… in applyQualifiers_shouldAddDefaults()
159 assertThat(configuration.smallestScreenWidthDp).isEqualTo(320); in applyQualifiers_shouldAddDefaults()
160 assertThat(configuration.screenWidthDp).isEqualTo(320); in applyQualifiers_shouldAddDefaults()
[all …]
/external/proguard/src/proguard/gradle/
DProGuardTask.java59 private final Configuration configuration = new Configuration(); field in ProGuardTask
175 public void configuration(Object configurationFiles) in configuration() method in ProGuardTask
234 configuration.skipNonPublicLibraryClasses = true; in skipnonpubliclibraryclasses()
246 configuration.skipNonPublicLibraryClassMembers = false; in dontskipnonpubliclibraryclassmembers()
263 configuration.keepDirectories = in keepdirectories()
264 extendFilter(configuration.keepDirectories, filter); in keepdirectories()
269 configuration.targetClassVersion = in target()
282 configuration.lastModified = Long.MAX_VALUE; in forceprocessing()
295 configuration.keep = in keep()
296 extendClassSpecifications(configuration.keep, in keep()
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Elements_Sequences.py57 self.configuration = "Conf_0"
93 log.I("Getting elements sequence from configuration %s" % (self.configuration))
94 out, err = self.pfw.sendCmd("getElementSequence", self.domain_name, self.configuration)
95 …ementSequence] - Error while listing elements sequence for configuration %s" % (self.configuration)
96 …sting elements sequence for configuration %s correctly executed :\n%s" % (self.configuration, out))
99 log.I("Setting new elements sequence order for configuration %s" % (self.configuration))
100 …out, err = self.pfw.sendCmd("setElementSequence", self.domain_name, self.configuration, self.elem_…
101 …tSequence] - Error while setting new elements sequence for configuration %s" % (self.configuration)
102 …tSequence] - Error while setting new elements sequence for configuration %s" % (self.configuration)
104 out, err = self.pfw.sendCmd("getElementSequence", self.domain_name, self.configuration)
[all …]
/external/proguard/src/proguard/gui/
DProGuardGUI.java672 Configuration configuration = new Configuration(); in loadBoilerplateConfiguration() local
676 parser.parse(configuration); in loadBoilerplateConfiguration()
680 extractKeepSpecifications(configuration.keep, false, false); in loadBoilerplateConfiguration()
684 extractKeepSpecifications(configuration.keep, true, false); in loadBoilerplateConfiguration()
687 … boilerplateNoSideEffectMethods = new ClassSpecification[configuration.assumeNoSideEffects.size()]; in loadBoilerplateConfiguration()
688 configuration.assumeNoSideEffects.toArray(boilerplateNoSideEffectMethods); in loadBoilerplateConfiguration()
950 private void setProGuardConfiguration(Configuration configuration) in setProGuardConfiguration() argument
953 programPanel.setClassPath(configuration.programJars); in setProGuardConfiguration()
954 libraryPanel.setClassPath(configuration.libraryJars); in setProGuardConfiguration()
961 configuration.keep); in setProGuardConfiguration()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DBCECPublicKey.java43 private transient ProviderConfiguration configuration; field in BCECPublicKey
53 this.configuration = key.configuration; in BCECPublicKey()
59 ProviderConfiguration configuration) in BCECPublicKey() argument
63 …convertPoint(ecSpec, spec.getW(), false), EC5Util.getDomainParameters(configuration, spec.getParam… in BCECPublicKey()
64 this.configuration = configuration; in BCECPublicKey()
70 ProviderConfiguration configuration) in BCECPublicKey() argument
81 spec.getQ(), ECUtil.getDomainParameters(configuration, spec.getParams())); in BCECPublicKey()
86 org.bouncycastle.jce.spec.ECParameterSpec s = configuration.getEcImplicitlyCa(); in BCECPublicKey()
88 …getQ().getAffineYCoord().toBigInteger()), EC5Util.getDomainParameters(configuration, (ECParameterS… in BCECPublicKey()
92 this.configuration = configuration; in BCECPublicKey()
[all …]
DBCECPrivateKey.java46 private transient ProviderConfiguration configuration; field in BCECPrivateKey
57 ProviderConfiguration configuration) in BCECPrivateKey() argument
62 this.configuration = configuration; in BCECPrivateKey()
68 ProviderConfiguration configuration) in BCECPrivateKey() argument
87 this.configuration = configuration; in BCECPrivateKey()
94 ProviderConfiguration configuration) in BCECPrivateKey() argument
99 this.configuration = configuration; in BCECPrivateKey()
112 this.configuration = key.configuration; in BCECPrivateKey()
120 ProviderConfiguration configuration) in BCECPrivateKey() argument
124 this.configuration = configuration; in BCECPrivateKey()
[all …]
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_common.cc22 SLDataFormat_PCM configuration; in CreatePcmConfiguration() local
23 configuration.formatType = SL_DATAFORMAT_PCM; in CreatePcmConfiguration()
24 configuration.numChannels = kNumChannels; in CreatePcmConfiguration()
29 configuration.samplesPerSec = sample_rate * 1000; in CreatePcmConfiguration()
30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePcmConfiguration()
31 configuration.containerSize = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePcmConfiguration()
32 configuration.channelMask = SL_SPEAKER_FRONT_CENTER; in CreatePcmConfiguration()
33 if (2 == configuration.numChannels) { in CreatePcmConfiguration()
34 configuration.channelMask = in CreatePcmConfiguration()
37 configuration.endianness = SL_BYTEORDER_LITTLEENDIAN; in CreatePcmConfiguration()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/config/
DCaliperConfigTest.java51 CaliperConfig configuration = new CaliperConfig( in getDefaultVmConfig() local
53 VmConfig defaultVmConfig = configuration.getDefaultVmConfig(platform); in getDefaultVmConfig()
67 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_baseDirectoryAndName() local
70 configuration.getVmConfig(platform, "test")); in getVmConfig_baseDirectoryAndName()
77 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_baseDirectoryAndHome() local
81 configuration.getVmConfig(platform, "test")); in getVmConfig_baseDirectoryAndHome()
86 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig() local
98 configuration.getVmConfig(platform, "test")); in getVmConfig()
103 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_escapedSpacesInArgs() local
112 configuration.getVmConfig(platform, "test")); in getVmConfig_escapedSpacesInArgs()
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dstructural_ensemble.py40 configuration=univariate_configuration))
43 configuration=multivariate_configuration)
103 configuration=state_space_model.StateSpaceModelConfiguration()): argument
118 component_model_configuration = configuration._replace(
131 configuration=component_model_configuration)
140 for feature in range(configuration.num_features):
144 configuration=univariate_component_model_configuration))
148 configuration=component_model_configuration))
152 configuration=configuration)
188 configuration=state_space_model.StateSpaceModelConfiguration()): argument
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DBCECPublicKey.java47 private transient ProviderConfiguration configuration; field in BCECPublicKey
57 this.configuration = key.configuration; in BCECPublicKey()
63 ProviderConfiguration configuration) in BCECPublicKey() argument
67 …convertPoint(ecSpec, spec.getW(), false), EC5Util.getDomainParameters(configuration, spec.getParam… in BCECPublicKey()
68 this.configuration = configuration; in BCECPublicKey()
74 ProviderConfiguration configuration) in BCECPublicKey() argument
85 spec.getQ(), ECUtil.getDomainParameters(configuration, spec.getParams())); in BCECPublicKey()
90 … com.android.org.bouncycastle.jce.spec.ECParameterSpec s = configuration.getEcImplicitlyCa(); in BCECPublicKey()
92 …getQ().getAffineYCoord().toBigInteger()), EC5Util.getDomainParameters(configuration, (ECParameterS… in BCECPublicKey()
96 this.configuration = configuration; in BCECPublicKey()
[all …]
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DOcAgentTraceExporterConfigurationTest.java32 OcAgentTraceExporterConfiguration configuration = in defaultConfiguration() local
34 assertThat(configuration.getEndPoint()).isNull(); in defaultConfiguration()
35 assertThat(configuration.getServiceName()).isNull(); in defaultConfiguration()
36 assertThat(configuration.getUseInsecure()).isNull(); in defaultConfiguration()
37 assertThat(configuration.getRetryInterval()).isNull(); in defaultConfiguration()
38 assertThat(configuration.getEnableConfig()).isTrue(); in defaultConfiguration()
44 OcAgentTraceExporterConfiguration configuration = in setAndGet() local
52 assertThat(configuration.getEndPoint()).isEqualTo("192.168.0.1:50051"); in setAndGet()
53 assertThat(configuration.getServiceName()).isEqualTo("service"); in setAndGet()
54 assertThat(configuration.getUseInsecure()).isTrue(); in setAndGet()
[all …]
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp201 Config configuration = *config; in initialize() local
202 configuration.mConfigID = index; in initialize()
205 mConfigSet.mSet.insert(configuration); in initialize()
243 const egl::Config *configuration = mConfigSet.get(config); in getConfigAttrib() local
247 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()
248 case EGL_ALPHA_SIZE: *value = configuration->mAlphaSize; break; in getConfigAttrib()
249 case EGL_BLUE_SIZE: *value = configuration->mBlueSize; break; in getConfigAttrib()
250 case EGL_GREEN_SIZE: *value = configuration->mGreenSize; break; in getConfigAttrib()
251 case EGL_RED_SIZE: *value = configuration->mRedSize; break; in getConfigAttrib()
252 case EGL_DEPTH_SIZE: *value = configuration->mDepthSize; break; in getConfigAttrib()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConfigurationTest.java18 private Configuration configuration; field in ShadowConfigurationTest
22 configuration = new Configuration(); in setUp()
27 configuration.setToDefaults(); in setToDefaultsShouldSetRealDefaults()
28 assertThat(configuration.fontScale).isEqualTo(1.0f); in setToDefaultsShouldSetRealDefaults()
29 assertThat(configuration.screenLayout).isEqualTo(SCREENLAYOUT_UNDEFINED); in setToDefaultsShouldSetRealDefaults()
35 configuration.setLocale( Locale.US ); in testSetLocale()
36 assertThat(configuration.locale).isEqualTo(Locale.US); in testSetLocale()
38 configuration.setLocale( Locale.FRANCE); in testSetLocale()
39 assertThat(configuration.locale).isEqualTo(Locale.FRANCE); in testSetLocale()
44 configuration.setToDefaults(); in testConstructCopy()
[all …]

12345678910>>...118