Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 23 of 23) sorted by relevance

/system/libhidl/transport/
DLegacySupport.cpp32 const std::string& interfaceName, const std::string& expectInterfaceName, in registerPassthroughServiceImplementation() argument
35 getRawServiceInternal(interfaceName, serviceName, true /*retry*/, true /*getStub*/); in registerPassthroughServiceImplementation()
38 ALOGE("Could not get passthrough implementation for %s/%s.", interfaceName.c_str(), in registerPassthroughServiceImplementation()
43 ALOGE("Implementation of %s/%s is remote!", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
51 ALOGE("Error retrieving interface name from %s/%s: %s", interfaceName.c_str(), in registerPassthroughServiceImplementation()
56 ALOGE("Implementation of %s/%s is actually %s, not a %s!", interfaceName.c_str(), in registerPassthroughServiceImplementation()
63 ALOGI("Registration complete for %s/%s.", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
65 ALOGE("Could not register service %s/%s (%d).", interfaceName.c_str(), serviceName.c_str(), in registerPassthroughServiceImplementation()
75 const std::string& interfaceName, const std::string& expectInterfaceName, in registerPassthroughServiceImplementation() argument
78 interfaceName, expectInterfaceName, in registerPassthroughServiceImplementation()
DServiceManagement.cpp226 void onRegistration(const std::string& packageName, const std::string& interfaceName, in onRegistration() argument
228 return onRegistrationImpl(packageName + "::" + interfaceName, instanceName); in onRegistration()
310 static void registerReference(const hidl_string &interfaceName, const hidl_string &instanceName) { in registerReference() argument
319 << interfaceName << "/" << instanceName in registerReference()
323 auto ret = binderizedManager->registerPassthroughClient(interfaceName, instanceName); in registerReference()
326 << interfaceName << "/" << instanceName in registerReference()
331 << interfaceName << "/" << instanceName; in registerReference()
547 map.emplace(path + lib, InstanceDebugInfo{.interfaceName = matchedName, in debugDump()
/system/hwservicemanager/
DVintf.cpp39 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport() argument
42 if (!FQName::parse(interfaceName, &fqName)) { in getTransport()
43 LOG(ERROR) << __FUNCTION__ << ": " << interfaceName in getTransport()
89 std::set<std::string> getInstances(const std::string& interfaceName) { in getInstances() argument
91 if (!FQName::parse(interfaceName, &fqName) || !fqName.isFullyQualified() || in getInstances()
93 LOG(ERROR) << __FUNCTION__ << ": " << interfaceName in getInstances()
DVintf.h31 vintf::Transport getTransport(const std::string &interfaceName,
35 std::set<std::string> getInstances(const std::string& interfaceName);
DAccessControl.cpp32 const char* interfaceName; member
105 ad.interfaceName = interface; in checkPermission()
133 if (!ad || !ad->interfaceName) { in auditCallback()
140 snprintf(buf, len, "interface=%s sid=%s pid=%d", ad->interfaceName, sid, ad->pid); in auditCallback()
DHidlService.h41 HidlService(const std::string &interfaceName,
45 HidlService(const std::string &interfaceName, in HidlService()
48 interfaceName, in HidlService()
DHidlService.cpp35 const std::string &interfaceName, in HidlService() argument
39 : mInterfaceName(interfaceName), in HidlService()
DServiceManager.cpp736 .interfaceName = service->getInterfaceName(), in debugDump()
/system/libhidl/transport/include/hidl/
DLegacySupport.h36 const std::string& interfaceName, const std::string& expectInterfaceName,
45 const std::string& interfaceName, const std::string& expectInterfaceName,
49 const std::string& interfaceName, const std::string& serviceName = "default") {
50 return registerPassthroughServiceImplementation(interfaceName, interfaceName, serviceName);
/system/libvintf/include/vintf/
DHalManifest.h75 const std::string& interfaceName,
126 const std::string& interfaceName) const;
128 const std::string& interfaceName) const;
132 const std::string& interfaceName, const std::string& instance) const;
135 bool hasAidlInstance(const std::string& package, const std::string& interfaceName,
195 const std::string& interfaceName) const;
199 const std::string& interfaceName, const std::string& instance) const;
DCompatibilityMatrix.h140 const std::string& interfaceName, const std::string& instance) const;
/system/libhidl/adapter/
DHidlBinderAdapter.cpp140 std::string interfaceName = package + "::" + args.interface; in adapterMain() local
142 auto it = adapters.find(interfaceName); in adapterMain()
144 std::cerr << "ERROR: could not resolve " << interfaceName << "." << std::endl; in adapterMain()
148 std::cout << "Trying to adapt down " << interfaceName << "/" << args.instanceName << " to " in adapterMain()
159 sp<IBase> implementation = manager->get(interfaceName, args.instanceName).withDefault(nullptr); in adapterMain()
185 kDeactivateProp + "." + interfaceName + "." + args.registerInstanceName; in adapterMain()
/system/netd/server/
DMDnsSdListener.cpp162 const char *interfaceName, const char *serviceName, const char *serviceType, in serviceRegister() argument
166 interfaceName, serviceName, serviceType, domain, host, port, txtLen); in serviceRegister()
178 int interfaceInt = ifaceNameToI(interfaceName); in serviceRegister()
218 const char *interfaceName, const char *serviceName, const char *regType, in resolveService() argument
221 ALOGD("resolveService(%d, %s, %s, %s, %s)", requestId, interfaceName, in resolveService()
233 int interfaceInt = ifaceNameToI(interfaceName); in resolveService()
288 const char *interfaceName, uint32_t protocol, const char *hostname) { in getAddrInfo() argument
289 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname); in getAddrInfo()
299 int interfaceInt = ifaceNameToI(interfaceName); in getAddrInfo()
445 char *interfaceName = nullptr; // will use all in runCommand() local
[all …]
DMDnsSdListener.h121 void serviceRegister(SocketClient *cli, int requestId, const char *interfaceName,
126 const char *interfaceName, const char *serviceName, const char *regType,
131 void getAddrInfo(SocketClient *cli, int requestId, const char *interfaceName,
/system/libvintf/
DHalManifest.cpp187 const std::string& interfaceName, in getHidlTransport() argument
190 forEachInstanceOfInterface(HalFormat::HIDL, package, v, interfaceName, [&](const auto& e) { in getHidlTransport()
198 << toFQNameString(package, v, interfaceName, instanceName); in getHidlTransport()
528 const std::string& interfaceName) const { in getInstances()
530 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in getInstances()
540 const std::string& interfaceName, const std::string& instance) const { in hasInstance() argument
542 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in hasInstance()
551 const std::string& interfaceName) const { in getHidlInstances()
552 return getInstances(HalFormat::HIDL, package, version, interfaceName); in getHidlInstances()
556 const std::string& interfaceName) const { in getAidlInstances()
[all …]
DCompatibilityMatrix.cpp453 const Version& version, const std::string& interfaceName, in matchInstance() argument
456 (void)forEachInstanceOfInterface(format, halName, version, interfaceName, in matchInstance()
/system/tools/hidl/
DgenerateCpp.cpp89 static void declareGetService(Formatter &out, const std::string &interfaceName, bool isTry) { in declareGetService() argument
115 out << "static ::android::sp<" << interfaceName << "> " << functionName << "(" in declareGetService()
119 out << "static ::android::sp<" << interfaceName << "> " << functionName << "(" in declareGetService()
125 out << "static ::android::sp<" << interfaceName << "> " << functionName << "(" in declareGetService()
135 out << "static ::android::sp<" << interfaceName << "> " << functionName << "(" in declareGetService()
139 static void declareServiceManagerInteractions(Formatter &out, const std::string &interfaceName) { in declareServiceManagerInteractions() argument
140 declareGetService(out, interfaceName, true /* isTry */); in declareServiceManagerInteractions()
141 declareGetService(out, interfaceName, false /* isTry */); in declareServiceManagerInteractions()
165 const std::string interfaceName = fqName.getInterfaceName(); in implementGetService() local
168 out << "::android::sp<" << interfaceName << "> " << interfaceName << "::" << functionName << "(" in implementGetService()
[all …]
DAST.cpp415 const FQName interfaceName = fqName.getTopLevelType(); in importFQName() local
418 status_t err = mCoordinator->parseOptional(interfaceName, &importAST, &mImportedASTs, in importFQName()
426 if (fqName == interfaceName) { in importFQName()
/system/tools/hidl/hashing/include/hidl-hash/
DHash.h35 const std::string& interfaceName, std::string* err,
/system/tools/hidl/hashing/
DHash.cpp164 std::vector<std::string> Hash::lookupHash(const std::string& path, const std::string& interfaceName, in lookupHash() argument
176 return file->lookup(interfaceName); in lookupHash()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp156 ASSERT_TRUE(fqName.setTo(debug_info.interfaceName.c_str())) in GetPidInterfacesMap()
157 << "Unable to parse interface: '" << debug_info.interfaceName.c_str(); in GetPidInterfacesMap()
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal142 string interfaceName;
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp855 EXPECT_TRUE(FQName::parse(debugInfo.interfaceName, &name)) << debugInfo.interfaceName; in TEST_F()