Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dmacwindowpicker_unittest.cc28 MacWindowPicker picker, picker2; in TEST() local
33 EXPECT_TRUE(picker2.GetWindowList(&descriptions)); // Init is optional in TEST()
37 EXPECT_FALSE(picker2.GetWindowList(&descriptions)); in TEST()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDelayedClientTransportTest.java546 SubchannelPicker picker2 = mock(SubchannelPicker.class); in reprocess_newStreamRacesWithReprocess() local
547 when(picker2.pickSubchannel(any(PickSubchannelArgs.class))) in reprocess_newStreamRacesWithReprocess()
549 delayedTransport.reprocess(picker2); in reprocess_newStreamRacesWithReprocess()
551 verify(picker2).pickSubchannel(args); in reprocess_newStreamRacesWithReprocess()
553 verify(picker2, never()).pickSubchannel(args2); in reprocess_newStreamRacesWithReprocess()
561 verify(picker2, timeout(5000)).pickSubchannel(args2); in reprocess_newStreamRacesWithReprocess()
566 verify(picker2).pickSubchannel(args); in reprocess_newStreamRacesWithReprocess()
567 verify(picker2).pickSubchannel(args); in reprocess_newStreamRacesWithReprocess()
DManagedChannelImplTest.java512 SubchannelPicker picker2 = mock(SubchannelPicker.class); in subtestCallsAndShutdown() local
513 when(picker2.pickSubchannel(new PickSubchannelArgsImpl(method, headers, CallOptions.DEFAULT))) in subtestCallsAndShutdown()
515 helper.updateBalancingState(READY, picker2); in subtestCallsAndShutdown()
1030 SubchannelPicker picker2 = mock(SubchannelPicker.class); in allServersFailedToConnect() local
1031 when(picker2.pickSubchannel(any(PickSubchannelArgs.class))) in allServersFailedToConnect()
1033 helper.updateBalancingState(TRANSIENT_FAILURE, picker2); in allServersFailedToConnect()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java906 RoundRobinPicker picker2 = (RoundRobinPicker) pickerCaptor.getValue(); in grpclbWorking() local
907 assertThat(picker2.dropList).containsExactly(null, null); in grpclbWorking()
908 assertThat(picker2.pickList).containsExactly( in grpclbWorking()