/aosp12/system/hwservicemanager/ |
H A 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, 91 const sp<IBase>& service, 98 bool removePackageListener(const wp<IBase>& who); 99 bool removeServiceListener(const wp<IBase>& who); 133 bool removePackageListener(const wp<IBase>& who); [all …]
|
H A 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;
|
H A 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);
|
H A D | ServiceManager.cpp | 138 sp<IBase> base = who.promote(); in serviceDied() 268 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get() 283 sp<IBase> service = hidlService->getService(); in get() 320 if (!mAcl.canAdd(IBase::descriptor, pidcon)) { in add() 338 const sp<IBase>& service, in addImpl() 386 const sp<IBase> remove = hidlService->getService(); in addImpl() 639 sp<IBase> service = registered->getService(); in registerClientCallback() 686 const sp<IBase>& service, in addWithChain() 735 sp<IBase> server = registered->getService(); in tryUnregister() 857 bool ServiceManager::removePackageListener(const wp<IBase>& who) { in removePackageListener() [all …]
|
/aosp12/system/libhidl/adapter/include/hidladapter/ |
H A D | HidlBinderAdapter.h | 27 using IBase = ::android::hidl::base::V1_0::IBase; variable 30 using AdapterFactory = std::function<sp<IBase>(sp<IBase>)>; 36 sp<IBase> adaptWithDefault(const sp<IBase>& something, 37 const std::function<sp<IBase>()>& makeDefault); 45 {{Adapters::Pure::descriptor, [](sp<::android::hidl::base::V1_0::IBase> base) { in adapterMain()
|
/aosp12/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
H A D | HidlTestJava.java | 615 IBase baseProxy = IBase.getService(); in client() 691 IBase.Foo foo = new IBase.Foo(); in client() 695 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client() 709 IBase.Foo[] inputArray = new IBase.Foo[2]; in client() 711 IBase.Foo foo = new IBase.Foo(); in client() 715 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client() 730 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client() 753 IBase.Foo foo = new IBase.Foo(); in client() 1182 IBase proxy1 = IBase.getService(); in client() 1183 IBase proxy2 = IBase.getService(); in client() [all …]
|
/aosp12/system/libhidl/transport/ |
H A 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()
|
H A 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 …]
|
H A 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() 42 sp<IBase> wrapPassthroughInternal(sp<IBase> iface) { in wrapPassthroughInternal() 57 sp<IBase> base; in wrapPassthroughInternal()
|
H A 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()
|
H A D | Static.cpp | 33 DoNotDestruct<ConcurrentMap<const ::android::hidl::base::V1_0::IBase*, 38 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> gServicePrioMap{}; 39 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap{};
|
H A 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()
|
/aosp12/hardware/interfaces/tests/baz/1.0/default/ |
H A D | Baz.h | 19 using ::android::hidl::base::V1_0::IBase; 37 Return<void> someOtherBaseMethod(const IBase::Foo& foo, 41 Return<void> someMethodWithFooVectors(const hidl_vec<IBase::Foo>& fooInput, 43 Return<void> someMethodWithVectorOfArray(const IBase::VectorOfArray& in, 47 Return<void> transpose(const IBase::StringMatrix5x3& in, 51 Return<void> takeAMask(IBase::BitField bf, 53 const IBase::MyMask& second, 58 const IBase::LotsOfPrimitiveArrays &in, 62 const hidl_vec<IBase::ByteOneDim> &in, 66 const hidl_vec<IBase::BooleanOneDim> &in, [all …]
|
H A D | Baz.cpp | 102 Return<void> Baz::someMethodWithFooArrays(const hidl_array<IBase::Foo, 2>& fooInput, in someMethodWithFooArrays() 116 Return<void> Baz::someMethodWithFooVectors(const hidl_vec<IBase::Foo>& fooInput, in someMethodWithFooVectors() 131 Return<void> Baz::someMethodWithVectorOfArray(const IBase::VectorOfArray& in, in someMethodWithVectorOfArray() 136 IBase::VectorOfArray out; in someMethodWithVectorOfArray() 172 IBase::StringMatrix3x5 out; in transpose() 199 Return<void> Baz::takeAMask(IBase::BitField bf, in takeAMask() 201 const IBase::MyMask& second, in takeAMask() 209 const IBase::LotsOfPrimitiveArrays &in, in testArrays() 216 const hidl_vec<IBase::ByteOneDim> &in, in testByteVecs() 223 const hidl_vec<IBase::BooleanOneDim> &in, in testBooleanVecs() [all …]
|
/aosp12/system/libhidl/transport/include/hidl/ |
H A 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()
|
H A 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()
|
/aosp12/system/libhidl/adapter/ |
H A D | HidlBinderAdapter.cpp | 130 using android::hidl::base::V1_0::IBase; in adapterMain() 159 sp<IBase> implementation = manager->get(interfaceName, args.instanceName).withDefault(nullptr); in adapterMain() 165 sp<IBase> adapter = it->second(implementation); in adapterMain() 219 sp<IBase> adaptWithDefault(const sp<IBase>& something, in adaptWithDefault() 220 const std::function<sp<IBase>()>& makeDefault) { in adaptWithDefault() 221 static std::map<sp<IBase>, sp<IBase>> sAdapterMap; in adaptWithDefault()
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | DeathRecipient.h | 31 sp<android::hidl::base::V1_0::IBase> const&>; 39 const sp<android::hidl::base::V1_0::IBase>& hService, 47 const wp<::android::hidl::base::V1_0::IBase>& who); 52 sp<android::hidl::base::V1_0::IBase> mHService; // HIDL service
|
/aosp12/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/ |
H A D | Callback.h | 23 using ::android::hidl::base::V1_0::IBase; 36 virtual sp<IBase> Get() = 0; 45 sp<IBase> Get() override { return callback_; } in Get() 57 sp<IBase> Get() override { return callback_; } in Get()
|
/aosp12/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
H A D | ProtectCallback.h | 59 void serviceDied(uint64_t cookie, const wp<hidl::base::V1_0::IBase>& who) override; 73 static nn::GeneralResult<DeathHandler> create(sp<hidl::base::V1_0::IBase> object); 93 DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient); 95 sp<hidl::base::V1_0::IBase> mObject;
|
/aosp12/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
H A D | Omx.h | 43 using ::android::hidl::base::V1_0::IBase; 70 void serviceDied(uint64_t cookie, const wp<IBase>& who) override; 78 KeyedVector<wp<IBase>, sp<OMXNodeInstance> > mLiveNodes; 79 KeyedVector<OMXNodeInstance*, wp<IBase> > mNode2Observer;
|
/aosp12/system/libhidl/transport/base/1.0/vts/functional/ |
H A 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() 118 sp<IBase> service = default_manager_->get(fqName, instance); in SetUp() 160 if (fqInstance.getFqName().string() != IBase::descriptor) { in GetPidInterfacesMap() 199 EXPECT_NE(IBase::descriptor, descriptor) << base.name; in TEST_F() 206 virtual void serviceDied(uint64_t /* cookie */, const wp<IBase>& /* who */){}; in TEST_F()
|
/aosp12/system/tools/hidl/test/lazy_test/ |
H A D | hidl_lazy_test.cpp | 41 using ::android::hidl::base::V1_0::IBase; 46 sp<IBase> getHal(const FqInstance& instance) { in getHal() 102 sp<IBase> hal = getHal(instance); in TEST_F() 127 sp<IBase> hal = getHal(instance); in testWithTimes() 158 sp<IBase> hal = getHal(instance); in TEST_F()
|
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | PersistentSurface.h | 35 const sp<hidl::base::V1_0::IBase>& hidlTarget) : in PersistentSurface() 43 sp<hidl::base::V1_0::IBase> getHidlTarget() const { in getHidlTarget() 82 sp<hidl::base::V1_0::IBase> mHidlTarget;
|
/aosp12/hardware/interfaces/health/2.0/default/include/health2/ |
H A D | Health.h | 26 using ::android::hidl::base::V1_0::IBase; 57 void serviceDied(uint64_t cookie, const wp<IBase>& /* who */) override; 66 bool unregisterCallbackInternal(const sp<IBase>& cb);
|