Home
last modified time | relevance | path

Searched refs:resetResourceOveruseStats (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogServiceHelperTest.cpp461 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(packageNames)) in TEST_F()
464 auto status = mWatchdogServiceHelper->resetResourceOveruseStats(packageNames); in TEST_F()
471 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)).Times(0); in TEST_F()
473 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
481 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)) in TEST_F()
485 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
DMockCarWatchdogServiceForSystem.h44 MOCK_METHOD(ndk::ScopedAStatus, resetResourceOveruseStats, (const std::vector<std::string>&),
DMockWatchdogServiceHelper.h68 MOCK_METHOD(ndk::ScopedAStatus, resetResourceOveruseStats, (const std::vector<std::string>&),
DIoOveruseMonitorTest.cpp1132 EXPECT_CALL(*mMockWatchdogServiceHelper, resetResourceOveruseStats(packageNames)) in TEST_F()
1148 EXPECT_CALL(*mMockWatchdogServiceHelper, resetResourceOveruseStats(packageNames)) in TEST_F()
/packages/services/Car/cpp/watchdog/stable_server/tests/
DWatchdogServiceHelperTest.cpp461 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(packageNames)) in TEST_F()
464 auto status = mWatchdogServiceHelper->resetResourceOveruseStats(packageNames); in TEST_F()
471 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)).Times(0); in TEST_F()
473 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
481 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)) in TEST_F()
485 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
DMockCarWatchdogServiceForSystem.h44 MOCK_METHOD(ndk::ScopedAStatus, resetResourceOveruseStats, (const std::vector<std::string>&),
DMockWatchdogServiceHelper.h68 MOCK_METHOD(ndk::ScopedAStatus, resetResourceOveruseStats, (const std::vector<std::string>&),
DIoOveruseMonitorTest.cpp1132 EXPECT_CALL(*mMockWatchdogServiceHelper, resetResourceOveruseStats(packageNames)) in TEST_F()
1148 EXPECT_CALL(*mMockWatchdogServiceHelper, resetResourceOveruseStats(packageNames)) in TEST_F()
/packages/services/Car/cpp/watchdog/stable_server/src/
DWatchdogServiceHelper.h71 virtual ndk::ScopedAStatus resetResourceOveruseStats(
118 ndk::ScopedAStatus resetResourceOveruseStats(
DWatchdogServiceHelper.cpp248 ScopedAStatus WatchdogServiceHelper::resetResourceOveruseStats( in resetResourceOveruseStats() function in android::automotive::watchdog::WatchdogServiceHelper
257 return service->resetResourceOveruseStats(packageNames); in resetResourceOveruseStats()
DIoOveruseMonitor.cpp700 if (const auto status = mWatchdogServiceHelper->resetResourceOveruseStats(packageNames); in resetIoOveruseStats()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogServiceHelper.h71 virtual ndk::ScopedAStatus resetResourceOveruseStats(
118 ndk::ScopedAStatus resetResourceOveruseStats(
DWatchdogServiceHelper.cpp248 ScopedAStatus WatchdogServiceHelper::resetResourceOveruseStats( in resetResourceOveruseStats() function in android::automotive::watchdog::WatchdogServiceHelper
257 return service->resetResourceOveruseStats(packageNames); in resetResourceOveruseStats()
DIoOveruseMonitor.cpp700 if (const auto status = mWatchdogServiceHelper->resetResourceOveruseStats(packageNames); in resetIoOveruseStats()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DICarWatchdogServiceForSystem.aidl75 oneway void resetResourceOveruseStats(in @utf8InCpp List<String> packageNames); in resetResourceOveruseStats() method
/packages/services/Car/tests/CarWatchdogLibUnitTest/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java381 public void resetResourceOveruseStats(List<String> packageNames) {} in resetResourceOveruseStats() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java1012 public void resetResourceOveruseStats(List<String> packageNames) { in resetResourceOveruseStats() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl
1022 service.mWatchdogPerfHandler.resetResourceOveruseStats(new ArraySet<>(packageNames)); in resetResourceOveruseStats()
DWatchdogPerfHandler.java1021 public void resetResourceOveruseStats(Set<String> genericPackageNames) { in resetResourceOveruseStats() method in WatchdogPerfHandler
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java777 mWatchdogServiceForSystemImpl.resetResourceOveruseStats( in testResetResourceOveruseStats()
780 verify(mMockWatchdogPerfHandler).resetResourceOveruseStats(any()); in testResetResourceOveruseStats()
DWatchdogPerfHandlerUnitTest.java1281 mWatchdogPerfHandler.resetResourceOveruseStats(Collections.singleton(packageName)); in testResetResourceOveruseStatsResetsStats()
1326 mWatchdogPerfHandler.resetResourceOveruseStats(new ArraySet<>( in testResetResourceOveruseStatsEnablesPackage()
1371 mWatchdogPerfHandler.resetResourceOveruseStats( in testResetResourceOveruseStatsResetsUserPackageSettings()