Merge "Move libstatssocket to shared." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb50e94e7a
@@ -63,11 +63,7 @@ cc_library_shared {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libnativehelper", // Has stable abi - should not be copied into apex.
|
"libnativehelper", // Has stable abi - should not be copied into apex.
|
||||||
"liblog", // Has a stable abi - should not be copied into apex.
|
"liblog", // Has a stable abi - should not be copied into apex.
|
||||||
],
|
|
||||||
static_libs: [
|
|
||||||
//TODO: make shared - need libstatssocket to also live in the apex.
|
|
||||||
"libstatssocket",
|
"libstatssocket",
|
||||||
"libcutils", // TODO: remove - needed by libstatssocket
|
|
||||||
],
|
],
|
||||||
//TODO: is libc++_static correct?
|
//TODO: is libc++_static correct?
|
||||||
stl: "libc++_static",
|
stl: "libc++_static",
|
||||||
|
|||||||
@@ -55,12 +55,9 @@ public class MetricsLogger {
|
|||||||
protected void saveLog(LogMaker log) {
|
protected void saveLog(LogMaker log) {
|
||||||
// TODO(b/116684537): Flag guard logging to event log and statsd socket.
|
// TODO(b/116684537): Flag guard logging to event log and statsd socket.
|
||||||
EventLogTags.writeSysuiMultiAction(log.serialize());
|
EventLogTags.writeSysuiMultiAction(log.serialize());
|
||||||
if (log.getCategory() != MetricsEvent.RESERVED_FOR_LOGBUILDER_COUNTER
|
|
||||||
&& log.getCategory() != MetricsEvent.RESERVED_FOR_LOGBUILDER_HISTOGRAM) {
|
|
||||||
FrameworkStatsLog.write(FrameworkStatsLog.KEY_VALUE_PAIRS_ATOM,
|
FrameworkStatsLog.write(FrameworkStatsLog.KEY_VALUE_PAIRS_ATOM,
|
||||||
/* UID is retrieved from statsd side */ 0, log.getEntries());
|
/* UID is retrieved from statsd side */ 0, log.getEntries());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public static final int VIEW_UNKNOWN = MetricsEvent.VIEW_UNKNOWN;
|
public static final int VIEW_UNKNOWN = MetricsEvent.VIEW_UNKNOWN;
|
||||||
public static final int LOGTAG = EventLogTags.SYSUI_MULTI_ACTION;
|
public static final int LOGTAG = EventLogTags.SYSUI_MULTI_ACTION;
|
||||||
|
|||||||
@@ -208,7 +208,6 @@ cc_library_shared {
|
|||||||
"libseccomp_policy",
|
"libseccomp_policy",
|
||||||
"libgrallocusage",
|
"libgrallocusage",
|
||||||
"libscrypt_static",
|
"libscrypt_static",
|
||||||
"libstatssocket",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
@@ -266,6 +265,7 @@ cc_library_shared {
|
|||||||
"libdl",
|
"libdl",
|
||||||
"libdl_android",
|
"libdl_android",
|
||||||
"libstatslog",
|
"libstatslog",
|
||||||
|
"libstatssocket",
|
||||||
"libtimeinstate",
|
"libtimeinstate",
|
||||||
"server_configurable_flags",
|
"server_configurable_flags",
|
||||||
"libstatspull",
|
"libstatspull",
|
||||||
|
|||||||
Reference in New Issue
Block a user