Loading services/mediametrics/statsd_audiopolicy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiopolicy(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioPolicyData metrics_proto; ::android::stats::mediametrics_message::AudioPolicyData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading services/mediametrics/statsd_audiorecord.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ #include "MediaMetricsService.h" #include "StringUtils.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiorecord(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioRecordData metrics_proto; ::android::stats::mediametrics_message::AudioRecordData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading services/mediametrics/statsd_audiothread.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiothread(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioThreadData metrics_proto; ::android::stats::mediametrics_message::AudioThreadData metrics_proto; #define MM_PREFIX "android.media.audiothread." Loading services/mediametrics/statsd_audiotrack.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ #include "MediaMetricsService.h" #include "StringUtils.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -51,7 +51,7 @@ bool statsd_audiotrack(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioTrackData metrics_proto; ::android::stats::mediametrics_message::AudioTrackData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading services/mediametrics/statsd_extractor.cpp +8 −8 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_extractor(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::ExtractorData metrics_proto; ::android::stats::mediametrics_message::ExtractorData metrics_proto; std::string format; if (item->getString("android.media.mediaextractor.fmt", &format)) { Loading @@ -68,17 +68,17 @@ bool statsd_extractor(const std::shared_ptr<const mediametrics::Item>& item, } std::string entry_point_string; stats::mediametrics::ExtractorData::EntryPoint entry_point = stats::mediametrics::ExtractorData_EntryPoint_OTHER; stats::mediametrics_message::ExtractorData::EntryPoint entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; if (item->getString("android.media.mediaextractor.entry", &entry_point_string)) { if (entry_point_string == "sdk") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_SDK; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_SDK; } else if (entry_point_string == "ndk-with-jvm") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_NDK_WITH_JVM; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_WITH_JVM; } else if (entry_point_string == "ndk-no-jvm") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_NDK_NO_JVM; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_NO_JVM; } else { entry_point = stats::mediametrics::ExtractorData_EntryPoint_OTHER; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; } metrics_proto.set_entry_point(entry_point); } Loading Loading
services/mediametrics/statsd_audiopolicy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiopolicy(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioPolicyData metrics_proto; ::android::stats::mediametrics_message::AudioPolicyData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading
services/mediametrics/statsd_audiorecord.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ #include "MediaMetricsService.h" #include "StringUtils.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiorecord(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioRecordData metrics_proto; ::android::stats::mediametrics_message::AudioRecordData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading
services/mediametrics/statsd_audiothread.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_audiothread(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioThreadData metrics_proto; ::android::stats::mediametrics_message::AudioThreadData metrics_proto; #define MM_PREFIX "android.media.audiothread." Loading
services/mediametrics/statsd_audiotrack.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ #include "MediaMetricsService.h" #include "StringUtils.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -51,7 +51,7 @@ bool statsd_audiotrack(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::AudioTrackData metrics_proto; ::android::stats::mediametrics_message::AudioTrackData metrics_proto; // flesh out the protobuf we'll hand off with our data // Loading
services/mediametrics/statsd_extractor.cpp +8 −8 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ #include <statslog.h> #include "MediaMetricsService.h" #include "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.pb.h" #include "frameworks/proto_logging/stats/message/mediametrics_message.pb.h" #include "iface_statsd.h" namespace android { Loading @@ -50,7 +50,7 @@ bool statsd_extractor(const std::shared_ptr<const mediametrics::Item>& item, // the rest into our own proto // ::android::stats::mediametrics::ExtractorData metrics_proto; ::android::stats::mediametrics_message::ExtractorData metrics_proto; std::string format; if (item->getString("android.media.mediaextractor.fmt", &format)) { Loading @@ -68,17 +68,17 @@ bool statsd_extractor(const std::shared_ptr<const mediametrics::Item>& item, } std::string entry_point_string; stats::mediametrics::ExtractorData::EntryPoint entry_point = stats::mediametrics::ExtractorData_EntryPoint_OTHER; stats::mediametrics_message::ExtractorData::EntryPoint entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; if (item->getString("android.media.mediaextractor.entry", &entry_point_string)) { if (entry_point_string == "sdk") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_SDK; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_SDK; } else if (entry_point_string == "ndk-with-jvm") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_NDK_WITH_JVM; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_WITH_JVM; } else if (entry_point_string == "ndk-no-jvm") { entry_point = stats::mediametrics::ExtractorData_EntryPoint_NDK_NO_JVM; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_NO_JVM; } else { entry_point = stats::mediametrics::ExtractorData_EntryPoint_OTHER; entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; } metrics_proto.set_entry_point(entry_point); } Loading