Home
last modified time | relevance | path

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

/system/libvintf/
DHalManifest.cpp35 constexpr Version HalManifest::kVersion;
38 bool HalManifest::shouldAdd(const ManifestHal& hal) const { in shouldAdd()
58 bool HalManifest::add(ManifestHal&& hal) { in add()
66 std::set<std::string> HalManifest::getHalNames() const { in getHalNames()
74 std::set<std::string> HalManifest::getHalNamesAndVersions() const { in getHalNamesAndVersions()
84 std::set<std::string> HalManifest::getInterfaceNames(const std::string &name) const { in getInterfaceNames()
94 ManifestHal *HalManifest::getAnyHal(const std::string &name) { in getAnyHal()
102 std::vector<const ManifestHal *> HalManifest::getHals(const std::string &name) const { in getHals()
110 std::vector<ManifestHal *> HalManifest::getHals(const std::string &name) { in getHals()
119 Transport HalManifest::getTransport(const std::string &package, const Version &v, in getTransport()
[all …]
DVintfObject.cpp36 static LockedUniquePtr<HalManifest> gDeviceManifest;
37 static LockedUniquePtr<HalManifest> gFrameworkManifest;
58 const HalManifest *VintfObject::GetDeviceHalManifest(bool skipCache) { in GetDeviceHalManifest()
60 std::bind(&HalManifest::fetchAllInformation, std::placeholders::_1, in GetDeviceHalManifest()
65 const HalManifest *VintfObject::GetFrameworkHalManifest(bool skipCache) { in GetFrameworkHalManifest()
67 std::bind(&HalManifest::fetchAllInformation, std::placeholders::_1, in GetFrameworkHalManifest()
155 std::unique_ptr<HalManifest> manifest;
164 const HalManifest *manifest;
Dassemble_vintf.cpp63 bool assembleHalManifest(HalManifest* halManifest) { in assembleHalManifest()
126 HalManifest checkManifest; in assembleCompatibilityMatrix()
149 HalManifest halManifest; in assemble()
Dmain.cpp28 const HalManifest *vm = VintfObject::GetDeviceHalManifest(); in main()
34 const HalManifest *fm = VintfObject::GetFrameworkHalManifest(); in main()
DAndroid.bp41 "HalManifest.cpp",
111 "HalManifest.cpp",
Dparse_xml.cpp609 struct HalManifestConverter : public XmlNodeConverter<HalManifest> {
611 void mutateNode(const HalManifest &m, NodeType *root, DocType *d) const override { in mutateNode()
612 appendAttr(root, "version", HalManifest::kVersion); in mutateNode()
621 bool buildObject(HalManifest *object, NodeType *root) const override { in buildObject()
629 if (version != HalManifest::kVersion) { in buildObject()
734 const XmlConverter<HalManifest> &gHalManifestConverter = halManifestConverter;
Dparse_string.cpp361 std::string dump(const HalManifest &vm) { in dump()
/system/libvintf/test/
Dmain.cpp37 extern const XmlConverter<HalManifest> &gHalManifestConverter;
52 bool add(HalManifest &vm, ManifestHal &&hal) { in add()
75 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal()
81 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(HalManifest &vm) { in getHals()
97 HalManifest testDeviceManifest() { in testDeviceManifest()
98 HalManifest vm; in testDeviceManifest()
123 HalManifest testFrameworkManfiest() { in testFrameworkManfiest()
124 HalManifest vm; in testFrameworkManfiest()
168 HalManifest vm = testDeviceManifest(); in TEST_F()
183 HalManifest vm = testDeviceManifest(); in TEST_F()
[all …]
/system/libvintf/include/vintf/
DHalManifest.h40 struct HalManifest { struct
47 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest() function
131 friend std::string dump(const HalManifest &vm); argument
132 friend bool operator==(const HalManifest &lft, const HalManifest &rgt);
DVintfObject.h56 static const HalManifest *GetDeviceHalManifest(bool skipCache = false);
62 static const HalManifest *GetFrameworkHalManifest(bool skipCache = false);
Dparse_xml.h37 extern const XmlConverter<HalManifest> &gHalManifestConverter;
DManifestHal.h54 friend struct HalManifest;
DCompatibilityMatrix.h61 friend struct HalManifest;
DVndk.h52 friend struct HalManifest;
Dparse_string.h83 std::string dump(const HalManifest &vm);
/system/hwservicemanager/
DVintf.cpp16 const vintf::HalManifest *vm) { in getTransportFromManifest()