Searched refs:multiplexer (Results 1 – 2 of 2) sorted by relevance
/chre-3.4.0/core/tests/ |
D | request_multiplexer_test.cc | 54 RequestMultiplexer<FakeRequest> multiplexer; in TEST() local 58 ASSERT_TRUE(multiplexer.addRequest(request, &index, &maximalRequestChanged)); in TEST() 60 EXPECT_EQ(multiplexer.getCurrentMaximalRequest().getPriority(), 0); in TEST() 64 RequestMultiplexer<FakeRequest> multiplexer; in TEST() local 68 ASSERT_TRUE(multiplexer.addRequest(request, &index, &maximalRequestChanged)); in TEST() 70 EXPECT_EQ(multiplexer.getCurrentMaximalRequest().getPriority(), 10); in TEST() 74 RequestMultiplexer<FakeRequest> multiplexer; in TEST() local 81 multiplexer.addRequest(request, &index, &maximalRequestChanged)); in TEST() 83 EXPECT_EQ(multiplexer.getCurrentMaximalRequest().getPriority(), 10); in TEST() 90 multiplexer.addRequest(request, &index, &maximalRequestChanged)); in TEST() [all …]
|
/chre-3.4.0/core/ |
D | sensor_request_manager.cc | 695 SensorRequestMultiplexer &multiplexer = sensor.getRequestMultiplexer(); in addRequest() local 697 if (!multiplexer.addRequest(request, &addIndex, requestChanged)) { in addRequest() 707 multiplexer.removeRequest(addIndex, requestChanged); in addRequest() 725 SensorRequestMultiplexer &multiplexer = sensor.getRequestMultiplexer(); in updateRequest() local 726 SensorRequest previousRequest = multiplexer.getRequests()[updateIndex]; in updateRequest() 729 multiplexer.updateRequest(updateIndex, request, requestChanged); in updateRequest() 737 multiplexer.updateRequest(updateIndex, previousRequest, requestChanged); in updateRequest()
|