/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);
|
D | DynamicSensorManager.h | 58 int activate(int handle, bool enable);
|
/hardware/interfaces/radio/1.0/vts/functional/ |
D | radio_hidl_hal_cell_broadcast.cpp | 154 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/ |
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/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 | 128 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/ |
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/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 | 69 if (!sensors->activate(i.sensorHandle, false).isOk()) { in resetHal()
|
D | VtsHalSensorsV1_0TargetTest.cpp | 46 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/ |
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);
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 83 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 157 info.activate = FB_ACTIVATE_NOW;
|