Home
last modified time | relevance | path

Searched refs:PublishChangedEvent (Results 1 - 5 of 5) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_subscriber_test.cpp90 void StatsServiceSubscriberTest::PublishChangedEvent(const sptr<BatteryStatsService>& service, in PublishChangedEvent() function in StatsServiceSubscriberTest
131 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
159 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
165 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
171 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
214 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
244 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
254 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
264 PublishChangedEvent(statsService, CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HWTEST_F()
311 PublishChangedEvent(statsServic in HWTEST_F()
[all...]
/base/powermgr/battery_statistics/test/unittest/include/servicetest/
H A Dstats_service_subscriber_test.h31 void PublishChangedEvent(const sptr<BatteryStatsService>& service, const std::string& action);
/base/powermgr/battery_manager/services/native/include/
H A Dbattery_notify.h36 bool PublishChangedEvent(const BatteryInfo& info);
/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_level_event_system_test.cpp94 static bool PublishChangedEvent(int32_t capacity, int32_t chargerCurrent) in PublishChangedEvent() function
445 EXPECT_TRUE(PublishChangedEvent(batteryCapacity, invalid)); in HWTEST_F()
448 EXPECT_TRUE(PublishChangedEvent(batteryCapacity, chargerCurrent)); in HWTEST_F()
478 EXPECT_TRUE(PublishChangedEvent(lastBatteryCapacity, lastChargerCurrent)); in HWTEST_F()
481 EXPECT_TRUE(PublishChangedEvent(batteryCapacity, chargerCurrent)); in HWTEST_F()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_notify.cpp82 bool ret = PublishChangedEvent(info); in PublishEvents()
120 PublishChangedEvent(info); in HandleUevent()
179 bool BatteryNotify::PublishChangedEvent(const BatteryInfo& info) in PublishChangedEvent() function in OHOS::PowerMgr::BatteryNotify

Completed in 4 milliseconds