Searched defs:fqName (Results 1 - 10 of 10) 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()) {
32 if (!fqName.hasVersion()) {
33 LOG(ERROR) << __FUNCTION__ << ": " << fqName.string()
37 if (fqName
14 getTransportFromManifest( const FQName &fqName, const std::string &instanceName, const vintf::HalManifest *vm) argument
[all...]
H A DAccessControl.cpp38 bool AccessControl::canAdd(const std::string& fqName, const Context &context, pid_t pid) { argument
39 FQName fqIface(fqName);
49 bool AccessControl::canGet(const std::string& fqName, pid_t pid) { argument
50 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
165 Return<sp<IBase>> ServiceManager::get(const hidl_string& fqName, argument
168 if (!mAcl.canGet(fqName, pid)) {
172 auto ifaceIt = mServiceMap.find(fqName);
206 std::string fqName = interfaceChain[i];
208 if (!mAcl.canAdd(fqName, context, pid)) {
214 std::string fqName = interfaceChain[i];
216 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
96 sendPackageRegistrationNotification( const hidl_string &fqName, const hidl_string &instanceName) argument
247 getTransport(const hidl_string& fqName, const hidl_string& name) argument
287 listByInterface(const hidl_string& fqName, listByInterface_cb _hidl_cb) argument
326 registerForNotifications(const hidl_string& fqName, const hidl_string& name, const sp<IServiceNotification>& callback) argument
369 unregisterForNotifications(const hidl_string& fqName, const hidl_string& name, const sp<IServiceNotification>& callback) argument
436 registerPassthroughClient(const hidl_string &fqName, const hidl_string &name) argument
[all...]
/system/tools/hidl/
H A DNamedType.cpp32 const FQName &NamedType::fqName() const { function in class:android::NamedType
64 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name);
H A Dmain.cpp48 using GenerationFunction = std::function<status_t(const FQName &fqName,
60 const FQName &fqName,
65 CHECK(fqName.isFullyQualified());
70 if (fqName.name().find("types.") == 0) {
73 limitToType = fqName.name().substr(strlen("types."));
75 FQName typesName = fqName.getTypesForPackage();
78 ast = coordinator->parse(fqName);
84 fqName.string().c_str());
140 for (const auto &fqName : packageInterfaces) {
142 fqName, hidl_ge
59 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.cpp86 FQName fqName(import);
87 CHECK(fqName.isValid());
89 fqName.applyDefaults(mPackage.package(), mPackage.version());
91 // LOG(INFO) << "importing " << fqName.string();
93 if (fqName.name().empty()) {
98 mCoordinator->appendPackageInterfacesToVector(fqName,
124 const FQName interfaceName = fqName.getTopLevelType();
131 if (fqName == interfaceName) {
143 Type *match = importAST->findDefinedType(fqName, &matchingName);
153 FQName typesFQName = fqName
212 lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope) argument
238 lookupType(const FQName& fqName, Scope* scope) argument
270 lookupTypeLocally(const FQName& fqName, Scope* scope) argument
291 lookupAutofilledType(const FQName &fqName, Type **returnedType) argument
323 lookupTypeFromImports(const FQName &fqName) argument
455 findDefinedType(const FQName &fqName, FQName *matchingName) const argument
[all...]
H A DCoordinator.cpp66 AST* Coordinator::parse(const FQName& fqName, std::set<AST*>* parsedASTs, argument
68 CHECK(fqName.isFullyQualified());
70 auto it = mCache.find(fqName);
82 mCache[fqName] = nullptr;
86 if (fqName.name() != "types") {
88 FQName typesName = fqName.getTypesForPackage();
95 std::string path = getAbsolutePackagePath(fqName);
97 path.append(fqName.name());
117 if (ast->package().package() != fqName.package()
118 || ast->package().version() != fqName
243 getPackagePath( const FQName &fqName, bool relative, bool sanitized) const argument
384 enforceRestrictionsOnPackage(const FQName& fqName, Enforce enforcement) const argument
[all...]
H A DgenerateCpp.cpp168 const FQName &fqName,
171 const std::string interfaceName = fqName.getInterfaceName();
337 out << "iface = new " << fqName.getInterfacePassthroughName() << "(iface);\n";
349 const FQName &fqName, const std::string &package) {
351 const std::string interfaceName = fqName.getInterfaceName();
353 implementGetService(out, fqName, true /* isTry */);
354 implementGetService(out, fqName, false /* isTry */);
360 << fqName.getPackageAndVersion().string() << "\", \""
641 << iface.fqName().cppName()
643 << iface.fqName()
167 implementGetService(Formatter &out, const FQName &fqName, bool isTry) argument
348 implementServiceManagerInteractions(Formatter &out, const FQName &fqName, const std::string &package) argument
[all...]
/system/libhidl/transport/
H A DServiceManagement.cpp257 static void openLibs(const std::string& fqName, argument
260 //fqName looks like android.hardware.foo@1.0::IFoo
261 size_t idx = fqName.find("::");
264 idx + strlen("::") + 1 >= fqName.size()) {
265 LOG(ERROR) << "Invalid interface name passthrough lookup: " << fqName;
269 std::string packageAndVersion = fqName.substr(0, idx);
270 std::string ifaceName = fqName.substr(idx + strlen("::"));
320 Return<sp<IBase>> get(const hidl_string& fqName,
324 openLibs(fqName, [&](void* handle, const std::string &lib, const std::string &sym) {
343 registerReference(fqName, nam
[all...]

Completed in 354 milliseconds