Home
last modified time | relevance | path

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

/system/chre/core/tests/
Dsensor_request_test.cc50 EXPECT_EQ(request.getLatency(), Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)); in TEST()
63 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
76 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
90 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
102 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
115 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(10)); in TEST()
128 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(10)); in TEST()
140 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
154 EXPECT_EQ(mergedRequest.getLatency(), Nanoseconds(0)); in TEST()
165 EXPECT_EQ(mergedRequest.getLatency(), in TEST()
[all …]
/system/chre/core/
Dsensor_request.cc31 || request.getLatency() == Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { in getBatchInterval()
34 return request.getInterval() + request.getLatency(); in getBatchInterval()
Dsensor_request_manager.cc445 request.getLatency().toRawNanoseconds(), in logStateToBuffer()
/system/chre/core/include/chre/core/
Dsensor_request.h99 Nanoseconds getLatency() const { in getLatency() function
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc887 if (status.latency != request.getLatency().toRawNanoseconds()) { in updateSamplingStatus()
889 status.latency = request.getLatency().toRawNanoseconds(); in updateSamplingStatus()
1168 isOneShot ? Nanoseconds(0) : chreRequest.getLatency()); in populateSensorRequest()
1180 std::max(request.getLatency(), request.getInterval()); in populateSensorRequest()
1518 request.getInterval(), request.getLatency()); in applyRequest()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc805 : static_cast<uint32_t>(request.getLatency().toRawNanoseconds() in applyRequest()