Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsLayerAvailabilityTest.java67 private Set<VmsLayersOffering> mOfferings; field in VmsLayerAvailabilityTest
73 mOfferings = new HashSet<>(); in setUp()
94 mOfferings.add(offering); in testSingleLayerNoDeps()
95 mLayersAvailability.setPublishersOffering(mOfferings); in testSingleLayerNoDeps()
113 mOfferings.add(offering); in testChainOfDependenciesSatisfied()
114 mLayersAvailability.setPublishersOffering(mOfferings); in testChainOfDependenciesSatisfied()
136 mOfferings.add(offering1); in testChainOfDependenciesSatisfiedTwoOfferings()
137 mOfferings.add(offering2); in testChainOfDependenciesSatisfiedTwoOfferings()
138 mLayersAvailability.setPublishersOffering(mOfferings); in testChainOfDependenciesSatisfiedTwoOfferings()
151 mOfferings.add(offering); in testChainOfDependenciesNotSatisfied()
[all …]
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientInfo.java54 private final SparseArray<Set<VmsLayerDependency>> mOfferings = new SparseArray<>(); field in VmsClientInfo
107 Set<VmsLayerDependency> providerOfferings = mOfferings.get(providerId); in setProviderOfferings()
117 mOfferings.put(providerId, new ArraySet<>(offerings)); in setProviderOfferings()
126 List<VmsLayersOffering> result = new ArrayList<>(mOfferings.size()); in getAllOfferings()
128 for (int i = 0; i < mOfferings.size(); i++) { in getAllOfferings()
129 int providerId = mOfferings.keyAt(i); in getAllOfferings()
130 Set<VmsLayerDependency> providerOfferings = mOfferings.valueAt(i); in getAllOfferings()
201 for (VmsLayerDependency layerOffering : mOfferings.get( in dump()