Home
last modified time | relevance | path

Searched refs:maxDelay (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/
DSensor.cpp65 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000LL) { in batch()
66 samplingPeriodNs = mSensorInfo.maxDelay * 1000LL; in batch()
212 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in AccelSensor()
238 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in PressureSensor()
261 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in MagnetometerSensor()
280 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in LightSensor()
299 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in ProximitySensor()
318 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in GyroSensor()
337 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in AmbientTempSensor()
357 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in RelativeHumiditySensor()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.cpp134 sensors[0].maxDelay = sensor_info.maxDelay; in getSensorsList_2_1()
232 sensor_list[0].maxDelay = sensor_info->maxDelay; in onSensorConnected()
DHidRawSensor.cpp442 featureValue->maxDelay = 0; in initFeatureValueFromHidDeviceInfo()
517 if (mFeatureInfo.maxDelay != 0 && mFeatureInfo.maxDelay < mFeatureInfo.minDelay) { in validateFeatureValueAndBuildSensor()
522 if (mFeatureInfo.minDelay != -1 && mFeatureInfo.maxDelay != 0) { in validateFeatureValueAndBuildSensor()
527 if (mFeatureInfo.minDelay != -1 && mFeatureInfo.maxDelay != 0) { in validateFeatureValueAndBuildSensor()
577 (long)mFeatureInfo.maxDelay, // maxDelay in validateFeatureValueAndBuildSensor()
934 mFeatureInfo.maxDelay = 1000000.0 in findSensorControlUsage()
937 mFeatureInfo.maxDelay = std::min(static_cast<int64_t>(1000000000), in findSensorControlUsage()
938 mFeatureInfo.maxDelay); in findSensorControlUsage()
1246 << " maxDelay: " << mFeatureInfo.maxDelay << LOG_ENDL in dump()
DHidRawSensor.h92 int64_t maxDelay; member
/hardware/interfaces/sensors/common/utils/
DconvertV2_1.h94 dst->maxDelay = src.maxDelay; in convertToSensor()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h271 int64_t maxSamplingPeriodInNs = sensor.maxDelay * 1000ll;
559 static void assertDelayMatchReportMode(int32_t minDelay, int32_t maxDelay, in assertDelayMatchReportMode() argument
564 ASSERT_LE(0, maxDelay); in assertDelayMatchReportMode()
568 ASSERT_LE(0, maxDelay); in assertDelayMatchReportMode()
572 ASSERT_EQ(0, maxDelay); in assertDelayMatchReportMode()
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp41 dst->maxDelay = src.maxDelay; in convertFromSensor()
61 dst->maxDelay = src.maxDelay; in convertToSensor()
/hardware/interfaces/sensors/2.1/default/
DSensorsV2_1.cpp44 mSensorInfo.maxDelay = V2_X::implementation::kDefaultMaxDelayUs; in HingeAngleSensor()
/hardware/libhardware/include/hardware/
Dsensors.h609 int64_t maxDelay; member
611 int32_t maxDelay; member
/hardware/libhardware/include_all/hardware/
Dsensors.h609 int64_t maxDelay; member
611 int32_t maxDelay; member
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp447 int32_t maxDelay, maxSize; in TEST_P() local
450 EXPECT_EQ(Status::EX_NONE, vibrator->getCompositionDelayMax(&maxDelay).exceptionCode()); in TEST_P()
460 effect.delayMs = maxDelay * t; in TEST_P()
538 int32_t maxDelay; in TEST_P() local
540 EXPECT_EQ(Status::EX_NONE, vibrator->getCompositionDelayMax(&maxDelay).exceptionCode()); in TEST_P()
556 effect.delayMs = maxDelay; in TEST_P()
560 effect.delayMs = maxDelay + 1; in TEST_P()
/hardware/interfaces/sensors/2.1/
Dtypes.hal148 * NOTE: periodNs is in nanoseconds where as maxDelay/minDelay are in
156 int32_t maxDelay;
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensor.cpp50 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in Sensor()
77 static_cast<int64_t>(mSensorInfo.maxDelay) * 1000); in batch()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp196 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P()
199 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h422 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P()
425 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
617 batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */); in runFlushTest()
719 ASSERT_EQ(batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */), in TEST_P()
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
Dmultibufproto.h151 CARD16 maxDelay B16; /* maximum time between last update and now */
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp106 CHECK_MEMBER_AT(struct sensor_t, maxDelay, 52, 72); in CheckOffsets()
/hardware/interfaces/sensors/aidl/default/multihal/
DConvertUtils.cpp55 aidlSensorInfo.maxDelayUs = sensorInfo.maxDelay; in convertSensorInfo()
/hardware/interfaces/sensors/aidl/convert/
Dconvert.cpp81 dst->maxDelay = src.maxDelayUs; in convertToSensor()
/hardware/interfaces/sensors/1.0/
Dtypes.hal904 * NOTE: periodNs is in nanoseconds where as maxDelay/minDelay are in
912 int32_t maxDelay;