想自己编译DeviceManager组件,替换系统原来的组件,具体改如何操作,是替换so文件吗?

但查看 /etc/init 下并没有这个组件阿,相似的只有

deviceauth_service.cfg             
deviceinfoservice.cfg             
displaypowermgr.cfg                
distributed_data.cfg              
distributedbms.cfg                  
distributedfile.cfg                 
distributedhardware_fwk.cfg         
distributedsched_musl.cfg

查看 ps -ef | grep device 也只有

system         238     1 0 10:41:51 ?     00:00:00 device_usage_st
system         508     1 0 10:41:52 ?     00:00:00 deviceinfoservi
system         514     1 0 10:41:52 ?     00:00:00 deviceauth_service

但看打印信息是有这个组件的

# hilog | grep DmAuthManager
09-14 10:46:28.233   510  1547 I 04100/: [devicemanagerservice][AuthenticateDevice]:DmAuthManager::AuthenticateDevice start auth type 1
09-14 10:46:28.238   510  1547 I 04100/: [devicemanagerservice][AuthenticateDevice]:DmAuthManager::AuthenticateDevice complete
09-14 10:46:28.245   510  1547 I 04100/: [devicemanagerservice][OnSessionOpened]:DmAuthManager::OnSessionOpened sessionId=1 result=-1
09-14 10:46:28.245   510  1547 I 04100/: [devicemanagerservice][StartNegotiate]:DmAuthManager::EstablishAuthChannel session id is 1
09-14 10:46:28.245   510  1547 I 04100/: [devicemanagerservice][GetIsCryptoSupport]:DmAuthManager::GetIsCryptoSupport start
09-14 10:46:39.236   510  2151 I 04100/: [devicemanagerservice][HandleAuthenticateTimeout]:DmAuthManager::HandleAuthenticateTimeout start timer name deviceManagerTimer:negotiate
09-14 10:46:39.236   510  2151 I 04100/: [devicemanagerservice][AuthenticateFinish]:DmAuthManager::AuthenticateFinish start
09-14 10:46:39.236   510  2151 I 04100/: [devicemanagerservice][GetIsCryptoSupport]:DmAuthManager::GetIsCryptoSupport start
09-14 10:46:39.238   510  2151 I 04100/: [devicemanagerservice][AuthenticateFinish]:DmAuthManager::AuthenticateFinish complete
09-14 10:46:39.238   510  2151 I 04100/: [devicemanagerservice][HandleAuthenticateTimeout]:DmAuthManager::HandleAuthenticateTimeout start complete

 

 

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