Home
last modified time | relevance | path

Searched refs:SetFactory (Results 1 – 21 of 21) sorted by relevance

/external/dagger2/javatests/dagger/internal/
DSetFactoryTest.java41 SetFactory.<Integer>builder(0, 1).addCollectionProvider(() -> null).build(); in providerReturnsNull()
49 SetFactory.<Integer>builder(1, 0).addProvider(() -> null).build(); in providerReturnsNullSet()
58 SetFactory.<Integer>builder(0, 1).addCollectionProvider(() -> set).build(); in providerReturnsSetWithNullElement()
66 SetFactory.<Integer>builder(2, 2) in invokesProvidersEveryTime()
/external/dagger2/java/dagger/internal/
DSetFactory.java37 public final class SetFactory<T> implements Factory<Set<T>> { class
84 public SetFactory<T> build() { in build()
90 return new SetFactory<T>(individualProviders, collectionProviders); in build()
97 private SetFactory( in SetFactory() method in SetFactory
/external/libchrome/base/metrics/
Dsingle_sample_metrics_unittest.cc45 EXPECT_DCHECK_DEATH(SingleSampleMetricsFactory::SetFactory( in TEST_F()
51 SingleSampleMetricsFactory::SetFactory(WrapUnique(factory)); in TEST_F()
Dsingle_sample_metrics.cc23 void SingleSampleMetricsFactory::SetFactory( in SetFactory() function in base::SingleSampleMetricsFactory
Dsingle_sample_metrics.h43 static void SetFactory(std::unique_ptr<SingleSampleMetricsFactory> factory);
/external/cronet/base/metrics/
Dsingle_sample_metrics_unittest.cc44 EXPECT_DCHECK_DEATH(SingleSampleMetricsFactory::SetFactory(nullptr)); in TEST_F()
50 SingleSampleMetricsFactory::SetFactory(std::move(factory)); in TEST_F()
Dsingle_sample_metrics.cc23 void SingleSampleMetricsFactory::SetFactory( in SetFactory() function in base::SingleSampleMetricsFactory
Dsingle_sample_metrics.h44 static void SetFactory(std::unique_ptr<SingleSampleMetricsFactory> factory);
/external/cronet/components/metrics/
Dsingle_sample_metrics.cc80 base::SingleSampleMetricsFactory::SetFactory( in InitializeSingleSampleMetricsFactory()
/external/cronet/components/cronet/android/
Dcronet_library_loader.cc121 net::NetworkChangeNotifier::SetFactory( in JNI_CronetLibraryLoader_CronetInitOnInitThread()
/external/cronet/net/base/
Dnetwork_change_notifier.h357 static void SetFactory(NetworkChangeNotifierFactory* factory);
Dnetwork_change_notifier.cc289 void NetworkChangeNotifier::SetFactory( in SetFactory() function in net::NetworkChangeNotifier
/external/googletest/docs/
Dgmock_cheat_sheet.md145 DefaultValue<T>::SetFactory(&MakeT);
156 DefaultValue<std::unique_ptr<Buzz>>::SetFactory(
/external/cronet/third_party/googletest/src/docs/
Dgmock_cheat_sheet.md142 DefaultValue<std::unique_ptr<Buzz>>::SetFactory(
/external/cronet/third_party/googletest/src/docs/reference/
Dmocking.md420 Provides the static methods `Set()`, `SetFactory()`, and `Clear()` to manage the
429 DefaultValue<T>::SetFactory(&MakeT);
/external/googletest/googlemock/test/
Dgmock-actions_test.cc292 DefaultValue<std::unique_ptr<int>>::SetFactory([] { in TEST()
1390 DefaultValue<std::unique_ptr<int>>::SetFactory([] { in TEST()
/external/cronet/third_party/googletest/src/googlemock/test/
Dgmock-actions_test.cc285 DefaultValue<std::unique_ptr<int>>::SetFactory( in TEST()
1370 DefaultValue<std::unique_ptr<int>>::SetFactory( in TEST()
/external/cronet/third_party/googletest/src/googlemock/include/gmock/
Dgmock-actions.h298 static void SetFactory(FactoryFunction factory) {
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h300 static void SetFactory(FactoryFunction factory) {
/external/libaom/third_party/googletest/src/googlemock/include/gmock/
Dgmock-actions.h586 static void SetFactory(FactoryFunction factory) {
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h1189 static void SetFactory(FactoryFunction factory) {