Searched refs:INVALID_BATT_INT_VALUE (Results 1 – 8 of 8) sorted by relevance
30 RETURN_IF_WITH_RET(remote == nullptr, INVALID_BATT_INT_VALUE); in GetCapacity()37 return INVALID_BATT_INT_VALUE; in GetCapacity()44 return INVALID_BATT_INT_VALUE; in GetCapacity()46 int32_t capacity = INVALID_BATT_INT_VALUE; in GetCapacity()47 READ_PARCEL_WITH_RET(reply, Int32, capacity, INVALID_BATT_INT_VALUE); in GetCapacity()126 RETURN_IF_WITH_RET(remote == nullptr, INVALID_BATT_INT_VALUE); in GetVoltage()133 return INVALID_BATT_INT_VALUE; in GetVoltage()140 return INVALID_BATT_INT_VALUE; in GetVoltage()142 int32_t voltage = INVALID_BATT_INT_VALUE; in GetVoltage()143 READ_PARCEL_WITH_RET(reply, Int32, voltage, INVALID_BATT_INT_VALUE); in GetVoltage()[all …]
115 int32_t dialogId_ { INVALID_BATT_INT_VALUE };116 int32_t warnCapacity_ { INVALID_BATT_INT_VALUE };119 int32_t shutdownCapacityThreshold_ = { INVALID_BATT_INT_VALUE };120 int32_t criticalCapacityThreshold_ = { INVALID_BATT_INT_VALUE };121 int32_t warningCapacityThreshold_ = { INVALID_BATT_INT_VALUE };122 int32_t lowCapacityThreshold_ = { INVALID_BATT_INT_VALUE };123 int32_t normalCapacityThreshold_ = { INVALID_BATT_INT_VALUE };124 int32_t highCapacityThreshold_ = { INVALID_BATT_INT_VALUE };125 int32_t fullCapacityThreshold_ = { INVALID_BATT_INT_VALUE };
23 static constexpr int32_t INVALID_BATT_INT_VALUE = -1; variable393 int32_t capacity_ = INVALID_BATT_INT_VALUE;394 int32_t voltage_ = INVALID_BATT_INT_VALUE;396 int32_t totalEnergy_ = INVALID_BATT_INT_VALUE;397 int32_t curAverage_ = INVALID_BATT_INT_VALUE;398 int32_t nowCurr_ = INVALID_BATT_INT_VALUE;399 int32_t pluggedMaxCurrent_ = INVALID_BATT_INT_VALUE;400 int32_t pluggedMaxVoltage_ = INVALID_BATT_INT_VALUE;401 int32_t chargeCounter_ = INVALID_BATT_INT_VALUE;402 int32_t remainEnergy_ = INVALID_BATT_INT_VALUE;
63 EXPECT_TRUE(capacity == INVALID_BATT_INT_VALUE);138 EXPECT_TRUE(totalEnergy == INVALID_BATT_INT_VALUE);150 EXPECT_TRUE(currentAverage == INVALID_BATT_INT_VALUE);162 EXPECT_TRUE(nowCurrent == INVALID_BATT_INT_VALUE);174 EXPECT_TRUE(remainEnergy == INVALID_BATT_INT_VALUE);223 EXPECT_TRUE(voltage == INVALID_BATT_INT_VALUE);
89 int32_t capacity = INVALID_BATT_INT_VALUE; in GetCapacity()121 int32_t voltage = INVALID_BATT_INT_VALUE; in GetVoltage()153 int32_t nowCurrent = INVALID_BATT_INT_VALUE; in GetNowCurrent()161 int32_t remainEnergy = INVALID_BATT_INT_VALUE; in GetRemainEnergy()169 int32_t totalEnergy = INVALID_BATT_INT_VALUE; in GetTotalEnergy()
63 int32_t capacity_ { INVALID_BATT_INT_VALUE };
204 …return (capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STAT… in GetBatteryInfo()
612 return capacityThreshold != INVALID_BATT_INT_VALUE; in IsCapacityLevelDefined()