Home
last modified time | relevance | path

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

/system/chre/core/tests/
Dsensor_request_test.cc49 EXPECT_EQ(request.getInterval(), Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT)); in TEST()
62 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
75 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
89 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
101 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
114 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
127 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
138 EXPECT_EQ(mergedRequest.getInterval(), in TEST()
153 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(20000000)); in TEST()
164 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
[all …]
/system/chre/core/
Dsensor_request.cc30 if (request.getInterval() == Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT) in getBatchInterval()
34 return request.getInterval() + request.getLatency(); in getBatchInterval()
Dsensor_request_manager.cc32 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
425 request.getInterval().toRawNanoseconds(), in logStateToBuffer()
/system/chre/core/include/chre/core/
Dsensor_request.h91 Nanoseconds getInterval() const { in getInterval() function
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc898 if (status.interval != request.getInterval().toRawNanoseconds()) { in updateSamplingStatus()
900 status.interval = request.getInterval().toRawNanoseconds(); in updateSamplingStatus()
1174 uint64_t cappedInterval = chreRequest.getInterval().toRawNanoseconds(); in populateSensorRequest()
1195 std::max(request.getLatency(), request.getInterval()); in populateSensorRequest()
1203 intervalToSmgrSamplingRate(request.getInterval()); in populateSensorRequest()
1533 request.getInterval(), request.getLatency()); in applyRequest()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc734 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in applyRequest()