Home
last modified time | relevance | path

Searched refs:maxVoltage (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dbattery_info.h264 void SetPluggedMaxVoltage(const int32_t maxVoltage) in SetPluggedMaxVoltage() argument
266 pluggedMaxVoltage_ = maxVoltage; in SetPluggedMaxVoltage()
/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_event_system_test.cpp228 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent() local
230 EXPECT_NE(maxVoltage, static_cast<int32_t>(BatteryPluggedType::PLUGGED_TYPE_NONE)) in OnReceiveEvent()
237 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent() local
239 …EXPECT_NE(maxVoltage, static_cast<int32_t>(BatteryPluggedType::PLUGGED_TYPE_USB)) << "COMMON_EVENT… in OnReceiveEvent()
/ohos5.0/base/powermgr/battery_manager/frameworks/napi/src/
H A Dbattery_info.cpp515 napi_value maxVoltage = nullptr; in CreateEventBatteryChangedCode() local
528 … napi_create_int32(env, (int32_t)BatteryInfo::COMMON_EVENT_CODE_PLUGGED_MAX_VOLTAGE, &maxVoltage); in CreateEventBatteryChangedCode()
542 DECLARE_NAPI_STATIC_PROPERTY("EXTRA_MAX_VOLTAGE", maxVoltage), in CreateEventBatteryChangedCode()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dpower_supply_provider.h151 int32_t ParsePluggedMaxVoltage(int32_t* maxVoltage);
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp423 int32_t PowerSupplyProvider::ParsePluggedMaxVoltage(int32_t* maxVoltage) in ParsePluggedMaxVoltage() argument
440 *maxVoltage = value; in ParsePluggedMaxVoltage()