/system/core/init/ |
D | interface_utils.cpp | 66 for (const FQName& intf : interfaces) { in CheckInterfaceInheritanceHierarchy() local 67 if (hierarchy.count(intf) == 0) { in CheckInterfaceInheritanceHierarchy() 69 << intf.string() in CheckInterfaceInheritanceHierarchy() 74 const std::set<FQName>& required_interfaces = hierarchy.at(intf); in CheckInterfaceInheritanceHierarchy() 80 error_stream << "\nInterface '" << intf.string() << "' requires its full inheritance " in CheckInterfaceInheritanceHierarchy() 97 for (const auto& [intf, inherited_interfaces] : hierarchy) { in SetKnownInterfaces() 98 known_interfaces->insert(intf); in SetKnownInterfaces() 110 Result<void> IsKnownInterface(const FQName& intf) { in IsKnownInterface() argument 114 if (known_interfaces->count(intf) == 0) { in IsKnownInterface() 115 return Error() << "Interface is not in the known set of hidl_interfaces: '" << intf.string() in IsKnownInterface()
|
D | interface_utils.h | 47 Result<void> IsKnownInterface(const FQName& intf);
|
D | host_init_verifier.cpp | 164 for (const std::string& intf : iface.inherited) { in ReadInterfaceInheritanceHierarchy() local 166 if (!fqname.setTo(intf)) { in ReadInterfaceInheritanceHierarchy() 167 return Error() << "Unable to parse interface '" << intf << "'"; in ReadInterfaceInheritanceHierarchy()
|
/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/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | MapTests.java | 40 IEmpty intf = new IEmpty.Stub() {}; in testWriteAndThenReadMaps() local 52 foo.interfaceMap.put("Foo", intf); in testWriteAndThenReadMaps() 55 foo.ibinderMap.put("Foo", intf.asBinder()); in testWriteAndThenReadMaps() 75 assertThat(readFoo.interfaceMap.get("Foo"), is(intf)); in testWriteAndThenReadMaps() 78 assertThat(readFoo.ibinderMap.get("Foo"), is(intf.asBinder())); in testWriteAndThenReadMaps()
|
/system/tools/aidl/metadata/ |
D | parser.cpp | 49 for (const Json::Value& intf : entry["types"]) { in main() local 50 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main() 54 for (const Json::Value& intf : entry["hashes"]) { in main() local 55 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
|
/system/core/adb/daemon/ |
D | usb_ffs.cpp | 48 struct usb_interface_descriptor intf; member 54 struct usb_interface_descriptor intf; member 115 .intf = { 116 .bLength = sizeof(fs_descriptors.intf), 142 .intf = { 143 .bLength = sizeof(hs_descriptors.intf), 169 .intf = { 170 .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 | 69 for (const auto& intf : iterateValues(interfaces)) { in forEachInstance() local 70 bool cont = intf.forEachInstance([&](const auto& interface, const auto& instance, in forEachInstance()
|
D | parse_xml.cpp | 505 void mutateNode(const HalInterface &intf, NodeType *root, DocType *d) const override { in mutateNode() 506 appendTextElement(root, "name", intf.name(), d); in mutateNode() 507 appendTextElements(root, "instance", intf.mInstances, d); in mutateNode() 508 appendTextElements(root, "regex-instance", intf.mRegexes, d); in mutateNode() 510 bool buildObject(HalInterface* intf, NodeType* root, std::string* error) const override { in buildObject() 513 if (!parseTextElement(root, "name", &intf->mName, error) || in buildObject() 520 if (!intf->insertInstance(e, false /* isRegex */)) { in buildObject() 522 *error += "Duplicated instance '" + e + "' in " + intf->name(); in buildObject() 530 *error += "Invalid regular expression '" + e + "' in " + intf->name(); in buildObject() 533 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/tools/hidl/metadata/ |
D | parser.cpp | 48 for (const Json::Value& intf : entry["inheritedInterfaces"]) { in main() local 49 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
|
/system/libvintf/include/vintf/ |
D | ManifestHal.h | 45 std::map<std::string, HalInterface>&& intf) in ManifestHal() 50 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/tools/aidl/ |
D | aidl_typenames.cpp | 269 if (auto intf = defined_type->AsInterface(); intf != nullptr) { in GetInterface() local 270 return intf; in GetInterface()
|
D | aidl_to_ndk.cpp | 353 if (const AidlInterface* intf = type->AsInterface(); intf != nullptr) { in GetTypeAspect() local 354 info = InterfaceTypeInfo(*intf); in GetTypeAspect()
|
/system/tools/hidl/build/ |
D | hidl_interface.go | 250 for _, intf := range interfaces { 251 …g.genOutputs = append(g.genOutputs, android.PathForModuleGen(ctx, intf+"_inheritance_hierarchy.jso… 315 for i, intf := range interfaces { 321 "fqInterface": g.properties.FqName + "::" + intf,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 132 HalInterface intf("IFoo", {"default"}); in testHalInterfaces() local 134 map[intf.name()] = intf; in testHalInterfaces() 476 static bool insert(std::map<std::string, HalInterface>* map, HalInterface&& intf) { in insert() argument 477 std::string name{intf.name()}; in insert() 478 return map->emplace(std::move(name), std::move(intf)).second; in insert()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 1505 [](const auto receivedNull, const auto &intf) { in TEST_F() argument 1507 EXPECT_EQ(intf, nullptr); in TEST_F()
|