Home
last modified time | relevance | path

Searched refs:MetricService (Results 1 – 11 of 11) sorted by relevance

/external/pigweed/pw_metric/py/
Dmetric_parser_test.py46 self.rpcs.pw.metric.proto.MetricService = mock.Mock()
47 self.rpcs.pw.metric.proto.MetricService.Get = mock.Mock()
48 self.rpcs.pw.metric.proto.MetricService.Get.return_value = mock.Mock()
49 self.rpcs.pw.metric.proto.MetricService.Get.return_value.status = (
80 self.rpcs.pw.metric.proto.MetricService.Get.return_value.status = (
92 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [
116 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [
140 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [
165 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [
197 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [
[all …]
/external/pigweed/pw_metric/
Dmetric_service_pwpb_test.cc29 PW_PWPB_TEST_METHOD_CONTEXT(MetricService, Get, 4, 256)
77 TEST(MetricService, EmptyGroupAndNoMetrics) { in TEST() argument
83 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST()
93 TEST(MetricService, OneGroupOneMetric) { in TEST() argument
100 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST()
113 TEST(MetricService, OneGroupFiveMetrics) { in TEST() argument
124 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST()
141 TEST(MetricService, NestedGroupFiveMetrics) { in TEST() argument
156 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST()
172 TEST(MetricService, NestedGroupsWithBatches) { in TEST() argument
[all …]
Dmetric_service_nanopb_test.cc25 PW_NANOPB_TEST_METHOD_CONTEXT(MetricService, Get, 4, 256)
27 TEST(MetricService, EmptyGroupAndNoMetrics) { in TEST() argument
41 TEST(MetricService, FlatMetricsNoGroupsOneResponseOnly) { in TEST() argument
61 TEST(MetricService, NestedGroupsButOnlyOneBatch) { in TEST() argument
86 TEST(MetricService, NestedGroupsWithBatches) { in TEST() argument
153 TEST(MetricService, TokenPaths) { in TEST() argument
Dmetric_service_nanopb.cc32 MetricService::ServerWriter<pw_metric_proto_MetricResponse>& in NanopbMetricWriter()
88 MetricService::ServerWriter<pw_metric_proto_MetricResponse>& response_writer_;
93 void MetricService::Get( in Get()
Dmetric_service_pwpb.cc94 void MetricService::Get(ConstByteSpan /*request*/, in Get()
Ddocs.rst642 The metrics are fetched by calling the ``MetricService.Get`` RPC method, which
665 To expose a ``MetricService`` in your application, do the following:
670 2. Create an instance of ``pw::metric::MetricService``.
690 pw::metric::MetricService metric_service(
717 **MetricService::Get is a synchronous RPC method**
719 Calls to is ``MetricService::Get`` are blocking and will send all metrics
/external/pigweed/pw_metric/public/pw_metric/
Dmetric_service_nanopb.h34 class MetricService final
35 : public proto::pw_rpc::nanopb::MetricService::Service<MetricService> {
37 MetricService(const IntrusiveList<Metric>& metrics, in MetricService() function
Dmetric_service_pwpb.h36 class MetricService final
37 : public proto::pw_rpc::raw::MetricService::Service<MetricService> {
39 MetricService(const IntrusiveList<Metric>& metrics, in MetricService() function
/external/pigweed/pw_system/
Dinit.cc35 metric::MetricService metric_service(metric::global_metrics,
/external/pigweed/pw_metric/py/pw_metric/
Dmetric_parser.py56 stream_response = rpcs.pw.metric.proto.MetricService.Get(
/external/pigweed/pw_metric/pw_metric_proto/
Dmetric_service.proto68 service MetricService { service