Searched refs:chargeState (Results 1 – 15 of 15) sorted by relevance
32 void UpdateEpollIntervalTest(const int32_t chargeState, BatteryThread& bthread);49 friend void UpdateEpollIntervalTest(const int32_t chargeState, BatteryThread& bthread) in UpdateEpollIntervalTest() argument51 (bthread.*privateFun)(chargeState); in UpdateEpollIntervalTest()
94 void BatteryThread::UpdateEpollInterval(const int32_t chargeState) in UpdateEpollInterval() argument96 if ((chargeState != PowerSupplyProvider::CHARGE_STATE_NONE) && in UpdateEpollInterval()97 (chargeState != PowerSupplyProvider::CHARGE_STATE_RESERVED)) { in UpdateEpollInterval()182 event.chargeState = batteryInfo->chargeState_; in UpdateBatteryInfo()
156 int32_t BatteryInterfaceImpl::GetChargeState(BatteryChargeState& chargeState) in GetChargeState() argument164 chargeState = BatteryChargeState(state); in GetChargeState()219 info.chargeState = batteryInfo.chargeState_; in GetBatteryInfo()
815 int32_t PowerSupplyProvider::ParseChargeState(int32_t* chargeState) const in ParseChargeState()824 *chargeState = ChargeStateEnumConverter(buf); in ParseChargeState()
48 void UpdateEpollInterval(int32_t chargeState);
48 int32_t GetChargeState(BatteryChargeState& chargeState) override;
88 int32_t ParseChargeState(int32_t* chargeState) const;
928 int32_t chargeState = PowerSupplyProvider::CHARGE_STATE_RESERVED; variable930 giver_->ParseChargeState(&chargeState);933 …TEST, "Not Mock HdiService006::chargeState=%{public}d, cs=%{public}d", chargeState, sysfsChargeSta…934 ASSERT_TRUE(chargeState == sysfsChargeState);937 giver_->ParseChargeState(&chargeState);938 BATTERY_HILOGI(LABEL_TEST, "HdiService006::chargeState=%{public}d.", chargeState);939 ASSERT_TRUE(PowerSupplyProvider::BatteryChargeState(chargeState) ==
216 int32_t chargeState; member
144 * @param chargeState Battery charging status.151 GetChargeState([out] enum BatteryChargeState chargeState);
124 int chargeState;