Home
last modified time | relevance | path

Searched refs:service2 (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/bugs/
DShouldNotDeadlockAnswerExecutionTest.java49 Service service2 = Mockito.mock(Service.class); in successIfEveryThreadHasItsOwnMock() local
56 Mockito.when(service2.verySlowMethod()).thenAnswer(new LockingAnswer(counter)); in successIfEveryThreadHasItsOwnMock()
61 threads.execute(new ServiceRunner(service2)); in successIfEveryThreadHasItsOwnMock()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DServiceTest.java36 MyService service2 = new MyService(); in shouldNotComplainIfServiceIsDestroyedWhileAnotherServiceHasRegisteredBroadcastReceivers() local
37 service2.registerReceiver(new AppWidgetProvider(), new IntentFilter()); in shouldNotComplainIfServiceIsDestroyedWhileAnotherServiceHasRegisteredBroadcastReceivers()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java452 Service service2 = new Service() { in testPartiallyConstructedManager_transitionAfterAddListenerBeforeStateIsReady() local
498 new ServiceManager(Arrays.asList(service1, service2)); in testPartiallyConstructedManager_transitionAfterAddListenerBeforeStateIsReady()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1371 ServiceDescriptorProto* service2 = AddService(&bar_file, "TestService2"); in SetUp() local
1372 AddMethod(service2, "Foo", "FooRequest", "FooResponse"); in SetUp()
1373 AddMethod(service2, "Baz", "BazRequest", "BazResponse"); in SetUp()