Home
last modified time | relevance | path

Searched refs:addReportedDurations (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionRecordsTest.cpp69 TEST_F(SessionRecordsTest, addReportedDurations) { in TEST_F() argument
70 mRecords->addReportedDurations(fakeWorkDurations({3, 4, 3, 2}), MS_TO_NS(3)); in TEST_F()
77 mRecords->addReportedDurations(fakeWorkDurations({2, 1, 2}), MS_TO_NS(3)); in TEST_F()
84 mRecords->addReportedDurations(fakeWorkDurations({10, 2, 9, 8, 4, 5, 7, 6}), MS_TO_NS(3)); in TEST_F()
93 mRecords->addReportedDurations(fakeWorkDurations({{0, 8}, {10, 9}, {20, 8}, {30, 8}}), in TEST_F()
98 mRecords->addReportedDurations(fakeWorkDurations({{130, 8}, {230, 9}}), MS_TO_NS(10)); in TEST_F()
102 mRecords->addReportedDurations(fakeWorkDurations({{330, 8}, {430, 9}}), MS_TO_NS(10)); in TEST_F()
106 mRecords->addReportedDurations(fakeWorkDurations({{440, 8}, {450, 9}}), MS_TO_NS(10)); in TEST_F()
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionRecords.h46 void addReportedDurations(const std::vector<WorkDuration> &actualDurationsNs,
DSessionRecords.cpp35 void SessionRecords::addReportedDurations(const std::vector<WorkDuration> &actualDurationsNs, in addReportedDurations() function in aidl::google::hardware::power::impl::pixel::SessionRecords
DPowerHintSession.cpp388 mSessionRecords->addReportedDurations(actualDurations, mDescriptor->targetNs.count()); in reportActualWorkDuration()