Home
last modified time | relevance | path

Searched refs:healthStatus (Results 1 – 10 of 10) sorted by relevance

/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp105 BatteryHealthState healthStatus = BatteryHealthState::HEALTH_STATE_BUTT; in GetHealthStatus() local
106 RETURN_IF_WITH_RET(Connect() != ERR_OK, healthStatus); in GetHealthStatus()
107 healthStatus = proxy_->GetHealthStatus(); in GetHealthStatus()
108 return healthStatus; in GetHealthStatus()
/base/powermgr/battery_lite/services/src/
Dbattery_device.c81 return battInfo.healthStatus; in GetHealthStatusImpl()
141 battery->healthStatus = battInfo.healthStatus; in UpdateBatInfoImpl()
/base/powermgr/battery_lite/frameworks/js/builtin/src/
Dbattery_module.cpp79 int32_t healthStatus = 0; in GetHealthStatus() local
84 healthStatus = GetHealthStatusImpl(); in GetHealthStatus()
86 JSI::SetNumberProperty(result, "healthStatus", healthStatus); in GetHealthStatus()
/base/powermgr/battery_manager/interfaces/kits/js/
D@ohos.batteryInfo.d.ts42 const healthStatus: BatteryHealthState; constant
/base/powermgr/battery_lite/services/include/
Dibattery.h42 BatteryHealthState healthStatus; member
/base/powermgr/battery_lite/services/src/small/
Dbattery_feature_impl.c89 BatteryHealthState healthStatus = HealthStatusImpl((IUnknown *)iProxy); in HealthStatusInvoke() local
90 WriteInt32(reply, healthStatus); in HealthStatusInvoke()
/base/powermgr/battery_lite/interfaces/kits/js/
D@system.battery.d.ts61 healthStatus: number; property
/base/powermgr/battery_lite/test/
Dbattery_test.js37 console.log('success get battery HealthStatus:' + data.healthStatus);
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp94 uint32_t healthStatus = static_cast<uint32_t>(BatteryHealthState::HEALTH_STATE_BUTT); in GetHealthStatus() local
95 READ_PARCEL_WITH_RET(reply, Uint32, healthStatus, BatteryHealthState::HEALTH_STATE_BUTT); in GetHealthStatus()
96 return static_cast<BatteryHealthState>(healthStatus); in GetHealthStatus()
/base/powermgr/battery_manager/frameworks/js/napi/
Dbattery_info.cpp57 int32_t healthStatus = (int32_t)g_battClient.GetHealthStatus(); in GetHealthState() local
59 NAPI_CALL(env, napi_create_int32(env, healthStatus, &napiValue)); in GetHealthState()
61 BATTERY_HILOGD(FEATURE_BATT_INFO, "healthStatus %{public}d", healthStatus); in GetHealthState()