Home
last modified time | relevance | path

Searched refs:activate (Results 1 – 25 of 74) sorted by relevance

123

/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp38 device.activate = ActivateWrapper; in SensorContext()
56 int SensorContext::activate(int handle, int enabled) { in activate() function in SensorContext
57 return mDynamicSensorManager->activate(handle, enabled); in activate()
87 return reinterpret_cast<SensorContext *>(dev)->activate(handle, enabled); in ActivateWrapper()
Dsensors.h48 int activate(int handle, int enabled);
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp106 err = device->activate(device, list[i].handle, 0); in main()
115 err = device->activate(device, list[i].handle, 1); in main()
183 err = device->activate(device, list[i].handle, 0); in main()
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_cell_broadcast.cpp164 bool activate = false; in TEST_P() local
166 radio->setCdmaBroadcastActivation(serial, activate); in TEST_P()
186 bool activate = false; in TEST_P() local
188 radio->setGsmBroadcastActivation(serial, activate); in TEST_P()
/hardware/interfaces/vibrator/1.3/example/
DVibrator.cpp47 return activate(timeoutMs); in on()
51 return activate(0); in off()
128 status = activate(ms); in perform()
156 Status Vibrator::activate(uint32_t ms) { in activate() function in android::hardware::vibrator::V1_3::implementation::Vibrator
DVibrator.h61 Status activate(uint32_t ms);
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp141 Return<Result> activate(int32_t sensorHandle, bool enabled) override;
204 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate() function in SensorsHidlTest
212 return getSensors()->activate(sensorHandle, enabled); in activate()
625 activate(sensorInfo.sensorHandle, enable); in activateAllSensors()
723 activate(sensor.sensorHandle, activateSensor); in runFlushTest()
738 activate(sensor.sensorHandle, false); in runFlushTest()
817 activate(sensor.sensorHandle, true /* enabled */); in TEST_P()
840 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_P()
843 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_P()
846 ASSERT_EQ(activate(sensor.sensorHandle, false), Result::OK); in TEST_P()
[all …]
/hardware/interfaces/sensors/2.0/default/
DSensors.cpp82 Return<Result> Sensors::activate(int32_t sensorHandle, bool enabled) { in activate() function in android::hardware::sensors::V2_0::implementation::Sensors
85 sensor->second->activate(enabled); in activate()
99 sensor.second->activate(false /* enable */); in initialize()
DSensor.h53 virtual void activate(bool enable);
86 virtual void activate(bool enable) override;
DSensor.cpp71 void Sensor::activate(bool enable) { in activate() function in android::hardware::sensors::V2_0::implementation::Sensor
176 void OnChangeSensor::activate(bool enable) { in activate() function in android::hardware::sensors::V2_0::implementation::OnChangeSensor
177 Sensor::activate(enable); in activate()
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp91 int activate(int handle, int enabled);
184 int sensors_poll_context_t::activate(int handle, int enabled) { in activate() function in sensors_poll_context_t
348 return ctx->activate(handle, enabled); in poll__activate()
395 dev->device.activate = poll__activate; in open_sensors()
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp386 ASSERT_EQ(activate(handle, 1), Result::OK); in testStreamingOperation()
388 ASSERT_EQ(activate(handle, 0), Result::OK); in testStreamingOperation()
450 ASSERT_EQ(activate(handle, 1), Result::OK); in testSamplingRateHotSwitchOperation()
462 ASSERT_EQ(activate(handle, 0), Result::OK); in testSamplingRateHotSwitchOperation()
549 ASSERT_EQ(activate(handle, 1), Result::OK); in testBatchingOperation()
573 ASSERT_EQ(activate(handle, 0), Result::OK); in testBatchingOperation()
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensor.h53 virtual void activate(bool enable);
86 virtual void activate(bool enable) override;
DSensor.cpp80 void Sensor::activate(bool enable) { in activate() function in android::hardware::sensors::V2_0::subhal::implementation::Sensor
187 void OnChangeSensor::activate(bool enable) { in activate() function in android::hardware::sensors::V2_0::subhal::implementation::OnChangeSensor
188 Sensor::activate(enable); in activate()
DSensorsSubHal.cpp75 Return<Result> SensorsSubHal::activate(int32_t sensorHandle, bool enabled) { in activate() function in android::hardware::sensors::V2_0::subhal::implementation::SensorsSubHal
78 sensor->second->activate(enabled); in activate()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp114 int activate(int handle, int enabled);
199 int sensors_poll_context_t::activate(int handle, int enabled) { in activate() function in sensors_poll_context_t
403 return ctx->activate(handle, enabled); in poll__activate()
466 dev->device.activate = poll__activate; in open_sensors()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h55 activate(s, false); in TearDown()
72 virtual Return<Result> activate(int32_t sensorHandle, bool enabled) = 0;
/hardware/interfaces/power/1.0/default/
DPower.cpp59 Return<void> Power::setFeature(Feature feature, bool activate) { in setFeature() argument
62 activate ? 1 : 0); in setFeature()
DPower.h46 Return<void> setFeature(Feature feature, bool activate) override;
/hardware/libhardware/include/hardware/
Dsensors.h555 int (*activate)(struct sensors_poll_device_t *dev, member
589 int (*activate)(struct sensors_poll_device_t *dev, member
/hardware/interfaces/sensors/1.0/default/
DSensors.h42 Return<Result> activate(
/hardware/interfaces/sensors/1.0/vts/functional/
DSensorsHidlEnvironmentV1_0.cpp68 if (!sensors->activate(i.sensorHandle, false).isOk()) { in resetHal()
/hardware/google/pixel/power-libperfmgr/
DPower.h56 Return<void> setFeature(Feature feature, bool activate) override;
/hardware/libhardware/modules/sensors/
Dmultihal.cpp195 int activate(int handle, int enabled);
310 int sensors_poll_context_t::activate(int handle, int enabled) { in activate() function in sensors_poll_context_t
316 retval = v0->activate(v0, local_handle, enabled); in activate()
540 return ctx->activate(handle, enabled); in device__activate()
800 dev->proxy_device.activate = device__activate; in open_sensors()
/hardware/interfaces/power/1.0/
DIPower.hal70 * @param activate true/false to enable/disable the feature
72 setFeature(Feature feature, bool activate);

123