Searched refs:getInterval (Results 1 – 6 of 6) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 49 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/ |
D | sensor_request.cc | 30 if (request.getInterval() == Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT) in getBatchInterval() 34 return request.getInterval() + request.getLatency(); in getBatchInterval()
|
D | sensor_request_manager.cc | 32 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid() 425 request.getInterval().toRawNanoseconds(), in logStateToBuffer()
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 91 Nanoseconds getInterval() const { in getInterval() function
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 898 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/ |
D | platform_sensor.cc | 734 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in applyRequest()
|