Searched refs:getInterval (Results 1 – 5 of 5) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 48 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/ |
D | sensor_request.h | 286 Nanoseconds getInterval() const;
|
/system/chre/platform/slpi/ |
D | platform_sensor.cc | 813 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/ |
D | sensor_request.cc | 261 Nanoseconds SensorRequest::getInterval() const { in getInterval() function in chre::SensorRequest
|
D | sensor_request_manager.cc | 31 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
|