Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/health/2.0/default/
DHealth.cpp90 void getProperty(const std::unique_ptr<BatteryMonitor>& monitor, int id, T defaultValue, in getProperty() function
95 status_t err = monitor->getProperty(static_cast<int>(id), &prop); in getProperty()
117 getProperty<int32_t>(battery_monitor_, BATTERY_PROP_CHARGE_COUNTER, 0, _hidl_cb); in getChargeCounter()
122 getProperty<int32_t>(battery_monitor_, BATTERY_PROP_CURRENT_NOW, 0, _hidl_cb); in getCurrentNow()
127 getProperty<int32_t>(battery_monitor_, BATTERY_PROP_CURRENT_AVG, 0, _hidl_cb); in getCurrentAverage()
132 getProperty<int32_t>(battery_monitor_, BATTERY_PROP_CAPACITY, 0, _hidl_cb); in getCapacity()
137 getProperty<int64_t>(battery_monitor_, BATTERY_PROP_ENERGY_COUNTER, 0, _hidl_cb); in getEnergyCounter()
142 getProperty(battery_monitor_, BATTERY_PROP_BATTERY_STATUS, BatteryStatus::UNKNOWN, _hidl_cb); in getChargeStatus()
194 status_t ret = battery_monitor_->getProperty(BATTERY_PROP_CURRENT_AVG, &prop); in notifyListeners()
273 status_t ret = battery_monitor_->getProperty(BATTERY_PROP_CURRENT_AVG, &prop); in getHealthInfo()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/
DVehicleHalProto.proto104 repeated VehiclePropGet prop = 3; // Provided for getConfig, getProperty commands
/hardware/interfaces/health/utils/libhealth2impl/
DHealth.cpp105 status_t err = monitor->getProperty(static_cast<int>(id), &prop); in GetProperty()