Lines Matching refs:fqInstance

70 std::string getPackageAndVersion(const std::string& fqInstance) {  in getPackageAndVersion()  argument
71 return splitFirst(fqInstance, ':').first; in getPackageAndVersion()
124 Partition ListCommand::resolvePartition(Partition process, const FqInstance& fqInstance) const { in resolvePartition()
125 if (fqInstance.inPackage("vendor") || fqInstance.inPackage("com")) { in resolvePartition()
129 if (fqInstance.inPackage("android.frameworks") || fqInstance.inPackage("android.system") || in resolvePartition()
130 fqInstance.inPackage("android.hidl")) { in resolvePartition()
136 if (fqInstance.inPackage("android.hardware")) { in resolvePartition()
146 bool match(const vintf::ManifestInstance& instance, const FqInstance& fqInstance, in match() argument
153 (!fqInstance.hasInterface() || fqInstance.getInterface() == instance.interface()) && in match()
154 (!fqInstance.hasInstance() || fqInstance.getInstance() == instance.instance()); in match()
157 bool match(const vintf::MatrixInstance& instance, const FqInstance& fqInstance, in match() argument
159 return (!fqInstance.hasInterface() || fqInstance.getInterface() == instance.interface()) && in match()
160 (!fqInstance.hasInstance() || instance.matchInstance(fqInstance.getInstance())); in match()
165 const FqInstance& fqInstance, vintf::TransportArch ta, VintfInfo value) { in getVintfInfo() argument
167 (void)object->forEachHidlInstanceOfVersion(fqInstance.getPackage(), fqInstance.getVersion(), in getVintfInfo()
169 found = match(instance, fqInstance, ta); in getVintfInfo()
193 FqInstance fqInstance; in getVintfInfo() local
194 if (!fqInstance.setTo(fqInstanceName) && in getVintfInfo()
196 !fqInstance.setTo(getPackageAndVersion(fqInstanceName))) { in getVintfInfo()
201 return lshal::getVintfInfo(getDeviceManifest(), fqInstance, ta, DEVICE_MANIFEST) | in getVintfInfo()
202 lshal::getVintfInfo(getFrameworkManifest(), fqInstance, ta, FRAMEWORK_MANIFEST) | in getVintfInfo()
203 lshal::getVintfInfo(getDeviceMatrix(), fqInstance, ta, DEVICE_MATRIX) | in getVintfInfo()
204 lshal::getVintfInfo(getFrameworkMatrix(), fqInstance, ta, FRAMEWORK_MATRIX); in getVintfInfo()
321 FqInstance fqInstance; in addEntryWithInstance() local
322 if (!fqInstance.setTo(entry.interfaceName)) { in addEntryWithInstance()
327 if (fqInstance.getPackage() == "android.hidl.base") { in addEntryWithInstance()
331 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance()
334 err() << "Warning: Cannot guess the partition of FqInstance " << fqInstance.string() in addEntryWithInstance()
357 auto vintfFqInstance = vintf::FqInstance::from(fqInstance.string()); in addEntryWithInstance()
359 err() << "Unable to convert " << fqInstance.string() << " to vintf::FqInstance" in addEntryWithInstance()
367 err() << "Warning: Cannot insert '" << fqInstance.string() << ": " << e << std::endl; in addEntryWithInstance()