Lines Matching refs:isOk

130         ASSERT_TRUE(status.isOk()) << status.getMessage();  in registerCarWatchdogService()
206 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
213 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
227 ASSERT_FALSE(mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
241 ASSERT_FALSE(mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
256 ASSERT_FALSE(mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
270 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
276 ASSERT_FALSE(mWatchdogServiceHelper->unregisterService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
292 ASSERT_FALSE(mWatchdogServiceHelper->unregisterService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
306 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
319 ASSERT_FALSE(status.isOk()) << "checkIfAlive should fail when the given car watchdog service" in TEST_F()
329 ASSERT_FALSE(status.isOk()) << "checkIfAlive " << kFailOnNoCarWatchdogServiceMessage; in TEST_F()
342 ASSERT_FALSE(status.isOk()) << "checkIfAlive " << kFailOnCarWatchdogServiceErrMessage; in TEST_F()
356 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
373 ASSERT_FALSE(status.isOk()) << "prepareProcessTermination should fail when the given car " in TEST_F()
385 .isOk()) in TEST_F()
401 .isOk()) in TEST_F()
425 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
439 ASSERT_FALSE(status.isOk()) << "getPackageInfosForUids " << kFailOnNoCarWatchdogServiceMessage; in TEST_F()
457 ASSERT_FALSE(status.isOk()) << "getPackageInfosForUids " << kFailOnCarWatchdogServiceErrMessage; in TEST_F()
470 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
477 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
489 ASSERT_FALSE(mWatchdogServiceHelper->resetResourceOveruseStats({}).isOk()) in TEST_F()
501 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
508 ASSERT_FALSE(mWatchdogServiceHelper->requestTodayIoUsageStats().isOk()) in TEST_F()
520 ASSERT_FALSE(mWatchdogServiceHelper->requestTodayIoUsageStats().isOk()) in TEST_F()
548 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
555 ASSERT_FALSE(mWatchdogServiceHelper->onLatestResourceStats({}).isOk()) in TEST_F()
567 ASSERT_FALSE(mWatchdogServiceHelper->onLatestResourceStats({}).isOk()) in TEST_F()
579 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
585 ASSERT_FALSE(mWatchdogServiceHelper->requestAidlVhalPid().isOk()) in TEST_F()
596 ASSERT_FALSE(mWatchdogServiceHelper->requestAidlVhalPid().isOk()) in TEST_F()