/system/hwservicemanager/ |
D | ServiceManager.h | 37 using ::android::hidl::base::V1_0::IBase; 45 Return<sp<IBase>> get(const hidl_string& fqName, 48 const sp<IBase>& service) override; 73 const sp<IBase>& server, 75 Return<bool> unregisterClientCallback(const sp<IBase>& server, 78 const sp<IBase>& service, 84 const sp<IBase>& service) override; 88 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who); 91 const sp<IBase>& service, 97 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName); [all …]
|
D | HidlService.h | 34 using ::android::hidl::base::V1_0::IBase; 43 const sp<IBase> &service, 59 sp<IBase> getService() const; 60 void setService(sp<IBase> service, pid_t pid); 66 bool removeListener(const wp<IBase> &listener); 109 sp<IBase> mService;
|
D | TokenManager.h | 32 using ::android::hidl::base::V1_0::IBase; 45 Return<void> createToken(const sp<IBase>& store, createToken_cb hidl_cb) override; 47 Return<sp<IBase>> get(const hidl_vec<uint8_t> &token) override; 62 sp<IBase> interface; 67 TokenInterface generateToken(const sp<IBase> &interface);
|
D | ServiceManager.cpp | 125 void ServiceManager::serviceDied(uint64_t cookie, const wp<IBase>& who) { in serviceDied() 138 sp<IBase> base = who.promote(); in serviceDied() 220 bool ServiceManager::PackageInterfaceMap::removePackageListener(const wp<IBase>& who) { in removePackageListener() 235 bool ServiceManager::PackageInterfaceMap::removeServiceListener(const wp<IBase>& who) { in removeServiceListener() 269 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get() 284 sp<IBase> service = hidlService->getService(); in get() 312 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add() 321 if (!mAcl.canAdd(IBase::descriptor, pidcon)) { in add() 339 const sp<IBase>& service, in addImpl() 387 const sp<IBase> remove = hidlService->getService(); in addImpl() [all …]
|
D | HidlService.cpp | 37 const sp<IBase> &service, in HidlService() 45 sp<IBase> HidlService::getService() const { in getService() 48 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService() 84 bool HidlService::removeListener(const wp<IBase>& listener) { in removeListener()
|
/system/libhidl/transport/ |
D | HidlPassthroughSupport.cpp | 24 using ::android::hidl::base::V1_0::IBase; 30 static sp<IBase> tryWrap(const std::string& descriptor, sp<IBase> iface) { in tryWrap() 38 sp<IBase> wrapPassthroughInternal(sp<IBase> iface) { in wrapPassthroughInternal() 53 sp<IBase> base; in wrapPassthroughInternal()
|
D | HidlTransportSupport.cpp | 29 using ::android::hidl::base::V1_0::IBase; 50 static void pruneMapLocked(ConcurrentMap<wp<IBase>, V>& map) { in pruneMapLocked() argument 51 std::vector<wp<IBase>> toDelete; in pruneMapLocked() 62 bool setMinSchedulerPolicy(const sp<IBase>& service, int policy, int priority) { in setMinSchedulerPolicy() 98 SchedPrio getMinSchedulerPolicy(const sp<IBase>& service) { in getMinSchedulerPolicy() 102 bool setRequestingSid(const sp<IBase>& service, bool requesting) { in setRequestingSid() 118 bool getRequestingSid(const sp<IBase>& service) { in getRequestingSid() 122 bool interfacesEqual(const sp<IBase>& left, const sp<IBase>& right) { in interfacesEqual()
|
D | HidlLazyUtils.cpp | 31 using ::android::hidl::base::V1_0::IBase; 37 bool addRegisteredService(const sp<IBase>& service, const std::string& name); 46 Return<void> onClients(const sp<IBase>& service, bool clients) override; 50 sp<IBase> service; 61 Service& assertRegisteredServiceLocked(const sp<IBase>& service); 66 bool registerServiceLocked(const sp<IBase>& service, const std::string& name); 99 status_t registerService(const sp<::android::hidl::base::V1_0::IBase>& service, 109 bool ClientCounterCallback::addRegisteredService(const sp<IBase>& service, in addRegisteredService() 122 const sp<IBase>& service) { in assertRegisteredServiceLocked() 132 bool ClientCounterCallback::registerServiceLocked(const sp<IBase>& service, in registerServiceLocked() [all …]
|
D | HidlTransportUtils.cpp | 25 using ::android::hidl::base::V1_0::IBase; 27 Return<bool> canCastInterface(IBase* interface, const char* castTo, bool emitError) { in canCastInterface() 34 if (std::string(IBase::descriptor) == castTo) { in canCastInterface() 58 std::string getDescriptor(IBase* interface) { in getDescriptor()
|
D | Static.cpp | 30 DoNotDestruct<ConcurrentMap<const ::android::hidl::base::V1_0::IBase*, 35 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> gServicePrioMap{}; 36 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap{};
|
D | InternalStatic.h | 31 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> 34 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap;
|
D | LegacySupport.cpp | 25 using android::hidl::base::V1_0::IBase; 34 sp<IBase> service = in registerPassthroughServiceImplementation() 79 [](const sp<IBase>& service, const std::string& name) { in registerPassthroughServiceImplementation()
|
D | ServiceManagement.cpp | 57 using ::android::hidl::base::V1_0::IBase; 226 Return<sp<IBase>> get(const hidl_string& fqName, const hidl_string&) override { in get() 227 sp<IBase> ret = nullptr; in get() 235 Return<bool> add(const hidl_string& name, const sp<IBase>& /* service */) override { in add() 285 const sp<IBase>&, const sp<IClientCallback>&) { in registerClientCallback() 290 Return<bool> unregisterClientCallback(const sp<IBase>&, const sp<IClientCallback>&) { in unregisterClientCallback() 294 Return<bool> addWithChain(const hidl_string& fqName, const sp<IBase>&, in addWithChain() 304 const sp<IBase>&) { in tryUnregister() 523 Return<sp<IBase>> get(const hidl_string& fqName, in get() 525 sp<IBase> ret = nullptr; in get() [all …]
|
/system/libhidl/transport/include/hidl/ |
D | HidlTransportSupport.h | 84 bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, 92 SchedPrio getMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service); 104 bool setRequestingSid(const sp<::android::hidl::base::V1_0::IBase>& service, bool requesting); 110 bool getRequestingSid(const sp<::android::hidl::base::V1_0::IBase>& service); 117 bool interfacesEqual(const sp<::android::hidl::base::V1_0::IBase>& left, 118 const sp<::android::hidl::base::V1_0::IBase>& right); 163 using ::android::hidl::base::V1_0::IBase; in getServiceInternal() 165 sp<IBase> base = getRawServiceInternal(IType::descriptor, instance, retry, getStub); in getServiceInternal()
|
D | HidlTransportUtils.h | 31 Return<bool> canCastInterface(::android::hidl::base::V1_0::IBase* interface, 34 std::string getDescriptor(::android::hidl::base::V1_0::IBase* interface);
|
D | HidlPassthroughSupport.h | 35 sp<::android::hidl::base::V1_0::IBase> wrapPassthroughInternal( 36 sp<::android::hidl::base::V1_0::IBase> iface);
|
D | Static.h | 37 extern DoNotDestruct<ConcurrentMap<const ::android::hidl::base::V1_0::IBase*, 48 std::function<sp<::android::hidl::base::V1_0::IBase>(void*)>>;
|
D | HidlBinderSupport.h | 42 uint64_t cookie, const sp<::android::hidl::base::V1_0::IBase> &base); 48 wp<::android::hidl::base::V1_0::IBase> mBase; 185 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr); 201 using ::android::hidl::base::V1_0::IBase; in fromBinder() 213 if (!binderIface->checkSubclass(IBase::descriptor)) { in fromBinder() 216 sp<IBase> base = static_cast<BnHwBase*>(binderIface.get())->getImpl(); in fromBinder()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 23 import android.hardware.tests.baz.V1_0.IBase; 151 private void ExpectEqual(android.hidl.base.V1_0.IBase l, android.hidl.base.V1_0.IBase r) { in ExpectEqual() 157 private void ExpectNotEqual(android.hidl.base.V1_0.IBase l, android.hidl.base.V1_0.IBase r) { in ExpectNotEqual() 593 IBase proxy = IBase.getService("this-doesn't-exist"); in client() 605 IBase proxy = IBase.getService("this-doesn't-exist", true /*retry*/); in client() 615 IBase baseProxy = IBase.getService(); in client() 629 IBase baseProxyA = IBaz.getService(true /* retry */); in client() 631 IBase baseProxyB = IBaz.getService(false /* retry */); in client() 691 IBase.Foo foo = new IBase.Foo(); in client() 695 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client() [all …]
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 49 using android::hidl::base::V1_0::IBase; 63 sp<IBase> service; 85 if (instance.getFqName().string() == IBase::descriptor) { in GetHal() 89 sp<IBase> hal = android::hardware::details::getRawServiceInternal( in GetHal() 135 sp<IBase> service = default_manager_->get(fqName, instance); in SetUp() 177 if (fqInstance.getFqName().string() != IBase::descriptor) { in GetPidInterfacesMap() 216 EXPECT_NE(IBase::descriptor, descriptor) << base.name; in TEST_F() 223 virtual void serviceDied(uint64_t /* cookie */, const wp<IBase>& /* who */){}; in TEST_F()
|
/system/tools/hidl/lint/test/interfaces/method_versions/1.0/ |
D | IChild.hal | 19 import IBase; 21 interface IChild extends IBase {
|
D | IChangeBase.hal | 19 import IBase; 21 interface IChangeBase extends IBase {
|
D | IWrongMinor.hal | 19 import IBase; 21 interface IWrongMinor extends IBase {
|
D | IWrongUnderscore.hal | 19 import IBase; 21 interface IWrongUnderscore extends IBase {
|
/system/tools/hidl/lint/test/interfaces/method_versions/1.1/ |
D | IMethodDNE.hal | 19 import @1.0::IBase; 21 interface IMethodDNE extends @1.0::IBase {
|