/system/libvintf/ |
D | ManifestHal.cpp | 73 FqInstance fqInstance; in forEachInstance() local 74 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance() 75 if (!func(ManifestInstance(std::move(fqInstance), TransportArch{transportArch}, in forEachInstance() 115 bool ManifestHal::verifyInstance(const FqInstance& fqInstance, std::string* error) const { in verifyInstance() argument 116 if (fqInstance.hasPackage() && fqInstance.getPackage() != this->getName()) { in verifyInstance() 118 *error = "Should not add \"" + fqInstance.string() + "\" to a HAL with name " + in verifyInstance() 123 if (!fqInstance.hasVersion()) { in verifyInstance() 124 if (error) *error = "Should specify version: \"" + fqInstance.string() + "\""; in verifyInstance() 127 if (!fqInstance.hasInterface()) { in verifyInstance() 128 if (error) *error = "Should specify interface: \"" + fqInstance.string() + "\""; in verifyInstance() [all …]
|
D | ManifestInstance.cpp | 41 ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt) in ManifestInstance() argument 42 : mFqInstance(std::move(fqInstance)), mTransportArch(std::move(ta)), mHalFormat(fmt) {} in ManifestInstance() 43 ManifestInstance::ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, in ManifestInstance() argument 45 : mFqInstance(fqInstance), mTransportArch(ta), mHalFormat(fmt) {} in ManifestInstance()
|
D | VintfObject.cpp | 696 for (const auto& fqInstance : *inheritance) { in IsInstanceDeprecated() 698 fqInstance, listInstances); in IsInstanceDeprecated() 721 const FqInstance& fqInstance) { in IsInstanceListed() argument 723 listInstances(fqInstance.getPackage(), fqInstance.getVersion(), fqInstance.getInterface(), in IsInstanceListed() 724 {fqInstance.getInstance()} /* instanceHint*/); in IsInstanceListed() 726 [&](const auto& pair) { return pair.first == fqInstance.getInstance(); }); in IsInstanceListed() 736 FqInstance fqInstance; in GetListedInstanceInheritance() local 737 if (!fqInstance.setTo(package, version.majorVer, version.minorVer, interface, instance)) { in GetListedInstanceInheritance() 742 if (!IsInstanceListed(listInstances, fqInstance)) { in GetListedInstanceInheritance() 746 const FQName& fqName = fqInstance.getFqName(); in GetListedInstanceInheritance() [all …]
|
D | MatrixInstance.cpp | 37 MatrixInstance::MatrixInstance(HalFormat format, FqInstance&& fqInstance, VersionRange&& range, in MatrixInstance() argument 40 mFqInstance(std::move(fqInstance)), in MatrixInstance() 45 MatrixInstance::MatrixInstance(HalFormat format, const FqInstance fqInstance, in MatrixInstance() argument 48 mFqInstance(fqInstance), in MatrixInstance()
|
D | MatrixHal.cpp | 61 FqInstance fqInstance; in forEachInstance() local 62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance() 63 if (!func(MatrixInstance(format, std::move(fqInstance), VersionRange(vr), in forEachInstance()
|
D | HalManifest.cpp | 571 bool HalManifest::insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, in insertInstance() argument 574 if (hal.name == fqInstance.getPackage() && hal.format == format && in insertInstance() 576 return hal.insertInstance(fqInstance, error); in insertInstance() 581 hal.name = fqInstance.getPackage(); in insertInstance() 584 if (!hal.insertInstance(fqInstance, error)) return false; in insertInstance()
|
D | parse_string.cpp | 532 std::ostream& operator<<(std::ostream& os, const FqInstance& fqInstance) { in operator <<() argument 533 return os << fqInstance.string(); in operator <<() 536 bool parse(const std::string& s, FqInstance* fqInstance) { in parse() argument 537 return fqInstance->setTo(s); in parse()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 158 FqInstance fqInstance; in GetPidInterfacesMap() local 159 ASSERT_TRUE(fqInstance.setTo(fqName, debug_info.instanceName.c_str())); in GetPidInterfacesMap() 160 if (fqInstance.getFqName().string() != IBase::descriptor) { in GetPidInterfacesMap() 161 result[debug_info.pid].insert(fqInstance); in GetPidInterfacesMap() 252 FqInstance fqInstance; in TEST_F() local 253 ASSERT_TRUE(fqInstance.setTo(interface)) in TEST_F() 256 std::thread(GetHal, service, fqInstance).detach(); in TEST_F() 257 hidl_interfaces_map[service].insert(fqInstance); in TEST_F()
|
/system/libvintf/include/vintf/ |
D | ManifestInstance.h | 40 ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt); 41 ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, HalFormat fmt);
|
D | MatrixInstance.h | 40 MatrixInstance(HalFormat format, FqInstance&& fqInstance, VersionRange&& range, bool optional, 42 MatrixInstance(HalFormat format, const FqInstance fqInstance, const VersionRange& range,
|
D | ManifestHal.h | 97 bool insertInstance(const FqInstance& fqInstance, std::string* error = nullptr); 101 bool verifyInstance(const FqInstance& fqInstance, std::string* error = nullptr) const;
|
D | parse_string.h | 54 std::ostream& operator<<(std::ostream& os, const FqInstance& fqInstance); 87 bool parse(const std::string& s, FqInstance* fqInstance);
|
D | VintfObject.h | 334 static bool IsInstanceListed(const ListInstances& listInstances, const FqInstance& fqInstance); 336 const CompatibilityMatrix& targetMatrix, HalFormat format, const FqInstance& fqInstance,
|
D | HalManifest.h | 141 bool insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, HalFormat fmt,
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test.cpp | 169 FqInstance fqInstance; in main() local 170 if (!fqInstance.setTo(instance)) { in main() 174 gInstances.push_back(fqInstance); in main()
|