Home
last modified time | relevance | path

Searched refs:HalManifest (Results 1 – 18 of 18) sorted by relevance

/system/libvintf/
DHalManifest.cpp44 bool HalManifest::shouldAdd(const ManifestHal& hal, std::string* error) const { in shouldAdd()
102 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals()
116 bool HalManifest::add(ManifestHal&& halToAdd, std::string* error) { in add()
137 bool HalManifest::addAllHals(HalManifest* other, std::string* error) { in addAllHals()
150 bool HalManifest::shouldAddXmlFile(const ManifestXmlFile& xmlFile) const { in shouldAddXmlFile()
160 std::set<std::string> HalManifest::getHalNames() const { in getHalNames()
168 std::set<std::string> HalManifest::getHalNamesAndVersions() const { in getHalNamesAndVersions()
186 Transport HalManifest::getHidlTransport(const std::string& package, const Version& v, in getHidlTransport()
203 bool HalManifest::forEachInstanceOfVersion( in forEachInstanceOfVersion()
235 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals()
[all …]
DVintfObject.cpp102 std::shared_ptr<const HalManifest> VintfObject::GetDeviceHalManifest() { in GetDeviceHalManifest()
106 std::shared_ptr<const HalManifest> VintfObject::getDeviceHalManifest() { in getDeviceHalManifest()
111 std::shared_ptr<const HalManifest> VintfObject::GetFrameworkHalManifest() { in GetFrameworkHalManifest()
115 std::shared_ptr<const HalManifest> VintfObject::getFrameworkHalManifest() { in getFrameworkHalManifest()
151 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in getCombinedFrameworkMatrix()
209 status_t VintfObject::addDirectoryManifests(const std::string& directory, HalManifest* manifest, in addDirectoryManifests()
220 HalManifest fragmentManifest; in addDirectoryManifests()
243 status_t VintfObject::fetchDeviceHalManifest(HalManifest* out, std::string* error) { in fetchDeviceHalManifest()
244 HalManifest vendorManifest; in fetchDeviceHalManifest()
258 HalManifest odmManifest; in fetchDeviceHalManifest()
[all …]
DAssembleVintf.cpp288 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile()
299 using HalManifests = std::vector<HalManifest>;
315 bool setDeviceManifestKernel(HalManifest* manifest) { in setDeviceManifestKernel()
352 void inferDeviceManifestKernelFcm(HalManifest* manifest) { in inferDeviceManifestKernelFcm()
369 HalManifest* halManifest = &halManifests->front(); in assembleHalManifest()
372 HalManifest& manifestToAdd = *it; in assembleHalManifest()
477 bool setDeviceFcmVersion(HalManifest* manifest) { in setDeviceFcmVersion()
537 std::unique_ptr<HalManifest> checkManifest; in assembleCompatibilityMatrix()
541 checkManifest = std::make_unique<HalManifest>(); in assembleCompatibilityMatrix()
Dmain.cpp189 void insert(const HalManifest* manifest, Table* table, const RowMutator& mutate) { in insert()
221 Table generateHalSummary(const HalManifest* vm, const HalManifest* fm, in generateHalSummary()
DAndroid.bp40 "HalManifest.cpp",
Dparse_xml.cpp972 struct HalManifestConverter : public XmlNodeConverter<HalManifest> {
974 void mutateNode(const HalManifest &m, NodeType *root, DocType *d) const override { in mutateNode()
977 void mutateNode(const HalManifest& m, NodeType* root, DocType* d, in mutateNode()
1024 bool buildObject(HalManifest* object, NodeType* root, std::string* error) const override { in buildObject()
1314 XmlConverter<HalManifest>& gHalManifestConverter = halManifestConverter;
Dparse_string.cpp457 std::string dump(const HalManifest &vm) { in dump()
/system/libvintf/include/vintf/
DVintfObject.h95 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest();
101 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest();
229 details::LockedSharedPtr<HalManifest> mDeviceManifest;
230 details::LockedSharedPtr<HalManifest> mFrameworkManifest;
267 static std::shared_ptr<const HalManifest> GetDeviceHalManifest();
273 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest();
304 status_t getCombinedFrameworkMatrix(const std::shared_ptr<const HalManifest>& deviceManifest,
310 status_t addDirectoryManifests(const std::string& directory, HalManifest* manifests,
312 status_t fetchDeviceHalManifest(HalManifest* out, std::string* error = nullptr);
314 status_t fetchOdmHalManifest(HalManifest* out, std::string* error = nullptr);
[all …]
DHalManifest.h59 struct HalManifest : public HalGroup<ManifestHal>, struct
65 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest() function
69 bool addAllHals(HalManifest* other, std::string* error = nullptr);
146 [[nodiscard]] bool addAll(HalManifest* other, std::string* error = nullptr);
162 friend std::string dump(const HalManifest &vm); argument
163 friend bool operator==(const HalManifest &lft, const HalManifest &rgt);
Dparse_xml.h52 extern XmlConverter<HalManifest>& gHalManifestConverter;
DMatrixHal.h52 friend struct HalManifest;
DVndk.h54 friend struct HalManifest;
DManifestHal.h79 friend struct HalManifest;
DCompatibilityMatrix.h146 friend struct HalManifest;
Dparse_string.h104 std::string dump(const HalManifest &vm);
/system/libvintf/test/
DLibVintfTest.cpp43 extern XmlConverter<HalManifest>& gHalManifestConverter;
70 bool add(HalManifest &vm, ManifestHal &&hal) { in add()
101 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal()
107 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(const HalManifest& vm) { in getHals()
110 std::vector<const ManifestHal*> getHals(const HalManifest& vm, const std::string& name) { in getHals()
127 std::set<std::string> checkUnusedHals(const HalManifest& m, const CompatibilityMatrix& cm) { in checkUnusedHals()
138 HalManifest testDeviceManifest() { in testDeviceManifest()
139 HalManifest vm; in testDeviceManifest()
156 HalManifest testDeviceManifestWithXmlFile() { in testDeviceManifestWithXmlFile()
157 HalManifest vm = testDeviceManifest(); in testDeviceManifestWithXmlFile()
[all …]
Dvintf_object_tests.cpp704 bool containsVendorManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorManifest()
708 bool containsVendorEtcManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorEtcManifest()
712 bool vendorEtcManifestOverridden(const std::shared_ptr<const HalManifest>& p) { in vendorEtcManifestOverridden()
716 bool containsOdmManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmManifest()
720 bool containsOdmProductManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmProductManifest()
735 std::shared_ptr<const HalManifest> get() { in get()
807 std::shared_ptr<const HalManifest> get() { in get()
/system/hwservicemanager/
DVintf.cpp31 const std::shared_ptr<const vintf::HalManifest>& vm) { in getTransportFromManifest()
75 const std::shared_ptr<const vintf::HalManifest>& manifest, in insertManifestInstances()