Lines Matching defs:instances
135 const auto &instances = it->second.instances;
136 if (instances.find(instanceName) == instances.end()) {
169 ret.insert(it->second.instances.begin(), it->second.instances.end());
177 const auto &instances = getInstances(halName, interfaceName);
178 return instances.find(instanceName) != instances.end();
183 using Instances = std::map<Version, InstancesOfVersion>;
207 matrixHalInterfacePair.second.instances;
217 Instances instances;
219 // because interfaces / instances can span in multiple HALs.
223 instances[manifestHalVersion] = {};
226 const auto& toAdd = halInterfacePair.second.instances;
227 instances[manifestHalVersion][interface].insert(toAdd.begin(), toAdd.end());
231 for (const auto& instanceMapPair : instances) {