Searched refs:healthStatus (Results 1 – 10 of 10) sorted by relevance
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 105 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/ |
D | battery_device.c | 81 return battInfo.healthStatus; in GetHealthStatusImpl() 141 battery->healthStatus = battInfo.healthStatus; in UpdateBatInfoImpl()
|
/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
D | battery_module.cpp | 79 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.ts | 42 const healthStatus: BatteryHealthState; constant
|
/base/powermgr/battery_lite/services/include/ |
D | ibattery.h | 42 BatteryHealthState healthStatus; member
|
/base/powermgr/battery_lite/services/src/small/ |
D | battery_feature_impl.c | 89 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.ts | 61 healthStatus: number; property
|
/base/powermgr/battery_lite/test/ |
D | battery_test.js | 37 console.log('success get battery HealthStatus:' + data.healthStatus);
|
/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_proxy.cpp | 94 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/ |
D | battery_info.cpp | 57 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()
|