HomeSort by relevance Sort by last modified time
    Searched refs:FQName (Results 1 - 25 of 53) sorted by null

1 2 3

  /system/tools/hidl/utils/include/hidl-util/
FQName.h 26 struct FQName {
27 __attribute__((warn_unused_result)) static bool parse(const std::string& s, FQName* into);
29 explicit FQName();
32 explicit FQName(const std::string &s);
34 FQName(const std::string& package, const std::string& version, const std::string& name = "",
37 FQName(const FQName& other);
42 // Returns false if string isn't a valid FQName object.
59 FQName withVersion(size_t major, size_t minor) const;
61 // The next two methods return the name part of the FQName, that is, th
    [all...]
FqInstance.h 24 #include <hidl-util/FQName.h>
28 // A wrapper around FQName to include instance name as well.
29 // FqInstance::setTo also recognizes all FQName formats, including enum names
91 FQName mFqName;
  /system/tools/hidl/
Coordinator.h 22 #include <hidl-util/FQName.h>
63 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName,
66 Formatter getFormatter(const FQName& fqName, Location location,
80 // Attempts to parse the interface/types referred to by fqName.
86 AST* parse(const FQName& fqName, std::set<AST*>* parsedASTs = nullptr,
95 status_t parseOptional(const FQName& fqName, AST** ast, std::set<AST*>* parsedASTs = nullptr
    [all...]
NamedType.h 24 #include <hidl-util/FQName.h>
31 NamedType(const char* localName, const FQName& fullName, const Location& loc, Scope* parent);
35 const FQName &fqName() const;
39 /* short for fqName().cppName() */
41 /* short for fqName().fullJavaName() */
53 const FQName mFullName;
AST.h 23 #include <hidl-util/FQName.h>
54 FQName package() const;
59 FQName makeFullName(const char* localName, Scope* scope) const;
70 // Look up an enum value by "FQName:valueName".
71 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
73 // Look up a type by FQName, "pure" names, i.e. those without package
76 Type* lookupType(const FQName& fqName, Scope* scope);
141 void getImportedPackages(std::set<FQName> *importSet) const
    [all...]
AST.cpp 29 #include <hidl-util/FQName.h>
41 mRootScope("(root scope)", FQName(), Location::startOf(fileHash->getPath()),
78 FQName AST::package() const {
190 static_cast<const NamedType *>(targetType)->fqName());
308 FQName fqName;
309 if (!FQName::parse(import, &fqName)) {
314 fqName.applyDefaults(mPackage.package(), mPackage.version());
316 if (fqName.name().empty())
    [all...]
main.cpp 23 #include <hidl-util/FQName.h>
49 // Represents a file that is generated by an -L option for an FQName
51 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;
52 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;
53 using GenerationFunction = std::function<status_t(Formatter& out, const FQName& fqName,
60 std::string getFileName(const FQName& fqName) const
    [all...]
NamedType.cpp 21 NamedType::NamedType(const char* localName, const FQName& fullName, const Location& loc,
29 const FQName &NamedType::fqName() const {
53 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name);
Coordinator.cpp 81 FQName package = FQName(root, "0.0", "");
102 Formatter Coordinator::getFormatter(const FQName& fqName, Location location,
109 status_t err = getFilepath(fqName, location, fileName, &filepath);
131 status_t Coordinator::getFilepath(const FQName& fqName, Location location,
142 err = getPackagePath(fqName, false /* relative */, false /* sanitized */, &packagePath);
148 err = convertPackageRootToPath(fqName, &packageRootPath);
150 err = getPackagePath(fqName, true /* relative */, false /* sanitized */, &packagePath)
    [all...]
Scope.h 36 Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent);
43 // lookup a type given an FQName.
44 // Assume fqName.package(), fqName.version(), fqName.valueName() is empty.
45 NamedType *lookupType(const FQName &fqName) const;
95 RootScope(const char* localName, const FQName& fullName, const Location& location,
Reference.h 22 #include <hidl-util/FQName.h>
37 Reference(const FQName& fqName, const Location& location)
38 : mResolved(nullptr), mFqName(fqName), mLocation(location) {}
91 const FQName& getLookupFqName() const {
107 FQName mFqName;
114 // ref.hasLookupFqName() is false while ref,get()->fqName is valid.
TypeDef.h 26 TypeDef(const char* localName, const FQName& fullName, const Location& location, Scope* parent,
  /system/tools/hidl/utils/
FQName.cpp 17 #include "FQName.h"
34 FQName::FQName()
40 FQName::FQName(const std::string &s)
46 bool FQName::parse(const std::string& s, FQName* into) {
50 FQName::FQName(
62 // Check if this is actually a valid fqName
    [all...]
  /system/tools/hidl/test/host_test/
main.cpp 23 #include <hidl-util/FQName.h>
49 EXPECT_EQ_OK("a.b", coordinator.getPackageRoot, FQName("a.b.foo@1.0"));
50 EXPECT_EQ_OK("a.c", coordinator.getPackageRoot, FQName("a.c.foo.bar@1.0::IFoo"));
52 // getPackagePath(fqname, relative, sanitized, ...)
53 EXPECT_EQ_OK("a1/b1/foo/1.0/", coordinator.getPackagePath, FQName("a.b.foo@1.0"), false, false);
54 EXPECT_EQ_OK("a4/b4/foo/bar/1.0/", coordinator.getPackagePath, FQName("a.c.foo.bar@1.0::IFoo"),
56 EXPECT_EQ_OK("a1/b1/foo/V1_0/", coordinator.getPackagePath, FQName("a.b.foo@1.0"), false, true);
57 EXPECT_EQ_OK("a4/b4/foo/bar/V1_0/", coordinator.getPackagePath, FQName("a.c.foo.bar@1.0::IFoo"),
59 EXPECT_EQ_OK("foo/1.0/", coordinator.getPackagePath, FQName("a.b.foo@1.0"), true, false);
60 EXPECT_EQ_OK("foo/bar/1.0/", coordinator.getPackagePath, FQName("a.c.foo.bar@1.0::IFoo"), true
    [all...]
  /test/vts-testcase/hal/treble/vintf/
utils.h 26 #include <hidl-util/FQName.h>
36 using android::FQName;
63 using HalVerifyFn = std::function<void(const FQName& fq_name,
86 const string PackageRoot(const FQName& fq_iface_name);
89 bool IsGoogleDefinedIface(const FQName& fq_iface_name);
92 set<string> ReleasedHashes(const FQName& fq_iface_name);
vts_treble_vintf_test_o_mr1.cpp 31 #include <hidl-util/FQName.h>
44 using android::FQName;
64 std::function<void(const FQName &fq_name, const string &instance_name)>;
68 static bool IsExempt(const FQName &fq_iface_name) {
96 const FQName &fq_name, const string &instance_name);
108 const FQName fq_name{manifest_instance.package(),
125 const FQName &fq_name, const string &instance_name) {
144 HalVerifyFn is_binderized = [this](const FQName &fq_name,
171 HalVerifyFn is_available = [this](const FQName &fq_name,
191 HalVerifyFn is_released = [this](const FQName &fq_name
    [all...]
SingleManifestTest.cpp 34 bool LegacyAndExempt(const FQName &fq_name) {
38 void FailureHalMissing(const FQName &fq_name) {
49 void FailureHashMissing(const FQName &fq_name) {
68 HalVerifyFn is_binderized = [](const FQName &fq_name,
96 return [this, expected_partition](const FQName &fq_name,
123 const FQName lowest_name =
203 const FQName &fq_name,
213 const FQName lowest_name =
244 HalVerifyFn is_released = [](const FQName &fq_name,
277 FQName fq_iface_name
    [all...]
utils.cpp 91 const string PackageRoot(const FQName &fq_iface_name) {
101 bool IsGoogleDefinedIface(const FQName &fq_iface_name) {
107 set<string> ReleasedHashes(const FQName &fq_iface_name) {
VtsTrebleVintfTestBase.cpp 37 #include <hidl-util/FQName.h>
54 using android::FQName;
90 const FQName fq_name{manifest_instance.package(),
108 sp<IBase> VtsTrebleVintfTestBase::GetHalService(const FQName &fq_name,
150 const sp<IServiceManager> &manager, const FQName &fq_name) {
184 const FQName &fq_name,
191 FQName fq = fq_name;
209 const FQName &fq_name,
214 FQName fq = fq_name;
VtsTrebleVintfTestBase.h 49 static sp<IBase> GetHalService(const FQName &fq_name,
54 const FQName &fq_name);
  /system/hwservicemanager/
Vintf.cpp 7 #include <hidl-util/FQName.h>
15 const FQName &fqName, const std::string &instanceName,
20 return vm->getTransport(fqName.package(),
21 vintf::Version{fqName.getPackageMajorVersion(), fqName.getPackageMinorVersion()},
22 fqName.name(), instanceName);
26 FQName fqName(interfaceName);
27 if (!fqName.isValid())
    [all...]
AccessControl.cpp 4 #include <hidl-util/FQName.h>
20 using android::FQName;
40 bool AccessControl::canAdd(const std::string& fqName, const Context &context, pid_t pid) {
41 FQName fqIface(fqName);
51 bool AccessControl::canGet(const std::string& fqName, pid_t pid) {
52 FQName fqIface(fqName);
  /frameworks/native/cmds/lshal/
DebugCommand.cpp 21 #include <hidl-util/FQName.h>
62 FQName fqName(pair.first);
63 if (!fqName.isValid() || fqName.isIdentifier() || !fqName.isFullyQualified()) {
  /test/vts/compilation_tools/vtsc/
VtsCompilerUtils.h 22 #include <hidl-util/FQName.h>
94 // Generate the FQName of the given message..
95 FQName GetFQName(const ComponentSpecificationMessage& message);
  /test/vts/utils/native/testability_checker/
VtsTestabilityCheckerMain.cpp 20 #include <hidl-util/FQName.h>
87 android::FQName hal_fq_name = android::FQName(argv[optind]);

Completed in 270 milliseconds

1 2 3