Searched refs:multiplexer (Results 1 – 2 of 2) sorted by relevance
/system/chre/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 …]
|
/system/chre/core/ |
D | sensor_request_manager.cc | 689 SensorRequestMultiplexer &multiplexer = sensor.getRequestMultiplexer(); in addRequest() local 691 if (!multiplexer.addRequest(request, &addIndex, requestChanged)) { in addRequest() 701 multiplexer.removeRequest(addIndex, requestChanged); in addRequest() 719 SensorRequestMultiplexer &multiplexer = sensor.getRequestMultiplexer(); in updateRequest() local 720 SensorRequest previousRequest = multiplexer.getRequests()[updateIndex]; in updateRequest() 723 multiplexer.updateRequest(updateIndex, request, requestChanged); in updateRequest() 731 multiplexer.updateRequest(updateIndex, previousRequest, requestChanged); in updateRequest()
|