从CallManager到TelephonyConnectionService
2015-11-18 11:46:52 0 举报
CallManager是一个关键组件,用于管理电话呼叫的建立、维护和终止。它负责处理来电、去电、通话状态变化等事件,并与TelephonyConnectionService紧密协作,确保电话呼叫的顺利进行。当用户拨打电话或接听电话时,CallManager会与TelephonyConnectionService通信,以建立或维护电话连接。此外,CallManager还负责处理电话呼叫的优先级、呼叫转移等功能。总之,CallManager在电话系统中起着至关重要的作用,它通过与TelephonyConnectionService的协同工作,为用户提供稳定、高效的电话服务。
作者其他创作
大纲/内容
ConnectionService
onServiceConnected
onSuccess
addConnectionServiceAdapter
startCreateConnection
ADD_CONNECTION_SERVICE_ADAPTER
yes
attemptNextPhoneAccount
CREATE_CONNECTION
setServiceInterface
createConnection
mContext.bindService
creatConnection
!Emergency
ConnectionServiceWrapper
call.getPhoneAccount !=null || isEmergency
TelelphonyConnectionService
placeOutgoingCall
1.setHandle2.setGateway3.setStartWithSpeakerphoneOn4.setVideoState
1.checkState2.new CreateConnectionProcessor3.mCreateConnectionProcessor.process();
process
CallsManager
process
setAdapter
onCreateOutgoingConnection
bind
updateLchStatus
ConnectionServiceAdapter
ServiceBinder
CreateConnectionProcessor
call.startCreateConnection
return;
start
handleSuccessfulConnection
handleMessage
call==null
Call
0 条评论
下一页