Lines Matching refs:fqInstance
69 std::string getPackageAndVersion(const std::string& fqInstance) { in getPackageAndVersion() argument
70 return splitFirst(fqInstance, ':').first; in getPackageAndVersion()
123 Partition ListCommand::resolvePartition(Partition process, const FqInstance& fqInstance) const { in resolvePartition()
124 if (fqInstance.inPackage("vendor") || fqInstance.inPackage("com")) { in resolvePartition()
128 if (fqInstance.inPackage("android.frameworks") || fqInstance.inPackage("android.system") || in resolvePartition()
129 fqInstance.inPackage("android.hidl")) { in resolvePartition()
135 if (fqInstance.inPackage("android.hardware")) { in resolvePartition()
145 bool match(const vintf::ManifestInstance& instance, const FqInstance& fqInstance, in match() argument
152 (!fqInstance.hasInterface() || fqInstance.getInterface() == instance.interface()) && in match()
153 (!fqInstance.hasInstance() || fqInstance.getInstance() == instance.instance()); in match()
156 bool match(const vintf::MatrixInstance& instance, const FqInstance& fqInstance, in match() argument
158 return (!fqInstance.hasInterface() || fqInstance.getInterface() == instance.interface()) && in match()
159 (!fqInstance.hasInstance() || instance.matchInstance(fqInstance.getInstance())); in match()
164 const FqInstance& fqInstance, vintf::TransportArch ta, VintfInfo value) { in getVintfInfo() argument
166 (void)object->forEachInstanceOfVersion(fqInstance.getPackage(), fqInstance.getVersion(), in getVintfInfo()
168 found = match(instance, fqInstance, ta); in getVintfInfo()
192 FqInstance fqInstance; in getVintfInfo() local
193 if (!fqInstance.setTo(fqInstanceName) && in getVintfInfo()
195 !fqInstance.setTo(getPackageAndVersion(fqInstanceName))) { in getVintfInfo()
200 return lshal::getVintfInfo(getDeviceManifest(), fqInstance, ta, DEVICE_MANIFEST) | in getVintfInfo()
201 lshal::getVintfInfo(getFrameworkManifest(), fqInstance, ta, FRAMEWORK_MANIFEST) | in getVintfInfo()
202 lshal::getVintfInfo(getDeviceMatrix(), fqInstance, ta, DEVICE_MATRIX) | in getVintfInfo()
203 lshal::getVintfInfo(getFrameworkMatrix(), fqInstance, ta, FRAMEWORK_MATRIX); in getVintfInfo()
400 FqInstance fqInstance; in addEntryWithInstance() local
401 if (!fqInstance.setTo(entry.interfaceName)) { in addEntryWithInstance()
406 if (fqInstance.getPackage() == gIBaseFqName.package()) { in addEntryWithInstance()
410 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance()
413 err() << "Warning: Cannot guess the partition of FqInstance " << fqInstance.string() in addEntryWithInstance()
437 if (!manifest->insertInstance(fqInstance, entry.transport, arch, vintf::HalFormat::HIDL, &e)) { in addEntryWithInstance()
438 err() << "Warning: Cannot insert '" << fqInstance.string() << ": " << e << std::endl; in addEntryWithInstance()