/system/libhidl/adapter/include/hidladapter/ |
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()
|
/system/hwservicemanager/ |
D | ServiceManager.h | 38 using ::android::hidl::base::V1_0::IBase; 46 Return<sp<IBase>> get(const hidl_string& fqName, 49 const sp<IBase>& service) override; 74 const sp<IBase>& server, 76 Return<bool> unregisterClientCallback(const sp<IBase>& server, 79 const sp<IBase>& service, 85 const sp<IBase>& service) override; 89 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who); 92 const sp<IBase>& service, 98 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName); [all …]
|
D | HidlService.h | 35 using ::android::hidl::base::V1_0::IBase; 44 const sp<IBase> &service, 60 sp<IBase> getService() const; 61 void setService(sp<IBase> service, pid_t pid); 67 bool removeListener(const wp<IBase> &listener); 103 sp<IBase> mService;
|
D | TokenManager.h | 33 using ::android::hidl::base::V1_0::IBase; 46 Return<void> createToken(const sp<IBase>& store, createToken_cb hidl_cb) override; 48 Return<sp<IBase>> get(const hidl_vec<uint8_t> &token) override; 63 sp<IBase> interface; 68 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() 259 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get() 274 sp<IBase> service = hidlService->getService(); in get() 296 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add() 318 const sp<IBase>& service, in addImpl() 366 const sp<IBase> remove = hidlService->getService(); in addImpl() 556 const sp<IBase>& server, in registerClientCallback() [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()
|
D | TokenManager.cpp | 55 Return<void> TokenManager::createToken(const sp<IBase>& store, createToken_cb hidl_cb) { in createToken() 117 Return<sp<IBase>> TokenManager::get(const hidl_vec<uint8_t> &token) { in get() 128 TokenManager::TokenInterface TokenManager::generateToken(const sp<IBase> &interface) { in generateToken()
|
/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() 42 sp<IBase> wrapPassthroughInternal(sp<IBase> iface) { in wrapPassthroughInternal() 57 sp<IBase> base; in wrapPassthroughInternal()
|
D | HidlLazyUtils.cpp | 29 using ::android::hidl::base::V1_0::IBase; 35 bool addRegisteredService(const sp<IBase>& service, const std::string& name); 38 Return<void> onClients(const sp<IBase>& service, bool clients) override; 44 bool registerService(const sp<IBase>& service, const std::string& name); 58 sp<IBase> service; 71 status_t registerService(const sp<::android::hidl::base::V1_0::IBase>& service, 78 bool ClientCounterCallback::addRegisteredService(const sp<IBase>& service, in addRegisteredService() 89 bool ClientCounterCallback::registerService(const sp<IBase>& service, const std::string& name) { in registerService() 115 Return<void> ClientCounterCallback::onClients(const sp<::android::hidl::base::V1_0::IBase>& service, in onClients() 170 const sp<::android::hidl::base::V1_0::IBase>& service, const std::string& name) { in registerService() [all …]
|
D | HidlTransportSupport.cpp | 26 using ::android::hidl::base::V1_0::IBase; 47 static void pruneMapLocked(ConcurrentMap<wp<IBase>, V>& map) { in pruneMapLocked() argument 48 std::vector<wp<IBase>> toDelete; in pruneMapLocked() 59 bool setMinSchedulerPolicy(const sp<IBase>& service, int policy, int priority) { in setMinSchedulerPolicy() 95 bool setRequestingSid(const sp<IBase>& service, bool requesting) { in setRequestingSid() 111 bool interfacesEqual(const sp<IBase>& left, const sp<IBase>& right) { in interfacesEqual()
|
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 | 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{};
|
D | current.txt | 7 bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 android.hidl.base@1.0::IBase 28 ec7fd79ed02dfa85bc499426adae3ebe23ef0524f3cd6957139324b83b18ca4c android.hidl.base@1.0::IBase
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 20 import android.hardware.tests.baz.V1_0.IBase; 134 private void ExpectEqual(android.hidl.base.V1_0.IBase l, android.hidl.base.V1_0.IBase r) { in ExpectEqual() 140 private void ExpectNotEqual(android.hidl.base.V1_0.IBase l, android.hidl.base.V1_0.IBase r) { in ExpectNotEqual() 539 IBase proxy = IBase.getService("this-doesn't-exist"); in client() 549 IBase baseProxy = IBase.getService(); in client() 563 IBase baseProxyA = IBaz.getService(true /* retry */); in client() 565 IBase baseProxyB = IBaz.getService(false /* retry */); in client() 580 IBase.Foo foo = new IBase.Foo(); in client() 584 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client() 593 IBase.Foo result = proxy.someOtherBaseMethod(foo); in client() [all …]
|
/system/libhidl/transport/include/hidl/ |
D | Static.h | 41 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> 44 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap; 48 extern DoNotDestruct<ConcurrentMap<const ::android::hidl::base::V1_0::IBase*, 59 std::function<sp<::android::hidl::base::V1_0::IBase>(void*)>>;
|
D | HidlTransportSupport.h | 84 bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, 97 bool setRequestingSid(const sp<::android::hidl::base::V1_0::IBase>& service, bool requesting); 104 bool interfacesEqual(const sp<::android::hidl::base::V1_0::IBase>& left, 105 const sp<::android::hidl::base::V1_0::IBase>& right); 150 using ::android::hidl::base::V1_0::IBase; in getServiceInternal() 152 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 | ServiceManagement.h | 57 sp<::android::hidl::base::V1_0::IBase> getRawServiceInternal(const std::string& descriptor, 61 status_t registerAsServiceInternal(const sp<::android::hidl::base::V1_0::IBase>& service,
|
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; 313 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr); 329 using ::android::hidl::base::V1_0::IBase; in fromBinder() 338 sp<IBase> base = static_cast<BnHwBase*>(binderIface.get())->getImpl(); in fromBinder()
|
D | HidlLazyUtils.h | 33 status_t registerService(const sp<::android::hidl::base::V1_0::IBase>& service,
|
/system/libhidl/adapter/ |
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()
|
/system/tools/hidl/test/lazy_test/ |
D | main.cpp | 34 using ::android::hidl::base::V1_0::IBase; 39 sp<IBase> getHal() { in getHal() 48 sp<IBase> hal = getHal(); in TEST() 71 sp<IBase> hal = getHal(); in testWithTimes()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 34 using android::hidl::base::V1_0::IBase; 48 sp<IBase> service; 71 sp<IBase> service = default_manager_->get(fqName, instance); in SetUp() 133 EXPECT_NE(IBase::descriptor, descriptor) << base.name; in TEST_F() 140 virtual void serviceDied(uint64_t /* cookie */, const wp<IBase>& /* who */){}; in TEST_F()
|
/system/libhidl/transport/base/1.0/ |
D | Android.bp | 11 "IBase.hal",
|