Searched defs:en (Results 1 - 11 of 11) sorted by relevance
/device/moto/stingray/sensors/ |
H A D | AccelerationSensor.cpp | 61 int AccelerationSensor::enable(int32_t, int en) argument 63 int flags = en ? 1 : 0; 68 if (mOrientationEnabled && !en) { 88 int AccelerationSensor::enableOrientation(int en) 90 int flags = en ? 1 : 0; 94 if (mEnabled && !en) {
|
H A D | GyroSensor.cpp | 62 int GyroSensor::enable(int32_t, int en) argument 64 int flags = en ? 1 : 0;
|
H A D | LightSensor.cpp | 48 int LightSensor::enable(int32_t, int en) { argument 50 en = en ? 1 : 0; 51 if(mEnabled != en) { 52 if (en) { 55 err = ioctl(dev_fd, MAX9635_IOCTL_SET_ENABLE,&en); 59 mEnabled = en; 61 if (!en) {
|
H A D | PressureSensor.cpp | 65 int PressureSensor::enable(int32_t, int en) argument 67 int flags = en ? 1 : 0;
|
H A D | AkmSensor.cpp | 88 int AkmSensor::enable(int32_t handle, int en) argument 100 int newState = en ? 1 : 0;
|
/device/samsung/tuna/libsensors/ |
H A D | ProximitySensor.cpp | 53 int ProximitySensor::handleEnable(int en) { argument 54 if (!en)
|
H A D | SamsungSensorBase.cpp | 53 int SamsungSensorBase::handleEnable(int en) { argument 98 int SamsungSensorBase::enable(int32_t handle, int en) argument 102 if (en != mEnabled) { 106 err = write(fd, en ? "1" : "0", 2); 111 mEnabled = en; 112 err = handleEnable(en);
|
/device/samsung/crespo/libsensors/ |
H A D | ProximitySensor.cpp | 67 int ProximitySensor::enable(int32_t, int en) { argument 68 int flags = en ? 1 : 0;
|
H A D | GyroSensor.cpp | 78 int GyroSensor::enable(int32_t, int en) { argument 79 int flags = en ? 1 : 0;
|
H A D | LightSensor.cpp | 71 int LightSensor::enable(int32_t handle, int en) argument 73 int flags = en ? 1 : 0;
|
H A D | AkmSensor.cpp | 137 int AkmSensor::enable(int32_t handle, int en) argument 150 int newState = en ? 1 : 0; 161 if (en)
|
Completed in 51 milliseconds