Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp197 BatteryCapacityLevel batteryLevel = g_proxy->GetCapacityLevel(); variable
198 EXPECT_TRUE(batteryLevel >= BatteryCapacityLevel::LEVEL_NONE &&
199batteryLevel <= BatteryCapacityLevel::LEVEL_RESERVED); // the enum value range of BatteryCapacityL…
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp74 BatteryCapacityLevel batteryLevel = service->GetCapacityLevel(); in GetBatteryInfo() local
75 dprintf(fd, "batteryLevel: %u \n", batteryLevel); in GetBatteryInfo()
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_dump_test.cpp67 int32_t batteryLevel = 60; variable
71 batteryLevel, "CHARGER", batteryChargerType);
75 .append(ToString(batteryLevel))
/base/powermgr/battery_manager/frameworks/js/napi/
Dbattery_info.cpp171 int32_t batteryLevel = (int32_t)g_battClient.GetCapacityLevel(); in GetCapacityLevel() local
173 NAPI_CALL(env, napi_create_int32(env, batteryLevel, &napiValue)); in GetCapacityLevel()
175 BATTERY_HILOGD(FEATURE_BATT_INFO, "batteryLevel %{public}d", batteryLevel); in GetCapacityLevel()
/base/powermgr/battery_statistics/test/systemtest/src/
Dbatterystats_sys_test.cpp207 int32_t batteryLevel = 60; variable
211 batteryLevel, "CHARGER", batteryChargerType);
215 .append(ToString(batteryLevel))