Home
last modified time | relevance | path

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

12345678910>>...39

/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/chromium-trace/catapult/devil/devil/android/
Dapk_helper_test.py139 helper = apk_helper.ApkHelper('')
141 helper.GetInstrumentationName()
145 helper = apk_helper.ApkHelper('')
147 helper.GetActivityName(), 'org.chromium.abc.MainActivity')
151 helper = apk_helper.ApkHelper('')
153 helper.GetViewActivityName(), 'org.chromium.ViewActivity')
157 helper = apk_helper.ApkHelper('')
158 all_instrumentations = helper.GetAllInstrumentations()
167 helper = apk_helper.ApkHelper('')
168 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(ApplicationProvider.getApplicationContext(), "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.cc237 TestHelper helper(&task_runner); in TEST_F() local
238 helper.StartServiceIfRequired(); in TEST_F()
246 helper.ConnectConsumer(); in TEST_F()
247 helper.WaitForConsumerConnect(); in TEST_F()
261 helper.StartTracing(trace_config); in TEST_F()
262 helper.WaitForTracingDisabled(); in TEST_F()
264 helper.ReadData(); in TEST_F()
265 helper.WaitForReadData(); in TEST_F()
267 const auto& packets = helper.trace(); in TEST_F()
280 TestHelper helper(&task_runner); in TEST_F() local
[all …]
Dend_to_end_benchmark.cc42 TestHelper helper(&task_runner); in BenchmarkProducer() local
43 helper.StartServiceIfRequired(); in BenchmarkProducer()
45 FakeProducer* producer = helper.ConnectFakeProducer(); in BenchmarkProducer()
46 helper.ConnectConsumer(); in BenchmarkProducer()
47 helper.WaitForConsumerConnect(); in BenchmarkProducer()
70 helper.StartTracing(trace_config); in BenchmarkProducer()
71 helper.WaitForProducerEnabled(); in BenchmarkProducer()
74 uint64_t service_start_ns = helper.service_thread()->GetThreadCPUTimeNs(); in BenchmarkProducer()
75 uint64_t producer_start_ns = helper.producer_thread()->GetThreadCPUTimeNs(); in BenchmarkProducer()
80 producer->ProduceEventBatch(helper.WrapTask(on_produced_and_committed)); in BenchmarkProducer()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dalias_align.ll13 %helper = alloca i8, i32 64, align 8
14 %helper.0.4x32 = bitcast i8* %helper to <4 x i32>*
15 %helper.20 = getelementptr inbounds i8, i8* %helper, i32 20
16 %helper.24 = getelementptr inbounds i8, i8* %helper, i32 24
17 store <4 x i32> zeroinitializer, <4 x i32>* %helper.0.4x32, align 8
18 %helper.20.32 = bitcast i8* %helper.20 to i32*
19 %helper.24.32 = bitcast i8* %helper.24 to i32*
20 store i32 0, i32* %helper.20.32
21 store i32 0, i32* %helper.24.32, align 8
22 %helper.20.64 = bitcast i8* %helper.20 to i64*
[all …]
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc157 std::unique_ptr<TestHelper> helper(new TestHelper(task_runner)); in GetHelper() local
158 helper->ConnectConsumer(); in GetHelper()
159 helper->WaitForConsumerConnect(); in GetHelper()
160 return helper; in GetHelper()
202 auto helper = GetHelper(&task_runner); in Trace() local
204 helper->StartTracing(trace_config); in Trace()
205 helper->WaitForTracingDisabled(20000); in Trace()
207 helper->ReadData(); in Trace()
208 helper->WaitForReadData(); in Trace()
209 return helper; in Trace()
[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/mesa3d/src/gallium/auxiliary/util/
Du_transfer_helper.c43 struct u_transfer_helper *helper = prsc->screen->transfer_helper; in handle_transfer() local
45 if (helper->vtbl->get_internal_format) { in handle_transfer()
47 helper->vtbl->get_internal_format(prsc); in handle_transfer()
52 if (helper->msaa_map && (prsc->nr_samples > 1)) in handle_transfer()
87 struct u_transfer_helper *helper = pscreen->transfer_helper; in u_transfer_helper_resource_create() local
91 if ((format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) && helper->separate_z32s8) { in u_transfer_helper_resource_create()
97 prsc = helper->vtbl->resource_create(pscreen, &t); in u_transfer_helper_resource_create()
104 stencil = helper->vtbl->resource_create(pscreen, &t); in u_transfer_helper_resource_create()
107 helper->vtbl->resource_destroy(pscreen, prsc); in u_transfer_helper_resource_create()
111 helper->vtbl->set_stencil(prsc, stencil); in u_transfer_helper_resource_create()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DClientServerTest.cs37 MockServiceHelper helper; field in Grpc.Core.Tests.ClientServerTest
44 helper = new MockServiceHelper(Host); in Init()
45 server = helper.GetServer(); in Init()
47 channel = helper.GetChannel(); in Init()
60 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in UnaryCall()
65 Assert.AreEqual("ABC", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "ABC")); in UnaryCall()
67 Assert.AreEqual("ABC", await Calls.AsyncUnaryCall(helper.CreateUnaryCall(), "ABC")); in UnaryCall()
73 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in UnaryCall_ServerHandlerThrows()
78 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc"… in UnaryCall_ServerHandlerThrows()
81 … Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUnaryCall(),… in UnaryCall_ServerHandlerThrows()
[all …]
DResponseHeadersTest.cs39 MockServiceHelper helper; field in Grpc.Core.Tests.ResponseHeadersTest
48 helper = new MockServiceHelper(); in Init()
50 server = helper.GetServer(); in Init()
52 channel = helper.GetChannel(); in Init()
67 helper.UnaryHandler = new UnaryServerMethod<string, string>(async (request, context) => in ResponseHeadersAsync_UnaryCall()
73 var call = Calls.AsyncUnaryCall(helper.CreateUnaryCall(), ""); in ResponseHeadersAsync_UnaryCall()
86helper.ClientStreamingHandler = new ClientStreamingServerMethod<string, string>(async (requestStre… in ResponseHeadersAsync_ClientStreamingCall()
92 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall()); in ResponseHeadersAsync_ClientStreamingCall()
103helper.ServerStreamingHandler = new ServerStreamingServerMethod<string, string>(async (request, re… in ResponseHeadersAsync_ServerStreamingCall()
109 var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), ""); in ResponseHeadersAsync_ServerStreamingCall()
[all …]
DContextPropagationTest.cs33 MockServiceHelper helper; field in Grpc.Core.Tests.ContextPropagationTest
40 helper = new MockServiceHelper(); in Init()
42 server = helper.GetServer(); in Init()
44 channel = helper.GetChannel(); in Init()
60 helper.UnaryHandler = new UnaryServerMethod<string, string>(async (request, context) => in PropagateCancellation()
72helper.ClientStreamingHandler = new ClientStreamingServerMethod<string, string>(async (requestStre… in PropagateCancellation()
80 await Calls.AsyncUnaryCall(helper.CreateUnaryCall(callOptions), "xyz"); in PropagateCancellation()
90 …var parentCall = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(c… in PropagateCancellation()
109 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in PropagateDeadline()
116helper.ClientStreamingHandler = new ClientStreamingServerMethod<string, string>(async (requestStre… in PropagateDeadline()
[all …]
DMarshallingErrorsTest.cs38 MockServiceHelper helper; field in Grpc.Core.Tests.MarshallingErrorsTest
65 helper = new MockServiceHelper(Host, marshaller); in Init()
66 server = helper.GetServer(); in Init()
68 channel = helper.GetChannel(); in Init()
81 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in ResponseParsingError_UnaryResponse()
86 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "REQU… in ResponseParsingError_UnaryResponse()
93helper.ServerStreamingHandler = new ServerStreamingServerMethod<string, string>(async (request, re… in ResponseParsingError_StreamingResponse()
99 … var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), "REQUEST"); in ResponseParsingError_StreamingResponse()
107 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in RequestParsingError_UnaryRequest()
112 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "UNPA… in RequestParsingError_UnaryRequest()
[all …]
DTimeoutsTest.cs36 MockServiceHelper helper; field in Grpc.Core.Tests.TimeoutsTest
43 helper = new MockServiceHelper(); in Init()
45 server = helper.GetServer(); in Init()
47 channel = helper.GetChannel(); in Init()
60 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in InfiniteDeadline()
67 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc")); in InfiniteDeadline()
70 …Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: D… in InfiniteDeadline()
78 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in DeadlineTransferredToServer()
86 … Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: clientDeadline)), "abc"); in DeadlineTransferredToServer()
92 helper.UnaryHandler = new UnaryServerMethod<string, string>(async (request, context) => in DeadlineInThePast()
[all …]
DThreadingModelTest.cs30 MockServiceHelper helper; field in Grpc.Core.Tests.ThreadingModelTest
37 helper = new MockServiceHelper(Host); in Init()
38 server = helper.GetServer(); in Init()
40 channel = helper.GetChannel(); in Init()
53 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in BlockingCallInServerHandlerDoesNotDeadlock()
59 … var response = Calls.BlockingUnaryCall(helper.CreateUnaryCall(), (recursionDepth - 1).ToString()); in BlockingCallInServerHandlerDoesNotDeadlock()
64 …Assert.AreEqual("SUCCESS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), maxRecursionDepth.ToS… in BlockingCallInServerHandlerDoesNotDeadlock()
70 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in HandlerDoesNotRunOnGrpcThread()
78 Assert.AreEqual("ABC", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "ABC")); in HandlerDoesNotRunOnGrpcThread()
84 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in ContinuationDoesNotRunOnGrpcThread()
[all …]
DUserAgentStringTest.cs36 MockServiceHelper helper; field in Grpc.Core.Tests.UserAgentStringTest
50 helper = new MockServiceHelper(Host); in DefaultUserAgentString()
51 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in DefaultUserAgentString()
60 server = helper.GetServer(); in DefaultUserAgentString()
62 channel = helper.GetChannel(); in DefaultUserAgentString()
64 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "")); in DefaultUserAgentString()
70 helper = new MockServiceHelper(Host, in ApplicationUserAgentString()
72 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in ApplicationUserAgentString()
80 server = helper.GetServer(); in ApplicationUserAgentString()
82 channel = helper.GetChannel(); in ApplicationUserAgentString()
[all …]
/external/v8/src/base/
Datomicops_internals_std.h16 namespace helper {
34 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap()
41 return std::atomic_exchange_explicit(helper::to_std_atomic(ptr), new_value, in Relaxed_AtomicExchange()
47 return increment + std::atomic_fetch_add_explicit(helper::to_std_atomic(ptr), in Relaxed_AtomicIncrement()
54 return increment + std::atomic_fetch_add_explicit(helper::to_std_atomic(ptr), in Barrier_AtomicIncrement()
62 helper::to_std_atomic(ptr), &old_value, new_value, in Acquire_CompareAndSwap()
70 helper::to_std_atomic(ptr), &old_value, new_value, in Release_CompareAndSwap()
79 helper::to_std_atomic(ptr), &old_value, new_value, in Release_CompareAndSwap()
85 std::atomic_store_explicit(helper::to_std_atomic(ptr), value, in Relaxed_Store()
90 std::atomic_store_explicit(helper::to_std_atomic(ptr), value, in Relaxed_Store()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/
DServerInterceptorTest.cs41 var helper = new MockServiceHelper(Host); in AddRequestHeaderInServerInterceptor()
45 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in AddRequestHeaderInServerInterceptor()
51 helper.ServiceDefinition = helper.ServiceDefinition.Intercept(interceptor); in AddRequestHeaderInServerInterceptor()
52 var server = helper.GetServer(); in AddRequestHeaderInServerInterceptor()
54 var channel = helper.GetChannel(); in AddRequestHeaderInServerInterceptor()
55 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "")); in AddRequestHeaderInServerInterceptor()
61 var helper = new MockServiceHelper(Host); in VerifyInterceptorOrdering()
62 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in VerifyInterceptorOrdering()
67 helper.ServiceDefinition = helper.ServiceDefinition in VerifyInterceptorOrdering()
73 var server = helper.GetServer(); in VerifyInterceptorOrdering()
[all …]
DClientInterceptorTest.cs43 var helper = new MockServiceHelper(Host); in AddRequestHeaderInClientInterceptor()
44 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in AddRequestHeaderInClientInterceptor()
50 var server = helper.GetServer(); in AddRequestHeaderInClientInterceptor()
52 var callInvoker = helper.GetChannel().Intercept(metadata => in AddRequestHeaderInClientInterceptor()
64 var helper = new MockServiceHelper(Host); in CheckInterceptorOrderInClientInterceptors()
65 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in CheckInterceptorOrderInClientInterceptors()
69 var server = helper.GetServer(); in CheckInterceptorOrderInClientInterceptors()
72 var callInvoker = helper.GetChannel().Intercept(metadata => { in CheckInterceptorOrderInClientInterceptors()
94 var helper = new MockServiceHelper(Host); in CheckNullInterceptorRegistrationFails()
95 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) => in CheckNullInterceptorRegistrationFails()
[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/v8/src/inspector/
Dv8-console.cc278 ConsoleHelper helper(info, consoleContext, m_inspector); in Clear() local
279 if (!helper.groupId()) return; in Clear()
280 m_inspector->client()->consoleClear(helper.groupId()); in Clear()
281 helper.reportCallWithDefaultArgument(ConsoleAPIType::kClear, in Clear()
286 const String16& title, const ConsoleHelper& helper, in identifierFromTitleOrStackTrace() argument
292 V8StackTraceImpl::capture(inspector->debugger(), helper.groupId(), 1); in identifierFromTitleOrStackTrace()
308 ConsoleHelper helper(info, consoleContext, m_inspector); in Count() local
309 String16 title = helper.firstArgToString(String16("default"), false); in Count()
311 title, helper, consoleContext, m_inspector); in Count()
314 helper.consoleMessageStorage()->count(helper.contextId(), identifier); in Count()
[all …]
/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 …]
/external/perfetto/test/cts/
Dheapprofd_test_cts.cc125 TestHelper helper(&task_runner); in ProfileRuntime() local
126 helper.ConnectConsumer(); in ProfileRuntime()
127 helper.WaitForConsumerConnect(); in ProfileRuntime()
143 helper.StartTracing(trace_config); in ProfileRuntime()
144 helper.WaitForTracingDisabled(4000 /*ms*/); in ProfileRuntime()
145 helper.ReadData(); in ProfileRuntime()
146 helper.WaitForReadData(); in ProfileRuntime()
148 return helper.trace(); in ProfileRuntime()
160 TestHelper helper(&task_runner); in ProfileStartup() local
161 helper.ConnectConsumer(); in ProfileStartup()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DPickFirstBalancerFactory.java52 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() argument
53 return new PickFirstBalancer(helper); in newLoadBalancer()
58 private final Helper helper; field in PickFirstBalancerFactory.PickFirstBalancer
61 PickFirstBalancer(Helper helper) { in PickFirstBalancer() argument
62 this.helper = checkNotNull(helper, "helper"); in PickFirstBalancer()
69 subchannel = helper.createSubchannel(servers, Attributes.EMPTY); in handleResolvedAddressGroups()
73 helper.updateBalancingState(CONNECTING, new Picker(PickResult.withSubchannel(subchannel))); in handleResolvedAddressGroups()
76 helper.updateSubchannelAddresses(subchannel, servers); in handleResolvedAddressGroups()
88 helper.updateBalancingState(TRANSIENT_FAILURE, new Picker(PickResult.withError(error))); in handleNameResolutionError()
118 helper.updateBalancingState(currentState, picker); in handleSubchannelState()

12345678910>>...39