/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...] |
ServiceManager.cpp | 99 const hidl_string &fqName, 103 auto ret = (*it)->onRegistration(fqName, instanceName, false /* preexisting */); 107 LOG(ERROR) << "Dropping registration callback for " << fqName << "/" << instanceName 166 static void tryStartService(const std::string& fqName, const std::string& name) { 170 bool success = SetProperty("ctl.interface_start", fqName + "/" + name); 173 LOG(ERROR) << "Failed to set property for starting " << fqName << "/" << name; 181 const std::string fqName = hidlFqName; 185 if (!mAcl.canGet(fqName, pid)) { 189 auto ifaceIt = mServiceMap.find(fqName); 191 tryStartService(fqName, hidlName) [all...] |
ServiceManager.h | 30 Return<sp<IBase>> get(const hidl_string& fqName, 35 Return<Transport> getTransport(const hidl_string& fqName, 42 Return<bool> registerForNotifications(const hidl_string& fqName, 47 Return<void> registerPassthroughClient(const hidl_string &fqName, 51 Return<bool> unregisterForNotifications(const hidl_string& fqName, 93 const hidl_string &fqName,
|
AccessControl.h | 15 bool canAdd(const std::string& fqName, const Context &context, pid_t pid); 16 bool canGet(const std::string& fqName, pid_t pid);
|
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);
|
/system/libhidl/transport/manager/1.0/ |
IServiceNotification.hal | 24 * @param fqName Fully-qualified instance name (see IServiceManager) 31 oneway onRegistration(string fqName, string name, bool preexisting);
|
IServiceManager.hal | 52 get(string fqName, string name) generates (interface service); 85 * @param fqName Fully-qualified interface name. 90 getTransport(string fqName, string name) generates (Transport transport); 102 * @param fqName Fully-qualified interface name. 106 listByInterface(string fqName) generates (vec<string> instanceNames); 113 * version provided in the fqName. For instance, if a client registers for 119 * @param fqName Fully-qualified interface name. 126 registerForNotifications(string fqName, 163 registerPassthroughClient(string fqName, string name);
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
TestNgXmlPanel.java | 35 String fqName = suite.getXmlSuite().getFileName(); 36 if (fqName == null) fqName = "/[unset file name]"; 37 return fqName.substring(fqName.lastIndexOf("/") + 1);
|
/system/tools/hidl/ |
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...] |
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...] |
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...] |
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...] |
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);
|
generateCppAdapter.cpp | 50 const std::string mockName = getInterface()->fqName().cppName(); 90 std::set<FQName> allImportedNames; 104 const std::string mockName = getInterface()->fqName().cppName(); 139 out << "static_cast<::android::sp<" << interface->fqName().cppName() << ">>(" 140 << interface->fqName().cppName() << "::castFrom(" 142 << "static_cast<::android::sp<" << interface->fqName().cppName() << ">>(" << var 143 << "), [&] { return new " << interface->fqName().getInterfaceAdapterFqName().cppName()
|
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...] |
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;
|
Hash.cpp | 93 #define FQNAME "([^\\s]+)" 99 MAYBE_SPACES HASH SPACES FQNAME MAYBE_SPACES 115 std::vector<std::string> lookup(const std::string &fqName) const { 116 auto it = hashes.find(fqName); 149 std::string fqName = match.str(2); 151 if (hash.size() == 0 && fqName.size() == 0) { 155 if (hash.size() == 0 || fqName.size() == 0) { 156 *err = "Hash or fqName empty on " + path + ": " + line; 161 file->hashes[fqName].push_back(hash);
|
Scope.cpp | 32 Scope::Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent) 53 NamedType *Scope::lookupType(const FQName &fqName) const { 54 CHECK(fqName.package().empty() && fqName.version().empty()); 55 if (!fqName.valueName().empty()) { 56 std::cerr << "ERROR: " << fqName.string() << " does not refer to a type." << std::endl; 59 std::vector<std::string> names = fqName.names(); 78 FQName innerName; 79 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName)) [all...] |
generateCpp.cpp | 65 const FQName &package, 137 const FQName &fqName, 140 const std::string interfaceName = fqName.getInterfaceName(); 148 << fqName.getInterfaceProxyName() 156 const FQName &fqName, const std::string &package) { 158 const std::string interfaceName = fqName.getInterfaceName(); 160 implementGetService(out, fqName, true /* isTry */); 161 implementGetService(out, fqName, false /* isTry */) [all...] |
/system/tools/hidl/build/ |
fqName.go | 24 type fqName struct { 30 // See system/tools/hidl/FQName.h 36 func parseFqName(f string) (*fqName, error) { 43 ret := fqName{ 52 func (f *fqName) inPackage(pkg string) bool { 68 func (f *fqName) pkg() string { 71 func (f *fqName) version() string { 74 func (f *fqName) sanitizedVersion() string { 77 func (f *fqName) string() string { 80 func (f *fqName) sanitizedString() string [all...] |
/system/libhidl/transport/manager/1.1/ |
IServiceManager.hal | 27 * @param fqName Fully-qualified interface name. If empty, unregister for 35 unregisterForNotifications(string 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()) {
|
/external/jdiff/src/jdiff/ |
MergeChanges.java | 101 String fqName = pkgDiff.name_ + "." + classDiff.name_; 102 String link1 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "\" class=\"hiddenlink\">"; 103 String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + ".ctor_changed(" + type + ")\" class=\"hiddenlink\">"; 161 String fqName = pkgDiff.name_ + "." + classDiff.name_; 162 String link1 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "\" class=\"hiddenlink\">"; 163 String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + addedMethod.name_ + "_changed(" + sig + ")\" class=\"hiddenlink\">"; 239 String fqName = pkgDiff.name_ + "." + classDiff.name_; 240 String link1 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "\" class=\"hiddenlink\">" [all...] |
/frameworks/native/services/sensorservice/ |
SensorDeviceUtils.h | 37 Return<void> onRegistration(const hidl_string &fqName,
|
SensorDeviceUtils.cpp | 41 const hidl_string &fqName, const hidl_string &name, bool preexisting) { 42 ALOGV("onRegistration fqName %s, name %s, preexisting %d", 43 fqName.c_str(), name.c_str(), preexisting);
|