Home
last modified time | relevance | path

Searched refs:mergeWith (Results 1 – 5 of 5) sorted by relevance

/system/chre/core/tests/
Dsensor_request_test.cc39 EXPECT_TRUE(mergedRequest.mergeWith(activeContinuous)); in TEST()
40 EXPECT_FALSE(mergedRequest.mergeWith(activeOneShot)); in TEST()
52 EXPECT_TRUE(mergedRequest.mergeWith(activeOneShot)); in TEST()
53 EXPECT_FALSE(mergedRequest.mergeWith(passiveContinuous)); in TEST()
65 EXPECT_TRUE(mergedRequest.mergeWith(passiveContinuous)); in TEST()
66 EXPECT_FALSE(mergedRequest.mergeWith(passiveOneShot)); in TEST()
77 EXPECT_TRUE(mergedRequest.mergeWith(passiveOneShot)); in TEST()
78 EXPECT_FALSE(mergedRequest.mergeWith(off)); in TEST()
90 EXPECT_TRUE(mergedRequest.mergeWith(lowLatencyRequest)); in TEST()
91 EXPECT_FALSE(mergedRequest.mergeWith(highLatencyRequest)); in TEST()
[all …]
Drequest_multiplexer_test.cc35 bool mergeWith(const FakeRequest &request) { in mergeWith() function in FakeRequest
/system/chre/core/include/chre/core/
Drequest_multiplexer_impl.h35 *maximalRequestChanged = mCurrentMaximalRequest.mergeWith(request); in addRequest()
91 maximalRequest.mergeWith(mRequests[i]); in updateMaximalRequest()
Dsensor_request.h95 bool mergeWith(const SensorRequest &request);
/system/chre/core/
Dsensor_request.cc76 bool SensorRequest::mergeWith(const SensorRequest &request) { in mergeWith() function in chre::SensorRequest