Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DRecurrentTimerTest.cpp36 std::shared_ptr<RecurrentTimer::Callback> getCallback(size_t token) { in getCallback() function in android::hardware::automotive::vehicle::RecurrentTimerTest
84 auto action = getCallback(0); in TEST_F()
99 auto action = getCallback(0); in TEST_F()
127 auto action = getCallback(0); in TEST_F()
147 auto action1 = getCallback(1); in TEST_F()
151 auto action2 = getCallback(2); in TEST_F()
155 auto action3 = getCallback(3); in TEST_F()
195 auto action = getCallback(0); in TEST_F()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DConnectedClientTest.cpp49 MockVehicleCallback* getCallback() { return mCallback.get(); } in getCallback() function in android::hardware::automotive::vehicle::ConnectedClientTest
86 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
114 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
147 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
167 auto maybeSetValueResults = getCallback()->nextSetValueResults(); in TEST_F()
187 auto maybeSetValueResults = getCallback()->nextSetValueResults(); in TEST_F()
212 auto maybeSetValueResults = getCallback()->nextSetValueResults(); in TEST_F()
DDefaultVehicleHalTest.cpp434 MockVehicleCallback* getCallback() { return mCallback.get(); } in getCallback() function in android::hardware::automotive::vehicle::DefaultVehicleHalTest
703 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
725 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
799 auto maybeResult = getCallback()->nextGetValueResults(); in TEST_F()
837 ASSERT_TRUE(getCallback()->waitForGetValueResults(1, timeout)) << "no results in callback"; in TEST_F()
838 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
841 ASSERT_FALSE(getCallback()->nextGetValueResults().has_value()) << "more results than expected"; in TEST_F()
871 ASSERT_TRUE(getCallback()->waitForGetValueResults(1, timeout * 100)) in TEST_F()
873 auto maybeGetValueResults = getCallback()->nextGetValueResults(); in TEST_F()
877 ASSERT_FALSE(getCallback()->nextGetValueResults().has_value()) << "more results than expected"; in TEST_F()
[all …]
DSubscriptionManagerTest.cpp113 PropertyCallback* getCallback() { return mCallback.get(); } in getCallback() function in android::hardware::automotive::vehicle::SubscriptionManagerTest
115 std::list<VehiclePropValue> getEvents() { return getCallback()->getEvents(); } in getEvents()
117 void clearEvents() { return getCallback()->clearEvents(); } in clearEvents()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DSubscriptionManager_test.cpp70 callbacks.push_back(c->getCallback()); in extractCallbacks()
137 ASSERT_EQ(cb1, clients.front()->getCallback()); in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp460 client->getCallback()->onPropertySetError(errorCode, property, areaId); in onHalPropertySetError()
481 auto status = cv.client->getCallback()->onPropertyEvent(vec); in onBatchHalEvent()
484 toString(cv.client->getCallback()).c_str(), in onBatchHalEvent()
554 client->getCallback()->onPropertySet(value); in handlePropertySetEvent()
DSubscriptionManager.cpp259 auto res = client->getCallback()->unlinkToDeath(mCallbackDeathRecipient); in unsubscribe()
262 __func__, client->getCallback().get(), res.description().c_str()); in unsubscribe()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DSubscriptionManager.h47 sp<IVehicleCallback> getCallback() const { in getCallback() function