• Home
  • Raw
  • Download

Lines Matching refs:descriptor

109 __attribute__((noinline)) static void tryShortenProcessName(const std::string& descriptor) {  in tryShortenProcessName()  argument
116 if (!base::StartsWith(packageWithoutVersion(processName), packageWithoutVersion(descriptor))) { in tryShortenProcessName()
121 size_t lastDot = descriptor.rfind('.'); in tryShortenProcessName()
123 size_t secondDot = descriptor.rfind('.', lastDot - 1); in tryShortenProcessName()
147 if (base::StartsWith(descriptor, oldComm)) { in tryShortenProcessName()
156 static void onRegistrationImpl(const std::string& descriptor, const std::string& instanceName) { in onRegistrationImpl() argument
157 LOG(INFO) << "Registered " << descriptor << "/" << instanceName; in onRegistrationImpl()
158 tryShortenProcessName(descriptor); in onRegistrationImpl()
530 std::vector<std::string> getAllHalInstanceNames(const std::string& descriptor) { in getAllHalInstanceNames() argument
533 sm->listManifestByInterface(descriptor, [&](const auto& instances) { in getAllHalInstanceNames()
544 void preloadPassthroughService(const std::string &descriptor) { in preloadPassthroughService() argument
545 PassthroughServiceManager::openLibs(descriptor, in preloadPassthroughService()
679 bool handleCastError(const Return<bool>& castReturn, const std::string& descriptor, in handleCastError() argument
687 "%s/%s.", descriptor.c_str(), instance.c_str()); in handleCastError()
691 ALOGW("getService: found dead hwbinder service for %s/%s.", descriptor.c_str(), in handleCastError()
702 descriptor.c_str(), instance.c_str()); in handleCastError()
728 sp<::android::hidl::base::V1_0::IBase> getRawServiceInternal(const std::string& descriptor, in getRawServiceInternal() argument
745 Return<Transport> transportRet = sm->getTransport(descriptor, instance); in getRawServiceInternal()
773 waiter = new Waiter(descriptor, instance, sm); in getRawServiceInternal()
778 Return<sp<IBase>> ret = sm->get(descriptor, instance); in getRawServiceInternal()
781 ret.description().c_str(), descriptor.c_str(), instance.c_str()); in getRawServiceInternal()
787 details::canCastInterface(base.get(), descriptor.c_str(), true /* emitError */); in getRawServiceInternal()
796 if (!handleCastError(canCastRet, descriptor, instance)) break; in getRawServiceInternal()
803 ALOGI("getService: Trying again for %s/%s...", descriptor.c_str(), instance.c_str()); in getRawServiceInternal()
815 sp<IBase> base = pm->get(descriptor, instance).withDefault(nullptr); in getRawServiceInternal()
836 const std::string descriptor = getDescriptor(service.get()); in registerAsServiceInternal() local
840 Transport transport = sm->getTransport(descriptor, name); in registerAsServiceInternal()
843 LOG(ERROR) << "Service " << descriptor << "/" << name in registerAsServiceInternal()
859 onRegistrationImpl(descriptor, name); in registerAsServiceInternal()