Searched refs:getInterval (Results 1 – 6 of 6) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 28 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/ |
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 | 35 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/ |
D | sensor_request.h | 100 Nanoseconds getInterval() const { in getInterval() function
|
/system/chre/platform/shared/ |
D | platform_sensor_manager.cc | 90 request.getInterval().toRawNanoseconds(), in configureSensor()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor_manager.cc | 724 kOneSecondInNanoseconds / request.getInterval().toRawNanoseconds()), in configureSensor()
|