Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 1473) sorted by relevance

12345678910>>...59

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTest.java13 import org.robolectric.annotation.Config;
14 import org.robolectric.annotation.Config.Builder;
20 Config defaults = Config.Builder.defaults().build(); in testDefaults()
28 Config.Implementation base = new Config.Builder().setSdk(16, 17, 18).build(); in withOverlay_withBaseSdk()
30 assertThat(sdksIn(overlay(base, new Config.Builder().build()))) in withOverlay_withBaseSdk()
33 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseSdk()
36 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseSdk()
39 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).build()))) in withOverlay_withBaseSdk()
42 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseSdk()
48 Config.Implementation base = new Config.Builder().setMinSdk(18).build(); in withOverlay_withBaseMinSdk()
[all …]
DSdkPickerTest.java13 import org.robolectric.annotation.Config;
32 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()
41 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
50 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
60 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
69 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(24).build(), usesSdk)) in withMinSdkHigherThanSupportedRange_shouldReturnNone()
81 new Config.Builder().setMinSdk(22).setMaxSdk(21).build(), usesSdk); in withMinSdkHigherThanMaxSdk_shouldThrowError()
94 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkLessThanMinSdk_shouldThrowError()
106 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkGreaterThanMaxSdk_shouldThrowError()
118 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in shouldClipSdkRangeFromAndroidManifest()
[all …]
DConfigMergerTest.java6 import static org.robolectric.annotation.Config.DEFAULT_APPLICATION;
19 import org.robolectric.annotation.Config;
29 new Config.Builder().build()).manifest()) in defaultValuesAreMerged()
35 new Config.Builder().setManifest("ManifestFromGlobal.xml").build()).manifest()) in globalValuesAreMerged()
386 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor()
387 return configFor(testClass, methodName, configProperties, Config.Builder.defaults().build()); in configFor()
390 private Config configFor(Class<?> testClass, String methodName) throws InitializationError { in configFor()
391 Config.Implementation globalConfig = Config.Builder.defaults().build(); in configFor()
395 …private Config configFor(Class<?> testClass, String methodName, Config.Implementation globalConfig… in configFor()
399 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor()
[all …]
DParameterizedRobolectricTestRunnerNormalTest.java9 import org.robolectric.annotation.Config;
41 @Config(manifest = Config.NONE)
47 @Config(manifest = Config.NONE)
53 @Config(manifest = Config.NONE)
59 @Config(manifest = Config.NONE)
DRobolectricTestRunnerMultiApiTest.java28 import org.robolectric.annotation.Config;
233 @Config(sdk = Config.ALL_SDKS)
238 @Config(sdk = {JELLY_BEAN, LOLLIPOP})
245 @Config(sdk = Config.ALL_SDKS)
247 @Config(sdk = {JELLY_BEAN, LOLLIPOP})
253 @Config(minSdk = LOLLIPOP)
260 @Config(maxSdk = LOLLIPOP)
267 @Config(minSdk = JELLY_BEAN_MR2, maxSdk = LOLLIPOP)
274 @Config(sdk = Config.ALL_SDKS)
276 @Config(minSdk = LOLLIPOP)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
Dllvm-objcopy.cpp206 static std::unique_ptr<Writer> CreateWriter(const CopyConfig &Config, in CreateWriter() argument
209 if (Config.OutputFormat == "binary") { in CreateWriter()
216 !Config.StripSections); in CreateWriter()
219 !Config.StripSections); in CreateWriter()
222 !Config.StripSections); in CreateWriter()
225 !Config.StripSections); in CreateWriter()
230 static void SplitDWOToFile(const CopyConfig &Config, const Reader &Reader, in SplitDWOToFile() argument
236 auto Writer = CreateWriter(Config, *DWOFile, FB, OutputElfType); in SplitDWOToFile()
248 static void HandleArgs(const CopyConfig &Config, Object &Obj, in HandleArgs() argument
251 if (!Config.SplitDWO.empty()) { in HandleArgs()
[all …]
/external/catch2/include/internal/
Dcatch_config.cpp14 Config::Config( ConfigData const& data ) in Config() function in Catch::Config
27 std::string const& Config::getFilename() const { in getFilename()
31 bool Config::listTests() const { return m_data.listTests; } in listTests()
32 bool Config::listTestNamesOnly() const { return m_data.listTestNamesOnly; } in listTestNamesOnly()
33 bool Config::listTags() const { return m_data.listTags; } in listTags()
34 bool Config::listReporters() const { return m_data.listReporters; } in listReporters()
36 std::string Config::getProcessName() const { return m_data.processName; } in getProcessName()
37 std::string const& Config::getReporterName() const { return m_data.reporterName; } in getReporterName()
39 std::vector<std::string> const& Config::getTestsOrTags() const { return m_data.testsOrTags; } in getTestsOrTags()
40 … std::vector<std::string> const& Config::getSectionsToRun() const { return m_data.sectionsToRun; } in getSectionsToRun()
[all …]
/external/scudo/standalone/
Dsize_class_map.h25 template <typename Config> struct SizeClassMapBase {
30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) in getMaxCachedHint()
31 N = static_cast<u32>((1UL << Config::MaxBytesCachedLog) / Size); in getMaxCachedHint()
33 N = (1U << Config::MaxBytesCachedLog) / static_cast<u32>(Size); in getMaxCachedHint()
34 return Max(1U, Min(Config::MaxNumCachedHint, N)); in getMaxCachedHint()
57 template <typename Config>
58 class FixedSizeClassMap : public SizeClassMapBase<Config> {
59 typedef SizeClassMapBase<Config> Base;
61 static const uptr MinSize = 1UL << Config::MinSizeLog;
62 static const uptr MidSize = 1UL << Config::MidSizeLog;
[all …]
/external/boringssl/src/ssl/test/runner/
Drunner.go370 var dummyConfig Config
479 config Config
549 resumeConfig *Config
681 func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, transcripts *[][]byte… argument
1342 var resumeConfig Config
1651 config: Config{
1661 config: Config{
1670 config: Config{
1690 config: Config{
1702 config: Config{
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DConfigMerger.java17 import org.robolectric.annotation.Config;
21 private final Map<String, Config> packageConfigCache = new LinkedHashMap<String, Config>() {
37 public Config getConfig(Class<?> testClass, Method method, Config globalConfig) { in getConfig()
38 Config config = Config.Builder.defaults().build(); in getConfig()
42 Config packageConfig = cachedPackageConfig(packageName); in getConfig()
47 Config classConfig = (Config) clazz.getAnnotation(Config.class); in getConfig()
51 Config methodConfig = method.getAnnotation(Config.class); in getConfig()
72 private Config buildPackageConfig(String packageName) { in buildPackageConfig()
73 return Config.Implementation.fromProperties(getConfigProperties(packageName)); in buildPackageConfig()
119 private Config override(Config config, Config classConfig) { in override()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapTest.java26 import org.robolectric.annotation.Config;
44 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap()
49 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap()
54 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha()
61 @Config(minSdk = JELLY_BEAN_MR1)
63 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap()
70 @Config(minSdk = KITKAT)
72 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in getAllocationByteCount()
82 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors()
85 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors()
[all …]
DShadowDevicePolicyManagerTest.java44 import org.robolectric.annotation.Config;
69 @Config(minSdk = JELLY_BEAN_MR2)
80 @Config(minSdk = LOLLIPOP)
92 @Config(minSdk = JELLY_BEAN_MR2)
104 @Config(minSdk = JELLY_BEAN_MR2)
116 @Config(minSdk = JELLY_BEAN_MR2)
124 @Config(minSdk = N)
135 @Config(minSdk = N)
143 @Config(minSdk = LOLLIPOP)
154 @Config(minSdk = LOLLIPOP)
[all …]
DShadowSystemPropertiesTest.java9 import org.robolectric.annotation.Config;
28 @Config(sdk = 16)
34 @Config(sdk = 17)
40 @Config(sdk = 18)
46 @Config(sdk = 19)
52 @Config(sdk = 21)
58 @Config(sdk = 22)
64 @Config(sdk = 23)
70 @Config(sdk = 24)
76 @Config(sdk = 25)
[all …]
DShadowUserManagerTest.java28 import org.robolectric.annotation.Config;
49 @Config(minSdk = LOLLIPOP)
60 @Config(minSdk = JELLY_BEAN_MR2)
78 @Config(minSdk = N)
86 @Config(minSdk = LOLLIPOP)
97 @Config(minSdk = JELLY_BEAN_MR2)
119 @Config(minSdk = JELLY_BEAN_MR2)
131 @Config(minSdk = LOLLIPOP)
139 @Config(minSdk = N)
151 @Config(minSdk = LOLLIPOP)
[all …]
/external/robolectric-shadows/soong/
Drobolectric.go45 ctx.Config().PlatformVersionName(),
46 ctx.Config().BuildId())
51 "ro.build.id=" + ctx.Config().BuildId(),
60 "ro.build.version.security_patch=" + ctx.Config().PlatformSecurityPatch(),
61 "ro.build.version.sdk=" + ctx.Config().PlatformSdkVersion(),
62 "ro.build.version.release=" + ctx.Config().PlatformVersionName(),
63 "ro.build.version.preview_sdk=" + ctx.Config().PlatformPreviewSdkVersion(),
65 "ro.build.version.preview_sdk_fingerprint=" + ctx.Config().PlatformPreviewSdkVersion(),
66 "ro.build.version.codename=" + ctx.Config().PlatformSdkCodename(),
67 …"ro.build.version.all_codenames=" + strings.Join(ctx.Config().PlatformVersionActiveCodenames(), ",…
[all …]
/external/angle/src/libANGLE/
DConfig_unittest.cpp15 static egl::Config GenerateGenericConfig() in GenerateGenericConfig()
17 egl::Config config; in GenerateGenericConfig()
56 static std::vector<egl::Config> GenerateUniqueConfigs(size_t count) in GenerateUniqueConfigs()
58 std::vector<egl::Config> configs; in GenerateUniqueConfigs()
62 egl::Config config = GenerateGenericConfig(); in GenerateUniqueConfigs()
76 std::vector<egl::Config> uniqueConfigs = GenerateUniqueConfigs(16); in TEST()
95 std::vector<egl::Config> uniqueConfigs = GenerateUniqueConfigs(16); in TEST()
122 EGLint(egl::Config::*ConfigMember); in TEST()
126 {EGL_RED_SIZE, &egl::Config::redSize}, {EGL_GREEN_SIZE, &egl::Config::greenSize}, in TEST()
127 {EGL_BLUE_SIZE, &egl::Config::blueSize}, {EGL_ALPHA_SIZE, &egl::Config::alphaSize}, in TEST()
[all …]
DConfig.h27 struct Config struct
29 Config();
30 ~Config();
31 Config(const Config &other);
32 Config &operator=(const Config &other); argument
82 typedef std::map<EGLint, Config> ConfigMap; argument
90 EGLint add(const Config &config);
91 const Config &get(EGLint id) const;
97 bool contains(const Config *config) const;
100 std::vector<const Config *> filter(const AttributeMap &attributeMap) const;
DConfig.cpp25 Config::Config() in Config() function in egl::Config
68 Config::~Config() {} in ~Config()
70 Config::Config(const Config &other) = default;
72 Config &Config::operator=(const Config &other) = default;
82 EGLint ConfigSet::add(const Config &config) in add()
87 Config copyConfig(config); in add()
94 const Config &ConfigSet::get(EGLint id) const in get()
110 bool ConfigSet::contains(const Config *config) const in contains()
114 const Config &item = i->second; in contains()
139 bool operator()(const Config *x, const Config *y) const { return (*this)(*x, *y); } in operator ()()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.h23 struct Config { struct
32 explicit Config(int pt) in Config() argument
51 AudioEncoderPcm(const Config& config, int sample_rate_hz);
73 struct Config : public AudioEncoderPcm::Config { struct
74 Config() : AudioEncoderPcm::Config(8) {} in Config() function
77 explicit AudioEncoderPcmA(const Config& config) in AudioEncoderPcmA()
95 struct Config : public AudioEncoderPcm::Config { struct
96 Config() : AudioEncoderPcm::Config(0) {} in Config() argument
99 explicit AudioEncoderPcmU(const Config& config) in AudioEncoderPcmU()
/external/v8/src/heap/cppgc/
Dheap.cc44 {internal::GarbageCollector::Config::CollectionType::kMajor, stack_state, in ForceGarbageCollectionSlow()
45 internal::GarbageCollector::Config::MarkingType::kAtomic, in ForceGarbageCollectionSlow()
46 internal::GarbageCollector::Config::SweepingType::kAtomic}); in ForceGarbageCollectionSlow()
70 void CheckConfig(Heap::Config config) { in CheckConfig()
72 (config.collection_type != Heap::Config::CollectionType::kMinor) || in CheckConfig()
73 (config.stack_state == Heap::Config::StackState::kNoHeapPointers), in CheckConfig()
92 void Heap::CollectGarbage(Config config) { in CollectGarbage()
93 DCHECK_EQ(Config::MarkingType::kAtomic, config.marking_type); in CollectGarbage()
107 void Heap::StartIncrementalGarbageCollection(Config config) { in StartIncrementalGarbageCollection()
108 DCHECK_NE(Config::MarkingType::kAtomic, config.marking_type); in StartIncrementalGarbageCollection()
[all …]
/external/v4l2_codec2/accel/
Dvideo_decode_accelerator.cc12 VideoDecodeAccelerator::Config::Config() = default;
13 VideoDecodeAccelerator::Config::Config(const Config& config) = default;
15 VideoDecodeAccelerator::Config::Config(VideoCodecProfile video_codec_profile) in Config() function in media::VideoDecodeAccelerator::Config
18 VideoDecodeAccelerator::Config::~Config() = default;
20 std::string VideoDecodeAccelerator::Config::AsHumanReadableString() const { in AsHumanReadableString()
/external/webrtc/webrtc/test/
Dcall_test.h63 void CreateCalls(const Call::Config& sender_config,
64 const Call::Config& receiver_config);
65 void CreateSenderCall(const Call::Config& config);
66 void CreateReceiverCall(const Call::Config& config);
87 VideoSendStream::Config video_send_config_;
90 AudioSendStream::Config audio_send_config_;
95 std::vector<VideoReceiveStream::Config> video_receive_configs_;
97 std::vector<AudioReceiveStream::Config> audio_receive_configs_;
151 virtual Call::Config GetSenderCallConfig();
152 virtual Call::Config GetReceiverCallConfig();
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.h58 explicit FakeAudioSendStream(const webrtc::AudioSendStream::Config& config);
60 const webrtc::AudioSendStream::Config& GetConfig() const;
79 webrtc::AudioSendStream::Config config_;
86 const webrtc::AudioReceiveStream::Config& config);
88 const webrtc::AudioReceiveStream::Config& GetConfig() const;
111 webrtc::AudioReceiveStream::Config config_;
120 FakeVideoSendStream(const webrtc::VideoSendStream::Config& config,
122 webrtc::VideoSendStream::Config GetConfig() const;
154 webrtc::VideoSendStream::Config config_;
169 const webrtc::VideoReceiveStream::Config& config);
[all …]
/external/compiler-rt/
DMakefile132 $(call Set,Tmp.Config,$(1))
133 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config))
135 $(call GetCNAVar,SHARED_LIBRARY,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
137 $(call GetCNAVar,SHARED_LIBRARY_SUFFIX,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
149 $(or $($(Tmp.Key).UniversalArchs.$(Tmp.Config)),\
151 $(call VarOrDefault,$(Tmp.Key).Arch.$(Tmp.Config),$($(Tmp.Key).Arch))))
164 $(Tmp.Name)-$(Tmp.Config):: $(Tmp.ObjPath)/libcompiler_rt.$(Tmp.LibrarySuffix)
165 .PHONY: $(Tmp.Name)-$(Tmp.Config)
174 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch))
177 $(call GetCNAVar,FUNCTIONS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
[all …]
/external/dagger2/javatests/dagger/android/
DAndroidInjectionTest.java29 import org.robolectric.annotation.Config;
32 @Config(manifest = Config.NONE)
58 @Config(manifest = Config.NONE, application = ApplicationInjectsFragment.class)
77 @Config(manifest = Config.NONE, application = ApplicationInjectsFragment.class)
97 @Config(manifest = Config.NONE, application = ApplicationInjectsFragment.class)
156 @Config(manifest = Config.NONE, application = ApplicationReturnsNull.class)
169 @Config(manifest = Config.NONE, application = ApplicationReturnsNull.class)

12345678910>>...59