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

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

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

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

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

欢迎关注Android系统攻城狮

1.前言

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

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

2.解决方式

Google为我们提供了一个脚lshal的工具,下面来看下它的用法。

<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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/29006.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

软件项目管理需要具备哪些能力?

作为一名软件项目管理者&#xff0c;在处理许多事情时需要不断提高个人在数据分析处理、项目业务流程管理等各个领域的能力。当然作为过来人&#xff0c;我也很清楚很多软件项目管理新人也较为疑惑如何提高自己的能力和专业水平&#xff0c;以便提高工作效率。那我也想与大家唠…

开源反分裂与数字大同世界

这是一篇报告的读后感&#xff0c;这篇报告是由Linux基金会研究部门发布的&#xff0c;名为《助力全球协作——开源代码的领导者如何面对分裂的挑战》。 这份报告的主要内容包括&#xff1a; - 开源代码开发中的分裂及其利弊- 开源的国际化&#xff0c;以及项目领导者如何克服参…

Python3数据分析与挖掘建模(16)特征降维与特征衍生

1. 特征降维&#xff08;PCA&#xff09; 回顾知识点&#xff1a; 特征降维是指将高维特征空间的数据映射到低维空间的过程&#xff0c;以减少特征的数量并保留数据的主要信息。下面是特征降维的一般步骤&#xff1a; &#xff08;1&#xff09;求特征协方差矩阵&#xff1a…

可调电源LM317 的内部原理 - 特殊的电压跟随器

之前一直没想过这类LDO 内部是怎么整的&#xff0c;它似乎是用一个分压电路采集它输出的电压作为参考&#xff0c;然后却能把输出电压稳定下来&#xff0c;颇有种左脚踩右脚上天的意思。典型的LM317 电路如下&#xff1a; 如果是个普通的电压跟随器&#xff0c;无论是基于三极管…

牛客小白月赛56

今天无聊vp了一下 A.省略 B.最优肯定是全部都是1 C.直接统计每个余数下可以填多少个数&#xff0c;然后排序从小到大的排序输出即可 #include <iostream> #include <cstring> #include <algorithm> #include <vector> #include <queue> #inc…

【八大排序(六)】快排终极篇-快速排序非递归版

&#x1f493;博主CSDN主页:杭电码农-NEO&#x1f493;   ⏩专栏分类:八大排序专栏⏪   &#x1f69a;代码仓库:NEO的学习日记&#x1f69a;   &#x1f339;关注我&#x1faf5;带你学习排序知识   &#x1f51d;&#x1f51d; 快排非递归版 1. 前情回顾2. 快排非递归基…

windows10家庭版禁用Device/Credential Guard解决方案

文章目录 背景&#xff08;禁用的原因&#xff09;解决的方式方式一&#xff1a;通过Windows本身的功能设置禁用 ( 非家庭版的使用)1. 禁用Device Guard或Credential Guard&#xff1a;2. 关闭Hyper-V选项3. 重启电脑 方式二&#xff1a;通过命令关闭Hyper-V ( Windows 10家庭版…

java三大特性之【多态】

多态 1.1 概念1.2 实现条件1.3 方法重写&#xff08;override&#xff09;与方法重载&#xff08;overload&#xff09;1.4 向上转型1.5 向下转型 1.1 概念 同样的一个方法/行为&#xff0c;经过不同的对象&#xff0c;表现出不同的行为&#xff0c;这样的现象就称为多态。 举…

二叉搜索树之AVL树

目录 1.概念 2.定义 3.插入 4.旋转 1. 新节点插入较高左子树的左侧---右单旋 2. 新节点插入较高右子树的右侧---左单旋 3. 新节点插入较高左子树的右侧&#xff1a;先左单旋再右单旋【左右双旋】 4. 新节点插入较高右子树的左侧---右左&#xff1a;先右单旋再左单旋【右…

I.MX6ULL_Linux_驱动篇(37) linux系统定时器

定时器是我们最常用到的功能&#xff0c;一般用来完成定时功能&#xff0c;本章我们就来学习一下 Linux 内核提供的定时器 API 函数&#xff0c;通过这些定时器 API 函数我们可以完成很多要求定时的应用。 Linux内核也提供了短延时函数&#xff0c;比如微秒、纳秒、毫秒延时函数…

