Home
last modified time | relevance | path

Searched refs:TestSection (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/incidentd/tests/
Dsection_list.cpp11 class TestSection: public Section { class
13 TestSection(int id);
14 ~TestSection();
18 TestSection::TestSection(int id) in TestSection() function in android::os::incidentd::TestSection
22 TestSection::~TestSection() { in ~TestSection()
25 status_t TestSection::Execute(ReportWriter* writer) const { in Execute()
47 TestSection section1(1);
48 TestSection section2(2);
Dtest_proto.proto22 // The id of the section, written by TestSection.
25 // The id of the section, times 10, written by TestSection.
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsStoreTest.java65 if (sectionType.equals(TestSection.TYPE)) { in setup()
66 return TestSection.readXml(parser); in setup()
79 span.addSection(new TestSection(i, spanSize)); in garbageCollectOldSpans()
98 span.addSection(new TestSection(i, 42)); in reset()
134 private static class TestSection extends PowerStatsSpan.Section { class in PowerStatsStoreTest
140 TestSection(int value, int size) { in TestSection() method in PowerStatsStoreTest.TestSection
158 public static TestSection readXml(TypedXmlPullParser parser) throws XmlPullParserException { in readXml()
159 TestSection section = null; in readXml()
165 section = new TestSection(parser.getAttributeInt(null, "value"), 0); in readXml()