Home
last modified time | relevance | path

Searched refs:isSafeToKill (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DMockIoOveruseConfigs.h60 MOCK_METHOD(bool, isSafeToKill, (const android::automotive::watchdog::internal::PackageInfo&),
67 bool isSafeToKill = false; member
83 ON_CALL(*this, isSafeToKill(testing::_)) in injectPackageConfigs()
90 return it->second.isSafeToKill; in injectPackageConfigs()
DIoOveruseConfigsTest.cpp530 EXPECT_FALSE(ioOveruseConfigs.isSafeToKill(packageInfo)) in TEST_F()
537 EXPECT_FALSE(ioOveruseConfigs.isSafeToKill(packageInfo)) in TEST_F()
544 EXPECT_TRUE(ioOveruseConfigs.isSafeToKill(packageInfo)) in TEST_F()
879 EXPECT_FALSE(ioOveruseConfigs->isSafeToKill( in TEST_F()
882 EXPECT_TRUE(ioOveruseConfigs->isSafeToKill( in TEST_F()
888 EXPECT_FALSE(ioOveruseConfigs->isSafeToKill( in TEST_F()
891 EXPECT_TRUE(ioOveruseConfigs->isSafeToKill( in TEST_F()
897 EXPECT_TRUE(ioOveruseConfigs->isSafeToKill( in TEST_F()
900 EXPECT_TRUE(ioOveruseConfigs->isSafeToKill( in TEST_F()
913 EXPECT_FALSE(ioOveruseConfigs->isSafeToKill(packageInfo)); in TEST_F()
[all …]
DIoOveruseMonitorTest.cpp471 EXPECT_CALL(*mMockIoOveruseConfigs, isSafeToKill(_)).Times(0); in TEST_F()
586 EXPECT_CALL(*mMockIoOveruseConfigs, isSafeToKill(_)).Times(0); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.h106 virtual bool isSafeToKill(
204 bool isSafeToKill(
DIoOveruseMonitor.cpp247 mIoOveruseConfigs->isSafeToKill(dailyIoUsage->packageInfo); in onPeriodicCollection()
522 ioOveruseStats->killableOnOveruse = mIoOveruseConfigs->isSafeToKill(*packageInfo); in getIoOveruseStats()
DIoOveruseConfigs.cpp720 bool IoOveruseConfigs::isSafeToKill(const PackageInfo& packageInfo) const { in isSafeToKill() function in android::automotive::watchdog::IoOveruseConfigs