Car Guide

文章目录 科目一第一章 机动车驾驶证申领和使用规定第一节 驾驶证的许可&#xff1f;种类和有效期第二节 驾驶证的申领第三节 驾驶证的使用第四节 驾驶考试第五节 违法记分制度 第二章 交通信号第一节 交通信号灯第二节 交通标志第三节 交通标线第四节 交警手势 第三章 道路交通…

【编程语言 · C语言 · 递归函数】

递归函数 C 语言的函数都支持递归, 也就是说&#xff0c;每个函数都可以直接或者间接第调用自己。所谓的间接调用&#xff0c;是指在递归函数调用的下层函数中再调用自己。 递归关系图如下&#xff1a; 递归之所以能实现&#xff0c;是因为函数的每个执行过程在栈中都有自己的…

Redis从入门到精通之底层数据结构快表QuickList详解

文章目录 0.前言1. 快表的结构2. Redis 6.0 快表quicklist 基本结构2.1 成员变量2.1 主要操作2.1 推导结果 3. 快表的操作 3. 快表的优缺点3.1 优点&#xff1a;3.2 缺点&#xff1a; 5. Redis从入门到精通系列文章 0.前言 上个篇章回顾&#xff0c;我们上个章节&#xff0c;讲…

Win10 系统专业版远程桌面如何才能多用户同时登录使用?

环境&#xff1a; Win10专业版19041 RDPWrap-v1.6.2 dell5493笔记本 问题描述&#xff1a; Win10 系统专业版远程桌面如何才能多用户同时登录使用&#xff1f; 解决方案&#xff1a; 安装RDPWrap 1.关闭remote desktop services服务 安装RDP之前&#xff0c;要先关闭re…

Kuberentes,k8s诞生简介

一、前言 什么是k8s&#xff1f; Kuberentes 是基于容器的集群管理平台&#xff0c;它的简称&#xff0c;是K8S。有人说之所以叫k8s&#xff0c;是因为k到s中间有8个字母&#xff0c;因此叫k8s&#xff0c;也有人说&#xff0c;在使用k8s的安装配置流程中&#xff0c;共分为8…

验证attention是否在图像分类问题上起决定性作用

来源&#xff1a;投稿 作者&#xff1a;摩卡 编辑&#xff1a;学姐 Motivation 现阶段出现了大量的Transformer-style图像分类模型&#xff0c;并且这些模型在ImageNet上取得了不俗的成绩&#xff0c;这些Transformer-style模型将取得高性能的功劳归功于Multi-head attention注…

12.异常检测

12.1 异常检测的应用 异常检测最常见的应用是欺诈检测&#xff1b; 如果你有很多用户&#xff0c;每个用户都在从事不同的的活动&#xff0c;你可以对不同的用户活动计算特征变量&#xff0c;然后可以建立一个模型来表示用户表现出各种行为的可能性&#xff0c;用来表示用户行…

微服务 springcloud 05 hystrix框架,降级,可视化Hystrix dashboard 仪表盘,熔断

01.微服务宕机时&#xff0c;ribbon 无法转发请求 关闭 user-service 和 order-service 02.hystrix框架 03.创建hystrix项目&#xff0c;hystrix与ribbon经常一起出现 第一步&#xff1a;复制 sp06-ribbon 项目&#xff0c;命名为sp07-hystrix 选择 sp06-ribbon 项目&#…

高并发架构设计方法

我们知道&#xff0c;“高并发”是现在系统架构设计的核心关键词。一个架构师如果设计、开发的系统不支持高并发&#xff0c;那简直不好意思跟同行讨论。但事实上&#xff0c;在架构设计领域&#xff0c;高并发的历史非常短暂&#xff0c;这一架构特性是随着互联网&#xff0c;…

【JVM】日志分析工具--gcviewer的使用

文章目录 gcviewer是什么&#xff1f;gcviewer的使用最后 gcviewer是什么&#xff1f; GCViewer是一个小工具&#xff0c;可以可视化Sun / Oracle、IBM、HP和BEA Java虚拟机生成的详细GC输出。它是在GNU LGPL下发布的自由软件。—官网翻译 gcviewer的使用 文章使用的配置 工具…