Home
last modified time | relevance | path

Searched refs:getLatency (Results 1 – 5 of 5) sorted by relevance

/system/chre/core/tests/
Dsensor_request_test.cc49 EXPECT_EQ(request.getLatency(), Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)); in TEST()
62 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
75 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
89 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
101 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
114 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(10)); in TEST()
127 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(10)); in TEST()
139 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
153 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
164 EXPECT_EQ(mergedRequest.getLatency(), in TEST()
[all …]
/system/chre/core/include/chre/core/
Dsensor_request.h292 Nanoseconds getLatency() const;
/system/chre/core/
Dsensor_request.cc265 Nanoseconds SensorRequest::getLatency() const { in getLatency() function in chre::SensorRequest
Dsensor_request_manager.cc32 uint64_t requestedLatency = sensorRequest.getLatency().toRawNanoseconds(); in isSensorRequestValid()
/system/chre/platform/slpi/
Dplatform_sensor.cc814 isOneShot ? Nanoseconds(0) : chreRequest.getLatency()); in populateSensorRequest()
822 (request.getLatency() > request.getInterval()) ? in populateSensorRequest()
823 request.getLatency() : request.getInterval(); in populateSensorRequest()