/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | ConfigTest.java | 13 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 …]
|
D | SdkPickerTest.java | 13 import org.robolectric.annotation.Config; 34 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), appManifest)) in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest() 43 …assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), appManifest)) in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest() 52 …assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), appManifest)) in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 62 …assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), appManifest)) in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 71 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(24).build(), appManifest)) in withMinSdkHigherThanSupportedRange_ShouldReturnNone() 82 sdkPicker.selectSdks(new Config.Builder().setMinSdk(22).setMaxSdk(21).build(), appManifest); in withMinSdkHigherMaxSdk_ShouldThrowError() 94 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), appManifest)) in shouldClipSdkRangeFromAndroidManifest() 103 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(21).build(), appManifest)) in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest() 112 assertThat(sdkPicker.selectSdks(new Config.Builder().setMaxSdk(21).build(), appManifest)) in withMaxSdkConfig_shouldUseSdkRangeFromAndroidManifest() [all …]
|
D | ConfigMergerTest.java | 6 import static org.robolectric.annotation.Config.DEFAULT_APPLICATION; 19 import org.robolectric.annotation.Config; 28 new Config.Builder().build()).manifest()) in defaultValuesAreMerged() 34 new Config.Builder().setManifest("ManifestFromGlobal.xml").build()).manifest()) in globalValuesAreMerged() 175 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor() 176 return configFor(testClass, methodName, configProperties, Config.Builder.defaults().build()); in configFor() 179 private Config configFor(Class<?> testClass, String methodName) throws InitializationError { in configFor() 180 Config.Implementation globalConfig = Config.Builder.defaults().build(); in configFor() 184 …private Config configFor(Class<?> testClass, String methodName, Config.Implementation globalConfig… in configFor() 188 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor() [all …]
|
D | RobolectricTestRunnerMultiApiTest.java | 27 import org.robolectric.annotation.Config; 217 @Config(sdk = Config.ALL_SDKS) 222 @Config(sdk = {JELLY_BEAN, LOLLIPOP}) 229 @Config(sdk = Config.ALL_SDKS) 231 @Config(sdk = {JELLY_BEAN, LOLLIPOP}) 237 @Config(minSdk = LOLLIPOP) 244 @Config(maxSdk = LOLLIPOP) 251 @Config(minSdk = JELLY_BEAN_MR2, maxSdk = LOLLIPOP) 258 @Config(sdk = Config.ALL_SDKS) 260 @Config(minSdk = LOLLIPOP) [all …]
|
D | ParameterizedRobolectricTestRunnerNormalTest.java | 9 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)
|
/external/v8/src/ |
D | splay-tree-inl.h | 14 template<typename Config, class Allocator> 15 SplayTree<Config, Allocator>::~SplayTree() { in ~SplayTree() 21 template<typename Config, class Allocator> 22 bool SplayTree<Config, Allocator>::Insert(const Key& key, in Insert() 26 root_ = new(allocator_) Node(key, Config::NoValue()); in Insert() 32 int cmp = Config::Compare(key, root_->key_); in Insert() 38 Node* node = new(allocator_) Node(key, Config::NoValue()); in Insert() 46 template<typename Config, class Allocator> 47 void SplayTree<Config, Allocator>::InsertInternal(int cmp, Node* node) { in InsertInternal() 61 template<typename Config, class Allocator> [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 328 config Config 398 resumeConfig *Config 526 func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, transcriptPrefix stri… argument 1184 var resumeConfig Config 1492 config: Config{ 1502 config: Config{ 1511 config: Config{ 1531 config: Config{ 1543 config: Config{ 1573 config: Config{ [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDevicePolicyManagerTest.java | 24 import org.robolectric.annotation.Config; 49 @Config(minSdk = JELLY_BEAN_MR2) 60 @Config(minSdk = LOLLIPOP) 72 @Config(minSdk = JELLY_BEAN_MR2) 84 @Config(minSdk = JELLY_BEAN_MR2) 96 @Config(minSdk = JELLY_BEAN_MR2) 104 @Config(minSdk = LOLLIPOP) 115 @Config(minSdk = LOLLIPOP) 127 @Config(minSdk = LOLLIPOP) 139 @Config(minSdk = LOLLIPOP) [all …]
|
D | ShadowBitmapTest.java | 24 import org.robolectric.annotation.Config; 42 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() 47 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() 52 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha() 59 @Config(minSdk = JELLY_BEAN_MR1) 61 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap() 73 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() 76 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() 108 Bitmap mutableBitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateMutableBitmap() 113 @Config(minSdk = JELLY_BEAN_MR1) [all …]
|
D | ShadowSystemPropertiesTest.java | 9 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 …]
|
D | ShadowConnectivityManagerTest.java | 24 import org.robolectric.annotation.Config; 66 @Test @Config(minSdk = LOLLIPOP) 75 @Test @Config(minSdk = LOLLIPOP) 86 @Test @Config(minSdk = LOLLIPOP) 127 @Config(minSdk = M) 133 @Config(minSdk = M) 140 @Config(minSdk = M) 167 @Config(minSdk = LOLLIPOP) 173 @Test @Config(minSdk = LOLLIPOP) 179 @Test @Config(minSdk = LOLLIPOP) [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | ConfigMerger.java | 17 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/v8/tools/release/ |
D | push_to_candidates.py | 47 if(self["current_branch"] == self.Config("CANDIDATESBRANCH") 48 or self["current_branch"] == self.Config("BRANCHNAME")): 52 self.DeleteBranch(self.Config("CANDIDATESBRANCH")) 59 self.GitCreateBranch(self.Config("BRANCHNAME"), 143 TextToFile(output, self.Config("CHANGELOG_ENTRY_FILE")) 159 AppendToFile(body, self.Config("CHANGELOG_ENTRY_FILE")) 165 AppendToFile(msg, self.Config("CHANGELOG_ENTRY_FILE")) 169 AppendToFile(comment_body, self.Config("CHANGELOG_ENTRY_FILE")) 180 self.Editor(self.Config("CHANGELOG_ENTRY_FILE")) 183 changelog_entry = FileToText(self.Config("CHANGELOG_ENTRY_FILE")).rstrip() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.h | 23 struct Config { struct 32 explicit Config(int pt) in Config() function 51 AudioEncoderPcm(const Config& config, int sample_rate_hz); 73 struct Config : public AudioEncoderPcm::Config { struct 74 Config() : AudioEncoderPcm::Config(8) {} in Config() argument 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/compiler-rt/ |
D | Makefile | 132 $(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/webrtc/talk/media/webrtc/ |
D | fakewebrtccall.h | 58 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/webrtc/webrtc/test/ |
D | call_test.h | 63 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 …]
|
D | common_unittest.cc | 35 TEST(Config, ReturnsDefaultInstanceIfNotConfigured) { in TEST() argument 36 Config config; in TEST() 42 TEST(Config, ReturnOptionWhenSet) { in TEST() argument 43 Config config; in TEST() 50 TEST(Config, SetNullSetsTheOptionBackToDefault) { in TEST() argument 51 Config config; in TEST() 77 TEST(Config, SupportsPolymorphism) { in TEST() argument 78 Config config; in TEST()
|
D | call_test.cc | 46 Call::Config send_config(test->GetSenderCallConfig()); in RunBaseTest() 49 AudioState::Config audio_state_config; in RunBaseTest() 55 Call::Config recv_config(test->GetReceiverCallConfig()); in RunBaseTest() 57 AudioState::Config audio_state_config; in RunBaseTest() 159 void CallTest::CreateCalls(const Call::Config& sender_config, in CreateCalls() 160 const Call::Config& receiver_config) { in CreateCalls() 165 void CallTest::CreateSenderCall(const Call::Config& config) { in CreateSenderCall() 169 void CallTest::CreateReceiverCall(const Call::Config& config) { in CreateReceiverCall() 185 video_send_config_ = VideoSendStream::Config(send_transport); in CreateSendConfig() 200 audio_send_config_ = AudioSendStream::Config(send_transport); in CreateSendConfig() [all …]
|
/external/v4l2_codec2/vda/ |
D | video_decode_accelerator.cc | 12 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/v8/tools/clang/blink_gc_plugin/ |
D | RecordInfo.cpp | 64 if (!Config::IsGCCollection(name_) && !Config::IsWTFCollection(name_)) in IsHeapAllocatedCollection() 76 return Config::IsGCCollection(name_); in IsHeapAllocatedCollection() 89 if (Config::IsGCBase(name_)) in IsGCDerived() 132 if (Config::IsGCBase(name)) { in walkBases() 148 if (Config::IsGCFinalizedBase(gc_base)) in IsGCFinalized() 161 if (!Config::IsGCMixinBase(gc_base)) in IsGCMixin() 198 if (!record || Config::IsIgnoreAnnotated(record)) in Lookup() 223 Config::IsStackAnnotated(*it)) { in IsStackAllocated() 417 if (Config::IsIgnoreAnnotated(field)) in CollectFields() 438 if (Config::IsGCBase(name_)) in DetermineTracingMethods() [all …]
|
/external/deqp/scripts/ |
D | run_internal_tests.py | 45 class Config: class 119 Config( 130 Config( 141 Config( 152 Config( 165 Config( 173 Config( 181 Config( 189 Config( 199 Config( [all …]
|
/external/tcpdump/tests/ |
D | stp-v.out | 1 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 4 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 7 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 10 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 13 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 16 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 19 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 22 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 25 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 28 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 [all …]
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 41 template<typename KeyT, typename ValueT, typename Config> 80 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT> > 82 friend class ValueMapCallbackVH<KeyT, ValueT, Config>; 83 typedef ValueMapCallbackVH<KeyT, ValueT, Config> ValueMapCVH; 86 typedef typename Config::ExtraData ExtraData; 236 template <typename KeyT, typename ValueT, typename Config> 238 friend class ValueMap<KeyT, ValueT, Config>; 240 typedef ValueMap<KeyT, ValueT, Config> ValueMapT; 258 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 259 unique_lock<typename Config::mutex_type> Guard; [all …]
|
/external/parameter-framework/upstream/test/functional-tests/ |
D | Basic.cpp | 111 Config::Plugins ps{}; 112 for (auto &&configT : Tests<Config>{ 113 {"top config", {&Config::plugins, Config::Plugins{{"", {invalidXml}}}}}, 114 {"structure", {&Config::instances, invalidXml}}, 115 {"settings", {&Config::domains, invalidXml}}}) { 133 create({&Config::plugins, Config::Plugins{{"", {pluginNameT.payload}}}}); 158 create({&Config::domains, "<Domain name='Invalid'/>"});
|