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.cc38 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
444 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.cc883 if (status.interval != request.getInterval().toRawNanoseconds()) { in updateSamplingStatus()
885 status.interval = request.getInterval().toRawNanoseconds(); in updateSamplingStatus()
1159 uint64_t cappedInterval = chreRequest.getInterval().toRawNanoseconds(); in populateSensorRequest()
1180 std::max(request.getLatency(), request.getInterval()); in populateSensorRequest()
1188 intervalToSmgrSamplingRate(request.getInterval()); in populateSensorRequest()
1518 request.getInterval(), request.getLatency()); in applyRequest()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc801 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in applyRequest()