Searched refs:batteryLevel (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_srv_proxy_mock_test.cpp | 197 BatteryCapacityLevel batteryLevel = g_proxy->GetCapacityLevel(); variable 198 EXPECT_TRUE(batteryLevel >= BatteryCapacityLevel::LEVEL_NONE && 199 …batteryLevel <= BatteryCapacityLevel::LEVEL_RESERVED); // the enum value range of BatteryCapacityL…
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_dump.cpp | 74 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/ |
D | stats_dump_test.cpp | 67 int32_t batteryLevel = 60; variable 71 batteryLevel, "CHARGER", batteryChargerType); 75 .append(ToString(batteryLevel))
|
/base/powermgr/battery_manager/frameworks/js/napi/ |
D | battery_info.cpp | 171 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/ |
D | batterystats_sys_test.cpp | 207 int32_t batteryLevel = 60; variable 211 batteryLevel, "CHARGER", batteryChargerType); 215 .append(ToString(batteryLevel))
|