Home
last modified time | relevance | path

Searched refs:factory1 (Results 1 – 6 of 6) sorted by relevance

/external/sfntly/cpp/src/test/
Dserialization_test.cc29 FontFactoryPtr factory1, factory2, factory3; in TestSerialization() local
30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization()
32 LoadFont(SAMPLE_TTF_FILE, factory1, &font_array); in TestSerialization()
95 FontFactoryPtr factory1, factory2, factory3; in TestSerializationBitmap() local
96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
98 LoadFont(SAMPLE_BITMAP_FONT, factory1, &font_array); in TestSerializationBitmap()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java157 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutateBuild() local
158 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
161 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
171 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutate() local
172 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
175 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_factory.cc54 static int factory_arg_cmp(void* factory1, void* factory2) { in factory_arg_cmp() argument
55 if (factory1 < factory2) return -1; in factory_arg_cmp()
56 if (factory1 > factory2) return 1; in factory_arg_cmp()
/external/tensorflow/tensorflow/core/util/rpc/
Drpc_factory_registry_test.cc35 auto factory1 = RPCFactoryRegistry::Global()->Get("TEST FACTORY 1"); in TEST() local
36 EXPECT_NE(factory1, nullptr); in TEST()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java1380 ConcreteAssistedWithOverride.Factory factory1 = in testGeneratedDefaultMethodsForwardCorrectly() local
1382 factory1.create("foo"); in testGeneratedDefaultMethodsForwardCorrectly()
1383 AbstractAssisted.Factory<ConcreteAssistedWithOverride, String> factory1Abstract = factory1; in testGeneratedDefaultMethodsForwardCorrectly()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java1492 ClientStreamTracer.Factory factory1 = mock(ClientStreamTracer.Factory.class); in pickerReturnsStreamTracer_noDelay() local
1508 CallOptions callOptions = CallOptions.DEFAULT.withStreamTracerFactory(factory1); in pickerReturnsStreamTracer_noDelay()
1515 Arrays.asList(factory1, factory2), in pickerReturnsStreamTracer_noDelay()
1518 verifyZeroInteractions(factory1); in pickerReturnsStreamTracer_noDelay()
1525 ClientStreamTracer.Factory factory1 = mock(ClientStreamTracer.Factory.class); in pickerReturnsStreamTracer_delayed() local
1529 CallOptions callOptions = CallOptions.DEFAULT.withStreamTracerFactory(factory1); in pickerReturnsStreamTracer_delayed()
1550 Arrays.asList(factory1, factory2), in pickerReturnsStreamTracer_delayed()
1553 verifyZeroInteractions(factory1); in pickerReturnsStreamTracer_delayed()