Home
last modified time | relevance | path

Searched refs:DeviceChargeState (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_battery_info.h36 enum class DeviceChargeState : int32_t { class
61 DeviceChargeState leftEarChargeState_;
67 DeviceChargeState rightEarChargeState_;
73 DeviceChargeState boxChargeState_;
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp168 batteryInfo.leftEarChargeState_ = static_cast<DeviceChargeState>(bluetoothBatteryInfo.leftEarChargeState_); in GetRemoteDeviceBatteryInfo()
170 batteryInfo.rightEarChargeState_ = static_cast<DeviceChargeState>(bluetoothBatteryInfo.rightEarChargeState_); in GetRemoteDeviceBatteryInfo()
172 batteryInfo.boxChargeState_ = static_cast<DeviceChargeState>(bluetoothBatteryInfo.boxChargeState_); in GetRemoteDeviceBatteryInfo()
H A Dbluetooth_host.cpp312 info.leftEarChargeState_ = static_cast<DeviceChargeState>(batteryInfo.leftEarChargeState_);
314 info.rightEarChargeState_ = static_cast<DeviceChargeState>(batteryInfo.rightEarChargeState_);
316 info.boxChargeState_ = static_cast<DeviceChargeState>(batteryInfo.boxChargeState_);
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection.cpp814 DECLARE_NAPI_PROPERTY("DeviceChargeState", deviceChargeStateObject), in ConnectionPropertyValueInit()
935 env, deviceChargeState, static_cast<int32_t>(DeviceChargeState::DEVICE_NORMAL_CHARGE_NOT_CHARGED), in DeviceChargeStateInit()
938 env, deviceChargeState, static_cast<int32_t>(DeviceChargeState::DEVICE_NORMAL_CHARGE_IN_CHARGING), in DeviceChargeStateInit()
941 env, deviceChargeState, static_cast<int32_t>(DeviceChargeState::DEVICE_SUPER_CHARGE_NOT_CHARGED), in DeviceChargeStateInit()
944 env, deviceChargeState, static_cast<int32_t>(DeviceChargeState::DEVICE_SUPER_CHARGE_IN_CHARGING), in DeviceChargeStateInit()

Completed in 6 milliseconds