Searched refs:capacity (Results 1 – 5 of 5) sorted by relevance
56 int32_t capacity = INT32_MIN; in GetBatteryInfo() local59 ->getCapacity([&res, &capacity](auto out_res, auto out_capacity) { in GetBatteryInfo()61 capacity = out_capacity; in GetBatteryInfo()67 << ", status " << toString(res) << ", capacity " << capacity; in GetBatteryInfo()74 if (res == Result::SUCCESS && capacity == 50) { in GetBatteryInfo()84 capacity = 100; in GetBatteryInfo()87 return BatteryInfo{ charging, capacity }; in GetBatteryInfo()
25 ASSERT_LE(0, info.capacity); in TEST()26 ASSERT_LE(info.capacity, 100); in TEST()
29 int32_t capacity; member
222 return std::to_string(battery_info.capacity); in RescueGetpropHostService()
542 return battery_info.capacity >= *required_battery_level; in IsBatteryOk()