Searched refs:VmsLayer (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VmsUtils.h | 41 struct VmsLayer { struct 42 VmsLayer(int type, int subtype, int version) : type(type), subtype(subtype), version(version) {} in VmsLayer() argument 46 bool operator==(const VmsLayer& layer) const { argument 55 size_t operator()(const VmsLayer& layer) const { in operator() argument 63 VmsLayerAndPublisher(VmsLayer layer, int publisher_id) in VmsLayerAndPublisher() 65 VmsLayer layer; 72 VmsAssociatedLayer(VmsLayer layer, std::vector<int> publisher_ids) in VmsAssociatedLayer() 74 VmsLayer layer; 81 VmsLayerOffering(VmsLayer layer, std::vector<VmsLayer> dependencies) in VmsLayerOffering() 83 VmsLayerOffering(VmsLayer layer) : layer(layer), dependencies() {} in VmsLayerOffering() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VmsUtils_test.cpp | 33 VmsLayer layer(1, 0, 2); in TEST() 48 VmsLayer layer(1, 0, 2); in TEST() 63 VmsOffers offers = {123, {VmsLayerOffering(VmsLayer(1, 0, 2))}}; in TEST() 87 VmsLayer layer(1, 0, 2); in TEST() 88 std::vector<VmsLayer> dependencies = {VmsLayer(2, 0, 2), VmsLayer(3, 0, 3)}; in TEST() 143 const VmsLayerAndPublisher layer_and_publisher(VmsLayer(2, 0, 1), 123); in TEST() 170 VmsLayer layer(1, 0, 2); in TEST() 179 const VmsLayerAndPublisher layer_and_publisher(VmsLayer(1, 0, 1), 123); in TEST() 187 VmsLayer layer(1, 0, 2); in TEST() 280 {VmsLayerOffering(VmsLayer(1, 0, 1), {VmsLayer(4, 1, 1)}), in testSubscribedLayers() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VmsUtils.cpp | 56 std::unique_ptr<VehiclePropValue> createSubscribeMessage(const VmsLayer& layer) { in createSubscribeMessage() 72 std::unique_ptr<VehiclePropValue> createUnsubscribeMessage(const VmsLayer& layer) { in createUnsubscribeMessage() 217 std::vector<VmsLayer> getSubscribedLayers(const VehiclePropValue& subscriptions_state, in getSubscribedLayers() 225 std::unordered_set<VmsLayer, VmsLayer::VmsLayerHashFunction> offered_layers; in getSubscribedLayers() 229 std::vector<VmsLayer> subscribed_layers; in getSubscribedLayers() 240 VmsLayer layer = VmsLayer(subscriptions_state.value.int32Values[current_index], in getSubscribedLayers() 261 VmsLayer layer = VmsLayer(subscriptions_state.value.int32Values[current_index], in getSubscribedLayers() 354 VmsLayer layer = VmsLayer(availability_state.value.int32Values[current_index], in getAvailableLayers()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.cpp | 74 using ::android::hardware::automotive::vehicle::V2_0::vms::VmsLayer; 293 VmsLayer layer(1, 0, 2); in invokeVmsUtils() 298 VmsOffers offers = {intValue, {VmsLayerOffering(VmsLayer(1, 0, 2))}}; in invokeVmsUtils() 300 std::vector<VmsLayer> dependencies = {VmsLayer(2, 0, 2), VmsLayer(3, 0, 3)}; in invokeVmsUtils() 309 const VmsLayerAndPublisher layer_and_publisher(VmsLayer(2, 0, 1), intValue); in invokeVmsUtils() 369 {VmsLayerOffering(VmsLayer(1, 0, 1), {VmsLayer(4, 1, 1)}), in invokeGetSubscribedLayers() 370 VmsLayerOffering(VmsLayer(2, 0, 1))}}; in invokeGetSubscribedLayers()
|