Home
last modified time | relevance | path

Searched refs:batteryLevel_ (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/
H A Devents_info.cpp112 batteryLevel_ = BatteryLevel::BATTERY_LEVEL_LOW; in GetBatteryLevel()
114 batteryLevel_ = BatteryLevel::BATTERY_LEVEL_OKAY; in GetBatteryLevel()
117 return batteryLevel_; in GetBatteryLevel()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_battery_info.h35 batteryLevel_ = -1; in ResetInfo()
45 int32_t batteryLevel_ = -1; member in OHOS::bluetooth::BatteryInfo
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_remote_device.cpp32 batteryLevel_ = INVALID_VALUE; in ClassicRemoteDevice()
43 batteryLevel_ = INVALID_VALUE; in ClassicRemoteDevice()
362 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s batteryLevel = %{public}d", __func__, batteryLevel_); in GetBatteryLevel()
364 return batteryLevel_; in GetBatteryLevel()
371 batteryLevel_ = batteryLevel; in SetBatteryLevel()
H A Dclassic_remote_device.h397 int batteryLevel_ {};
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_device_battery_info.cpp23 CHECK_AND_RETURN_LOG_RET(parcel.WriteInt32(batteryLevel_), false, "write batteryLevel error"); in Marshalling()
50 CHECK_AND_RETURN_LOG_RET(parcel.ReadInt32(batteryLevel_), false, "read batteryLevel error"); in ReadFromParcel()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_battery_info.h55 int32_t batteryLevel_; member
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/event_monitor/
H A Devents_info.h41 BatteryLevel batteryLevel_ {BATTERY_LEVEL_LOW};
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_system_interface.cpp72 batteryLevel_ = 0; in Stop()
365 return batteryLevel_; in GetBatteryLevel()
372 batteryLevel_ = 0; in QueryAgIndicator()
856 service->NotifyAgIndicatorStateChanged(HFP_AG_NOTIFY_BATTERY_LEVEL, batteryLevel_); in SendBatteryLevelToService()
895 int preBattery = batteryLevel_; in OnBatteryLevel()
896 batteryLevel_ = level; in OnBatteryLevel()
897 if (preBattery != batteryLevel_) { in OnBatteryLevel()
H A Dhfp_ag_system_interface.h461 int batteryLevel_ {0};
/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_callback.cpp134 cBatteryInfo.batteryLevel = batteryInfo.batteryLevel_; in OnRemoteBatteryChanged()
H A Dbluetooth_connection_impl.cpp247 info.batteryLevel = batteryInfo.batteryLevel_; in GetRemoteDeviceBatteryInfo()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp166 batteryInfo.batteryLevel_ = bluetoothBatteryInfo.batteryLevel_; in GetRemoteDeviceBatteryInfo()
H A Dbluetooth_host.cpp310 info.batteryLevel_ = batteryInfo.batteryLevel_;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_statemachine.cpp881 if (batteryLevel_ != event.arg1_) { in ProcessBatteryLevelEvent()
882 batteryLevel_ = event.arg1_; in ProcessBatteryLevelEvent()
883 service->NotifyBatteryLevelChanged(rawAddress, batteryLevel_); in ProcessBatteryLevelEvent()
H A Dhfp_hf_statemachine.h381 int batteryLevel_ {0};
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_native_object.cpp200 napi_create_int32(env, batteryInfo_.batteryLevel_, &value); in ToNapiValue()

Completed in 16 milliseconds