Home
last modified time | relevance | path

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

/packages/services/Car/cpp/vhal/client/src/
DHidlVhalClient.cpp42 using ::android::hardware::automotive::vehicle::V2_0::IVehicle;
57 sp<IVehicle> hidlVhal = IVehicle::getService(); in create()
66 sp<IVehicle> hidlVhal = IVehicle::tryGetService(); in tryCreate()
74 sp<IVehicle> hidlVhal = IVehicle::tryGetService(descriptor); in tryCreate()
81 HidlVhalClient::HidlVhalClient(sp<IVehicle> hal) : mHal(hal) { in HidlVhalClient()
237 HidlSubscriptionClient::HidlSubscriptionClient(sp<IVehicle> hal, in HidlSubscriptionClient()
DAidlVhalClient.cpp51 using ::aidl::android::hardware::automotive::vehicle::IVehicle;
86 std::shared_ptr<IVehicle> aidlVhal = in create()
87 IVehicle::fromBinder(SpAIBinder(AServiceManager_waitForService(AIDL_VHAL_SERVICE))); in create()
106 std::shared_ptr<IVehicle> aidlVhal = in tryCreate()
107 IVehicle::fromBinder(SpAIBinder(AServiceManager_getService(descriptor))); in tryCreate()
116 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal) : in AidlVhalClient()
119 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal, int64_t timeoutInMs) : in AidlVhalClient()
122 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal, int64_t timeoutInMs, in AidlVhalClient()
273 GetSetValueClient::GetSetValueClient(int64_t timeoutInNs, std::shared_ptr<IVehicle> hal) : in GetSetValueClient()
554 AidlSubscriptionClient::AidlSubscriptionClient(std::shared_ptr<IVehicle> hal, in AidlSubscriptionClient()
/packages/services/Car/cpp/vhal/client/include/
DAidlVhalClient.h60 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal);
62 AidlVhalClient(std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
136 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> mHal;
154 AidlVhalClient(std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
175 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> mHal);
207 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> mHal;
261 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
271 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> mHal;
DHidlVhalClient.h48 android::sp<android::hardware::automotive::vehicle::V2_0::IVehicle> hal);
94 android::sp<::android::hardware::automotive::vehicle::V2_0::IVehicle> mHal;
110 HidlSubscriptionClient(android::sp<android::hardware::automotive::vehicle::V2_0::IVehicle> hal,
120 android::sp<android::hardware::automotive::vehicle::V2_0::IVehicle> mHal;
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DCarArgumentMatchersTest.java61 private IVehicle mIVehicle;
134 private final IVehicle mIVehicle;
138 FakeService(UserManager userManager, IVehicle iVehicle, in FakeService()
171 private interface IVehicle { interface in CarArgumentMatchersTest
/packages/services/Car/service/src/com/android/car/
DHidlVehicleStub.java26 import android.hardware.automotive.vehicle.V2_0.IVehicle;
62 private final IVehicle mHidlVehicle;
71 HidlVehicleStub(IVehicle hidlVehicle) { in HidlVehicleStub()
343 private static IVehicle getHidlVehicle() { in getHidlVehicle()
348 return IVehicle.getService(instanceName, /* retry= */ true); in getHidlVehicle()
DAidlVehicleStub.java31 import android.hardware.automotive.vehicle.IVehicle;
99 private final IVehicle mAidlVehicle;
158 AidlVehicleStub(IVehicle aidlVehicle) { in AidlVehicleStub()
164 AidlVehicleStub(IVehicle aidlVehicle, HandlerThread handlerThread) { in AidlVehicleStub()
535 abstract void sendRequestsToVhal(IVehicle iVehicle, GetSetValuesCallback callbackForVhal) in sendRequestsToVhal()
580 private static IVehicle getAidlVehicle() { in getAidlVehicle()
582 return IVehicle.Stub.asInterface( in getAidlVehicle()
801 public void sendRequestsToVhal(IVehicle iVehicle, GetSetValuesCallback callbackForVhal) in sendRequestsToVhal()
851 public void sendRequestsToVhal(IVehicle iVehicle, GetSetValuesCallback callbackForVhal) in sendRequestsToVhal()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp41 using ::android::hardware::automotive::vehicle::V2_0::IVehicle;
49 class MockVhal final : public IVehicle {
51 Return<void> getAllPropConfigs(IVehicle::getAllPropConfigs_cb callback) override { in getAllPropConfigs()
57 IVehicle::getPropConfigs_cb callback) override { in getPropConfigs()
63 Return<void> get(const VehiclePropValue& requestPropValue, IVehicle::get_cb callback) override { in get()
87 Return<void> debugDump([[maybe_unused]] IVehicle::debugDump_cb callback) override { return {}; } in debugDump()
DAidlVhalClientTest.cpp45 using ::aidl::android::hardware::automotive::vehicle::IVehicle;
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DAidlMockedVehicleHal.java30 import android.hardware.automotive.vehicle.IVehicle;
61 public class AidlMockedVehicleHal extends IVehicle.Stub {
396 return IVehicle.HASH; in getInterfaceHash()
401 return IVehicle.VERSION; in getInterfaceVersion()
DHidlMockedVehicleHal.java25 import android.hardware.automotive.vehicle.V2_0.IVehicle;
49 public class HidlMockedVehicleHal extends IVehicle.Stub {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java37 import android.hardware.automotive.vehicle.V2_0.IVehicle;
38 import android.hardware.automotive.vehicle.V2_0.IVehicle.getCallback;
39 import android.hardware.automotive.vehicle.V2_0.IVehicle.getPropConfigsCallback;
96 private IVehicle mHidlVehicle;
DAidlVehicleStubUnitTest.java44 import android.hardware.automotive.vehicle.IVehicle;
110 private IVehicle mAidlVehicle;