Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 9 of 9) sorted by relevance

/system/core/adf/libadf/tests/
Dadf_test.cpp27 AdfTest() : intf_id(0), intf(-1), eng_id(0), eng(-1) { } in AdfTest()
39 intf = adf_interface_open(&dev, intf_id, O_RDWR); in SetUp()
40 ASSERT_GE(intf, 0) << "opening ADF interface " << dev_id << "." << in SetUp()
41 intf_id << " failed: " << strerror(-intf); in SetUp()
51 if (intf >= 0) in TearDown()
52 close(intf); in TearDown()
80 int err = adf_get_interface_data(intf, &data); in getInterfaceData()
94 int err = adf_interface_blank(intf, mode); in blank()
115 int err = adf_read_event(intf, &event); in readVsyncTimestamp()
133 buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, format, &offset, in drawCheckerboard()
[all …]
/system/libvintf/
DMatrixHal.cpp57 for (const auto& intf : iterateValues(interfaces)) { in forEachInstance() local
59 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance()
80 for (const auto& intf : iterateValues(interfaces)) { in forEachInstance() local
82 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance()
DManifestHal.cpp53 for (const auto& intf : iterateValues(interfaces)) { in forEachInstance() local
54 bool cont = intf.forEachInstance([&](const auto& interface, const auto& instance, in forEachInstance()
Dparse_xml.cpp476 void mutateNode(const HalInterface &intf, NodeType *root, DocType *d) const override { in mutateNode()
477 appendTextElement(root, "name", intf.name(), d); in mutateNode()
478 appendTextElements(root, "instance", intf.mInstances, d); in mutateNode()
479 appendTextElements(root, "regex-instance", intf.mRegexes, d); in mutateNode()
481 bool buildObject(HalInterface* intf, NodeType* root, std::string* error) const override { in buildObject()
484 if (!parseTextElement(root, "name", &intf->mName, error) || in buildObject()
491 if (!intf->insertInstance(e, false /* isRegex */)) { in buildObject()
493 *error += "Duplicated instance '" + e + "' in " + intf->name(); in buildObject()
501 *error += "Invalid regular expression '" + e + "' in " + intf->name(); in buildObject()
504 if (!intf->insertInstance(e, true /* isRegex */)) { in buildObject()
[all …]
/system/libvintf/include/vintf/
DManifestHal.h44 std::map<std::string, HalInterface>&& intf) in ManifestHal()
49 interfaces(std::move(intf)) {} in ManifestHal()
Dparse_string.h111 const std::string& intf = "", const std::string& instance = "");
113 std::string toFQNameString(const Version& version, const std::string& intf,
/system/core/adb/daemon/
Dusb.cpp64 struct usb_interface_descriptor intf; member
70 struct usb_interface_descriptor intf; member
101 .intf = {
102 .bLength = sizeof(fs_descriptors.intf),
128 .intf = {
129 .bLength = sizeof(hs_descriptors.intf),
155 .intf = {
156 .bLength = sizeof(ss_descriptors.intf),
/system/libvintf/test/
DLibVintfTest.cpp120 HalInterface intf("IFoo", {"default"}); in testHalInterfaces() local
122 map[intf.name()] = intf; in testHalInterfaces()
460 static bool insert(std::map<std::string, HalInterface>* map, HalInterface&& intf) { in insert() argument
461 std::string name{intf.name()}; in insert()
462 return map->emplace(std::move(name), std::move(intf)).second; in insert()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1401 [](const auto receivedNull, const auto &intf) { in TEST_F() argument
1403 EXPECT_EQ(intf, nullptr); in TEST_F()