Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 25 of 752) sorted by relevance

12345678910>>...31

/external/autotest/server/cros/
Dcfm_jmidata_log_collector.py22 helper = cfm_jmidata_v3_helper.JMIDataV3Helper(log_lines)
24 'video_sent_bytes': helper.GetVideoSentBytesList,
25 'video_received_bytes': helper.GetVideoReceivedBytesList,
26 'audio_sent_bytes': helper.GetAudioSentBytesList,
27 'audio_received_bytes': helper.GetAudioReceivedBytesList,
28 'audio_received_energy_level': helper.GetAudioReceivedEnergyList,
29 'audio_sent_energy_level': helper.GetAudioSentEnergyList,
30 'framerate_received': helper.GetVideoIncomingFramerateReceivedList,
31 'framerate_sent': helper.GetVideoOutgoingFramerateSentList,
32 'framerate_decoded': helper.GetVideoIncomingFramerateDecodedList,
[all …]
/external/libvncserver/libvncserver/
Dzrlepalettehelper.c27 void zrlePaletteHelperInit(zrlePaletteHelper *helper) in zrlePaletteHelperInit() argument
29 memset(helper->palette, 0, sizeof(helper->palette)); in zrlePaletteHelperInit()
30 memset(helper->index, 255, sizeof(helper->index)); in zrlePaletteHelperInit()
31 memset(helper->key, 0, sizeof(helper->key)); in zrlePaletteHelperInit()
32 helper->size = 0; in zrlePaletteHelperInit()
35 void zrlePaletteHelperInsert(zrlePaletteHelper *helper, zrle_U32 pix) in zrlePaletteHelperInsert() argument
37 if (helper->size < ZRLE_PALETTE_MAX_SIZE) { in zrlePaletteHelperInsert()
40 while (helper->index[i] != 255 && helper->key[i] != pix) in zrlePaletteHelperInsert()
42 if (helper->index[i] != 255) return; in zrlePaletteHelperInsert()
44 helper->index[i] = helper->size; in zrlePaletteHelperInsert()
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dapk_helper_test.py132 helper = apk_helper.ApkHelper('')
134 helper.GetInstrumentationName()
138 helper = apk_helper.ApkHelper('')
140 helper.GetActivityName(), 'org.chromium.abc.MainActivity')
144 helper = apk_helper.ApkHelper('')
146 helper.GetViewActivityName(), 'org.chromium.ViewActivity')
150 helper = apk_helper.ApkHelper('')
151 all_instrumentations = helper.GetAllInstrumentations()
160 helper = apk_helper.ApkHelper('')
161 self.assertEquals(helper.GetPackageName(), 'org.chromium.abc')
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java20 private TestOpenHelper helper; field in SQLiteOpenHelperTest
24 helper = new TestOpenHelper(RuntimeEnvironment.application, "path", null, 1); in setUp()
29 helper.close(); in tearDown()
34 TestOpenHelper helper = new TestOpenHelper(null, null, null, 1); in testConstructorWithNullPathShouldCreateInMemoryDatabase() local
35 SQLiteDatabase database = helper.getReadableDatabase(); in testConstructorWithNullPathShouldCreateInMemoryDatabase()
36 assertDatabaseOpened(database, helper); in testConstructorWithNullPathShouldCreateInMemoryDatabase()
37 assertInitialDB(database, helper); in testConstructorWithNullPathShouldCreateInMemoryDatabase()
42 SQLiteDatabase database = helper.getReadableDatabase(); in testInitialGetReadableDatabase()
43 assertInitialDB(database, helper); in testInitialGetReadableDatabase()
48 helper.getReadableDatabase(); in testSubsequentGetReadableDatabase()
[all …]
/external/perfetto/test/
Dend_to_end_integrationtest.cc60 TestHelper helper(&task_runner); in TEST() local
61 helper.StartServiceIfRequired(); in TEST()
69 helper.ConnectConsumer(); in TEST()
70 helper.WaitForConsumerConnect(); in TEST()
84 helper.StartTracing(trace_config); in TEST()
85 helper.WaitForTracingDisabled(); in TEST()
87 helper.ReadData(); in TEST()
88 helper.WaitForReadData(); in TEST()
90 const auto& packets = helper.trace(); in TEST()
103 TestHelper helper(&task_runner); in TEST() local
[all …]
Dend_to_end_benchmark.cc42 TestHelper helper(&task_runner); in BenchmarkCommon() local
43 helper.StartServiceIfRequired(); in BenchmarkCommon()
45 FakeProducer* producer = helper.ConnectFakeProducer(); in BenchmarkCommon()
46 helper.ConnectConsumer(); in BenchmarkCommon()
47 helper.WaitForConsumerConnect(); in BenchmarkCommon()
70 helper.StartTracing(trace_config); in BenchmarkCommon()
71 helper.WaitForProducerEnabled(); in BenchmarkCommon()
74 uint64_t service_start_ns = helper.service_thread()->GetThreadCPUTimeNs(); in BenchmarkCommon()
75 uint64_t producer_start_ns = helper.producer_thread()->GetThreadCPUTimeNs(); in BenchmarkCommon()
80 producer->ProduceEventBatch(helper.WrapTask(on_produced_and_committed)); in BenchmarkCommon()
[all …]
Dend_to_end_shared_memory_fuzzer.cc139 TestHelper helper(&task_runner); in FuzzSharedMemory() local
140 helper.StartServiceIfRequired(); in FuzzSharedMemory()
145 helper.WrapTask(task_runner.CreateCheckpoint( in FuzzSharedMemory()
148 helper.ConnectConsumer(); in FuzzSharedMemory()
149 helper.WaitForConsumerConnect(); in FuzzSharedMemory()
158 helper.StartTracing(trace_config); in FuzzSharedMemory()
161 helper.ReadData(); in FuzzSharedMemory()
162 helper.WaitForReadData(); in FuzzSharedMemory()
/external/libmojo/mojo/edk/test/
Dmultiprocess_test_helper_unittest.cc52 MultiprocessTestHelper helper; in TEST_F() local
53 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
55 helper.StartChild("RunChild"); in TEST_F()
56 EXPECT_EQ(123, helper.WaitForChildShutdown()); in TEST_F()
65 MultiprocessTestHelper helper; in TEST_F() local
66 helper.StartChild("NoSuchTestChildMain"); in TEST_F()
67 int result = helper.WaitForChildShutdown(); in TEST_F()
72 MultiprocessTestHelper helper; in TEST_F() local
73 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
74 helper.StartChild("PassedChannel"); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops_common.h154 ReductionHelper helper;
155 OP_REQUIRES_OK(ctx, helper.Simplify(data, axes, keep_dims_));
156 CHECK_GE(helper.ndims(), 0);
158 if (helper.ndims() == 0 ||
159 (helper.ndims() == 1 && !helper.reduce_first_axis())) {
164 if (!out.CopyFrom(data, helper.out_shape())) {
180 helper.out_reshape(), &tmp_out, alloc_attr));
195 } else if ((helper.ndims() == 1) && helper.reduce_first_axis()) {
197 Functor::Reduce(ctx, helper.out<T, 0>(&tmp_out), helper.in<T, 1>(data),
199 } else if ((helper.ndims() == 2) && helper.reduce_first_axis()) {
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteOpenHelperTest.java21 private TestOpenHelper helper; field in SQLiteOpenHelperTest
25 helper = new TestOpenHelper(null, "path", null, 1); in setUp()
30 SQLiteDatabase database = helper.getReadableDatabase(); in testInitialGetReadableDatabase()
36 SQLiteDatabase database = helper.getReadableDatabase(); in testSubsequentGetReadableDatabase()
37 helper.reset(); in testSubsequentGetReadableDatabase()
38 database = helper.getReadableDatabase(); in testSubsequentGetReadableDatabase()
45 SQLiteDatabase db1 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase()
46 SQLiteDatabase db2 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase()
53 SQLiteDatabase database = helper.getWritableDatabase(); in testInitialGetWritableDatabase()
59 helper.getWritableDatabase(); in testSubsequentGetWritableDatabase()
[all …]
/external/libcxxabi/test/
Dtest_guard.pass.cpp25 void helper() { in helper() function
34 helper(); in test()
36 helper(); in test()
50 void helper() { in helper() function
58 helper(); in test()
60 helper(); in test()
94 void helper() { in helper() function
99 std::thread t1(helper), t2(helper); in test()
124 void helper() { in helper() function
131 std::thread t(helper); in test()
/external/webrtc/webrtc/audio/
Daudio_receive_stream_unittest.cc221 ConfigHelper helper; in TEST() local
223 helper.congestion_controller(), helper.config(), helper.audio_state()); in TEST()
238 ConfigHelper helper; in TEST() local
239 helper.config().combined_audio_video_bwe = true; in TEST()
240 helper.SetupMockForBweFeedback(false); in TEST()
242 helper.congestion_controller(), helper.config(), helper.audio_state()); in TEST()
251 EXPECT_CALL(*helper.remote_bitrate_estimator(), in TEST()
261 ConfigHelper helper; in TEST() local
262 helper.config().combined_audio_video_bwe = true; in TEST()
263 helper.config().rtp.transport_cc = true; in TEST()
[all …]
Daudio_send_stream_unittest.cc186 ConfigHelper helper; in TEST() local
187 internal::AudioSendStream send_stream(helper.config(), helper.audio_state(), in TEST()
188 helper.congestion_controller()); in TEST()
192 ConfigHelper helper; in TEST() local
193 internal::AudioSendStream send_stream(helper.config(), helper.audio_state(), in TEST()
194 helper.congestion_controller()); in TEST()
195 helper.SetupMockForSendTelephoneEvent(); in TEST()
201 ConfigHelper helper; in TEST() local
202 internal::AudioSendStream send_stream(helper.config(), helper.audio_state(), in TEST()
203 helper.congestion_controller()); in TEST()
[all …]
Daudio_state_unittest.cc39 ConfigHelper helper; in TEST() local
41 AudioState::Create(helper.config()); in TEST()
46 ConfigHelper helper; in TEST() local
48 new internal::AudioState(helper.config())); in TEST()
52 ConfigHelper helper; in TEST() local
54 new internal::AudioState(helper.config())); in TEST()
55 EXPECT_EQ(audio_state->voice_engine(), &helper.voice_engine()); in TEST()
59 ConfigHelper helper; in TEST() local
61 new internal::AudioState(helper.config())); in TEST()
/external/v8/src/inspector/
Dv8-console.cc339 ConsoleHelper helper(info); in clearCallback() local
340 InspectedContext* context = helper.ensureInspectedContext(); in clearCallback()
343 if (V8InspectorClient* client = helper.ensureDebuggerClient()) in clearCallback()
345 helper.reportCallWithDefaultArgument(ConsoleAPIType::kClear, in clearCallback()
350 ConsoleHelper helper(info); in countCallback() local
352 String16 title = helper.firstArgToString(String16()); in countCallback()
366 if (!helper.privateMap("V8Console#countMap").ToLocal(&countMap)) return; in countCallback()
367 int32_t count = helper.getIntFromMap(countMap, identifier, 0) + 1; in countCallback()
368 helper.setIntOnMap(countMap, identifier, count); in countCallback()
370 helper.reportCallWithArgument( in countCallback()
[all …]
/external/iptables/extensions/
Dlibxt_helper.t2 -m helper --helper ftp;=;OK
4 # ERROR: should fail: iptables -A INPUT -m helper --helper wrong
5 # -m helper --helper wrong;;FAIL
6 -m helper;;FAIL
/external/webrtc/tools/python_charts/webrtc/
Dmain.py98 helper = webrtc.data_helper.DataHelper(data_list, table_description,
102 description, data = helper.CreateConfigurationTable(test_configurations)
106 description, data = helper.CreateData('ssim')
109 json_ssim_data = ssim.ToJSon(helper.GetOrdering(description))
111 description, data = helper.CreateData('psnr')
114 json_psnr_data = psnr.ToJSon(helper.GetOrdering(description))
116 description, data = helper.CreateData('packets_dropped')
119 json_packet_loss_data = packet_loss.ToJSon(helper.GetOrdering(description))
121 description, data = helper.CreateData('bit_rate')
136 json_bit_rate_data = bit_rate.ToJSon(helper.GetOrdering(description))
Ddata_helper_test.py44 helper = webrtc.data_helper.DataHelper(self.all_data, self.type_description,
46 description, data_table = helper.CreateData('ssim')
68 description, data_table = helper.CreateData('psnr')
89 helper = webrtc.data_helper.DataHelper(self.all_data, self.type_description,
91 description, _ = helper.CreateData('ssim')
92 columns = helper.GetOrdering(description)
101 helper = webrtc.data_helper.DataHelper(self.all_data, self.type_description,
103 description, data = helper.CreateConfigurationTable(self.configurations)
/external/perfetto/test/cts/
Dend_to_end_integrationtest_cts.cc48 TestHelper helper(&task_runner); in TestMockProducer() local
49 helper.ConnectConsumer(); in TestMockProducer()
50 helper.WaitForConsumerConnect(); in TestMockProducer()
68 helper.StartTracing(trace_config); in TestMockProducer()
69 helper.WaitForTracingDisabled(); in TestMockProducer()
71 helper.ReadData(); in TestMockProducer()
72 helper.WaitForReadData(); in TestMockProducer()
74 const auto& packets = helper.trace(); in TestMockProducer()
/external/llvm/test/Transforms/SimplifyCFG/
Dpreserve-branchweights.ll4 declare void @helper(i32)
17 call void @helper(i32 0)
21 call void @helper(i32 1)
39 call void @helper(i32 0)
43 call void @helper(i32 1)
59 call void @helper(i32 0)
63 call void @helper(i32 1)
78 call void @helper(i32 0)
82 call void @helper(i32 1)
97 call void @helper(i32 0)
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red_unittest.cc216 MockEncodeHelper helper; in TEST_F() local
218 helper.info_.encoded_bytes = 17; in TEST_F()
219 helper.info_.encoded_timestamp = timestamp_; in TEST_F()
222 .WillRepeatedly(Invoke(&helper, &MockEncodeHelper::Encode)); in TEST_F()
231 helper.info_.encoded_timestamp = timestamp_; in TEST_F()
243 MockEncodeHelper helper; in TEST_F() local
245 helper.info_.encoded_bytes = kPayloadLenBytes; in TEST_F()
246 helper.write_payload_ = true; in TEST_F()
251 helper.payload_ = payload; in TEST_F()
253 .WillRepeatedly(Invoke(&helper, &MockEncodeHelper::Encode)); in TEST_F()
[all …]
/external/skia/tests/
DGrMeshTest.cpp140 run_test("setNonIndexedNonInstanced", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
149 auto vbuff = helper->makeVertexBuffer(expandedVertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
155 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
159 run_test("setIndexed", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
160 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
176 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 run_test("setIndexedPatterned", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
184 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
186 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skqp/tests/
DGrMeshTest.cpp140 run_test("setNonIndexedNonInstanced", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
149 auto vbuff = helper->makeVertexBuffer(expandedVertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
155 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
159 run_test("setIndexed", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
160 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
176 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 run_test("setIndexedPatterned", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
184 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
186 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSimpleSignerInfoVerifierBuilder.java20 private Helper helper = new Helper(); field in JcaSimpleSignerInfoVerifierBuilder
24 this.helper = new ProviderHelper(provider); in setProvider()
31 this.helper = new NamedHelper(providerName); in setProvider()
39 …ew DefaultSignatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(certHolder), in build()
45 …ew DefaultSignatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(certificate),… in build()
51 … new DefaultSignatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(pubKey), he… in build()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java138 private JcaJceHelper helper; field in OperatorHelper
140 OperatorHelper(JcaJceHelper helper) in OperatorHelper() argument
142 this.helper = helper; in OperatorHelper()
177 return helper.createCipher(cipherName); in createAsymmetricWrapper()
186 return helper.createCipher("RSA/NONE/PKCS1Padding"); in createAsymmetricWrapper()
197 return helper.createCipher(algorithm.getId()); in createAsymmetricWrapper()
217 return helper.createCipher(cipherName); in createSymmetricWrapper()
224 return helper.createCipher(algorithm.getId()); in createSymmetricWrapper()
244 parameters = helper.createAlgorithmParameters(cipherAlgId.getAlgorithm().getId()); in createAlgorithmParameters()
274 dig = helper.createDigest(MessageDigestUtils.getDigestName(digAlgId.getAlgorithm())); in createDigest()
[all …]

12345678910>>...31