Home
last modified time | relevance | path

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

12345

/hardware/interfaces/radio/aidl/compat/libradiocompat/messaging/
DRadioMessaging.cpp145 ScopedAStatus RadioMessaging::setCdmaBroadcastActivation(int32_t serial, bool activate) { in setCdmaBroadcastActivation() argument
146 LOG_CALL << serial << ' ' << activate; in setCdmaBroadcastActivation()
147 mHal1_5->setCdmaBroadcastActivation(serial, activate); in setCdmaBroadcastActivation()
158 ScopedAStatus RadioMessaging::setGsmBroadcastActivation(int32_t serial, bool activate) { in setGsmBroadcastActivation() argument
159 LOG_CALL << serial << ' ' << activate; in setGsmBroadcastActivation()
160 mHal1_5->setGsmBroadcastActivation(serial, activate); in setGsmBroadcastActivation()
/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()
/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/sensors/aidl/default/
DSensors.cpp34 ScopedAStatus Sensors::activate(int32_t in_sensorHandle, bool in_enabled) { in activate() function in aidl::android::hardware::sensors::Sensors
37 sensor->second->activate(in_enabled); in activate()
92 sensor.second->activate(false); in initialize()
/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
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h173 activate(s, false); in TearDown()
190 virtual Return<Result> activate(int32_t sensorHandle, bool enabled) = 0;
227 ASSERT_EQ(activate(handle, 1), Result::OK); in testStreamingOperation()
231 ASSERT_EQ(activate(handle, 0), Result::OK); in testStreamingOperation()
284 ASSERT_EQ(activate(handle, 1), Result::OK);
296 ASSERT_EQ(activate(handle, 0), Result::OK);
387 ASSERT_EQ(activate(handle, 1), Result::OK); in testBatchingOperation()
412 ASSERT_EQ(activate(handle, 0), Result::OK); in testBatchingOperation()
/hardware/interfaces/sensors/aidl/vts/
DVtsAidlHalSensorsTargetTest.cpp307 activate(handle, false); in TearDown()
358 ndk::ScopedAStatus activate(int32_t sensorHandle, bool enable);
420 ndk::ScopedAStatus SensorsAidlTest::activate(int32_t sensorHandle, bool enable) { in activate() function in SensorsAidlTest
428 return getSensors()->activate(sensorHandle, enable); in activate()
436 checkIsOk(activate(sensorInfo.sensorHandle, enable)); in activateAllSensors()
512 activate(sensor.sensorHandle, activateSensor); in runFlushTest()
532 activate(sensor.sensorHandle, false); in runFlushTest()
828 activate(sensor.sensorHandle, true /* enabled */); in TEST_P()
856 checkIsOk(activate(sensor.sensorHandle, true)); in TEST_P()
859 checkIsOk(activate(sensor.sensorHandle, true)); in TEST_P()
[all …]
/hardware/interfaces/radio/aidl/android/hardware/radio/messaging/
DIRadioMessaging.aidl247 void setCdmaBroadcastActivation(in int serial, in boolean activate); in setCdmaBroadcastActivation() argument
272 void setGsmBroadcastActivation(in int serial, in boolean activate); in setGsmBroadcastActivation() argument
/hardware/interfaces/radio/aidl/compat/libradiocompat/sim/
DRadioIndication-sim.cpp100 bool activate) { in subscriptionStatusChanged() argument
102 simCb()->subscriptionStatusChanged(toAidl(type), activate); in subscriptionStatusChanged()
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.messaging/2/android/hardware/radio/messaging/
DIRadioMessaging.aidl52 oneway void setCdmaBroadcastActivation(in int serial, in boolean activate); in setCdmaBroadcastActivation() argument
54 oneway void setGsmBroadcastActivation(in int serial, in boolean activate); in setGsmBroadcastActivation() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.messaging/current/android/hardware/radio/messaging/
DIRadioMessaging.aidl53 oneway void setCdmaBroadcastActivation(in int serial, in boolean activate); in setCdmaBroadcastActivation() argument
55 oneway void setGsmBroadcastActivation(in int serial, in boolean activate); in setGsmBroadcastActivation() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.messaging/1/android/hardware/radio/messaging/
DIRadioMessaging.aidl52 oneway void setCdmaBroadcastActivation(in int serial, in boolean activate); in setCdmaBroadcastActivation() argument
54 oneway void setGsmBroadcastActivation(in int serial, in boolean activate); in setGsmBroadcastActivation() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.messaging/3/android/hardware/radio/messaging/
DIRadioMessaging.aidl53 oneway void setCdmaBroadcastActivation(in int serial, in boolean activate); in setCdmaBroadcastActivation() argument
55 oneway void setGsmBroadcastActivation(in int serial, in boolean activate); in setGsmBroadcastActivation() argument
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h189 Return<Result> activate(int32_t sensorHandle, bool enabled) override;
253 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate() function
261 return getSensors()->activate(sensorHandle, enabled); in activate()
506 activate(sensorInfo.sensorHandle, enable); in activateAllSensors()
618 activate(sensor.sensorHandle, activateSensor); in runFlushTest()
641 activate(sensor.sensorHandle, false); in runFlushTest()
716 activate(sensor.sensorHandle, true /* enabled */); in TEST_P()
744 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_P()
747 ASSERT_EQ(activate(sensor.sensorHandle, true), Result::OK); in TEST_P()
750 ASSERT_EQ(activate(sensor.sensorHandle, false), Result::OK); in TEST_P()
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h70 virtual Return<Result> activate(int32_t sensorHandle, bool enabled) = 0;
110 Return<Result> activate(int32_t sensorHandle, bool enabled) override { in activate() function
111 return mSubHal->activate(sensorHandle, enabled); 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/default/2.X/multihal/tests/fake_subhal/
DSensor.h53 virtual void activate(bool enable);
86 virtual void activate(bool enable) override;
DSensorsSubHal.h59 Return<Result> activate(int32_t sensorHandle, bool enabled);
128 Return<Result> activate(int32_t sensorHandle, bool enabled) override { in activate() function
129 return ISensorsSubHalBase::activate(sensorHandle, enabled); in activate()
/hardware/interfaces/sensors/common/default/2.X/
DSensor.h59 virtual void activate(bool enable);
93 virtual void activate(bool enable) override;
DSensors.h88 Return<Result> activate(int32_t sensorHandle, bool enabled) override { in activate() function
91 sensor->second->activate(enabled); in activate()
116 sensor.second->activate(false /* enable */); in initializeBase()
/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/radio/aidl/compat/libradiocompat/include/libradiocompat/
DRadioMessaging.h56 ::ndk::ScopedAStatus setCdmaBroadcastActivation(int32_t serial, bool activate) override;
62 ::ndk::ScopedAStatus setGsmBroadcastActivation(int32_t serial, bool activate) override;
/hardware/interfaces/power/1.0/default/
DPower.cpp58 Return<void> Power::setFeature(Feature feature, bool activate) { in setFeature() argument
61 activate ? 1 : 0); in setFeature()
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/
DSensor.h49 virtual void activate(bool enable);
83 virtual void activate(bool enable) override;

12345