Home
last modified time | relevance | path

Searched refs:vhal (Results 1 – 25 of 43) sorted by relevance

12

/packages/services/Car/cpp/watchdog/server/tests/
DMockVhalClient.h28 class MockVhalClient final : public android::frameworks::automotive::vhal::IVhalClient {
31 using VhalClientResult = android::frameworks::automotive::vhal::VhalClientResult<T>;
41 std::unique_ptr<android::frameworks::automotive::vhal::ISubscriptionClient>
43 std::shared_ptr<android::frameworks::automotive::vhal::ISubscriptionCallback> callback) in getSubscriptionClient()
48 MOCK_METHOD(std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>,
50 MOCK_METHOD(std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>,
53 (const android::frameworks::automotive::vhal::IHalPropValue&,
57 VhalClientResult<std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>,
58 getValueSync, (const android::frameworks::automotive::vhal::IHalPropValue&),
61 (const android::frameworks::automotive::vhal::IHalPropValue&,
[all …]
DMockSubscriptionClient.h42 public android::frameworks::automotive::vhal::ISubscriptionClient {
46 const std::shared_ptr<android::frameworks::automotive::vhal::ISubscriptionCallback>& in MockSubscriptionClient()
50 android::frameworks::automotive::vhal::SubscriptionVehicleCallback>(callback); in MockSubscriptionClient()
58 android::frameworks::automotive::vhal::VhalClientResult<void>, subscribe,
62 android::frameworks::automotive::vhal::VhalClientResult<void> unsubscribe( in unsubscribe()
65 return android::frameworks::automotive::vhal::ClientStatusError( in unsubscribe()
76 std::shared_ptr<android::frameworks::automotive::vhal::SubscriptionVehicleCallback> mCallback;
DWatchdogProcessServiceTest.cpp53 using ::android::frameworks::automotive::vhal::ClientStatusError;
54 using ::android::frameworks::automotive::vhal::ErrorCode;
55 using ::android::frameworks::automotive::vhal::IHalPropConfig;
56 using ::android::frameworks::automotive::vhal::IVhalClient;
57 using ::android::frameworks::automotive::vhal::VhalClientError;
58 using ::android::frameworks::automotive::vhal::VhalClientResult;
/packages/services/Car/tools/emulator/
Dgui.py107 vhal.setProperty(c.VEHICLEPROPERTY_TURN_SIGNAL_STATE, 0, group.checkedId())
115 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK)
118 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_REVERSE)
121 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_DRIVE)
134 vhal = Vhal(c.vhal_types_2_0, device=args.serial) variable
138 rx = Thread(target=rxThread, args=(vhal,))
143 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK)
Dvhal_prop_simulator.py38 self.vhal = Vhal(c.vhal_types_2_0, device)
46 self.vhal.setProperty(prop, area_id, value)
54 userActionGenerator = user_action_generator.UserActionGenerator(self.vhal)
55 drivingInfoGenerator = driving_info_generator.DrivingInfoGenerator(self.gpxFile, self.vhal)
Duser_action_generator.py110 def __init__(self, vhal): argument
111 self.configs = self._getConfig(vhal)
114 def _getConfig(self, vhal): argument
120 vhal.getConfig(actionProp)
121 vhalConfig[actionProp] = ActionPropConfig(vhal.rxMsg().config[0])
Ddiagnostic_injector.py53 self.vhal = Vhal(c.vhal_types_2_0, device)
70 request(self.vhal)
71 return self.vhal.rxMsg()
Ddriving_info_generator.py91 def __init__(self, gpxFile, vhal): argument
106 vhal.getConfig(c.VEHICLEPROPERTY_OBD2_LIVE_FRAME)
107 self.liveFrameConfig = vhal.rxMsg()
/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingUtilTest.cpp46 using ::android::frameworks::automotive::vhal::AidlHalPropConfig;
47 using ::android::frameworks::automotive::vhal::AidlHalPropValue;
48 using ::android::frameworks::automotive::vhal::ClientStatusError;
49 using ::android::frameworks::automotive::vhal::ErrorCode;
50 using ::android::frameworks::automotive::vhal::IHalPropConfig;
51 using ::android::frameworks::automotive::vhal::IHalPropValue;
52 using ::android::frameworks::automotive::vhal::ISubscriptionCallback;
53 using ::android::frameworks::automotive::vhal::ISubscriptionClient;
54 using ::android::frameworks::automotive::vhal::IVhalClient;
55 using ::android::frameworks::automotive::vhal::VhalClientResult;
DVehicleBindingIntegrationTest.cpp31 using ::android::frameworks::automotive::vhal::IVhalClient;
/packages/services/Car/cpp/evs/apps/default/inc/
DEvsVehicleListener.h32 public android::frameworks::automotive::vhal::ISubscriptionCallback {
35 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>& in onPropertyEvent()
48 [[maybe_unused]] const std::vector<android::frameworks::automotive::vhal::HalPropError>& in onPropertySetError()
DEvsStateControl.h43 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient> pVnet,
80 android::frameworks::automotive::vhal::ErrorCode invokeGet(
85 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient> mVehicle;
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.h113 android::frameworks::automotive::vhal::IVhalClient>()>& tryCreateVhalClientFunc,
223 public android::frameworks::automotive::vhal::ISubscriptionCallback {
229 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>&
233 const std::vector<android::frameworks::automotive::vhal::HalPropError>& errors)
301 const std::function<std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient>()>
319 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient::OnBinderDiedCallbackFunc>
334 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient> mVhalService
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DREADME.md7 For default usage to enable fake VHAL mode, run `enable-fake-vhal.sh` and verify the result shows
13 To disable, run `disable-fake-vhal.sh` and verify the result shows
51 $ adb shell cmd car_service check-fake-vhal
Ddisable-fake-vhal.sh14 && adb shell cmd car_service check-fake-vhal
Denable-fake-vhal.sh15 && adb shell cmd car_service check-fake-vhal
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.h70 public android::frameworks::automotive::vhal::ISubscriptionCallback {
75 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>&
78 void onPropertySetError(const std::vector<android::frameworks::automotive::vhal::HalPropError>&
304 std::function<void(const android::frameworks::automotive::vhal::IHalPropValue&)>
350 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient> mVhalService
362 std::unique_ptr<android::frameworks::automotive::vhal::ISubscriptionClient> mSubscriptionClient;
/packages/services/Car/cpp/security/vehicle_binding_util/src/
DVehicleBindingUtil.cpp47 using ::android::frameworks::automotive::vhal::IHalPropValue;
48 using ::android::frameworks::automotive::vhal::IVhalClient;
49 using ::android::frameworks::automotive::vhal::VhalClientResult;
DVehicleBindingUtil.h92 std::shared_ptr<android::frameworks::automotive::vhal::IVhalClient> vehicle,
/packages/services/Car/cpp/evs/apps/default/src/
DEvsStateControl.cpp51 using android::frameworks::automotive::vhal::ErrorCode;
52 using android::frameworks::automotive::vhal::IHalPropValue;
53 using android::frameworks::automotive::vhal::IVhalClient;
54 using android::frameworks::automotive::vhal::VhalClientResult;
Devs_app.cpp47 using android::frameworks::automotive::vhal::ISubscriptionClient;
48 using android::frameworks::automotive::vhal::IVhalClient;
/packages/services/Car/cpp/vhal/client/include/
DIHalPropConfig.h26 namespace vhal {
DIHalPropValue.h30 namespace vhal {
DHidlHalPropConfig.h30 namespace vhal {
DAidlHalPropConfig.h31 namespace vhal {

12