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

Commit 547a3293 authored by Tej Singh's avatar Tej Singh Committed by Automerger Merge Worker
Browse files

Merge "Statsd test mapping" into rvc-dev am: e715d2f0 am: aa492edb am:...

Merge "Statsd test mapping" into rvc-dev am: e715d2f0 am: aa492edb am: d9302661 am: 61e02504

Change-Id: Ifcac7b2cd9a15148e8961756d0ec13fe71bd175a
parents 3cd911c3 61e02504
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -301,6 +301,8 @@ cc_test {
        "-Wno-unused-parameter",
    ],

    require_root: true,

    srcs: [
        // atom_field_options.proto needs field_options.proto, but that is
        // not included in libprotobuf-cpp-lite, so compile it here.
@@ -373,10 +375,6 @@ cc_test {
        include_dirs: ["external/protobuf/src"],
    },

    shared_libs: [
        "libprotobuf-cpp-lite",
    ],

}

//#############################

cmds/statsd/AndroidTest.xml

deleted100644 → 0
+0 −26
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Config for statsd_test">
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="push" value="statsd_test->/data/nativetest/statsd_test" />
    </target_preparer>
    <option name="test-suite-tag" value="apct" />
    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/nativetest" />
        <option name="module-name" value="statsd_test" />
    </test>
</configuration>
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
{
  "presubmit" : [
    {
      "name" : "statsd_test"
    }
  ]
}
 No newline at end of file
+4 −1
Original line number Diff line number Diff line
@@ -181,12 +181,15 @@ message GaugeBucketInfo {
message GaugeMetricData {
  optional DimensionsValue dimensions_in_what = 1;

  optional DimensionsValue dimensions_in_condition = 2 [deprecated = true];
  // Currently unsupported
  repeated StateValue slice_by_state = 6;

  repeated GaugeBucketInfo bucket_info = 3;

  repeated DimensionsValue dimension_leaf_values_in_what = 4;

  optional DimensionsValue dimensions_in_condition = 2 [deprecated = true];

  repeated DimensionsValue dimension_leaf_values_in_condition = 5 [deprecated = true];
}

+1 −1
Original line number Diff line number Diff line
@@ -1564,7 +1564,7 @@ TEST(StatsLogProcessorTest, TestActivationsPersistAcrossSystemServerRestart) {

    // Trigger Activation 1 for Metric 1. Should activate on boot.
    // Trigger Activation 4 for Metric 2. Should activate immediately.
    long configAddedTimeNs = metricsManager1->mLastReportTimeNs;
    int64_t configAddedTimeNs = metricsManager1->mLastReportTimeNs;
    std::vector<int> attributionUids = {111};
    std::vector<string> attributionTags = {"App1"};
    std::unique_ptr<LogEvent> event1 = CreateAcquireWakelockEvent(
Loading