Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp190 mIoOveruseMonitor(ioOveruseMonitor) {} in IoOveruseMonitorPeer()
195 if (const auto result = mIoOveruseMonitor->init(); !result.ok()) { in init()
198 mIoOveruseMonitor->mMinSyncWrittenBytes = KTestMinSyncWrittenBytes; in init()
199 mIoOveruseMonitor->mPeriodicMonitorBufferSize = kTestMonitorBufferSize; in init()
200 mIoOveruseMonitor->mIoOveruseWarnPercentage = kTestIoOveruseWarnPercentage; in init()
201 mIoOveruseMonitor->mDeathRegistrationWrapper = deathRegistrationWrapper; in init()
202 mIoOveruseMonitor->mIoOveruseConfigs = ioOveruseConfigs; in init()
203 mIoOveruseMonitor->mPackageInfoResolver = packageInfoResolver; in init()
208 sp<IoOveruseMonitor> mIoOveruseMonitor; member in android::automotive::watchdog::internal::IoOveruseMonitorPeer
221 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mMockWatchdogServiceHelper); in SetUp()
[all …]
DWatchdogInternalHandlerTest.cpp182 ASSERT_NE(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
189 ASSERT_EQ(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
DWatchdogBinderMediatorTest.cpp135 ASSERT_NE(mediator->mIoOveruseMonitor, nullptr); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.cpp93 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogBinderMediator()
103 mIoOveruseMonitor); in WatchdogBinderMediator()
109 mWatchdogServiceHelper == nullptr || mIoOveruseMonitor == nullptr) { in init()
123 if (mIoOveruseMonitor == nullptr) { in init()
189 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
204 if (const auto result = mIoOveruseMonitor->removeIoOveruseListener(listener); !result.ok()) { in removeResourceOveruseListener()
225 if (const auto result = mIoOveruseMonitor->getIoOveruseStats(&ioOveruseStats); !result.ok()) { in getResourceOveruseStats()
DWatchdogInternalHandler.cpp133 if (auto result = mIoOveruseMonitor->resetIoOveruseStats(packageNames); !result.ok()) { in dump()
158 if (auto result = mIoOveruseMonitor->onDump(fd); !result.ok()) { in dumpServices()
187 !mWatchdogPerfService->dumpHelpText(fd) || !mIoOveruseMonitor->dumpHelpText(fd)) { in dumpHelpText()
195 if (mIoOveruseMonitor->isInitialized()) { in checkAndRegisterIoOveruseMonitor()
198 if (const auto result = mWatchdogPerfService->registerDataProcessor(mIoOveruseMonitor); in checkAndRegisterIoOveruseMonitor()
375 mIoOveruseMonitor->removeStatsForUser(userId); in handleUserStateChange()
395 if (auto result = mIoOveruseMonitor->updateResourceOveruseConfigurations(configs); in updateResourceOveruseConfigurations()
410 if (auto result = mIoOveruseMonitor->getResourceOveruseConfigurations(configs); !result.ok()) { in getResourceOveruseConfigurations()
468 if (auto result = mIoOveruseMonitor->onTodayIoUsageStatsFetched(userPackageIoUsageStats); in onTodayIoUsageStatsFetched()
DServiceManager.h44 mIoOveruseMonitor(nullptr), in ServiceManager()
79 return mIoOveruseMonitor; in getIoOveruseMonitor()
95 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DServiceManager.cpp69 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mWatchdogServiceHelper); in startServices()
73 mWatchdogServiceHelper, mIoOveruseMonitor); in startServices()
102 mIoOveruseMonitor.clear(); in terminateServices()
DWatchdogInternalHandler.h70 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogInternalHandler()
131 mIoOveruseMonitor.clear(); in terminate()
149 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DWatchdogBinderMediator.h132 mIoOveruseMonitor.clear(); in terminate()
143 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable