/hardware/akm/AK8975_FS/libsensors/ |
D | sensors.cpp | 130 int setDelay(int handle, int64_t ns); 131 int setDelay_sub(int handle, int64_t ns); 153 int proxy_setDelay(int handle, int64_t ns); 235 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { in setDelay() argument 244 setDelay_sub(ID_A, ns); in setDelay() 245 setDelay_sub(ID_M, ns); in setDelay() 251 return setDelay_sub(handle, ns); in setDelay() 254 int sensors_poll_context_t::setDelay_sub(int handle, int64_t ns) { in setDelay_sub() argument 262 if (cur != ns) { in setDelay_sub() 263 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub() [all …]
|
D | AkmSensor.cpp | 134 int AkmSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 141 if (ns < -1 || 2147483647 < ns) { in setDelay() 142 ALOGE("AkmSensor: invalid delay (%lld)", ns); in setDelay() 161 if (ns != mDelay[id]) { in setDelay() 162 bytes = sprintf(buffer, "%lld", ns); in setDelay() 165 mDelay[id] = ns; in setDelay() 167 &input_sysfs_path[input_sysfs_path_len], ns/1000000.0f); in setDelay()
|
D | KionixSensor.h | 49 virtual int setDelay(int32_t handle, int64_t ns);
|
D | AdxlSensor.h | 49 virtual int setDelay(int32_t handle, int64_t ns);
|
D | AkmSensor.h | 47 virtual int setDelay(int32_t handle, int64_t ns);
|
/hardware/invensense/65xx/libsensors_iio/ |
D | PressureSensor.IIO.secondary.cpp | 101 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 107 mDelay = int(1000000000.f / ns); in setDelay() 113 int t_poll_time = (int)(ns / 1000000LL); in setDelay() 120 "HAL:setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f/ns); in setDelay()
|
D | CompassSensor.IIO.9150.cpp | 149 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 156 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 157 mDelay = ns; in setDelay() 158 if (ns == 0) in setDelay() 161 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
|
D | CompassSensor.IIO.primary.cpp | 284 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 290 mDelay = ns; in setDelay() 291 if (ns == 0) in setDelay() 295 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
|
D | sensors_mpl.cpp | 91 int setDelay(int handle, int64_t ns); 197 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay() argument 200 return mSensor->setDelay(handle, ns); in setDelay() 351 int handle, int64_t ns) in poll__setDelay() argument 354 int s= ctx->setDelay(handle, ns); in poll__setDelay()
|
D | CompassSensor.AKM.cpp | 84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 89 return mCompassSensor->setDelay(handle, ns); in setDelay()
|
D | MPLSensor.cpp | 2345 int64_t ns; in setBatch() local 2352 ns = mBatchTimeouts[i]; in setBatch() 2353 timeout = (ns < timeout) ? ns : timeout; in setBatch() 3072 int MPLSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 3098 if (ns < 0) in setDelay() 3102 "setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f / ns); in setDelay() 3105 if (ns < 5000000LL) { in setDelay() 3106 ns = 5000000LL; in setDelay() 3111 mDelays[what] = ns; in setDelay() 3112 … LOGV_IF(ENG_VERBOSE, "storing mDelays[%d] = %lld, previousDelay = %lld", what, ns, previousDelay); in setDelay() [all …]
|
D | PressureSensor.IIO.secondary.h | 45 virtual int setDelay(int32_t handle, int64_t ns);
|
/hardware/invensense/6515/libsensors_iio/ |
D | PressureSensor.IIO.secondary.cpp | 101 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 107 mDelay = int(1000000000.f / ns); in setDelay() 113 int t_poll_time = (int)(ns / 1000000LL); in setDelay() 120 "HAL:setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f/ns); in setDelay()
|
D | CompassSensor.IIO.9150.cpp | 151 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 158 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 159 mDelay = ns; in setDelay() 160 if (ns == 0) in setDelay() 163 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
|
D | CompassSensor.AKM.cpp | 84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 89 return mCompassSensor->setDelay(handle, ns); in setDelay()
|
D | CompassSensor.IIO.primary.cpp | 284 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument 290 mDelay = ns; in setDelay() 291 if (ns == 0) in setDelay() 295 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
|
D | sensors_mpl.cpp | 105 int setDelay(int handle, int64_t ns); 197 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay() argument 200 return mSensor->setDelay(handle, ns); in setDelay() 385 int handle, int64_t ns) in poll__setDelay() argument 388 int s= ctx->setDelay(handle, ns); in poll__setDelay()
|
D | PressureSensor.IIO.secondary.h | 45 virtual int setDelay(int32_t handle, int64_t ns);
|
D | MPLSensor.cpp | 2494 int64_t ns = 0; local 2501 ns = mBatchTimeouts[i]; 2502 timeout = (ns < timeout) ? ns : timeout; 3154 int MPLSensor::setDelay(int32_t handle, int64_t ns) argument 3180 if (ns < 0) 3184 "setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f / ns); 3187 if (ns < 5000000LL) { 3188 ns = 5000000LL; 3193 mDelays[what] = ns; 3194 … LOGV_IF(ENG_VERBOSE, "storing mDelays[%d] = %lld, previousDelay = %lld", what, ns, previousDelay); [all …]
|
D | CompassSensor.AKM.h | 47 virtual int setDelay(int32_t handle, int64_t ns);
|
/hardware/invensense/60xx/libsensors_iio/ |
D | sensors_mpl.cpp | 88 int setDelay(int handle, int64_t ns); 149 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay() argument 152 return mSensor->setDelay(handle, ns); in setDelay() 222 int handle, int64_t ns) in poll__setDelay() argument 225 int s= ctx->setDelay(handle, ns); in poll__setDelay()
|
D | CompassSensor.IIO.9150.cpp | 158 int CompassSensor::setDelay(int32_t /*handle*/, int64_t ns) in setDelay() argument 165 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 166 mDelay = ns; in setDelay() 167 if (ns == 0) in setDelay() 170 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
|
D | SensorBase.h | 55 virtual int setDelay(int32_t handle, int64_t ns);
|
/hardware/invensense/60xx/libsensors/ |
D | SensorBase.h | 59 virtual int setDelay(int32_t handle, int64_t ns);
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 192 int setDelay(int handle, int64_t ns); 294 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { in setDelay() argument 300 retval = v0->setDelay(v0, local_handle, ns); in setDelay() 428 int64_t ns) { in device__setDelay() argument 430 return ctx->setDelay(handle, ns); in device__setDelay()
|