Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DSubscriptionManager_test.cpp45 sp<IVehicleCallback> cb1 = new MockedVehicleCallback(); member in android::hardware::automotive::vehicle::V2_0::__anonb5671a3f0111::SubscriptionManagerTest
106 manager.addOrUpdateSubscription(1, cb1, subscrToProp1, &updatedOptions)); in TEST_F()
112 ASSERT_ALL_EXISTS({cb1, cb2}, extractCallbacks(clients)); in TEST_F()
118 manager.addOrUpdateSubscription(1, cb1, subscrToProp1, &updatedOptions)); in TEST_F()
132 ASSERT_EQ(StatusCode::OK, manager.addOrUpdateSubscription(1, cb1, subscrToProp1, in TEST_F()
137 ASSERT_EQ(cb1, clients.front()->getCallback()); in TEST_F()
144 1, cb1, {SubscribeOptions{.propId = PROP1, .flags = SubscribeFlags::EVENTS_FROM_CAR}}, in TEST_F()
148 ASSERT_ALL_EXISTS({cb1}, extractCallbacks(clients)); in TEST_F()
151 ASSERT_ALL_EXISTS({cb1}, extractCallbacks(clients)); in TEST_F()
157 manager.addOrUpdateSubscription(1, cb1, subscrToProp1, &updatedOptions)); in TEST_F()
[all …]