Android12之如何查看hidl服务(一百五十五)

这篇具有很好参考价值的文章主要介绍了Android12之如何查看hidl服务(一百五十五)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长!

优质专栏:Audio工程师进阶系列原创干货持续更新中……】🚀

人生格言: 人生从来没有捷径,只有行动才是治疗恐惧和懒惰的唯一良药.

更多原创,欢迎关注:Android系统攻城狮

Android12之如何查看hidl服务(一百五十五)

1.前言

本篇目的:在Android源码中提供了cmd、service、dumpsys来获取Binder服务的工具,但是Android8.0以后推出HIDL服务, 前边三个工具是无法获取到的,下面我们如何获取HIDL服务呢?

注意:Android13开始,Camera将使用AIDL替代HIDL。

2.解决方式

Google为我们提供了一个脚lshal的工具,下面来看下它的用法。文章来源地址https://www.toymoban.com/news/detail-490853.html

<1>.lshal用法

在system/tools/hidl/test/hidl_test/hidl_test_servers.cpp是一个创建HIDL服务的demo,可以编译以后运行查看

ForkServer<IBaz>::run("dyingBaz");
static void run(const std::string& serviceName){
	defaultPassthroughServiceImplementation<T>(serviceName);
}
注意:HIDL服务名为:dyingBaz

启动服务hidl_test_servers64向hwservicemanager注册HIDL服务"dyingBaz"
# ./hidl_test_servers64

# lshal |grep dyingBaz                                                                                                                                                                                           
X     ? android.hardware.tests.baz@1.0::IBaz/dyingBaz                                 N/A        N/A

<2>.查看系统所有HIDL服务

