Home
last modified time | relevance | path

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

/system/chre/core/tests/
Dsensor_request_test.cc48 EXPECT_EQ(request.getInterval(), Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT)); in TEST()
61 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
74 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
88 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
100 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
113 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
126 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
137 EXPECT_EQ(mergedRequest.getInterval(), in TEST()
152 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(20000000)); in TEST()
163 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
[all …]
/system/chre/core/include/chre/core/
Dsensor_request.h286 Nanoseconds getInterval() const;
/system/chre/platform/slpi/
Dplatform_sensor.cc813 isOneShot ? Nanoseconds(minInterval) : chreRequest.getInterval(), in populateSensorRequest()
822 (request.getLatency() > request.getInterval()) ? in populateSensorRequest()
823 request.getLatency() : request.getInterval(); in populateSensorRequest()
831 intervalToSmgrSamplingRate(request.getInterval()); in populateSensorRequest()
/system/chre/core/
Dsensor_request.cc261 Nanoseconds SensorRequest::getInterval() const { in getInterval() function in chre::SensorRequest
Dsensor_request_manager.cc31 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()