时序图
2021-07-21 15:26:23 420 举报
时序图
作者其他创作
大纲/内容
open( )
CameraDeviceclient.cpp
init( )
HalSensor.cpp
Camera3Device.cpp
mSession->open();
initialize( )
HalSensor( )
mHalDeviceAdapter->open()
ioctl( )
imgsensor_probe( )
createSensor( )
struct SENSOR_FUNCTION_STRUCT *psensor_func = psensor->pfunc;
AppStreamMgr.cpp
getVirtualDeviceLocked( )validateOpenLocked( )attachOpenDeviceLocked( )SetTorchModeStatusCommand( )
IAppStreamManager::create(creationInfo)继续查找
PipelineModeManagerImpl.cpp
CameraDevice3SessionImpl.cpp
adopt_CAMERA_HW_FeatureControl( )
get( )
getPipelineModel( )
initializeImpl( )
onOpenLocked( )
imgsensor_drv.cpp
imgsensor_sensor_list.c
HalDeviceAdapter.cpp
CameraProviderManager.cpp
openSession( )
HalSensorList.openlist.cpp
imgsensor.c
powerOn( )
CameraDevice3Impl.cpp
CameraDeviceManagerBase.cpp
imgsensor_init( )
imgsensor_ioctl( )
platform_driver_register( )
onCreate( )
Camera2ClientBase()
pDeviceManager->startOpenDevice显示调用的是CameraDeviceManagerBase该文件的startOpenDevice函数
startOpenDevice( )
imgsensor_sensor_open( )
Camera3Device()
Camera2ClientBase.cpp
CameraService.cpp
在追代码流程的时候,可以先查找关键词,如果有调用到关键词或者关键词定义的地方,先记下来,然后再继续往上查找(有些在调用时直接会在前面标明这个哪个文件的函数),直到查找到与其他文件有交集的地方,有些可能比较隐蔽,但是如果已经知道结果也可以倒追。
create( )
openSensor( )
xxxx_mipi_sensor.c
featureControl( )
finishOpenDevice( )
PipelineModelImpl.cpp
实例化CameraDeviceClient
0 条评论
下一页