Home
last modified time | relevance | path

Searched refs:activate (Results 1 – 25 of 63) 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);
DDynamicSensorManager.h58 int activate(int handle, bool enable);
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_cell_broadcast.cpp154 bool activate = false; in TEST_F() local
156 radio->setCdmaBroadcastActivation(serial, activate); in TEST_F()
174 bool activate = false; in TEST_F() local
176 radio->setGsmBroadcastActivation(serial, activate); in TEST_F()
/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/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.cpp128 Return<Result> activate(int32_t sensorHandle, bool enabled) override;
187 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate() function in SensorsHidlTest
195 return getSensors()->activate(sensorHandle, enabled); in activate()
594 activate(sensorInfo.sensorHandle, enable); in activateAllSensors()
679 activate(sensor.sensorHandle, activateSensor); in runFlushTest()
694 activate(sensor.sensorHandle, false); in runFlushTest()
768 activate(sensor.sensorHandle, true /* enabled */); in TEST_F()
791 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_F()
794 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_F()
797 ASSERT_EQ(activate(sensor.sensorHandle, false), Result::OK); in TEST_F()
[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/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.cpp69 if (!sensors->activate(i.sensorHandle, false).isOk()) { in resetHal()
DVtsHalSensorsV1_0TargetTest.cpp46 Return<Result> activate(int32_t sensorHandle, bool enabled) override;
78 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate() function in SensorsHidlTest
86 return S()->activate(sensorHandle, enabled); in activate()
/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);
/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp83 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
157 info.activate = FB_ACTIVATE_NOW;

123