Home
last modified time | relevance | path

Searched refs:mIoOveruseMonitor (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp172 mIoOveruseMonitor(ioOveruseMonitor) {} in IoOveruseMonitorPeer()
176 if (const auto result = mIoOveruseMonitor->init(); !result.ok()) { in init()
179 mIoOveruseMonitor->mMinSyncWrittenBytes = KTestMinSyncWrittenBytes; in init()
180 mIoOveruseMonitor->mPeriodicMonitorBufferSize = kTestMonitorBufferSize; in init()
181 mIoOveruseMonitor->mIoOveruseWarnPercentage = kTestIoOveruseWarnPercentage; in init()
182 mIoOveruseMonitor->mIoOveruseConfigs = ioOveruseConfigs; in init()
183 mIoOveruseMonitor->mPackageInfoResolver = packageInfoResolver; in init()
188 sp<IoOveruseMonitor> mIoOveruseMonitor; member in android::automotive::watchdog::internal::IoOveruseMonitorPeer
199 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mMockWatchdogServiceHelper); in SetUp()
200 mIoOveruseMonitorPeer = sp<internal::IoOveruseMonitorPeer>::make(mIoOveruseMonitor); in SetUp()
[all …]
DWatchdogBinderMediatorTest.cpp84 mMediator->mIoOveruseMonitor = ioOveruseMonitor; in init()
132 ASSERT_NE(mediator->mIoOveruseMonitor, nullptr); in TEST_F()
168 EXPECT_NE(mWatchdogBinderMediator->mIoOveruseMonitor, nullptr); in TEST_F()
175 EXPECT_EQ(mWatchdogBinderMediator->mIoOveruseMonitor, nullptr); in TEST_F()
DWatchdogInternalHandlerTest.cpp148 ASSERT_NE(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
156 ASSERT_EQ(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.cpp92 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(watchdogServiceHelper); in WatchdogBinderMediator()
96 mIoOveruseMonitor); in WatchdogBinderMediator()
102 mIoOveruseMonitor == nullptr || mWatchdogInternalHandler == nullptr) { in init()
112 if (mIoOveruseMonitor == nullptr) { in init()
165 if (auto result = mIoOveruseMonitor->resetIoOveruseStats(packageNames); !result.ok()) { in dump()
198 !mWatchdogPerfService->dumpHelpText(fd) || !mIoOveruseMonitor->dumpHelpText(fd)) { in dumpHelpText()
243 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
257 if (const auto result = mIoOveruseMonitor->removeIoOveruseListener(listener); !result.ok()) { in removeResourceOveruseListener()
277 if (const auto result = mIoOveruseMonitor->getIoOveruseStats(&ioOveruseStats); !result.ok()) { in getResourceOveruseStats()
DWatchdogInternalHandler.cpp73 if (mIoOveruseMonitor->isInitialized()) { in checkAndRegisterIoOveruseMonitor()
76 if (const auto result = mWatchdogPerfService->registerDataProcessor(mIoOveruseMonitor); in checkAndRegisterIoOveruseMonitor()
237 if (const auto result = mIoOveruseMonitor->updateResourceOveruseConfigurations(configs); in updateResourceOveruseConfigurations()
252 if (const auto result = mIoOveruseMonitor->getResourceOveruseConfigurations(configs); in getResourceOveruseConfigurations()
265 if (const auto result = mIoOveruseMonitor->actionTakenOnIoOveruse(actions); !result.ok()) { in actionTakenOnResourceOveruse()
DWatchdogInternalHandler.h56 mIoOveruseMonitor(ioOveruseMonitor) {} in WatchdogInternalHandler()
103 mIoOveruseMonitor.clear(); in terminate()
116 android::sp<IIoOveruseMonitor> mIoOveruseMonitor; variable
DWatchdogBinderMediator.h107 mIoOveruseMonitor.clear(); in terminate()
120 android::sp<IIoOveruseMonitor> mIoOveruseMonitor; variable