Searched refs:getLatency (Results 1 – 6 of 6) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 50 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/ |
D | sensor_request.cc | 31 || request.getLatency() == Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { in getBatchInterval() 34 return request.getInterval() + request.getLatency(); in getBatchInterval()
|
D | sensor_request_manager.cc | 445 request.getLatency().toRawNanoseconds(), in logStateToBuffer()
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 99 Nanoseconds getLatency() const { in getLatency() function
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 887 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/ |
D | platform_sensor.cc | 805 : static_cast<uint32_t>(request.getLatency().toRawNanoseconds() in applyRequest()
|