Loading cmds/statsd/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ cc_test { "tests/anomaly/AnomalyTracker_test.cpp", "tests/ConfigManager_test.cpp", "tests/external/puller_util_test.cpp", "tests/external/StatsPuller_test.cpp", "tests/indexed_priority_queue_test.cpp", "tests/LogEntryMatcher_test.cpp", "tests/LogEvent_test.cpp", Loading cmds/statsd/src/StatsService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -704,7 +704,7 @@ status_t StatsService::cmd_log_app_breadcrumb(int out, const Vector<String8>& ar status_t StatsService::cmd_print_pulled_metrics(int out, const Vector<String8>& args) { int s = atoi(args[1].c_str()); vector<shared_ptr<LogEvent> > stats; if (mPullerManager->Pull(s, getElapsedRealtimeNs(), &stats)) { if (mPullerManager->Pull(s, &stats)) { for (const auto& it : stats) { dprintf(out, "Pull from %d: %s\n", s, it->ToString().c_str()); } Loading cmds/statsd/src/external/PowerStatsPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ namespace statsd { class PowerStatsPuller : public StatsPuller { public: PowerStatsPuller(); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading cmds/statsd/src/external/ResourceHealthManagerPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ namespace statsd { class ResourceHealthManagerPuller : public StatsPuller { public: explicit ResourceHealthManagerPuller(int tagId); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading cmds/statsd/src/external/ResourceThermalManagerPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ namespace statsd { class ResourceThermalManagerPuller : public StatsPuller { public: ResourceThermalManagerPuller(); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading Loading
cmds/statsd/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ cc_test { "tests/anomaly/AnomalyTracker_test.cpp", "tests/ConfigManager_test.cpp", "tests/external/puller_util_test.cpp", "tests/external/StatsPuller_test.cpp", "tests/indexed_priority_queue_test.cpp", "tests/LogEntryMatcher_test.cpp", "tests/LogEvent_test.cpp", Loading
cmds/statsd/src/StatsService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -704,7 +704,7 @@ status_t StatsService::cmd_log_app_breadcrumb(int out, const Vector<String8>& ar status_t StatsService::cmd_print_pulled_metrics(int out, const Vector<String8>& args) { int s = atoi(args[1].c_str()); vector<shared_ptr<LogEvent> > stats; if (mPullerManager->Pull(s, getElapsedRealtimeNs(), &stats)) { if (mPullerManager->Pull(s, &stats)) { for (const auto& it : stats) { dprintf(out, "Pull from %d: %s\n", s, it->ToString().c_str()); } Loading
cmds/statsd/src/external/PowerStatsPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ namespace statsd { class PowerStatsPuller : public StatsPuller { public: PowerStatsPuller(); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading
cmds/statsd/src/external/ResourceHealthManagerPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ namespace statsd { class ResourceHealthManagerPuller : public StatsPuller { public: explicit ResourceHealthManagerPuller(int tagId); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading
cmds/statsd/src/external/ResourceThermalManagerPuller.h +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ namespace statsd { class ResourceThermalManagerPuller : public StatsPuller { public: ResourceThermalManagerPuller(); private: bool PullInternal(vector<std::shared_ptr<LogEvent>>* data) override; }; Loading