Home
last modified time | relevance | path

Searched refs:IBase (Results 1 – 25 of 57) sorted by relevance

123

/system/hwservicemanager/
DServiceManager.h37 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 …]
DHidlService.h34 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;
DTokenManager.h32 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);
DServiceManager.cpp125 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 …]
DHidlService.cpp37 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/
DHidlPassthroughSupport.cpp24 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()
DHidlTransportSupport.cpp29 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()
DHidlLazyUtils.cpp31 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 …]
DHidlTransportUtils.cpp25 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()
DStatic.cpp30 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{};
DInternalStatic.h31 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>>
34 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap;
DLegacySupport.cpp25 using android::hidl::base::V1_0::IBase;
34 sp<IBase> service = in registerPassthroughServiceImplementation()
79 [](const sp<IBase>& service, const std::string& name) { in registerPassthroughServiceImplementation()
DServiceManagement.cpp57 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/
DHidlTransportSupport.h84 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()
DHidlTransportUtils.h31 Return<bool> canCastInterface(::android::hidl::base::V1_0::IBase* interface,
34 std::string getDescriptor(::android::hidl::base::V1_0::IBase* interface);
DHidlPassthroughSupport.h35 sp<::android::hidl::base::V1_0::IBase> wrapPassthroughInternal(
36 sp<::android::hidl::base::V1_0::IBase> iface);
DStatic.h37 extern DoNotDestruct<ConcurrentMap<const ::android::hidl::base::V1_0::IBase*,
48 std::function<sp<::android::hidl::base::V1_0::IBase>(void*)>>;
DHidlBinderSupport.h42 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/
DHidlTestJava.java23 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/
Dvts_ibase_test.cpp49 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/
DIChild.hal19 import IBase;
21 interface IChild extends IBase {
DIChangeBase.hal19 import IBase;
21 interface IChangeBase extends IBase {
DIWrongMinor.hal19 import IBase;
21 interface IWrongMinor extends IBase {
DIWrongUnderscore.hal19 import IBase;
21 interface IWrongUnderscore extends IBase {
/system/tools/hidl/lint/test/interfaces/method_versions/1.1/
DIMethodDNE.hal19 import @1.0::IBase;
21 interface IMethodDNE extends @1.0::IBase {

123