Home
last modified time | relevance | path

Searched refs:chargeState (Results 1 – 15 of 15) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/include/
Dbattery_thread_test.h32 void UpdateEpollIntervalTest(const int32_t chargeState, BatteryThread& bthread);
49 friend void UpdateEpollIntervalTest(const int32_t chargeState, BatteryThread& bthread) in UpdateEpollIntervalTest() argument
51 (bthread.*privateFun)(chargeState); in UpdateEpollIntervalTest()
/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_thread.cpp94 void BatteryThread::UpdateEpollInterval(const int32_t chargeState) in UpdateEpollInterval() argument
96 if ((chargeState != PowerSupplyProvider::CHARGE_STATE_NONE) && in UpdateEpollInterval()
97 (chargeState != PowerSupplyProvider::CHARGE_STATE_RESERVED)) { in UpdateEpollInterval()
182 event.chargeState = batteryInfo->chargeState_; in UpdateBatteryInfo()
Dbattery_interface_impl.cpp156 int32_t BatteryInterfaceImpl::GetChargeState(BatteryChargeState& chargeState) in GetChargeState() argument
164 chargeState = BatteryChargeState(state); in GetChargeState()
219 info.chargeState = batteryInfo.chargeState_; in GetBatteryInfo()
Dpower_supply_provider.cpp815 int32_t PowerSupplyProvider::ParseChargeState(int32_t* chargeState) const in ParseChargeState()
824 *chargeState = ChargeStateEnumConverter(buf); in ParseChargeState()
/drivers/peripheral/battery/interfaces/hdi_service/include/
Dbattery_thread.h48 void UpdateEpollInterval(int32_t chargeState);
Dbattery_interface_impl.h48 int32_t GetChargeState(BatteryChargeState& chargeState) override;
Dpower_supply_provider.h88 int32_t ParseChargeState(int32_t* chargeState) const;
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
Dhdi_service_test.cpp928 int32_t chargeState = PowerSupplyProvider::CHARGE_STATE_RESERVED; variable
930 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) ==
/drivers/peripheral/usb/hdi_service/include/
Dusbd_type.h216 int32_t chargeState; member
/drivers/interface/battery/v1_0/
DIBatteryInterface.idl144 * @param chargeState Battery charging status.
151 GetChargeState([out] enum BatteryChargeState chargeState);
DTypes.idl124 int chargeState;
/drivers/interface/battery/v1_1/
DIBatteryInterface.idl144 * @param chargeState Battery charging status.
151 GetChargeState([out] enum BatteryChargeState chargeState);
DTypes.idl124 int chargeState;
/drivers/interface/battery/v1_2/
DIBatteryInterface.idl144 * @param chargeState Battery charging status.
151 GetChargeState([out] enum BatteryChargeState chargeState);
DTypes.idl124 int chargeState;