/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | sensors.cpp | 38 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()
|
D | sensors.h | 48 int activate(int handle, int enabled);
|
/hardware/libhardware/tests/nusensors/ |
D | nusensors.cpp | 106 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/ |
D | radio_hidl_hal_cell_broadcast.cpp | 164 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/ |
D | Vibrator.cpp | 47 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
|
D | Vibrator.h | 61 Status activate(uint32_t ms);
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 141 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/ |
D | Sensors.cpp | 82 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()
|
D | Sensor.h | 53 virtual void activate(bool enable); 86 virtual void activate(bool enable) override;
|
D | Sensor.cpp | 71 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/ |
D | sensors_mpl.cpp | 91 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/ |
D | SensorsHidlTestBase.cpp | 386 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/ |
D | Sensor.h | 53 virtual void activate(bool enable); 86 virtual void activate(bool enable) override;
|
D | Sensor.cpp | 80 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()
|
D | SensorsSubHal.cpp | 75 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/ |
D | sensors_mpl.cpp | 114 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/ |
D | SensorsHidlTestBase.h | 55 activate(s, false); in TearDown() 72 virtual Return<Result> activate(int32_t sensorHandle, bool enabled) = 0;
|
/hardware/interfaces/power/1.0/default/ |
D | Power.cpp | 59 Return<void> Power::setFeature(Feature feature, bool activate) { in setFeature() argument 62 activate ? 1 : 0); in setFeature()
|
D | Power.h | 46 Return<void> setFeature(Feature feature, bool activate) override;
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 555 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/ |
D | Sensors.h | 42 Return<Result> activate(
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | SensorsHidlEnvironmentV1_0.cpp | 68 if (!sensors->activate(i.sensorHandle, false).isOk()) { in resetHal()
|
/hardware/google/pixel/power-libperfmgr/ |
D | Power.h | 56 Return<void> setFeature(Feature feature, bool activate) override;
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 195 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/ |
D | IPower.hal | 70 * @param activate true/false to enable/disable the feature 72 setFeature(Feature feature, bool activate);
|