/system/core/deprecated-adf/libadf/tests/ |
D | adf_test.cpp | 27 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/ |
D | usb_ffs.cpp | 44 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/ |
D | MatrixHal.cpp | 57 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()
|
D | ManifestHal.cpp | 53 for (const auto& intf : iterateValues(interfaces)) { in forEachInstance() local 54 bool cont = intf.forEachInstance([&](const auto& interface, const auto& instance, in forEachInstance()
|
D | parse_xml.cpp | 507 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/ |
D | usb_client.cpp | 43 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/ |
D | ManifestHal.h | 44 std::map<std::string, HalInterface>&& intf) in ManifestHal() 49 interfaces(std::move(intf)) {} in ManifestHal()
|
D | parse_string.h | 111 const std::string& intf = "", const std::string& instance = ""); 113 std::string toFQNameString(const Version& version, const std::string& intf,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 130 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/ |
D | hidl_test_client.cpp | 1525 [](const auto receivedNull, const auto &intf) { in TEST_F() argument 1527 EXPECT_EQ(intf, nullptr); in TEST_F()
|