Home
last modified time | relevance | path

Searched refs:HalFormat (Results 1 – 11 of 11) sorted by relevance

/system/libvintf/include/vintf/
DManifestInstance.h40 ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt);
41 ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, HalFormat fmt);
48 HalFormat format() const;
62 HalFormat mHalFormat;
DManifestHal.h43 ManifestHal(HalFormat fmt, std::string&& n, std::vector<Version>&& vs, TransportArch ta, in ManifestHal()
53 HalFormat format = HalFormat::HIDL;
DMatrixHal.h41 HalFormat format = HalFormat::HIDL;
DHalFormat.h28 enum class HalFormat : size_t { enum
Dparse_string.h31 std::ostream &operator<<(std::ostream &os, HalFormat hf);
63 bool parse(const std::string &s, HalFormat *hf);
DHalManifest.h128 bool insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, HalFormat fmt,
/system/libvintf/
DManifestInstance.cpp39 ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt) in ManifestInstance()
42 HalFormat fmt) in ManifestInstance()
69 HalFormat ManifestInstance::format() const { in format()
Dparse_xml.cpp558 if (!parseOptionalAttr(root, "format", HalFormat::HIDL, &object->format, error) || in buildObject()
694 if (!parseOptionalAttr(root, "format", HalFormat::HIDL, &object->format, error) || in buildObject()
704 case HalFormat::HIDL: { in buildObject()
710 case HalFormat::NATIVE: { in buildObject()
719 << static_cast<typename std::underlying_type<HalFormat>::type>( in buildObject()
Dparse_string.cpp94 DEFINE_PARSE_STREAMIN_FOR_ENUM(HalFormat);
DHalManifest.cpp457 HalFormat format, std::string* error) { in insertInstance()
/system/libvintf/test/
DLibVintfTest.cpp140 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
146 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
165 vm.add(ManifestHal{HalFormat::HIDL, in testFrameworkManfiest()
224 EXPECT_EQ(to_string(HalFormat::HIDL), "hidl"); in TEST_F()
225 EXPECT_EQ(to_string(HalFormat::NATIVE), "native"); in TEST_F()
242 expectedManifest.add(ManifestHal{HalFormat::HIDL, in TEST_F()
478 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
590 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
593 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc", in TEST_F()
659 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager", in TEST_F()
[all …]