Home
last modified time | relevance | path

Searched refs:onCustomCollectionDump (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DIoPerfCollectionTest.cpp424 ASSERT_RESULT_OK(mCollector->onCustomCollectionDump(dump.fd)); in checkCustomDumpContents()
537 ASSERT_RESULT_OK(mCollector->onCustomCollectionDump(customDump.fd)); in TEST_F()
540 ASSERT_RESULT_OK(mCollector->onCustomCollectionDump(-1)); in TEST_F()
603 ASSERT_RESULT_OK(mCollector->onCustomCollectionDump(customDump.fd)); in TEST_F()
606 ASSERT_RESULT_OK(mCollector->onCustomCollectionDump(-1)); in TEST_F()
H A DMockDataProcessor.h49 MOCK_METHOD(android::base::Result<void>, onCustomCollectionDump, (int), (override));
H A DWatchdogPerfServiceTest.cpp334 EXPECT_CALL(*servicePeer.mockDataProcessor, onCustomCollectionDump(customDump.fd)).Times(1); in TEST()
335 EXPECT_CALL(*servicePeer.mockDataProcessor, onCustomCollectionDump(-1)).Times(1); in TEST()
488 EXPECT_CALL(*servicePeer.mockDataProcessor, onCustomCollectionDump(-1)).Times(1); in TEST()
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DIoPerfCollection.h166 android::base::Result<void> onCustomCollectionDump(int fd) override;
H A DWatchdogPerfService.h110 virtual android::base::Result<void> onCustomCollectionDump(int fd) = 0;
H A DIoOveruseMonitor.h142 android::base::Result<void> onCustomCollectionDump([[maybe_unused]] int fd) override {
H A DWatchdogPerfService.cpp493 if (const auto result = processor->onCustomCollectionDump(fd); !result.ok()) { in endCustomCollection()
560 processor->onCustomCollectionDump(-1); in handleMessage()
H A DIoPerfCollection.cpp384 Result<void> IoPerfCollection::onCustomCollectionDump(int fd) { in onCustomCollectionDump() function in android::automotive::watchdog::IoPerfCollection