Home
last modified time | relevance | path

Searched refs:COMMON_EVENT_KEY_CAPACITY (Results 1 – 9 of 9) sorted by relevance

/base/hiviewdfx/hidumper/services/native/src/
Ddump_battery_stats_subscriber.cpp35 …_t capacity = data.GetWant().GetIntParam(PowerMgr::BatteryInfo::COMMON_EVENT_KEY_CAPACITY, INVALID… in OnReceiveEvent()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_subscriber.cpp46 …int capacity = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, StatsUtils::INVA… in OnReceiveEvent()
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
Dbattery_mgr_client_adapter_impl.cpp54 std::string KEY_CAPACITY = PowerMgr::BatteryInfo::COMMON_EVENT_KEY_CAPACITY; in OnReceiveEvent()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dcharger_state_collection.cpp100 g_cachedIdleState.soc = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, -1); in HandleChangerStatusCompleted()
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h421 static constexpr const char* COMMON_EVENT_KEY_CAPACITY = "soc"; variable
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp133 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, info.GetCapacity()); in PublishChangedEvent()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_subscriber_test.cpp90 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, capacity_); in PublishChangedEvent()
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp57 const std::string KEY_CAPACITY = BatteryInfo::COMMON_EVENT_KEY_CAPACITY;
/base/powermgr/battery_manager/frameworks/napi/
Dbattery_info.cpp381 napi_create_string_utf8(env, BatteryInfo::COMMON_EVENT_KEY_CAPACITY, NAPI_AUTO_LENGTH, &soc); in CreateEventBatteryChangedKey()