Searched defs:fqName (Results 1 - 9 of 9) sorted by relevance

/system/hwservicemanager/
H A DVintf.cpp15 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()) {
31 if (!fqName.hasVersion()) {
32 LOG(DEBUG) << "getTransport: " << fqName.string()
36 if (fqName
14 getTransportFromManifest( const FQName &fqName, const std::string &instanceName, const vintf::HalManifest *vm) argument
[all...]
H A DAccessControl.cpp37 bool AccessControl::canAdd(const std::string& fqName, pid_t pid) { argument
38 FQName fqIface(fqName);
48 bool AccessControl::canGet(const std::string& fqName, pid_t pid) { argument
49 FQName fqIface(fqName);
H A DServiceManager.cpp97 const hidl_string &fqName,
101 auto ret = (*it)->onRegistration(fqName, instanceName, false /* preexisting */);
105 LOG(ERROR) << "Dropping registration callback for " << fqName << "/" << instanceName
150 Return<sp<IBase>> ServiceManager::get(const hidl_string& fqName, argument
153 if (!mAcl.canGet(fqName, pid)) {
157 auto ifaceIt = mServiceMap.find(fqName);
190 std::string fqName = interfaceChain[i];
192 if (!mAcl.canAdd(fqName, pid)) {
198 std::string fqName = interfaceChain[i];
200 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
96 sendPackageRegistrationNotification( const hidl_string &fqName, const hidl_string &instanceName) argument
231 getTransport(const hidl_string& fqName, const hidl_string& name) argument
271 listByInterface(const hidl_string& fqName, listByInterface_cb _hidl_cb) argument
310 registerForNotifications(const hidl_string& fqName, const hidl_string& name, const sp<IServiceNotification>& callback) argument
384 registerPassthroughClient(const hidl_string &fqName, const hidl_string &name) argument
[all...]
/system/tools/hidl/
H A DNamedType.cpp37 const FQName &NamedType::fqName() const { function in class:android::NamedType
65 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name);
H A Dmain.cpp51 using GenerationFunction = std::function<status_t(const FQName &fqName,
61 const FQName &fqName,
66 CHECK(fqName.isFullyQualified());
71 if (fqName.name().find("types.") == 0) {
74 limitToType = fqName.name().substr(strlen("types."));
76 FQName typesName = fqName.getTypesForPackage();
79 ast = coordinator->parse(fqName);
85 fqName.string().c_str());
132 for (const auto &fqName : packageInterfaces) {
134 fqName, hidl_ge
60 generateSourcesForFile( const FQName &fqName, const char *, Coordinator *coordinator, const std::string &outputDir, const std::string &lang) argument
[all...]
H A DHash.cpp104 std::vector<std::string> lookup(const std::string &fqName) const {
105 auto it = hashes.find(fqName);
138 std::string fqName = match.str(2); local
140 if (hash.size() == 0 && fqName.size() == 0) {
144 if (hash.size() == 0 || fqName.size() == 0) {
145 *err = "Hash or fqName empty on " + path + ": " + line;
150 file->hashes[fqName].push_back(hash);
H A DAST.cpp100 FQName fqName(import);
101 CHECK(fqName.isValid());
103 fqName.applyDefaults(mPackage.package(), mPackage.version());
105 // LOG(INFO) << "importing " << fqName.string();
107 if (fqName.name().empty()) {
112 mCoordinator->appendPackageInterfacesToVector(fqName,
138 const FQName interfaceName = fqName.getTopLevelType();
145 if (fqName == interfaceName) {
157 Type *match = importAST->findDefinedType(fqName, &matchingName);
167 FQName typesFQName = fqName
244 lookupEnumValue(const FQName &fqName, std::string *errorMsg) argument
271 lookupType(const FQName &fqName) argument
303 lookupTypeLocally(const FQName &fqName) argument
324 lookupAutofilledType(const FQName &fqName, Type **returnedType) argument
356 lookupTypeFromImports(const FQName &fqName) argument
488 findDefinedType(const FQName &fqName, FQName *matchingName) const argument
[all...]
H A DCoordinator.cpp57 AST *Coordinator::parse(const FQName &fqName, std::set<AST *> *parsedASTs, bool enforce) { argument
58 CHECK(fqName.isFullyQualified());
60 auto it = mCache.find(fqName);
72 mCache[fqName] = nullptr;
76 if (fqName.name() != "types") {
78 FQName typesName = fqName.getTypesForPackage();
85 std::string path = getPackagePath(fqName);
87 path.append(fqName.name());
109 if (ast->package().package() != fqName.package()
110 || ast->package().version() != fqName
229 getPackagePath( const FQName &fqName, bool relative, bool sanitized) const argument
367 enforceRestrictionsOnPackage(const FQName &fqName) argument
[all...]
H A DgenerateCpp.cpp168 const FQName &fqName,
171 const std::string interfaceName = fqName.getInterfaceName();
331 out << "iface = new " << fqName.getInterfacePassthroughName()
343 const FQName &fqName, const std::string &package) {
345 const std::string interfaceName = fqName.getInterfaceName();
347 implementGetService(out, fqName, true /* isTry */);
348 implementGetService(out, fqName, false /* isTry */);
354 << fqName.getPackageAndVersion().string() << "\", \""
663 << iface.fqName().cppName()
665 << iface.fqName()
167 implementGetService(Formatter &out, const FQName &fqName, bool isTry) argument
342 implementServiceManagerInteractions(Formatter &out, const FQName &fqName, const std::string &package) argument
[all...]

Completed in 106 milliseconds