1.binderized模式
HIDL向hwservicemanager(/dev/hwbinder)注册binder服务。
2.直通模式
HIDL passthrough implementations
# lshal
| All HIDL binderized services (registered with hwservicemanager)
VINTF R Interface                                                                                 Thread Use Server Clients
FM    Y android.frameworks.cameraservice.service@2.0::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.cameraservice.service@2.1::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.cameraservice.service@2.2::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.displayservice@1.0::IDisplayService/default                            0/1        721    674
DC,FM Y android.frameworks.schedulerservice@1.0::ISchedulingPolicyService/default                 0/5        1753   674
DC,FM Y android.frameworks.sensorservice@1.0::ISensorManager/default                              0/5        1753   1198 674
FM    Y android.frameworks.stats@1.0::IStats/default                                              0/5        1753   674
DM,FC Y android.hardware.audio.effect@7.0::IEffectsFactory/default                                0/5        1074   1128 674
DM,FC Y android.hardware.audio@7.0::IDevicesFactory/default                                       0/5        1074   1128 674
DM,FC Y android.hardware.authsecret@1.0::IAuthSecret/default                                      0/2        1096   1753 674
DM,FC Y android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default               0/1        1353   1753 674
DM,FC Y android.hardware.biometrics.fingerprint@2.2::IBiometricsFingerprint/default               0/1        1353   1753 674
DM,FC Y android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default             0/5        1074   674
DM,FC Y android.hardware.bluetooth@1.0::IBluetoothHci/default                                     0/1        1075   674
DM,FC Y android.hardware.boot@1.0::IBootControl/default                                           0/1        716    1348 691 674
DM,FC Y android.hardware.camera.provider@2.4::ICameraProvider/legacy/0                            0/3        1076   1293 674
DM,FC Y android.hardware.cas@1.0::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.cas@1.1::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.cas@1.2::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default                          0/2        724    721 674
DM,FC Y android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default                          0/2        724    721 674
DM,FC Y android.hardware.confirmationui@1.0::IConfirmationUI/default                              0/1        1079   674
DM,FC Y android.hardware.contexthub@1.0::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.contexthub@1.1::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.contexthub@1.2::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/default                                          0/3        1082   674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/default                                             0/3        1082   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.1::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.1::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.1::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.1::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.2::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.2::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.2::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.2::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.3::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.3::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.3::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.3::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.4::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.4::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.gatekeeper@1.0::IGatekeeper/default                                      0/1        717    1344 674
DM,FC Y android.hardware.gnss@1.0::IGnss/default                                                  0/1        1085   1753 674
DM,FC Y android.hardware.gnss@1.1::IGnss/default                                                  0/1        1085   1753 674
DM,FC Y android.hardware.graphics.allocator@2.0::IAllocator/default                               0/3        726    2553 2148 721 674
DM,FC Y android.hardware.graphics.composer@2.1::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.graphics.composer@2.2::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.graphics.composer@2.3::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.health@2.0::IHealth/default                                              1/1        1086   1753 1319 674
DM,FC Y android.hardware.keymaster@4.0::IKeymasterDevice/default                                  0/1        678    1010 715 674
DM,FC Y android.hardware.keymaster@4.0::IKeymasterDevice/strongbox                                0/1        680    715 674
DM,FC Y android.hardware.keymaster@4.1::IKeymasterDevice/strongbox                                0/1        680    715 674
DM,FC Y android.hardware.light@2.0::ILight/default                                                0/1        727    1753 723 674
DM,FC Y android.hardware.media.c2@1.0::IComponentStore/default                                    0/6        1120   2758 2148 1753 1315 1330 674
FM,FC Y android.hardware.media.c2@1.0::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
FM    Y android.hardware.media.c2@1.1::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
FM    Y android.hardware.media.c2@1.2::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
DM,FC Y android.hardware.media.omx@1.0::IOmx/default                                              0/3        1324   674
DM,FC Y android.hardware.media.omx@1.0::IOmxStore/default                                         0/6        1120   674
DM,FC Y android.hardware.memtrack@1.0::IMemtrack/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/paintbox                                     0/2        1069   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-gpu                                      0/2        1088   674
DM    Y android.hardware.nfc@1.0::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.nfc@1.1::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.nfc@1.2::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.oemlock@1.0::IOemLock/default                                            0/2        1096   1753 674
DM,FC Y android.hardware.power.stats@1.0::IPowerStats/default                                     0/1        1091   1753 674
DM,FC Y android.hardware.radio.config@1.0::IRadioConfig/default                                   0/2        1328   2397 674
DM,FC Y android.hardware.radio.config@1.1::IRadioConfig/default                                   0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.0::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.0::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.1::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.1::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.2::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.2::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.3::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.secure_element@1.0::ISecureElement/SIM1                                  0/2        1328   2393 674
DM,FC Y android.hardware.sensors@2.0::ISensors/default                                            0/1        1093   1753 674
DM,FC Y android.hardware.soundtrigger@2.0::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.soundtrigger@2.1::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.soundtrigger@2.2::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.tetheroffload.config@1.0::IOffloadConfig/default                         0/1        1291   674
DM,FC Y android.hardware.tetheroffload.control@1.0::IOffloadControl/default                       0/1        1291   674
DM,FC Y android.hardware.thermal@1.0::IThermal/default                                            0/1        1770   1753 674
DM,FC Y android.hardware.thermal@2.0::IThermal/default                                            0/1        1770   1753 674
DM,FC Y android.hardware.usb.gadget@1.0::IUsbGadget/default                                       0/2        1095   1753 674
DM,FC Y android.hardware.usb.gadget@1.1::IUsbGadget/default                                       0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.0::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.1::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.2::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.3::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.vibrator@1.0::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.vibrator@1.1::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.vibrator@1.2::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.weaver@1.0::IWeaver/default                                              0/2        1096   1753 674
DM,FC Y android.hardware.wifi@1.0::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.1::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.2::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.3::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.4::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.5::IWifi/default                                                  0/1        1115   1753 674
DC,FM Y android.hidl.allocator@1.0::IAllocator/ashmem                                             0/1        1062   674
X     Y android.hidl.base@1.0::IBase/SIM1                                                         0/2        1328   2393 674
X     Y android.hidl.base@1.0::IBase/UimLpa0                                                      0/2        1328   674
X     Y android.hidl.base@1.0::IBase/ashmem                                                       0/1        1062   674
X     Y android.hidl.base@1.0::IBase/clearkey                                                     0/3        1084   674
X     Y android.hidl.base@1.0::IBase/cnd                                                          0/1        1283   674
X     Y android.hidl.base@1.0::IBase/com.qualcomm.qti.uceservice                                  0/1        3278   674
X     Y android.hidl.base@1.0::IBase/imsradio0                                                    0/2        1328   2397 674
X     Y android.hidl.base@1.0::IBase/imsrtpservice                                                0/2        3276   674
X     Y android.hidl.base@1.0::IBase/legacy/0                                                     0/3        1076   1293 674
X     Y android.hidl.base@1.0::IBase/oemhook0                                                     0/2        1328   674
X     Y android.hidl.base@1.0::IBase/paintbox                                                     0/2        1069   674
X     Y android.hidl.base@1.0::IBase/qti-default                                                  0/2        1088   674
X     Y android.hidl.base@1.0::IBase/qti-dsp                                                      0/2        1088   674
X     Y android.hidl.base@1.0::IBase/qti-gpu                                                      0/2        1088   674
X     Y android.hidl.base@1.0::IBase/slot1                                                        0/2        1328   2397 674
X     Y android.hidl.base@1.0::IBase/software                                                     0/8        1330   2758 2148 1753 1315 674
X     Y android.hidl.base@1.0::IBase/strongbox                                                    0/1        680    715 674
X     Y android.hidl.base@1.0::IBase/uimRemoteClient0                                             0/2        1328   674
X     Y android.hidl.base@1.0::IBase/uimRemoteServer0                                             0/2        1328   674
X     Y android.hidl.base@1.0::IBase/widevine                                                     0/3        1083   674
DC,FM Y android.hidl.manager@1.0::IServiceManager/default                                         1/1        674    2258 2397 1753
FM    Y android.hidl.manager@1.1::IServiceManager/default                                         1/1        674    2258 2397 1753
FM    Y android.hidl.manager@1.2::IServiceManager/default                                         1/1        674    2258 2397 1753
DC,FM Y android.hidl.token@1.0::ITokenManager/default                                             1/1        674    
FM    Y android.system.net.netd@1.0::INetd/default                                                0/1        1009   1288 674
FM    Y android.system.net.netd@1.1::INetd/default                                                0/1        1009   1288 674
FM    Y android.system.suspend@1.0::ISystemSuspend/default                                        0/1        714    1288 1753 1124 1328 1128 674
DC,FM Y android.system.wifi.keystore@1.0::IKeystore/default                                       0/1        1321   674
DM,FC Y com.qualcomm.qti.uceservice@2.0::IUceService/com.qualcomm.qti.uceservice                  0/1        3278   674
DM    Y com.quicinc.cne.api@1.0::IApiService/cnd                                                  0/1        1283   674
DM,FC Y com.quicinc.cne.api@1.1::IApiService/cnd                                                  0/1        1283   674
DM    Y com.quicinc.cne.server@2.0::IServer/cnd                                                   0/1        1283   674
DM,FC Y com.quicinc.cne.server@2.1::IServer/cnd                                                   0/1        1283   674
DM,FC Y hardware.google.light@1.0::ILight/default                                                 0/1        727    1753 723 674
DM    Y vendor.display.config@1.0::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.display.config@1.1::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.display.config@1.2::IDisplayConfig/default                                         0/3        723    674
DM,FC Y vendor.display.config@1.3::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.google.wifi_ext@1.0::IWifiExt/default                                              0/1        1115   674
DM    Y vendor.google.wifi_ext@1.1::IWifiExt/default                                              0/1        1115   674
DM,FC Y vendor.google.wifi_ext@1.2::IWifiExt/default                                              0/1        1115   674
DM    Y vendor.google.wireless_charger@1.0::IWirelessCharger/default                              0/1        1116   674
DM    Y vendor.google.wireless_charger@1.1::IWirelessCharger/default                              0/1        1116   674
DM    Y vendor.google.wireless_charger@1.2::IWirelessCharger/default                              0/1        1116   674
DM,FC Y vendor.google.wireless_charger@1.3::IWirelessCharger/default                              0/1        1116   674
DM,FC Y vendor.google_paintbox@1.0::IManagerService/default                                       0/1        1327   674
DM,FC Y vendor.nxp.nxpnfc@1.0::INxpNfc/default                                                    0/1        1089   674
DM,FC Y vendor.qti.hardware.radio.am@1.0::IQcRilAudio/slot1                                       0/2        1328   2258 674
DM    Y vendor.qti.hardware.radio.ims@1.0::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM    Y vendor.qti.hardware.radio.ims@1.1::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM,FC Y vendor.qti.hardware.radio.ims@1.2::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM,FC Y vendor.qti.hardware.radio.lpa@1.0::IUimLpa/UimLpa0                                        0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.qcrilhook@1.0::IQtiOemHook/oemhook0                             0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.uim_remote_client@1.0::IUimRemoteServiceClient/uimRemoteClient0 0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.uim_remote_server@1.0::IUimRemoteServiceServer/uimRemoteServer0 0/2        1328   674
DM,FC Y vendor.qti.hardware.tui_comm@1.0::ITuiComm/default                                        0/1        1119   674
DM,FC Y vendor.qti.ims.callinfo@1.0::IService/default                                             0/1        3278   674
DM,FC Y vendor.qti.imsrtpservice@1.0::IRTPService/imsrtpservice                                   0/2        3276   674

