Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7747d37c authored by tsaichristine's avatar tsaichristine
Browse files

(Part 1) Use new socket schema with statsd tests

Moving statsd tests to the new socket schema.

Note: When initializing LogEvents with constructor
LogEvent::LogEvent(int32_t uid, int32_t pid), make sure to use uid of 0
and pid of 0 for LogEvents that will flow from StatsLogProcessor to
MetricsManager to MetricProducer. Otherwise, these LogEvents will not
have an allowed log source.

Test: bit statsd_test:*
Bug: 149590301
Change-Id: Ic6fba5b299da1816d690079bd445df0fc1b70995
parent e9b4b000
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -328,4 +328,3 @@ void writeExperimentIdsToProto(const std::vector<int64_t>& experimentIds, std::v
}  // namespace statsd
}  // namespace os
}  // namespace android
+241 −248

File changed.

Preview size limit exceeded, changes collapsed.

+186 −179

File changed.

Preview size limit exceeded, changes collapsed.

+417 −399

File changed.

Preview size limit exceeded, changes collapsed.

+310 −359

File changed.

Preview size limit exceeded, changes collapsed.

Loading