Home
last modified time | relevance | path

Searched refs:helper2 (Results 1 – 12 of 12) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java106 TestOpenHelper helper2 = in testGetPath() local
110 assertThat(helper2.getReadableDatabase().getPath()).isEqualTo(expectedPath2); in testGetPath()
112 helper2.close(); in testGetPath()
117 TestOpenHelper helper2 = in testCloseMultipleDbs() local
120 SQLiteDatabase database2 = helper2.getWritableDatabase(); in testCloseMultipleDbs()
126 helper2.close(); in testCloseMultipleDbs()
132 TestOpenHelper helper2 = in testOpenMultipleDbsOnCreate() local
135 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
138 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
139 helper2.getWritableDatabase(); in testOpenMultipleDbsOnCreate()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java104 TestOpenHelper helper2 = in testGetPath() local
108 assertThat(helper2.getReadableDatabase().getPath()).isEqualTo(expectedPath2); in testGetPath()
113 TestOpenHelper helper2 = in testCloseMultipleDbs() local
116 SQLiteDatabase database2 = helper2.getWritableDatabase(); in testCloseMultipleDbs()
122 helper2.close(); in testCloseMultipleDbs()
128 TestOpenHelper helper2 = in testOpenMultipleDbsOnCreate() local
131 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
134 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
135 helper2.getWritableDatabase(); in testOpenMultipleDbsOnCreate()
137 assertThat(helper2.onCreateCalled).isTrue(); in testOpenMultipleDbsOnCreate()
[all …]
/external/python/cpython3/Lib/test/
Dprofilee.py64 helper2() # 50
66 helper2() # 50
68 helper2() # 50
85 helper2() # 50
88 def helper2(): function
/external/python/cpython2/Lib/test/
Dprofilee.py64 helper2() # 50
66 helper2() # 50
68 helper2() # 50
85 helper2() # 50
88 def helper2(): function
/external/cronet/net/socket/
Dsequenced_socket_data_unittest.cc500 ReentrantHelper helper2(sock_.get()); in TEST_F() local
501 helper2.SetExpectedRead(kMsg2, kLen2); in TEST_F()
502 helper2.SetInvokeRead(helper3.read_buf(), kLen3, ERR_IO_PENDING, in TEST_F()
507 helper.SetInvokeRead(helper2.read_buf(), kLen2, ERR_IO_PENDING, in TEST_F()
508 helper2.callback()); in TEST_F()
824 ReentrantHelper helper2(sock_.get()); in TEST_F() local
825 helper2.SetExpectedWrite(kLen2); in TEST_F()
826 helper2.SetInvokeWrite(kMsg3, kLen3, ERR_IO_PENDING, helper3.callback()); in TEST_F()
830 helper.SetInvokeWrite(kMsg2, kLen2, ERR_IO_PENDING, helper2.callback()); in TEST_F()
1030 ReentrantHelper helper2(sock_.get()); in TEST_F() local
[all …]
/external/clang/test/CoverageMapping/Inputs/
Dmacros.h5 void helper2(const char *, ...);
7 #define M1(a, ...) helper2(a, ##__VA_ARGS__);
/external/skia/resources/sksl/spirv/
DCombinedSamplerTypeDawnCompatMode.sksl13 noinline half4 helper2(sampler2D s1, sampler2D s2) {
20 helper2(aSampler, anotherSampler);
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc1538 std::unique_ptr<TraceProcessorTestHelper> helper2 = in TEST_P() local
1542 helper2->ConnectConsumer(); in TEST_P()
1543 helper2->WaitForConsumerConnect(); in TEST_P()
1544 helper2->StartTracing(trace_config); in TEST_P()
1545 ReadAndWait(helper2.get()); in TEST_P()
1546 WRITE_TRACE(helper2->trace()); in TEST_P()
1548 PrintStats(helper2.get()); in TEST_P()
1551 ValidateHasSamples(helper2.get(), pid, allocator_name(), kSamplingInterval); in TEST_P()
1552 ValidateOnlyPID(helper2.get(), pid); in TEST_P()
1553 ValidateSampleSizes(helper2.get(), pid, kSecondIterationBytes); in TEST_P()
[all …]
/external/webrtc/audio/
Daudio_receive_stream_unittest.cc347 ConfigHelper helper2(helper1.audio_mixer(), use_null_audio_processing); in TEST() local
349 auto recv_stream2 = helper2.CreateAudioReceiveStream(); in TEST()
352 EXPECT_CALL(*helper2.channel_receive(), StartPlayout()).Times(1); in TEST()
354 EXPECT_CALL(*helper2.channel_receive(), StopPlayout()).Times(1); in TEST()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_stream_sequencer_buffer_test.cc147 QuicStreamSequencerBufferPeer helper2(&buffer2); in TEST_F() local
151 EXPECT_EQ(2, helper2.IntervalSize()); in TEST_F()
152 EXPECT_EQ(0u, helper2.ReadableBytes()); in TEST_F()
153 EXPECT_EQ(1u, helper2.bytes_received().Size()); in TEST_F()
154 EXPECT_EQ(800u, helper2.bytes_received().begin()->min()); in TEST_F()
155 EXPECT_EQ(1824u, helper2.bytes_received().begin()->max()); in TEST_F()
156 EXPECT_TRUE(helper2.CheckBufferInvariants()); in TEST_F()
157 EXPECT_TRUE(helper2.IsBufferAllocated()); in TEST_F()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java1845 Helper helper2 = helperCaptor.getValue(); in idleTimeoutAndReconnect() local
1852 helper2.updateBalancingState(CONNECTING, mockPicker); in idleTimeoutAndReconnect()
1894 Helper helper2 = helperCaptor.getValue(); in idleMode_resetsDelayedTransportPicker() local
1897 Subchannel subchannel = helper2.createSubchannel(addressGroup, Attributes.EMPTY); in idleMode_resetsDelayedTransportPicker()
1908 helper2.updateBalancingState(READY, mockPicker); in idleMode_resetsDelayedTransportPicker()
1962 Helper helper2 = helperCaptor.getValue(); in enterIdle_exitsIdleIfDelayedStreamPending() local
1965 Subchannel subchannel = helper2.createSubchannel(addressGroup, Attributes.EMPTY); in enterIdle_exitsIdleIfDelayedStreamPending()
1976 helper2.updateBalancingState(READY, mockPicker); in enterIdle_exitsIdleIfDelayedStreamPending()
/external/cronet/net/dns/
Ddns_transaction_unittest.cc1427 TransactionHelper helper2(ERR_NAME_NOT_RESOLVED); in TEST_F() local
1428 helper2.StartTransaction(transaction_factory_.get(), "x.", in TEST_F()
1431 helper2.RunUntilComplete(); in TEST_F()
1487 TransactionHelper helper2(ERR_NAME_NOT_RESOLVED); in TEST_F() local
1488 helper2.StartTransaction(transaction_factory_.get(), "x", in TEST_F()
1491 helper2.RunUntilComplete(); in TEST_F()