| All HIDL interfaces getService() has ever returned as a passthrough interface;
| PIDs / processes shown below might be inaccurate because the process
| might have relinquished the interface or might have died.
| The Server / Server CMD column can be ignored.
| The Clients / Clients CMD column shows all process that have ever dlopen'ed 
| the library and successfully fetched the passthrough implementation.
VINTF R Interface                                                                     Thread Use Server Clients
FC    ? android.hardware.audio.effect@7.0::IEffectsFactory/default                    N/A        1074   1074
FC    ? android.hardware.audio@7.0::IDevicesFactory/default                           N/A        1074   1074
FC    ? android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default N/A        1074   1074
FC    ? android.hardware.bluetooth@1.0::IBluetoothHci/default                         N/A        1075   1075
FC    ? android.hardware.boot@1.0::IBootControl/default                               N/A        716    716
FC    ? android.hardware.camera.provider@2.4::ICameraProvider/legacy/0                N/A        1076   1076
FC    ? android.hardware.drm@1.0::ICryptoFactory/default                              N/A        1082   1082
FC    ? android.hardware.drm@1.0::IDrmFactory/default                                 N/A        1082   1082
FC    ? android.hardware.gatekeeper@1.0::IGatekeeper/default                          N/A        717    717
FC    ? android.hardware.gnss@1.1::IGnss/default                                      N/A        1085   1085
DM,FC ? android.hardware.graphics.mapper@2.1::IMapper/default                         N/A        N/A    721 723 2148 2553
FC    ? android.hardware.memtrack@1.0::IMemtrack/default                              N/A        1105   1105
FC    ? android.hardware.soundtrigger@2.2::ISoundTriggerHw/default                    N/A        1074   1074
X     ? android.hardware.tests.bar@1.0::IBar/foo                                      N/A        N/A    
X     ? android.hardware.tests.baz@1.0::IBaz/baz                                      N/A        N/A    
X     ? android.hardware.tests.baz@1.0::IBaz/dyingBaz                                 N/A        N/A    
X     ? android.hardware.tests.hash@1.0::IHash/default                                N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IChild/child                          N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IChild/local child                    N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IFetcher/fetcher                      N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IParent/parent                        N/A        N/A    
X     ? android.hardware.tests.memory@1.0::IMemoryTest/memory                         N/A        N/A    
X     ? android.hardware.tests.multithread@1.0::IMultithread/multithread              N/A        N/A    
X     ? android.hardware.tests.safeunion.cpp@1.0::ICppSafeUnion/default               N/A        N/A    
X     ? android.hardware.tests.safeunion@1.0::ISafeUnion/safeunion                    N/A        N/A    
X     ? android.hardware.tests.trie@1.0::ITrie/trie                                   N/A        N/A    
FC    ? android.hardware.vibrator@1.2::IVibrator/default                              N/A        1105   1105

