Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/drv2624/
DHardware.h113 return getProperty("closeloop.threshold", value, UINT32_MAX); in getCloseLoopThreshold()
117 return getProperty("config.dynamic", value, false); in getDynamicConfig()
120 return getProperty("long.frequency.shift", value, DEFAULT_FREQUENCY_SHIFT); in getLongFrequencyShift()
123 return getProperty("short.voltage", value, DEFAULT_VOLTAGE_MAX); in getShortVoltageMax()
126 return getProperty("long.voltage", value, DEFAULT_VOLTAGE_MAX); in getLongVoltageMax()
129 return getProperty("click.duration", value, WAVEFORM_CLICK_EFFECT_MS); in getClickDuration()
132 return getProperty("tick.duration", value, WAVEFORM_TICK_EFFECT_MS); in getTickDuration()
135 return getProperty("double_click.duration", value, WAVEFORM_DOUBLE_CLICK_EFFECT_MS); in getDoubleClickDuration()
138 return getProperty("heavyclick.duration", value, WAVEFORM_HEAVY_CLICK_EFFECT_MS); in getHeavyClickDuration()
/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/google/pixel/vibrator/common/
Dutils.h87 inline Enable_If_Signed<T, T> getProperty(const std::string &key, const T def) { in getProperty() function
92 inline Enable_If_Unsigned<T, T> getProperty(const std::string &key, const T def) { in getProperty() function
97 inline bool getProperty<bool>(const std::string &key, const bool def) {
DHardwareBase.h172 bool getProperty(const char *key, T *value, const T defval);
182 bool HwCalBase::getProperty(const char *key, T *outval, const T defval) { in getProperty() function
184 *outval = utils::getProperty(mPropertyPrefix + key, defval); in getProperty()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/
DVehicleHalProto.proto103 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()