Home
last modified time | relevance | path

Searched refs:setFeature (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp154 ret = power->setFeature(Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, true); in TEST_F()
156 ret = power->setFeature(Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, false); in TEST_F()
160 ret = power->setFeature(badFeature, true); in TEST_F()
162 ret = power->setFeature(badFeature, false); in TEST_F()
/hardware/interfaces/power/1.0/default/
DPower.cpp59 Return<void> Power::setFeature(Feature feature, bool activate) { in setFeature() function in android::hardware::power::V1_0::implementation::Power
60 if (mModule->setFeature) in setFeature()
61 mModule->setFeature(mModule, static_cast<feature_t>(feature), in setFeature()
DPower.h46 Return<void> setFeature(Feature feature, bool activate) override;
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidDevice.h46 virtual bool setFeature(uint8_t id, const std::vector<uint8_t> &in) = 0; in REF_BASE()
DHidRawDevice.h45 virtual bool setFeature(uint8_t id, const std::vector<uint8_t> &in) override;
DHidRawDevice.cpp225 bool HidRawDevice::setFeature(uint8_t id, const std::vector<uint8_t> &in) { in setFeature() function in android::SensorHalExt::HidRawDevice
DHidRawSensor.cpp868 setPowerOk = device->setFeature(id, buffer); in enable()
882 setReportingOk = device->setFeature(id, buffer); in enable()
930 ok = device->setFeature(id, buffer); in batch()
/hardware/libhardware/include/hardware/
Dpower.h280 void (*setFeature)(struct power_module *module, feature_t feature, int state); member
/hardware/interfaces/power/1.0/
DIPower.hal66 * setFeature() is called to turn on or off a particular feature
72 setFeature(Feature feature, bool activate);
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawSensorTest.cpp68 virtual bool setFeature(uint8_t id, const std::vector<uint8_t> &in) { in setFeature() function in android::SensorHalExt::HidRawDummyDevice