| All available HIDL passthrough implementations (all -impl.so files).
| These may return subclasses through their respective HIDL_FETCH_I* functions.
VINTF R Interface                                                                     Thread Use Server Clients
X     ? android.hardware.audio.effect@7.0::I*/* (/vendor/lib/hw/)                     N/A        N/A    1074
X     ? android.hardware.audio@7.0::I*/* (/vendor/lib/hw/)                            N/A        N/A    1074
X     ? android.hardware.bluetooth.audio@2.0::I*/* (/vendor/lib/hw/)                  N/A        N/A    1074
X     ? android.hardware.bluetooth.audio@2.0::I*/* (/vendor/lib64/hw/)                N/A        N/A    
X     ? android.hardware.bluetooth@1.0::I*/* (/vendor/lib/hw/) (-qti)                 N/A        N/A    
X     ? android.hardware.bluetooth@1.0::I*/* (/vendor/lib64/hw/) (-qti)               N/A        N/A    1075
X     ? android.hardware.boot@1.0::I*/* (/vendor/lib/hw/)                             N/A        N/A    
X     ? android.hardware.boot@1.0::I*/* (/vendor/lib64/hw/)                           N/A        N/A    716
X     ? android.hardware.camera.provider@2.4::I*/* (/vendor/lib/hw/)                  N/A        N/A    
X     ? android.hardware.camera.provider@2.4::I*/* (/vendor/lib64/hw/)                N/A        N/A    1076
X     ? android.hardware.drm@1.0::I*/* (/vendor/lib/hw/)                              N/A        N/A    
X     ? android.hardware.drm@1.0::I*/* (/vendor/lib64/hw/)                            N/A        N/A    1082
X     ? android.hardware.gatekeeper@1.0::I*/* (/vendor/lib/hw/) (-qti)                N/A        N/A    
X     ? android.hardware.gatekeeper@1.0::I*/* (/vendor/lib64/hw/) (-qti)              N/A        N/A    717
X     ? android.hardware.gnss@1.1::I*/* (/vendor/lib/hw/) (-qti)                      N/A        N/A    
X     ? android.hardware.gnss@1.1::I*/* (/vendor/lib64/hw/) (-qti)                    N/A        N/A    1085
X     ? android.hardware.graphics.mapper@2.0::I*/* (/vendor/lib/hw/) (-qti-display)   N/A        N/A    1046 2317
X     ? android.hardware.graphics.mapper@2.0::I*/* (/vendor/lib64/hw/) (-qti-display) N/A        N/A    721 723 1044 1753 2148 2239 2258 2393 2397 2434 2553 2672 2758 2810 2946 3001 3141 3194 3241 3261 3299 3320 3340 3357 3400 3495 3526 3558
X     ? android.hardware.memtrack@1.0::I*/* (/vendor/lib/hw/)                         N/A        N/A    
X     ? android.hardware.memtrack@1.0::I*/* (/vendor/lib64/hw/)                       N/A        N/A    1105
X     ? android.hardware.renderscript@1.0::I*/* (/vendor/lib/hw/)                     N/A        N/A    
X     ? android.hardware.renderscript@1.0::I*/* (/vendor/lib64/hw/)                   N/A        N/A    
X     ? android.hardware.soundtrigger@2.2::I*/* (/vendor/lib/hw/)                     N/A        N/A    1074
X     ? android.hardware.soundtrigger@2.2::I*/* (/vendor/lib64/hw/)                   N/A        N/A    
X     ? android.hardware.vibrator@1.2::I*/* (/vendor/lib/hw/) (.crosshatch)           N/A        N/A    
X     ? android.hardware.vibrator@1.2::I*/* (/vendor/lib64/hw/) (.crosshatch)         N/A        N/A    1105
X     ? android.hidl.memory@1.0::I*/* (/apex/com.android.vndk.v31/lib/hw/)            N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/apex/com.android.vndk.v31/lib64/hw/)          N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/system/lib/hw/)                               N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/system/lib64/hw/)                             N/A        N/A    
X     ? vendor.qti.hardware.qteeconnector@1.0::I*/* (/vendor/lib/hw/)                 N/A        N/A    
X     ? vendor.qti.hardware.qteeconnector@1.0::I*/* (/vendor/lib64/hw/)               N/A        N/A

<2>.service和lshal命令对比

 # service list|grep ICameraProvider
注意:service命令什么也没找到,为空。

# lshal |grep ICameraProvider                                                                                                                                                                                  
DM,FC Y android.hardware.camera.provider@2.4::ICameraProvider/legacy/0       0/3        1076   1293 674
FC    ? android.hardware.camera.provider@2.4::ICameraProvider/legacy/0       N/A        1076   1076

<3>.查看manifest清单

# lshal --init-vintf
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.am</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IQcRilAudio/slot1</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.ims</name>
        <transport>hwbinder</transport>
        <fqname>@1.2::IImsRadio/imsradio0</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.lpa</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IUimLpa/UimLpa0</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.qcrilhook</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IQtiOemHook/oemhook0</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.uim_remote_client</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IUimRemoteServiceClient/uimRemoteClient0</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.radio.uim_remote_server</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IUimRemoteServiceServer/uimRemoteServer0</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.hardware.tui_comm</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::ITuiComm/default</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.ims.callinfo</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IService/default</fqname>
    </hal>
    <hal format="hidl">
        <name>vendor.qti.imsrtpservice</name>
        <transport>hwbinder</transport>
        <fqname>@1.0::IRTPService/imsrtpservice</fqname>
    </hal>
</manifest>

<4>.查看HIDL服务名、线程数量和客户端梳理

# lshal list -Vliepc                                                                                                                                                                                       
| All HIDL binderized services (registered with hwservicemanager)
VINTF R Interface                                                                                 Thread Use Server Clients
FM    Y android.frameworks.cameraservice.service@2.0::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.cameraservice.service@2.1::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.cameraservice.service@2.2::ICameraService/default                      0/2        1293   674
FM    Y android.frameworks.displayservice@1.0::IDisplayService/default                            0/1        721    674
DC,FM Y android.frameworks.schedulerservice@1.0::ISchedulingPolicyService/default                 0/5        1753   674
DC,FM Y android.frameworks.sensorservice@1.0::ISensorManager/default                              0/5        1753   1198 674
FM    Y android.frameworks.stats@1.0::IStats/default                                              0/5        1753   674
DM,FC Y android.hardware.audio.effect@7.0::IEffectsFactory/default                                0/5        1074   1128 674
DM,FC Y android.hardware.audio@7.0::IDevicesFactory/default                                       0/5        1074   1128 674
DM,FC Y android.hardware.authsecret@1.0::IAuthSecret/default                                      0/2        1096   1753 674
DM,FC Y android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default               0/1        1353   1753 674
DM,FC Y android.hardware.biometrics.fingerprint@2.2::IBiometricsFingerprint/default               0/1        1353   1753 674
DM,FC Y android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default             0/5        1074   674
DM,FC Y android.hardware.bluetooth@1.0::IBluetoothHci/default                                     0/1        1075   674
DM,FC Y android.hardware.boot@1.0::IBootControl/default                                           0/1        716    1348 691 674
DM,FC Y android.hardware.camera.provider@2.4::ICameraProvider/legacy/0                            0/3        1076   1293 674
DM,FC Y android.hardware.cas@1.0::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.cas@1.1::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.cas@1.2::IMediaCasService/default                                        0/2        1078   674
DM,FC Y android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default                          0/2        724    721 674
DM,FC Y android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default                          0/2        724    721 674
DM,FC Y android.hardware.confirmationui@1.0::IConfirmationUI/default                              0/1        1079   674
DM,FC Y android.hardware.contexthub@1.0::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.contexthub@1.1::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.contexthub@1.2::IContexthub/default                                      0/1        1081   1753 674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/default                                          0/3        1082   674
DM,FC Y android.hardware.drm@1.0::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/default                                             0/3        1082   674
DM,FC Y android.hardware.drm@1.0::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.1::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.1::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.1::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.1::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.2::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.2::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.2::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.2::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.3::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.3::ICryptoFactory/widevine                                         0/3        1083   674
DM,FC Y android.hardware.drm@1.3::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.drm@1.3::IDrmFactory/widevine                                            0/3        1083   674
DM,FC Y android.hardware.drm@1.4::ICryptoFactory/clearkey                                         0/3        1084   674
DM,FC Y android.hardware.drm@1.4::IDrmFactory/clearkey                                            0/3        1084   674
DM,FC Y android.hardware.gatekeeper@1.0::IGatekeeper/default                                      0/1        717    1344 674
DM,FC Y android.hardware.gnss@1.0::IGnss/default                                                  0/1        1085   1753 674
DM,FC Y android.hardware.gnss@1.1::IGnss/default                                                  0/1        1085   1753 674
DM,FC Y android.hardware.graphics.allocator@2.0::IAllocator/default                               0/3        726    1753 2553 2148 721 674
DM,FC Y android.hardware.graphics.composer@2.1::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.graphics.composer@2.2::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.graphics.composer@2.3::IComposer/default                                 0/3        723    721 674
DM,FC Y android.hardware.health@2.0::IHealth/default                                              1/1        1086   1753 1319 674
DM,FC Y android.hardware.keymaster@4.0::IKeymasterDevice/default                                  0/1        678    1010 715 674
DM,FC Y android.hardware.keymaster@4.0::IKeymasterDevice/strongbox                                0/1        680    715 674
DM,FC Y android.hardware.keymaster@4.1::IKeymasterDevice/strongbox                                0/1        680    715 674
DM,FC Y android.hardware.light@2.0::ILight/default                                                0/1        727    1753 723 674
DM,FC Y android.hardware.media.c2@1.0::IComponentStore/default                                    0/6        1120   2758 2148 1753 1315 1330 674
FM,FC Y android.hardware.media.c2@1.0::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
FM    Y android.hardware.media.c2@1.1::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
FM    Y android.hardware.media.c2@1.2::IComponentStore/software                                   0/8        1330   2758 2148 1753 1315 674
DM,FC Y android.hardware.media.omx@1.0::IOmx/default                                              0/3        1324   674
DM,FC Y android.hardware.media.omx@1.0::IOmxStore/default                                         0/6        1120   674
DM,FC Y android.hardware.memtrack@1.0::IMemtrack/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/paintbox                                     0/2        1069   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.0::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.1::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.2::IDevice/qti-gpu                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-default                                  0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-dsp                                      0/2        1088   674
DM,FC Y android.hardware.neuralnetworks@1.3::IDevice/qti-gpu                                      0/2        1088   674
DM    Y android.hardware.nfc@1.0::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.nfc@1.1::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.nfc@1.2::INfc/default                                                    0/1        1089   2758 674
DM,FC Y android.hardware.oemlock@1.0::IOemLock/default                                            0/2        1096   1753 674
DM,FC Y android.hardware.power.stats@1.0::IPowerStats/default                                     0/1        1091   1753 674
DM,FC Y android.hardware.radio.config@1.0::IRadioConfig/default                                   0/2        1328   2397 674
DM,FC Y android.hardware.radio.config@1.1::IRadioConfig/default                                   0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.0::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.0::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.1::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.1::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.2::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.radio@1.2::ISap/slot1                                                    0/2        1328   674
DM,FC Y android.hardware.radio@1.3::IRadio/slot1                                                  0/2        1328   2397 674
DM,FC Y android.hardware.secure_element@1.0::ISecureElement/SIM1                                  0/2        1328   2393 674
DM,FC Y android.hardware.sensors@2.0::ISensors/default                                            0/1        1093   1753 674
DM,FC Y android.hardware.soundtrigger@2.0::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.soundtrigger@2.1::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.soundtrigger@2.2::ISoundTriggerHw/default                                0/5        1074   1753 674
DM,FC Y android.hardware.tetheroffload.config@1.0::IOffloadConfig/default                         0/1        1291   674
DM,FC Y android.hardware.tetheroffload.control@1.0::IOffloadControl/default                       0/1        1291   674
DM,FC Y android.hardware.thermal@1.0::IThermal/default                                            0/1        1770   1753 674
DM,FC Y android.hardware.thermal@2.0::IThermal/default                                            0/1        1770   1753 674
DM,FC Y android.hardware.usb.gadget@1.0::IUsbGadget/default                                       0/2        1095   1753 674
DM,FC Y android.hardware.usb.gadget@1.1::IUsbGadget/default                                       0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.0::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.1::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.2::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.usb@1.3::IUsb/default                                                    0/2        1095   1753 674
DM,FC Y android.hardware.vibrator@1.0::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.vibrator@1.1::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.vibrator@1.2::IVibrator/default                                          0/1        1105   1753 674
DM,FC Y android.hardware.weaver@1.0::IWeaver/default                                              0/2        1096   1753 674
DM,FC Y android.hardware.wifi@1.0::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.1::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.2::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.3::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.4::IWifi/default                                                  0/1        1115   1753 674
DM,FC Y android.hardware.wifi@1.5::IWifi/default                                                  0/1        1115   1753 674
DC,FM Y android.hidl.allocator@1.0::IAllocator/ashmem                                             0/1        1062   674
X     Y android.hidl.base@1.0::IBase/SIM1                                                         0/2        1328   2393 674
X     Y android.hidl.base@1.0::IBase/UimLpa0                                                      0/2        1328   674
X     Y android.hidl.base@1.0::IBase/ashmem                                                       0/1        1062   674
X     Y android.hidl.base@1.0::IBase/clearkey                                                     0/3        1084   674
X     Y android.hidl.base@1.0::IBase/cnd                                                          0/1        1283   674
X     Y android.hidl.base@1.0::IBase/com.qualcomm.qti.uceservice                                  0/1        3278   674
X     Y android.hidl.base@1.0::IBase/imsradio0                                                    0/2        1328   2397 674
X     Y android.hidl.base@1.0::IBase/imsrtpservice                                                0/2        3276   674
X     Y android.hidl.base@1.0::IBase/legacy/0                                                     0/3        1076   1293 674
X     Y android.hidl.base@1.0::IBase/oemhook0                                                     0/2        1328   674
X     Y android.hidl.base@1.0::IBase/paintbox                                                     0/2        1069   674
X     Y android.hidl.base@1.0::IBase/qti-default                                                  0/2        1088   674
X     Y android.hidl.base@1.0::IBase/qti-dsp                                                      0/2        1088   674
X     Y android.hidl.base@1.0::IBase/qti-gpu                                                      0/2        1088   674
X     Y android.hidl.base@1.0::IBase/slot1                                                        0/2        1328   2397 674
X     Y android.hidl.base@1.0::IBase/software                                                     0/8        1330   2758 2148 1753 1315 674
X     Y android.hidl.base@1.0::IBase/strongbox                                                    0/1        680    715 674
X     Y android.hidl.base@1.0::IBase/uimRemoteClient0                                             0/2        1328   674
X     Y android.hidl.base@1.0::IBase/uimRemoteServer0                                             0/2        1328   674
X     Y android.hidl.base@1.0::IBase/widevine                                                     0/3        1083   674
DC,FM Y android.hidl.manager@1.0::IServiceManager/default                                         1/1        674    2258 2397 1753
FM    Y android.hidl.manager@1.1::IServiceManager/default                                         1/1        674    2258 2397 1753
FM    Y android.hidl.manager@1.2::IServiceManager/default                                         1/1        674    2258 2397 1753
DC,FM Y android.hidl.token@1.0::ITokenManager/default                                             1/1        674    
FM    Y android.system.net.netd@1.0::INetd/default                                                0/1        1009   1288 674
FM    Y android.system.net.netd@1.1::INetd/default                                                0/1        1009   1288 674
FM    Y android.system.suspend@1.0::ISystemSuspend/default                                        0/1        714    1288 1753 1124 1328 1128 674
DC,FM Y android.system.wifi.keystore@1.0::IKeystore/default                                       0/1        1321   674
DM,FC Y com.qualcomm.qti.uceservice@2.0::IUceService/com.qualcomm.qti.uceservice                  0/1        3278   674
DM    Y com.quicinc.cne.api@1.0::IApiService/cnd                                                  0/1        1283   674
DM,FC Y com.quicinc.cne.api@1.1::IApiService/cnd                                                  0/1        1283   674
DM    Y com.quicinc.cne.server@2.0::IServer/cnd                                                   0/1        1283   674
DM,FC Y com.quicinc.cne.server@2.1::IServer/cnd                                                   0/1        1283   674
DM,FC Y hardware.google.light@1.0::ILight/default                                                 0/1        727    1753 723 674
DM    Y vendor.display.config@1.0::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.display.config@1.1::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.display.config@1.2::IDisplayConfig/default                                         0/3        723    674
DM,FC Y vendor.display.config@1.3::IDisplayConfig/default                                         0/3        723    674
DM    Y vendor.google.wifi_ext@1.0::IWifiExt/default                                              0/1        1115   674
DM    Y vendor.google.wifi_ext@1.1::IWifiExt/default                                              0/1        1115   674
DM,FC Y vendor.google.wifi_ext@1.2::IWifiExt/default                                              0/1        1115   674
DM    Y vendor.google.wireless_charger@1.0::IWirelessCharger/default                              0/1        1116   674
DM    Y vendor.google.wireless_charger@1.1::IWirelessCharger/default                              0/1        1116   674
DM    Y vendor.google.wireless_charger@1.2::IWirelessCharger/default                              0/1        1116   674
DM,FC Y vendor.google.wireless_charger@1.3::IWirelessCharger/default                              0/1        1116   674
DM,FC Y vendor.google_paintbox@1.0::IManagerService/default                                       0/1        1327   674
DM,FC Y vendor.nxp.nxpnfc@1.0::INxpNfc/default                                                    0/1        1089   674
DM,FC Y vendor.qti.hardware.radio.am@1.0::IQcRilAudio/slot1                                       0/2        1328   2258 674
DM    Y vendor.qti.hardware.radio.ims@1.0::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM    Y vendor.qti.hardware.radio.ims@1.1::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM,FC Y vendor.qti.hardware.radio.ims@1.2::IImsRadio/imsradio0                                    0/2        1328   2397 674
DM,FC Y vendor.qti.hardware.radio.lpa@1.0::IUimLpa/UimLpa0                                        0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.qcrilhook@1.0::IQtiOemHook/oemhook0                             0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.uim_remote_client@1.0::IUimRemoteServiceClient/uimRemoteClient0 0/2        1328   674
DM,FC Y vendor.qti.hardware.radio.uim_remote_server@1.0::IUimRemoteServiceServer/uimRemoteServer0 0/2        1328   674
DM,FC Y vendor.qti.hardware.tui_comm@1.0::ITuiComm/default                                        0/1        1119   674
DM,FC Y vendor.qti.ims.callinfo@1.0::IService/default                                             0/1        3278   674
DM,FC Y vendor.qti.imsrtpservice@1.0::IRTPService/imsrtpservice                                   0/2        3276   674

| All HIDL interfaces getService() has ever returned as a passthrough interface;
| PIDs / processes shown below might be inaccurate because the process
| might have relinquished the interface or might have died.
| The Server / Server CMD column can be ignored.
| The Clients / Clients CMD column shows all process that have ever dlopen'ed 
| the library and successfully fetched the passthrough implementation.
VINTF R Interface                                                                     Thread Use Server Clients
FC    ? android.hardware.audio.effect@7.0::IEffectsFactory/default                    N/A        1074   1074
FC    ? android.hardware.audio@7.0::IDevicesFactory/default                           N/A        1074   1074
FC    ? android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default N/A        1074   1074
FC    ? android.hardware.bluetooth@1.0::IBluetoothHci/default                         N/A        1075   1075
FC    ? android.hardware.boot@1.0::IBootControl/default                               N/A        716    716
FC    ? android.hardware.camera.provider@2.4::ICameraProvider/legacy/0                N/A        1076   1076
FC    ? android.hardware.drm@1.0::ICryptoFactory/default                              N/A        1082   1082
FC    ? android.hardware.drm@1.0::IDrmFactory/default                                 N/A        1082   1082
FC    ? android.hardware.gatekeeper@1.0::IGatekeeper/default                          N/A        717    717
FC    ? android.hardware.gnss@1.1::IGnss/default                                      N/A        1085   1085
DM,FC ? android.hardware.graphics.mapper@2.1::IMapper/default                         N/A        N/A    721 723 1753 2148 2553
FC    ? android.hardware.memtrack@1.0::IMemtrack/default                              N/A        1105   1105
FC    ? android.hardware.soundtrigger@2.2::ISoundTriggerHw/default                    N/A        1074   1074
X     ? android.hardware.tests.bar@1.0::IBar/foo                                      N/A        N/A    
X     ? android.hardware.tests.baz@1.0::IBaz/baz                                      N/A        N/A    
X     ? android.hardware.tests.baz@1.0::IBaz/dyingBaz                                 N/A        N/A    
X     ? android.hardware.tests.hash@1.0::IHash/default                                N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IChild/child                          N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IChild/local child                    N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IFetcher/fetcher                      N/A        N/A    
X     ? android.hardware.tests.inheritance@1.0::IParent/parent                        N/A        N/A    
X     ? android.hardware.tests.memory@1.0::IMemoryTest/memory                         N/A        N/A    
X     ? android.hardware.tests.multithread@1.0::IMultithread/multithread              N/A        N/A    
X     ? android.hardware.tests.safeunion.cpp@1.0::ICppSafeUnion/default               N/A        N/A    
X     ? android.hardware.tests.safeunion@1.0::ISafeUnion/safeunion                    N/A        N/A    
X     ? android.hardware.tests.trie@1.0::ITrie/trie                                   N/A        N/A    
FC    ? android.hardware.vibrator@1.2::IVibrator/default                              N/A        1105   1105

| All available HIDL passthrough implementations (all -impl.so files).
| These may return subclasses through their respective HIDL_FETCH_I* functions.
VINTF R Interface                                                                     Thread Use Server Clients
X     ? android.hardware.audio.effect@7.0::I*/* (/vendor/lib/hw/)                     N/A        N/A    1074
X     ? android.hardware.audio@7.0::I*/* (/vendor/lib/hw/)                            N/A        N/A    1074
X     ? android.hardware.bluetooth.audio@2.0::I*/* (/vendor/lib/hw/)                  N/A        N/A    1074
X     ? android.hardware.bluetooth.audio@2.0::I*/* (/vendor/lib64/hw/)                N/A        N/A    
X     ? android.hardware.bluetooth@1.0::I*/* (/vendor/lib/hw/) (-qti)                 N/A        N/A    
X     ? android.hardware.bluetooth@1.0::I*/* (/vendor/lib64/hw/) (-qti)               N/A        N/A    1075
X     ? android.hardware.boot@1.0::I*/* (/vendor/lib/hw/)                             N/A        N/A    
X     ? android.hardware.boot@1.0::I*/* (/vendor/lib64/hw/)                           N/A        N/A    716
X     ? android.hardware.camera.provider@2.4::I*/* (/vendor/lib/hw/)                  N/A        N/A    
X     ? android.hardware.camera.provider@2.4::I*/* (/vendor/lib64/hw/)                N/A        N/A    1076
X     ? android.hardware.drm@1.0::I*/* (/vendor/lib/hw/)                              N/A        N/A    
X     ? android.hardware.drm@1.0::I*/* (/vendor/lib64/hw/)                            N/A        N/A    1082
X     ? android.hardware.gatekeeper@1.0::I*/* (/vendor/lib/hw/) (-qti)                N/A        N/A    
X     ? android.hardware.gatekeeper@1.0::I*/* (/vendor/lib64/hw/) (-qti)              N/A        N/A    717
X     ? android.hardware.gnss@1.1::I*/* (/vendor/lib/hw/) (-qti)                      N/A        N/A    
X     ? android.hardware.gnss@1.1::I*/* (/vendor/lib64/hw/) (-qti)                    N/A        N/A    1085
X     ? android.hardware.graphics.mapper@2.0::I*/* (/vendor/lib/hw/) (-qti-display)   N/A        N/A    1046 2317
X     ? android.hardware.graphics.mapper@2.0::I*/* (/vendor/lib64/hw/) (-qti-display) N/A        N/A    721 723 1044 1753 2148 2239 2258 2393 2397 2434 2553 2672 2758 2810 2946 3001 3141 3194 3261 3299 3495 3526 3558
X     ? android.hardware.memtrack@1.0::I*/* (/vendor/lib/hw/)                         N/A        N/A    
X     ? android.hardware.memtrack@1.0::I*/* (/vendor/lib64/hw/)                       N/A        N/A    1105
X     ? android.hardware.renderscript@1.0::I*/* (/vendor/lib/hw/)                     N/A        N/A    
X     ? android.hardware.renderscript@1.0::I*/* (/vendor/lib64/hw/)                   N/A        N/A    
X     ? android.hardware.soundtrigger@2.2::I*/* (/vendor/lib/hw/)                     N/A        N/A    1074
X     ? android.hardware.soundtrigger@2.2::I*/* (/vendor/lib64/hw/)                   N/A        N/A    
X     ? android.hardware.vibrator@1.2::I*/* (/vendor/lib/hw/) (.crosshatch)           N/A        N/A    
X     ? android.hardware.vibrator@1.2::I*/* (/vendor/lib64/hw/) (.crosshatch)         N/A        N/A    1105
X     ? android.hidl.memory@1.0::I*/* (/apex/com.android.vndk.v31/lib/hw/)            N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/apex/com.android.vndk.v31/lib64/hw/)          N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/system/lib/hw/)                               N/A        N/A    
X     ? android.hidl.memory@1.0::I*/* (/system/lib64/hw/)                             N/A        N/A    
X     ? vendor.qti.hardware.qteeconnector@1.0::I*/* (/vendor/lib/hw/)                 N/A        N/A    
X     ? vendor.qti.hardware.qteeconnector@1.0::I*/* (/vendor/lib64/hw/)               N/A        N/A

到了这里,关于Android12之如何查看hidl服务(一百五十五)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • C++之GNU C的__attribute__常用属性(一百五十)

    简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏: Audio工程师进阶系列 【 原创干货持续更新中…… 】🚀 人生格言: 人生从来没有捷径,只有行动才是治疗恐惧和懒惰的唯一良药. 更多原创,欢迎关注:An

    2024年02月12日
    浏览(70)
  • 一百五十二、Kettle——Kettle9.3.0本地连接Hive3.1.2(踩坑,亲测有效)

    由于先前使用的kettle8.2版本在Linux上安装后,创建共享资源库点击connect时页面为空,后来采用如下方法,在/opt/install/data-integration/ui/menubar.xul文件里添加如下代码 menuitem id=\\\"file-openZiyuanku\\\" label=\\\"openZiyuanku\\\" command=\\\"spoon.openRepository()\\\"/ 共享资源库创建后又遇到任务Save时为空的问题。

    2024年02月13日
    浏览(45)
  • npm之报错:npm WARN deprecated @npmcli/move-file@2.0.1(一百五十九)

    1.报错: npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs 2.解决

    2024年02月11日
    浏览(46)
  • 一百五十六、Kettle——Linux上安装的Kettle9.3连接ClickHouse数据库(亲测,附流程截图)

    kettle9.3在Linux上安装好后,需要与ClickHouse数据库建立连接 1、kettle版本是9.3 2、ClickHouse版本是21.9.5.16   https://pan.baidu.com/s/1iqGyXsTaQSCHEbjj7yX7AA 提取码: mvzd 注意 : clickhouse-plugins文件里就是自定义的clickhouse驱动jar包    注意 : 要区分Linux系统架构是64位还是32位, 它们所属的L

    2024年02月12日
    浏览(63)
  • 一百五十二、Kettle——Kettle9.3.0本地连接Hive3.1.2(踩坑,亲测有效,附截图)

    由于先前使用的kettle8.2版本在Linux上安装后,创建共享资源库点击connect时页面为空,后来采用如下方法,在/opt/install/data-integration/ui/menubar.xul文件里添加如下代码 menuitem id=\\\"file-openZiyuanku\\\" label=\\\"openZiyuanku\\\" command=\\\"spoon.openRepository()\\\"/ 共享资源库创建后又遇到任务Save时为空的问题。

    2024年02月12日
    浏览(38)
  • 一百五十九、Kettle——Kettle9.2通过配置Hadoop clusters连接Hadoop3.1.3(踩坑亲测、附流程截图)

    由于kettle的任务需要用到Hadoop(HDFS),所以就要连接Hadoop服务。 之前使用的是kettle9.3,由于在kettle新官网以及博客百度等渠道实在找不到shims的驱动包,无奈换成了kettle9.2,kettle9.2的安装包里自带了shims的驱动包,不需要额外下载,挺好! kettle9.2.0安装包网盘链接,请看鄙人

    2024年02月12日
    浏览(63)
  • 一百五十三、Kettle——Linux上安装的kettle9.3启动后说缺少libwebkitgtk-1.0(真是坑爹啊,刚龟速下载又忍痛卸载)

    在kettle9.3可以在本地连接hive312后,在Linux中安装了kettle9.3,结果启动时报错WARNING:  no libwebkitgtk-1.0 detected, some features will be unavailable 而且如果直接下载libwebkitgtk的话也没有用 [root@hurys22 data-integration]# yum install install libwebkitgtk   [root@hurys22 data-integration]# wget ftp://ftp.pbone.net/mirr

    2024年02月13日
    浏览(49)
  • Android 12 S HIDL Service创建流程

    系列文章 Android 12 S ServiceManager原理 Android 12 S Native Service的创建流程 Android 12 S Binder原理之BpBinder,BnBinder以及IInterface介绍 Android 12 S HIDL Service创建流程 Android 12 S 自定义Hal服务selinux权限添加 Android 12 S 自定义Native服务selinux权限添加 Android 12 S java服务调用native服务 Android 12 S 自定

    2024年02月02日
    浏览(36)
  • HIDL Service创建流程 - 基于Android 12 S分析

    系列文章 Android 12 S ServiceManager原理 Android 12 S Native Service的创建流程 Android 12 S Binder原理之BpBinder,BnBinder以及IInterface介绍 Android 12 S HIDL Service创建流程 Android 12 S 自定义Hal服务selinux权限添加 Android 12 S 自定义Native服务selinux权限添加 Android 12 S java服务调用native服务 Android 12 S 自定

    2024年02月11日
    浏览(39)
  • 第三百五十三回

    我们在上一章回中介绍了\\\"分享一些好的Flutter站点\\\"相关的内容,本章回中将介绍timezone包.闲话休提,让我们一起Talk Flutter吧。 我们在前面章回中介绍了获取当前时区的内容,本章回将介绍一个与时区相关的包,它虽然不能获取到当前时区,但是可以查看所有的时区,而且可以

    2024年02月20日
    浏览(49)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包