Home
last modified time | relevance | path

Searched refs:mIoOveruseMonitor (Results 1 – 18 of 18) 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.cpp190 ASSERT_NE(internalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
244 ASSERT_NE(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
251 ASSERT_EQ(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
DWatchdogBinderMediatorTest.cpp134 ASSERT_NE(mediator->mIoOveruseMonitor, nullptr); in TEST_F()
/packages/services/Car/cpp/watchdog/stable_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.cpp190 ASSERT_NE(internalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
244 ASSERT_NE(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
251 ASSERT_EQ(mWatchdogInternalHandler->mIoOveruseMonitor, nullptr); in TEST_F()
DWatchdogBinderMediatorTest.cpp134 ASSERT_NE(mediator->mIoOveruseMonitor, nullptr); in TEST_F()
/packages/services/Car/cpp/watchdog/stable_server/src/
DWatchdogBinderMediator.cpp91 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogBinderMediator()
101 mIoOveruseMonitor); in WatchdogBinderMediator()
106 if (mWatchdogProcessService == nullptr || mIoOveruseMonitor == nullptr || in init()
113 if (mIoOveruseMonitor == nullptr) { in init()
186 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
201 if (const auto result = mIoOveruseMonitor->removeIoOveruseListener(listener); !result.ok()) { in removeResourceOveruseListener()
222 if (const auto result = mIoOveruseMonitor->getIoOveruseStats(&ioOveruseStats); !result.ok()) { in getResourceOveruseStats()
DWatchdogInternalHandler.cpp98 if (mWatchdogPerfService == nullptr || mIoOveruseMonitor == nullptr || in init()
105 if (mIoOveruseMonitor == nullptr) { in init()
162 if (auto result = mIoOveruseMonitor->resetIoOveruseStats(packageNames); !result.ok()) { in dump()
187 if (auto result = mIoOveruseMonitor->onDump(fd); !result.ok()) { in dumpServices()
216 !mWatchdogPerfService->dumpHelpText(fd) || !mIoOveruseMonitor->dumpHelpText(fd)) { in dumpHelpText()
224 if (mIoOveruseMonitor->isInitialized()) { in checkAndRegisterIoOveruseMonitor()
227 if (const auto result = mWatchdogPerfService->registerDataProcessor(mIoOveruseMonitor); in checkAndRegisterIoOveruseMonitor()
407 mIoOveruseMonitor->removeStatsForUser(userId); in handleUserStateChange()
427 if (auto result = mIoOveruseMonitor->updateResourceOveruseConfigurations(configs); in updateResourceOveruseConfigurations()
442 if (auto result = mIoOveruseMonitor->getResourceOveruseConfigurations(configs); !result.ok()) { in getResourceOveruseConfigurations()
[all …]
DServiceManager.h43 mIoOveruseMonitor(nullptr), in ServiceManager()
78 return mIoOveruseMonitor; in getIoOveruseMonitor()
94 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DServiceManager.cpp70 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mWatchdogServiceHelper); in startServices()
74 mWatchdogServiceHelper, mIoOveruseMonitor); in startServices()
103 mIoOveruseMonitor.clear(); in terminateServices()
DWatchdogInternalHandler.h70 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogInternalHandler()
132 mIoOveruseMonitor.clear(); in terminate()
150 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DWatchdogBinderMediator.h130 mIoOveruseMonitor.clear(); in terminate()
139 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.cpp91 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogBinderMediator()
101 mIoOveruseMonitor); in WatchdogBinderMediator()
106 if (mWatchdogProcessService == nullptr || mIoOveruseMonitor == nullptr || in init()
113 if (mIoOveruseMonitor == nullptr) { in init()
186 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
201 if (const auto result = mIoOveruseMonitor->removeIoOveruseListener(listener); !result.ok()) { in removeResourceOveruseListener()
222 if (const auto result = mIoOveruseMonitor->getIoOveruseStats(&ioOveruseStats); !result.ok()) { in getResourceOveruseStats()
DWatchdogInternalHandler.cpp98 if (mWatchdogPerfService == nullptr || mIoOveruseMonitor == nullptr || in init()
105 if (mIoOveruseMonitor == nullptr) { in init()
162 if (auto result = mIoOveruseMonitor->resetIoOveruseStats(packageNames); !result.ok()) { in dump()
187 if (auto result = mIoOveruseMonitor->onDump(fd); !result.ok()) { in dumpServices()
216 !mWatchdogPerfService->dumpHelpText(fd) || !mIoOveruseMonitor->dumpHelpText(fd)) { in dumpHelpText()
224 if (mIoOveruseMonitor->isInitialized()) { in checkAndRegisterIoOveruseMonitor()
227 if (const auto result = mWatchdogPerfService->registerDataProcessor(mIoOveruseMonitor); in checkAndRegisterIoOveruseMonitor()
407 mIoOveruseMonitor->removeStatsForUser(userId); in handleUserStateChange()
427 if (auto result = mIoOveruseMonitor->updateResourceOveruseConfigurations(configs); in updateResourceOveruseConfigurations()
442 if (auto result = mIoOveruseMonitor->getResourceOveruseConfigurations(configs); !result.ok()) { in getResourceOveruseConfigurations()
[all …]
DServiceManager.h43 mIoOveruseMonitor(nullptr), in ServiceManager()
78 return mIoOveruseMonitor; in getIoOveruseMonitor()
94 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DServiceManager.cpp70 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mWatchdogServiceHelper); in startServices()
74 mWatchdogServiceHelper, mIoOveruseMonitor); in startServices()
103 mIoOveruseMonitor.clear(); in terminateServices()
DWatchdogInternalHandler.h70 mIoOveruseMonitor(ioOveruseMonitor), in WatchdogInternalHandler()
132 mIoOveruseMonitor.clear(); in terminate()
150 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable
DWatchdogBinderMediator.h130 mIoOveruseMonitor.clear(); in terminate()
139 android::sp<IoOveruseMonitorInterface> mIoOveruseMonitor; variable