Home
last modified time | relevance | path

Searched refs:isInBackground_ (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/dfr_test/watchdog_test/
H A Dwatchdog_test.cpp161 watchdog_->isInBackground_.store(false); in HWTEST_F()
251 EXPECT_TRUE(watchdog_->isInBackground_); in HWTEST_F()
253 EXPECT_FALSE(watchdog_->isInBackground_); in HWTEST_F()
337 EXPECT_TRUE(watchdog_->isInBackground_); in HWTEST_F()
363 EXPECT_FALSE(watchdog_->isInBackground_); in HWTEST_F()
384 EXPECT_FALSE(watchdog_->isInBackground_); in HWTEST_F()
491 watchdog_->isInBackground_ = true; in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/dfr/
H A Dwatchdog.h108 std::atomic_bool isInBackground_ = true; member in OHOS::AppExecFwk::Watchdog
/foundation/ability/ability_runtime/frameworks/native/appkit/dfr/
H A Dwatchdog.cpp101 isInBackground_.store(isInBackground); in SetBackgroundStatus()
195 if (isInBackground_ && backgroundReportCount_.load() < BACKGROUND_REPORT_COUNT_MAX) { in ReportEvent()

Completed in 2 milliseconds