Home
last modified time | relevance | path

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

/system/chre/core/tests/
Dsensor_request_test.cc28 EXPECT_EQ(request.getInterval(), Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT)); in TEST()
41 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
54 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
67 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
79 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(0)); in TEST()
92 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
105 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(10)); in TEST()
116 EXPECT_EQ(mergedRequest.getInterval(), in TEST()
131 EXPECT_EQ(mergedRequest.getInterval(), Nanoseconds(20000000)); in TEST()
142 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.cc35 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
564 request.getInterval().toRawNanoseconds(), in logStateToBuffer()
678 sensorRequest.getMode(), sensorRequest.getInterval(), in addSensorRequestLog()
/system/chre/core/include/chre/core/
Dsensor_request.h100 Nanoseconds getInterval() const { in getInterval() function
/system/chre/platform/shared/
Dplatform_sensor_manager.cc90 request.getInterval().toRawNanoseconds(), in configureSensor()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc724 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in configureSensor()