Home | History | Annotate | Download | only in hwservicemanager

Lines Matching defs:fqName

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);
199 tryStartService(fqName, hidlName);
205 tryStartService(fqName, hidlName);
231 const std::string fqName = interfaceChain[i];
233 if (!mAcl.canAdd(fqName, context, pid)) {
259 const std::string fqName = interfaceChain[i];
261 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
266 std::make_unique<HidlService>(fqName, name, service, pid));
271 ifaceMap.sendPackageRegistrationNotification(fqName, name);
290 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName,
295 if (!mAcl.canGet(fqName, pid)) {
299 switch (getTransport(fqName, name)) {
330 Return<void> ServiceManager::listByInterface(const hidl_string& fqName,
333 if (!mAcl.canGet(fqName, pid)) {
338 auto ifaceIt = mServiceMap.find(fqName);
369 Return<bool> ServiceManager::registerForNotifications(const hidl_string& fqName,
377 if (!mAcl.canGet(fqName, pid)) {
381 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
386 LOG(ERROR) << "Failed to register death recipient for " << fqName << "/" << name;
397 LOG(ERROR) << "Failed to register death recipient for " << fqName << "/" << name;
402 auto adding = std::make_unique<HidlService>(fqName, name);
412 Return<bool> ServiceManager::unregisterForNotifications(const hidl_string& fqName,
416 LOG(ERROR) << "Cannot unregister null callback for " << fqName << "/" << name;
423 if (fqName.empty()) {
430 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
479 Return<void> ServiceManager::registerPassthroughClient(const hidl_string &fqName,
482 if (!mAcl.canGet(fqName, pid)) {
490 PackageInterfaceMap &ifaceMap = mServiceMap[fqName];
494 << fqName.c_str();
501 auto adding = std::make_unique<HidlService>(fqName, name);