Searched refs:maxCurrent (Results 1 – 2 of 2) sorted by relevance
225 void SetPluggedMaxCurrent(const int32_t maxCurrent) in SetPluggedMaxCurrent() argument227 pluggedMaxCurrent_ = maxCurrent; in SetPluggedMaxCurrent()
419 napi_value maxCurrent = nullptr; in CreateEventBatteryChangedCode() local432 … napi_create_int32(env, (int32_t)BatteryInfo::COMMON_EVENT_CODE_PLUGGED_MAX_CURRENT, &maxCurrent); in CreateEventBatteryChangedCode()446 DECLARE_NAPI_STATIC_PROPERTY("EXTRA_MAX_CURRENT", maxCurrent), in CreateEventBatteryChangedCode()