Searched refs:buildCarDataInternal (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/ |
D | TelemetryServerTest.cpp | 85 CarDataInternal buildCarDataInternal(int id, const std::vector<uint8_t>& content) { in buildCarDataInternal() function 305 expectMockListenerToReceive({buildCarDataInternal(102, {2, 3})}).WillOnce(ReturnOk()); in TEST_F() 306 expectMockListenerToReceive({buildCarDataInternal(103, {3, 4})}).WillOnce(ReturnOk()); in TEST_F() 307 expectMockListenerToReceive({buildCarDataInternal(104, {4, 5})}).WillOnce(ReturnOk()); in TEST_F() 322 expectMockListenerToReceive({buildCarDataInternal(101, {1})}).Times(0); in TEST_F() 335 expectMockListenerToReceive({buildCarDataInternal(101, {1})}).Times(1).WillOnce(ReturnOk()); in TEST_F() 348 expectMockListenerToReceive({buildCarDataInternal(101, {1})}).Times(1).WillOnce(ReturnOk()); in TEST_F() 360 expectMockListenerToReceive({buildCarDataInternal(101, {1})}).WillOnce(ReturnOk()); in TEST_F() 361 expectMockListenerToReceive({buildCarDataInternal(102, {1})}).WillOnce(ReturnOk()); in TEST_F() 362 expectMockListenerToReceive({buildCarDataInternal(103, {1})}).WillOnce(ReturnOk()); in TEST_F() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/ |
D | CarTelemetrydPublisherTest.java | 108 private CarDataInternal buildCarDataInternal(int id, byte[] content) { in buildCarDataInternal() method in CarTelemetrydPublisherTest 232 new CarDataInternal[]{buildCarDataInternal(CAR_DATA_ID_1, new byte[]{55, 66, 77})}); in testPushesPublishedData_whenOnCarDataReceived() 252 new CarDataInternal[]{buildCarDataInternal(CAR_DATA_ID_1, new byte[]{1, 2, 3}), in testPushesPublishedData_multipleData() 253 buildCarDataInternal(CAR_DATA_ID_1, new byte[]{3, 2, 1})}); in testPushesPublishedData_multipleData() 267 new CarDataInternal[]{buildCarDataInternal(CAR_DATA_ID_1, new byte[]{41, 52, 63}), in testPushesPublishedData_multipleSubscribers() 268 buildCarDataInternal(CAR_DATA_ID_1, new byte[]{53, 62, 71}), in testPushesPublishedData_multipleSubscribers() 269 buildCarDataInternal(CAR_DATA_ID_1, new byte[]{40, 50, 60})}); in testPushesPublishedData_multipleSubscribers() 348 new CarDataInternal[]{buildCarDataInternal(10, new byte[]{1, 2, 3}), in testPushesPublishedData_noMatchingSubscribers() 349 buildCarDataInternal(20, new byte[]{3, 2, 1}), in testPushesPublishedData_noMatchingSubscribers() 350 buildCarDataInternal(2000, new byte[]{30, 20, 10})}); in testPushesPublishedData_noMatchingSubscribers() [all …]
|