Home
last modified time | relevance | path

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

12

/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.cpp195 void onRegistration(const std::string& packageName, const std::string& interfaceName, in onRegistration() argument
197 return onRegistrationImpl(packageName + "::" + interfaceName, instanceName); in onRegistration()
388 static void registerReference(const hidl_string &interfaceName, const hidl_string &instanceName) { in registerReference() argument
397 << interfaceName << "/" << instanceName in registerReference()
401 auto ret = binderizedManager->registerPassthroughClient(interfaceName, instanceName); in registerReference()
404 << interfaceName << "/" << instanceName in registerReference()
409 << interfaceName << "/" << instanceName; in registerReference()
637 map.emplace(path + lib, InstanceDebugInfo{.interfaceName = matchedName, in debugDump()
/system/hwservicemanager/
DVintf.cpp40 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport() argument
43 if (!FQName::parse(interfaceName, &fqName)) { in getTransport()
44 LOG(ERROR) << __FUNCTION__ << ": " << interfaceName in getTransport()
90 std::set<std::string> getInstances(const std::string& interfaceName) { in getInstances() argument
92 if (!FQName::parse(interfaceName, &fqName) || !fqName.isFullyQualified() || in getInstances()
94 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()
/system/libvintf/include/vintf/
DHalManifest.h80 const std::string& interfaceName,
128 const std::string& interfaceName) const;
130 const std::string& interfaceName) const;
132 const std::string& interfaceName) const;
136 const std::string& interfaceName, const std::string& instance) const;
140 const std::string& interfaceName, const std::string& instance) const;
143 bool hasAidlInstance(const std::string& package, const std::string& interfaceName,
209 const std::string& interfaceName) const;
213 const std::string& interfaceName, const std::string& instance) const;
DCompatibilityMatrix.h149 const std::string& interfaceName, const std::string& instance) const;
/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/security/keystore2/src/vintf/
Dvintf.cpp30 size_t minor_version, rust::Str interfaceName) { in get_hidl_instances() argument
34 static_cast<std::string>(interfaceName)); in get_hidl_instances()
Dvintf.hpp22 size_t minor_version, rust::Str interfaceName);
/system/libvintf/
DHalManifest.cpp264 const std::string& interfaceName, in getHidlTransport() argument
267 forEachInstanceOfInterface(HalFormat::HIDL, package, v, interfaceName, [&](const auto& e) { in getHidlTransport()
275 << toFQNameString(package, v, interfaceName, instanceName); in getHidlTransport()
677 const std::string& interfaceName) const { in getInstances()
679 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in getInstances()
689 const std::string& interfaceName, const std::string& instance) const { in hasInstance() argument
691 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in hasInstance()
700 const std::string& interfaceName) const { in getHidlInstances()
701 return getInstances(HalFormat::HIDL, package, version, interfaceName); in getHidlInstances()
705 const std::string& interfaceName) const { in getAidlInstances()
[all …]
DCompatibilityMatrix.cpp454 const Version& version, const std::string& interfaceName, in matchInstance() argument
457 (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/aidl/
Dgenerate_cpp_analyzer.cpp134 string interfaceName = defined_type.GetName(); in GenerateAnalyzerSource() local
160 out.Write("std::cout << \"%s.%s()\" << std::endl;\n", interfaceName.c_str(), in GenerateAnalyzerSource()
181 canonicalName.c_str(), interfaceName.c_str(), q_name.c_str()); in GenerateAnalyzerSource()
/system/tools/hidl/hashing/include/hidl-hash/
DHash.h35 const std::string& interfaceName, std::string* err,
/system/tools/hidl/hashing/
DHash.cpp156 std::vector<std::string> Hash::lookupHash(const std::string& path, const std::string& interfaceName, in lookupHash() argument
168 return file->lookup(interfaceName); in lookupHash()
/system/netd/server/
DMDnsSdListener.cpp65 char interfaceName[IFNAMSIZ] = {}; in ifaceIndexToNetId() local
67 if (if_indextoname(interfaceIndex, interfaceName) == nullptr) { in ifaceIndexToNetId()
70 } else if ((netId = gCtls->netCtrl.getNetworkForInterface(interfaceName)) == NETID_UNSET) { in ifaceIndexToNetId()
71 ALOGE("Network was not found for interface %s", interfaceName); in ifaceIndexToNetId()
DNetworkController.cpp377 char interfaceName[IFNAMSIZ] = {}; in getNetworkForInterfaceLocked() local
378 if (if_indextoname(ifIndex, interfaceName)) { in getNetworkForInterfaceLocked()
379 return getNetworkForInterfaceLocked(interfaceName); in getNetworkForInterfaceLocked()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp173 ASSERT_TRUE(fqName.setTo(debug_info.interfaceName.c_str())) in GetPidInterfacesMap()
174 << "Unable to parse interface: '" << debug_info.interfaceName.c_str(); in GetPidInterfacesMap()
/system/libvintf/test/
Dvintf_object_tests.cpp2182 void expectContainsHidl(const Version& version, const std::string& interfaceName, in expectContainsHidl() argument
2187 manifest->getHidlInstances("android.frameworks.foo", version, interfaceName).empty(), in expectContainsHidl()
2189 << "@" << version << "::" << interfaceName << " should " << (exists ? "" : "not ") in expectContainsHidl()
2193 void expectContainsAidl(const std::string& interfaceName, bool exists = true) { in expectContainsAidl() argument
2196 EXPECT_NE(manifest->getAidlInstances("android.frameworks.foo", interfaceName).empty(), in expectContainsAidl()
2198 << interfaceName << " should " << (exists ? "" : "not ") << "exist."; in expectContainsAidl()
2437 auto predicate = [](const auto& interfaceName) { in TEST_F() argument
2438 return android::base::StartsWith(interfaceName, "android.hardware"); in TEST_F()
2460 auto predicate = [](const auto& interfaceName) { in TEST_F() argument
2461 return android::base::StartsWith(interfaceName, "android.hardware"); in TEST_F()
/system/tools/aidl/build/
Daidl_interface_backends.go533 func getImportsWithVersion(ctx android.BaseMutatorContext, interfaceName, version string) []string { argument
534 i := ctx.GetDirectDepWithTag(interfaceName+aidlInterfaceSuffix, interfaceDep).(*aidlInterface)
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal142 string interfaceName;

12