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 | 38 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid() 444 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 | 883 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/ |
D | platform_sensor.cc | 801 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in applyRequest()
|