Home
last modified time | relevance | path

Searched refs:mWatchdogServiceHelper (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DWatchdogServiceHelperTest.cpp97 mWatchdogServiceHelper = new WatchdogServiceHelper(); in SetUp()
116 mWatchdogServiceHelper.clear(); in TearDown()
135 sp<WatchdogServiceHelper> mWatchdogServiceHelper; member in android::automotive::watchdog::WatchdogServiceHelperTest
182 mWatchdogServiceHelper->terminate(); in TEST_F()
184 ASSERT_EQ(mWatchdogServiceHelper->mService, nullptr); in TEST_F()
291 Status status = mWatchdogServiceHelper->prepareProcessTermination( in TEST_F()
309 Status status = mWatchdogServiceHelper->prepareProcessTermination( in TEST_F()
322 Status status = mWatchdogServiceHelper->prepareProcessTermination( in TEST_F()
408 Status status = mWatchdogServiceHelper->latestIoOveruseStats({}); in TEST_F()
421 Status status = mWatchdogServiceHelper->latestIoOveruseStats({}); in TEST_F()
[all …]
H A DWatchdogInternalHandlerTest.cpp144 ASSERT_NE(mWatchdogInternalHandler->mWatchdogServiceHelper, nullptr); in TEST_F()
152 ASSERT_EQ(mWatchdogInternalHandler->mWatchdogServiceHelper, nullptr); in TEST_F()
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DPackageInfoResolver.cpp117 if (mWatchdogServiceHelper != nullptr) { in initWatchdogServiceHelper()
120 mWatchdogServiceHelper = watchdogServiceHelper; in initWatchdogServiceHelper()
164 if (missingUids.empty() || mWatchdogServiceHelper == nullptr) { in updatePackageInfos()
170 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos()
H A DPackageInfoResolver.h107 mWatchdogServiceHelper.clear(); in ~PackageInfoResolver()
126 mWatchdogServiceHelper(nullptr), in PackageInfoResolver()
144 android::sp<IWatchdogServiceHelper> mWatchdogServiceHelper GUARDED_BY(mRWMutex);
H A DWatchdogInternalHandler.h52 mWatchdogServiceHelper(watchdogServiceHelper), in WatchdogInternalHandler()
96 mWatchdogServiceHelper.clear(); in terminate()
112 android::sp<IWatchdogServiceHelper> mWatchdogServiceHelper; variable
H A DIoOveruseMonitor.cpp164 mWatchdogServiceHelper(watchdogServiceHelper), in IoOveruseMonitor()
204 mWatchdogServiceHelper.clear(); in terminate()
351 if (const auto status = mWatchdogServiceHelper->latestIoOveruseStats(mLatestIoOveruseStats);
441 if (const auto status = mWatchdogServiceHelper->getTodayIoUsageStats(&userPackageIoUsageStats); in syncTodayIoUsageStatsLocked()
596 if (const auto status = mWatchdogServiceHelper->resetResourceOveruseStats(packageNames); in resetIoOveruseStats()
H A DWatchdogInternalHandler.cpp98 return mWatchdogServiceHelper->registerService(service); in registerCarWatchdogService()
110 return mWatchdogServiceHelper->unregisterService(service); in unregisterCarWatchdogService()
H A DWatchdogProcessService.cpp156 mWatchdogServiceHelper = helper; in registerWatchdogServiceHelper()
183 if (mWatchdogServiceHelper == nullptr) { in registerCarWatchdogService()
187 ClientInfo clientInfo(mWatchdogServiceHelper, binder, callingPid, callingUid); in registerCarWatchdogService()
409 mWatchdogServiceHelper.clear(); in terminate()
H A DIoOveruseMonitor.h235 android::sp<IWatchdogServiceHelper> mWatchdogServiceHelper; variable
H A DWatchdogProcessService.h248 android::sp<IWatchdogServiceHelper> mWatchdogServiceHelper GUARDED_BY(mMutex);