Home
last modified time | relevance | path

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

/system/core/deprecated-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/core/adb/daemon/
Dusb_ffs.cpp44 struct usb_interface_descriptor intf; member
50 struct usb_interface_descriptor intf; member
82 .intf = {
83 .bLength = sizeof(fs_descriptors.intf),
109 .intf = {
110 .bLength = sizeof(hs_descriptors.intf),
136 .intf = {
137 .bLength = sizeof(ss_descriptors.intf),
/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.cpp507 void mutateNode(const HalInterface &intf, NodeType *root, DocType *d) const override { in mutateNode()
508 appendTextElement(root, "name", intf.name(), d); in mutateNode()
509 appendTextElements(root, "instance", intf.mInstances, d); in mutateNode()
510 appendTextElements(root, "regex-instance", intf.mRegexes, d); in mutateNode()
512 bool buildObject(HalInterface* intf, NodeType* root, std::string* error) const override { in buildObject()
515 if (!parseTextElement(root, "name", &intf->mName, error) || in buildObject()
522 if (!intf->insertInstance(e, false /* isRegex */)) { in buildObject()
524 *error += "Duplicated instance '" + e + "' in " + intf->name(); in buildObject()
532 *error += "Invalid regular expression '" + e + "' in " + intf->name(); in buildObject()
535 if (!intf->insertInstance(e, true /* isRegex */)) { in buildObject()
[all …]
/system/core/fastboot/device/
Dusb_client.cpp43 struct usb_interface_descriptor intf; member
49 struct usb_interface_descriptor intf; member
78 .intf = fastboot_interface,
98 .intf = fastboot_interface,
118 .intf = fastboot_interface,
/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/libvintf/test/
DLibVintfTest.cpp130 HalInterface intf("IFoo", {"default"}); in testHalInterfaces() local
132 map[intf.name()] = intf; in testHalInterfaces()
472 static bool insert(std::map<std::string, HalInterface>* map, HalInterface&& intf) { in insert() argument
473 std::string name{intf.name()}; in insert()
474 return map->emplace(std::move(name), std::move(intf)).second; in insert()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1525 [](const auto receivedNull, const auto &intf) { in TEST_F() argument
1527 EXPECT_EQ(intf, nullptr); in TEST_F()