Documentation
¶
Index ¶
- Constants
- type AudioQuality
- type Call
- type CallForwardInfo
- type CdmaCallWaiting
- type CdmaDisplayInfoRecord
- type CdmaInformationRecord
- type CdmaLineControlInfoRecord
- type CdmaNumberInfoRecord
- type CdmaOtaProvisionStatus
- type CdmaRedirectingNumberInfoRecord
- type CdmaSignalInfoRecord
- type CdmaT53AudioControlInfoRecord
- type CdmaT53ClirInfoRecord
- type CfData
- type ClipStatus
- type Dial
- type EmergencyCallRouting
- type EmergencyNumber
- type EmergencyServiceCategory
- type IRadioVoice
- type IRadioVoiceIndication
- type IRadioVoiceIndicationServer
- type IRadioVoiceResponse
- type IRadioVoiceResponseServer
- type IRadioVoiceServer
- type LastCallFailCause
- type LastCallFailCauseInfo
- type RadioVoiceIndicationProxy
- func (p *RadioVoiceIndicationProxy) AsBinder() binder.IBinder
- func (p *RadioVoiceIndicationProxy) CallRing(ctx context.Context, type_ radio.RadioIndicationType, isGsm bool, ...) error
- func (p *RadioVoiceIndicationProxy) CallStateChanged(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioVoiceIndicationProxy) CdmaCallWaiting(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioVoiceIndicationProxy) CdmaInfoRec(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioVoiceIndicationProxy) CdmaOtaProvisionStatus(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioVoiceIndicationProxy) CurrentEmergencyNumberList(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioVoiceIndicationProxy) EnterEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioVoiceIndicationProxy) ExitEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioVoiceIndicationProxy) IndicateRingbackTone(ctx context.Context, type_ radio.RadioIndicationType, start bool) error
- func (p *RadioVoiceIndicationProxy) OnSupplementaryServiceIndication(ctx context.Context, type_ radio.RadioIndicationType, ss StkCcUnsolSsResult) error
- func (p *RadioVoiceIndicationProxy) OnUssd(ctx context.Context, type_ radio.RadioIndicationType, modeType UssdModeType, ...) error
- func (p *RadioVoiceIndicationProxy) ResendIncallMute(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioVoiceIndicationProxy) SrvccStateNotify(ctx context.Context, type_ radio.RadioIndicationType, state SrvccState) error
- func (p *RadioVoiceIndicationProxy) StkCallControlAlphaNotify(ctx context.Context, type_ radio.RadioIndicationType, alpha string) error
- func (p *RadioVoiceIndicationProxy) StkCallSetup(ctx context.Context, type_ radio.RadioIndicationType, timeout int64) error
- type RadioVoiceIndicationStub
- type RadioVoiceProxy
- func (p *RadioVoiceProxy) AcceptCall(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) AsBinder() binder.IBinder
- func (p *RadioVoiceProxy) CancelPendingUssd(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) Conference(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) Dial(ctx context.Context, serial int32, dialInfo Dial) error
- func (p *RadioVoiceProxy) EmergencyDial(ctx context.Context, serial int32, dialInfo Dial, categories int32, ...) error
- func (p *RadioVoiceProxy) ExitEmergencyCallbackMode(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) ExplicitCallTransfer(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetCallForwardStatus(ctx context.Context, serial int32, callInfo CallForwardInfo) error
- func (p *RadioVoiceProxy) GetCallWaiting(ctx context.Context, serial int32, serviceClass int32) error
- func (p *RadioVoiceProxy) GetClip(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetClir(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetCurrentCalls(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetLastCallFailCause(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetMute(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetPreferredVoicePrivacy(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) GetTtyMode(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) HandleStkCallSetupRequestFromSim(ctx context.Context, serial int32, accept bool) error
- func (p *RadioVoiceProxy) Hangup(ctx context.Context, serial int32, gsmIndex int32) error
- func (p *RadioVoiceProxy) HangupForegroundResumeBackground(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) HangupWaitingOrBackground(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) IsVoNrEnabled(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) RejectCall(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) ResponseAcknowledgement(ctx context.Context) error
- func (p *RadioVoiceProxy) SendBurstDtmf(ctx context.Context, serial int32, dtmf string, on int32, off int32) error
- func (p *RadioVoiceProxy) SendCdmaFeatureCode(ctx context.Context, serial int32, featureCode string) error
- func (p *RadioVoiceProxy) SendDtmf(ctx context.Context, serial int32, s_ string) error
- func (p *RadioVoiceProxy) SendUssd(ctx context.Context, serial int32, ussd string) error
- func (p *RadioVoiceProxy) SeparateConnection(ctx context.Context, serial int32, gsmIndex int32) error
- func (p *RadioVoiceProxy) SetCallForward(ctx context.Context, serial int32, callInfo CallForwardInfo) error
- func (p *RadioVoiceProxy) SetCallWaiting(ctx context.Context, serial int32, enable bool, serviceClass int32) error
- func (p *RadioVoiceProxy) SetClir(ctx context.Context, serial int32, status int32) error
- func (p *RadioVoiceProxy) SetMute(ctx context.Context, serial int32, enable bool) error
- func (p *RadioVoiceProxy) SetPreferredVoicePrivacy(ctx context.Context, serial int32, enable bool) error
- func (p *RadioVoiceProxy) SetResponseFunctions(ctx context.Context, radioVoiceResponse IRadioVoiceResponse, ...) error
- func (p *RadioVoiceProxy) SetTtyMode(ctx context.Context, serial int32, mode TtyMode) error
- func (p *RadioVoiceProxy) SetVoNrEnabled(ctx context.Context, serial int32, enable bool) error
- func (p *RadioVoiceProxy) StartDtmf(ctx context.Context, serial int32, s_ string) error
- func (p *RadioVoiceProxy) StopDtmf(ctx context.Context, serial int32) error
- func (p *RadioVoiceProxy) SwitchWaitingOrHoldingAndActive(ctx context.Context, serial int32) error
- type RadioVoiceResponseProxy
- func (p *RadioVoiceResponseProxy) AcceptCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) AcknowledgeRequest(ctx context.Context, serial int32) error
- func (p *RadioVoiceResponseProxy) AsBinder() binder.IBinder
- func (p *RadioVoiceResponseProxy) CancelPendingUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) ConferenceResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) DialResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) EmergencyDialResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) ExitEmergencyCallbackModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) ExplicitCallTransferResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) GetCallForwardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, ...) error
- func (p *RadioVoiceResponseProxy) GetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool, ...) error
- func (p *RadioVoiceResponseProxy) GetClipResponse(ctx context.Context, info radio.RadioResponseInfo, status ClipStatus) error
- func (p *RadioVoiceResponseProxy) GetClirResponse(ctx context.Context, info radio.RadioResponseInfo, n int32, m int32) error
- func (p *RadioVoiceResponseProxy) GetCurrentCallsResponse(ctx context.Context, info radio.RadioResponseInfo, calls []Call) error
- func (p *RadioVoiceResponseProxy) GetLastCallFailCauseResponse(ctx context.Context, info radio.RadioResponseInfo, ...) error
- func (p *RadioVoiceResponseProxy) GetMuteResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
- func (p *RadioVoiceResponseProxy) GetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
- func (p *RadioVoiceResponseProxy) GetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo, mode TtyMode) error
- func (p *RadioVoiceResponseProxy) HandleStkCallSetupRequestFromSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) HangupConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) HangupForegroundResumeBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) HangupWaitingOrBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) IsVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
- func (p *RadioVoiceResponseProxy) RejectCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SendBurstDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SendCdmaFeatureCodeResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SendDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SendUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SeparateConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetCallForwardResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetClirResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetMuteResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SetVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) StartDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) StopDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioVoiceResponseProxy) SwitchWaitingOrHoldingAndActiveResponse(ctx context.Context, info radio.RadioResponseInfo) error
- type RadioVoiceResponseStub
- type RadioVoiceStub
- type SrvccState
- type SsInfoData
- type StkCcUnsolSsResult
- type TtyMode
- type UssdModeType
- type UusInfo
Constants ¶
const ( CallPresentationAllowed int32 = 0 CallPresentationRestricted int32 = 1 CallPresentationUnknown int32 = 2 CallPresentationPayphone int32 = 3 CallStateActive int32 = 0 CallStateHolding int32 = 1 CallStateDialing int32 = 2 CallStateAlerting int32 = 3 CallStateIncoming int32 = 4 CallStateWaiting int32 = 5 )
const ( CallForwardInfoStatusDisable int32 = 0 CallForwardInfoStatusEnable int32 = 1 CallForwardInfoStatusInterrogate int32 = 2 CallForwardInfoStatusRegistration int32 = 3 CallForwardInfoStatusErasure int32 = 4 )
const ( CdmaCallWaitingNumberPlanUnknown int32 = 0 CdmaCallWaitingNumberPlanIsdn int32 = 1 CdmaCallWaitingNumberPlanData int32 = 3 CdmaCallWaitingNumberPlanTelex int32 = 4 CdmaCallWaitingNumberPlanNational int32 = 8 CdmaCallWaitingNumberPlanPrivate int32 = 9 CdmaCallWaitingNumberPresentationAllowed int32 = 0 CdmaCallWaitingNumberPresentationRestricted int32 = 1 CdmaCallWaitingNumberPresentationUnknown int32 = 2 CdmaCallWaitingNumberTypeUnknown int32 = 0 CdmaCallWaitingNumberTypeInternational int32 = 1 CdmaCallWaitingNumberTypeNational int32 = 2 CdmaCallWaitingNumberTypeNetworkSpecific int32 = 3 CdmaCallWaitingNumberTypeSubscriber int32 = 4 )
const ( CdmaInformationRecordCdmaMaxNumberOfInfoRecs int32 = 10 CdmaInformationRecordNameDisplay int32 = 0 CdmaInformationRecordNameCalledPartyNumber int32 = 1 CdmaInformationRecordNameCallingPartyNumber int32 = 2 CdmaInformationRecordNameConnectedNumber int32 = 3 CdmaInformationRecordNameSignal int32 = 4 CdmaInformationRecordNameRedirectingNumber int32 = 5 CdmaInformationRecordNameLineControl int32 = 6 CdmaInformationRecordNameExtendedDisplay int32 = 7 CdmaInformationRecordNameT53Clir int32 = 8 CdmaInformationRecordNameT53Release int32 = 9 CdmaInformationRecordNameT53AudioControl int32 = 10 )
const ( CdmaRedirectingNumberInfoRecordRedirectingReasonUnknown int32 = 0 CdmaRedirectingNumberInfoRecordRedirectingReasonCallForwardingBusy int32 = 1 CdmaRedirectingNumberInfoRecordRedirectingReasonCallForwardingNoReply int32 = 2 CdmaRedirectingNumberInfoRecordRedirectingReasonCalledDteOutOfOrder int32 = 9 CdmaRedirectingNumberInfoRecordRedirectingReasonCallForwardingByTheCalledDte int32 = 10 CdmaRedirectingNumberInfoRecordRedirectingReasonCallForwardingUnconditional int32 = 15 CdmaRedirectingNumberInfoRecordRedirectingReasonReserved int32 = 16 )
const ( DialClirDefault int32 = 0 DialClirInvocation int32 = 1 DialClirSuppression int32 = 2 )
const ( EmergencyNumberSourceNetworkSignaling int32 = (1 << 0) EmergencyNumberSourceSim int32 = (1 << 1) EmergencyNumberSourceModemConfig int32 = (1 << 2) EmergencyNumberSourceDefault int32 = (1 << 3) )
const ( TransactionIRadioVoiceAcceptCall = binder.FirstCallTransaction + 0 TransactionIRadioVoiceCancelPendingUssd = binder.FirstCallTransaction + 1 TransactionIRadioVoiceConference = binder.FirstCallTransaction + 2 TransactionIRadioVoiceDial = binder.FirstCallTransaction + 3 TransactionIRadioVoiceEmergencyDial = binder.FirstCallTransaction + 4 TransactionIRadioVoiceExitEmergencyCallbackMode = binder.FirstCallTransaction + 5 TransactionIRadioVoiceExplicitCallTransfer = binder.FirstCallTransaction + 6 TransactionIRadioVoiceGetCallForwardStatus = binder.FirstCallTransaction + 7 TransactionIRadioVoiceGetCallWaiting = binder.FirstCallTransaction + 8 TransactionIRadioVoiceGetClip = binder.FirstCallTransaction + 9 TransactionIRadioVoiceGetClir = binder.FirstCallTransaction + 10 TransactionIRadioVoiceGetCurrentCalls = binder.FirstCallTransaction + 11 TransactionIRadioVoiceGetLastCallFailCause = binder.FirstCallTransaction + 12 TransactionIRadioVoiceGetMute = binder.FirstCallTransaction + 13 TransactionIRadioVoiceGetPreferredVoicePrivacy = binder.FirstCallTransaction + 14 TransactionIRadioVoiceGetTtyMode = binder.FirstCallTransaction + 15 TransactionIRadioVoiceHandleStkCallSetupRequestFromSim = binder.FirstCallTransaction + 16 TransactionIRadioVoiceHangup = binder.FirstCallTransaction + 17 TransactionIRadioVoiceHangupForegroundResumeBackground = binder.FirstCallTransaction + 18 TransactionIRadioVoiceHangupWaitingOrBackground = binder.FirstCallTransaction + 19 TransactionIRadioVoiceIsVoNrEnabled = binder.FirstCallTransaction + 20 TransactionIRadioVoiceRejectCall = binder.FirstCallTransaction + 21 TransactionIRadioVoiceResponseAcknowledgement = binder.FirstCallTransaction + 22 TransactionIRadioVoiceSendBurstDtmf = binder.FirstCallTransaction + 23 TransactionIRadioVoiceSendCdmaFeatureCode = binder.FirstCallTransaction + 24 TransactionIRadioVoiceSendDtmf = binder.FirstCallTransaction + 25 TransactionIRadioVoiceSendUssd = binder.FirstCallTransaction + 26 TransactionIRadioVoiceSeparateConnection = binder.FirstCallTransaction + 27 TransactionIRadioVoiceSetCallForward = binder.FirstCallTransaction + 28 TransactionIRadioVoiceSetCallWaiting = binder.FirstCallTransaction + 29 TransactionIRadioVoiceSetClir = binder.FirstCallTransaction + 30 TransactionIRadioVoiceSetMute = binder.FirstCallTransaction + 31 TransactionIRadioVoiceSetPreferredVoicePrivacy = binder.FirstCallTransaction + 32 TransactionIRadioVoiceSetResponseFunctions = binder.FirstCallTransaction + 33 TransactionIRadioVoiceSetTtyMode = binder.FirstCallTransaction + 34 TransactionIRadioVoiceSetVoNrEnabled = binder.FirstCallTransaction + 35 TransactionIRadioVoiceStartDtmf = binder.FirstCallTransaction + 36 TransactionIRadioVoiceStopDtmf = binder.FirstCallTransaction + 37 TransactionIRadioVoiceSwitchWaitingOrHoldingAndActive = binder.FirstCallTransaction + 38 )
const ( MethodIRadioVoiceAcceptCall = "acceptCall" MethodIRadioVoiceCancelPendingUssd = "cancelPendingUssd" MethodIRadioVoiceConference = "conference" MethodIRadioVoiceDial = "dial" MethodIRadioVoiceEmergencyDial = "emergencyDial" MethodIRadioVoiceExitEmergencyCallbackMode = "exitEmergencyCallbackMode" MethodIRadioVoiceExplicitCallTransfer = "explicitCallTransfer" MethodIRadioVoiceGetCallForwardStatus = "getCallForwardStatus" MethodIRadioVoiceGetCallWaiting = "getCallWaiting" MethodIRadioVoiceGetClip = "getClip" MethodIRadioVoiceGetClir = "getClir" MethodIRadioVoiceGetCurrentCalls = "getCurrentCalls" MethodIRadioVoiceGetLastCallFailCause = "getLastCallFailCause" MethodIRadioVoiceGetMute = "getMute" MethodIRadioVoiceGetPreferredVoicePrivacy = "getPreferredVoicePrivacy" MethodIRadioVoiceGetTtyMode = "getTtyMode" MethodIRadioVoiceHandleStkCallSetupRequestFromSim = "handleStkCallSetupRequestFromSim" MethodIRadioVoiceHangup = "hangup" MethodIRadioVoiceHangupForegroundResumeBackground = "hangupForegroundResumeBackground" MethodIRadioVoiceHangupWaitingOrBackground = "hangupWaitingOrBackground" MethodIRadioVoiceIsVoNrEnabled = "isVoNrEnabled" MethodIRadioVoiceRejectCall = "rejectCall" MethodIRadioVoiceResponseAcknowledgement = "responseAcknowledgement" MethodIRadioVoiceSendBurstDtmf = "sendBurstDtmf" MethodIRadioVoiceSendCdmaFeatureCode = "sendCdmaFeatureCode" MethodIRadioVoiceSendDtmf = "sendDtmf" MethodIRadioVoiceSendUssd = "sendUssd" MethodIRadioVoiceSeparateConnection = "separateConnection" MethodIRadioVoiceSetCallForward = "setCallForward" MethodIRadioVoiceSetCallWaiting = "setCallWaiting" MethodIRadioVoiceSetClir = "setClir" MethodIRadioVoiceSetMute = "setMute" MethodIRadioVoiceSetPreferredVoicePrivacy = "setPreferredVoicePrivacy" MethodIRadioVoiceSetResponseFunctions = "setResponseFunctions" MethodIRadioVoiceSetTtyMode = "setTtyMode" MethodIRadioVoiceSetVoNrEnabled = "setVoNrEnabled" MethodIRadioVoiceStartDtmf = "startDtmf" MethodIRadioVoiceStopDtmf = "stopDtmf" MethodIRadioVoiceSwitchWaitingOrHoldingAndActive = "switchWaitingOrHoldingAndActive" )
const ( TransactionIRadioVoiceIndicationCallRing = binder.FirstCallTransaction + 0 TransactionIRadioVoiceIndicationCallStateChanged = binder.FirstCallTransaction + 1 TransactionIRadioVoiceIndicationCdmaCallWaiting = binder.FirstCallTransaction + 2 TransactionIRadioVoiceIndicationCdmaInfoRec = binder.FirstCallTransaction + 3 TransactionIRadioVoiceIndicationCdmaOtaProvisionStatus = binder.FirstCallTransaction + 4 TransactionIRadioVoiceIndicationCurrentEmergencyNumberList = binder.FirstCallTransaction + 5 TransactionIRadioVoiceIndicationEnterEmergencyCallbackMode = binder.FirstCallTransaction + 6 TransactionIRadioVoiceIndicationExitEmergencyCallbackMode = binder.FirstCallTransaction + 7 TransactionIRadioVoiceIndicationIndicateRingbackTone = binder.FirstCallTransaction + 8 TransactionIRadioVoiceIndicationOnSupplementaryServiceIndication = binder.FirstCallTransaction + 9 TransactionIRadioVoiceIndicationOnUssd = binder.FirstCallTransaction + 10 TransactionIRadioVoiceIndicationResendIncallMute = binder.FirstCallTransaction + 11 TransactionIRadioVoiceIndicationSrvccStateNotify = binder.FirstCallTransaction + 12 TransactionIRadioVoiceIndicationStkCallControlAlphaNotify = binder.FirstCallTransaction + 13 TransactionIRadioVoiceIndicationStkCallSetup = binder.FirstCallTransaction + 14 )
const ( MethodIRadioVoiceIndicationCallRing = "callRing" MethodIRadioVoiceIndicationCallStateChanged = "callStateChanged" MethodIRadioVoiceIndicationCdmaCallWaiting = "cdmaCallWaiting" MethodIRadioVoiceIndicationCdmaInfoRec = "cdmaInfoRec" MethodIRadioVoiceIndicationCdmaOtaProvisionStatus = "cdmaOtaProvisionStatus" MethodIRadioVoiceIndicationCurrentEmergencyNumberList = "currentEmergencyNumberList" MethodIRadioVoiceIndicationEnterEmergencyCallbackMode = "enterEmergencyCallbackMode" MethodIRadioVoiceIndicationExitEmergencyCallbackMode = "exitEmergencyCallbackMode" MethodIRadioVoiceIndicationIndicateRingbackTone = "indicateRingbackTone" MethodIRadioVoiceIndicationOnSupplementaryServiceIndication = "onSupplementaryServiceIndication" MethodIRadioVoiceIndicationOnUssd = "onUssd" MethodIRadioVoiceIndicationResendIncallMute = "resendIncallMute" MethodIRadioVoiceIndicationSrvccStateNotify = "srvccStateNotify" MethodIRadioVoiceIndicationStkCallControlAlphaNotify = "stkCallControlAlphaNotify" MethodIRadioVoiceIndicationStkCallSetup = "stkCallSetup" )
const ( TransactionIRadioVoiceResponseAcceptCallResponse = binder.FirstCallTransaction + 0 TransactionIRadioVoiceResponseAcknowledgeRequest = binder.FirstCallTransaction + 1 TransactionIRadioVoiceResponseCancelPendingUssdResponse = binder.FirstCallTransaction + 2 TransactionIRadioVoiceResponseConferenceResponse = binder.FirstCallTransaction + 3 TransactionIRadioVoiceResponseDialResponse = binder.FirstCallTransaction + 4 TransactionIRadioVoiceResponseEmergencyDialResponse = binder.FirstCallTransaction + 5 TransactionIRadioVoiceResponseExitEmergencyCallbackModeResponse = binder.FirstCallTransaction + 6 TransactionIRadioVoiceResponseExplicitCallTransferResponse = binder.FirstCallTransaction + 7 TransactionIRadioVoiceResponseGetCallForwardStatusResponse = binder.FirstCallTransaction + 8 TransactionIRadioVoiceResponseGetCallWaitingResponse = binder.FirstCallTransaction + 9 TransactionIRadioVoiceResponseGetClipResponse = binder.FirstCallTransaction + 10 TransactionIRadioVoiceResponseGetClirResponse = binder.FirstCallTransaction + 11 TransactionIRadioVoiceResponseGetCurrentCallsResponse = binder.FirstCallTransaction + 12 TransactionIRadioVoiceResponseGetLastCallFailCauseResponse = binder.FirstCallTransaction + 13 TransactionIRadioVoiceResponseGetMuteResponse = binder.FirstCallTransaction + 14 TransactionIRadioVoiceResponseGetPreferredVoicePrivacyResponse = binder.FirstCallTransaction + 15 TransactionIRadioVoiceResponseGetTtyModeResponse = binder.FirstCallTransaction + 16 TransactionIRadioVoiceResponseHandleStkCallSetupRequestFromSimResponse = binder.FirstCallTransaction + 17 TransactionIRadioVoiceResponseHangupConnectionResponse = binder.FirstCallTransaction + 18 TransactionIRadioVoiceResponseHangupForegroundResumeBackgroundResponse = binder.FirstCallTransaction + 19 TransactionIRadioVoiceResponseHangupWaitingOrBackgroundResponse = binder.FirstCallTransaction + 20 TransactionIRadioVoiceResponseIsVoNrEnabledResponse = binder.FirstCallTransaction + 21 TransactionIRadioVoiceResponseRejectCallResponse = binder.FirstCallTransaction + 22 TransactionIRadioVoiceResponseSendBurstDtmfResponse = binder.FirstCallTransaction + 23 TransactionIRadioVoiceResponseSendCdmaFeatureCodeResponse = binder.FirstCallTransaction + 24 TransactionIRadioVoiceResponseSendDtmfResponse = binder.FirstCallTransaction + 25 TransactionIRadioVoiceResponseSendUssdResponse = binder.FirstCallTransaction + 26 TransactionIRadioVoiceResponseSeparateConnectionResponse = binder.FirstCallTransaction + 27 TransactionIRadioVoiceResponseSetCallForwardResponse = binder.FirstCallTransaction + 28 TransactionIRadioVoiceResponseSetCallWaitingResponse = binder.FirstCallTransaction + 29 TransactionIRadioVoiceResponseSetClirResponse = binder.FirstCallTransaction + 30 TransactionIRadioVoiceResponseSetMuteResponse = binder.FirstCallTransaction + 31 TransactionIRadioVoiceResponseSetPreferredVoicePrivacyResponse = binder.FirstCallTransaction + 32 TransactionIRadioVoiceResponseSetTtyModeResponse = binder.FirstCallTransaction + 33 TransactionIRadioVoiceResponseSetVoNrEnabledResponse = binder.FirstCallTransaction + 34 TransactionIRadioVoiceResponseStartDtmfResponse = binder.FirstCallTransaction + 35 TransactionIRadioVoiceResponseStopDtmfResponse = binder.FirstCallTransaction + 36 TransactionIRadioVoiceResponseSwitchWaitingOrHoldingAndActiveResponse = binder.FirstCallTransaction + 37 )
const ( MethodIRadioVoiceResponseAcceptCallResponse = "acceptCallResponse" MethodIRadioVoiceResponseAcknowledgeRequest = "acknowledgeRequest" MethodIRadioVoiceResponseCancelPendingUssdResponse = "cancelPendingUssdResponse" MethodIRadioVoiceResponseConferenceResponse = "conferenceResponse" MethodIRadioVoiceResponseDialResponse = "dialResponse" MethodIRadioVoiceResponseEmergencyDialResponse = "emergencyDialResponse" MethodIRadioVoiceResponseExitEmergencyCallbackModeResponse = "exitEmergencyCallbackModeResponse" MethodIRadioVoiceResponseExplicitCallTransferResponse = "explicitCallTransferResponse" MethodIRadioVoiceResponseGetCallForwardStatusResponse = "getCallForwardStatusResponse" MethodIRadioVoiceResponseGetCallWaitingResponse = "getCallWaitingResponse" MethodIRadioVoiceResponseGetClipResponse = "getClipResponse" MethodIRadioVoiceResponseGetClirResponse = "getClirResponse" MethodIRadioVoiceResponseGetCurrentCallsResponse = "getCurrentCallsResponse" MethodIRadioVoiceResponseGetLastCallFailCauseResponse = "getLastCallFailCauseResponse" MethodIRadioVoiceResponseGetMuteResponse = "getMuteResponse" MethodIRadioVoiceResponseGetPreferredVoicePrivacyResponse = "getPreferredVoicePrivacyResponse" MethodIRadioVoiceResponseGetTtyModeResponse = "getTtyModeResponse" MethodIRadioVoiceResponseHandleStkCallSetupRequestFromSimResponse = "handleStkCallSetupRequestFromSimResponse" MethodIRadioVoiceResponseHangupConnectionResponse = "hangupConnectionResponse" MethodIRadioVoiceResponseHangupForegroundResumeBackgroundResponse = "hangupForegroundResumeBackgroundResponse" MethodIRadioVoiceResponseHangupWaitingOrBackgroundResponse = "hangupWaitingOrBackgroundResponse" MethodIRadioVoiceResponseIsVoNrEnabledResponse = "isVoNrEnabledResponse" MethodIRadioVoiceResponseRejectCallResponse = "rejectCallResponse" MethodIRadioVoiceResponseSendBurstDtmfResponse = "sendBurstDtmfResponse" MethodIRadioVoiceResponseSendCdmaFeatureCodeResponse = "sendCdmaFeatureCodeResponse" MethodIRadioVoiceResponseSendDtmfResponse = "sendDtmfResponse" MethodIRadioVoiceResponseSendUssdResponse = "sendUssdResponse" MethodIRadioVoiceResponseSeparateConnectionResponse = "separateConnectionResponse" MethodIRadioVoiceResponseSetCallForwardResponse = "setCallForwardResponse" MethodIRadioVoiceResponseSetCallWaitingResponse = "setCallWaitingResponse" MethodIRadioVoiceResponseSetClirResponse = "setClirResponse" MethodIRadioVoiceResponseSetMuteResponse = "setMuteResponse" MethodIRadioVoiceResponseSetPreferredVoicePrivacyResponse = "setPreferredVoicePrivacyResponse" MethodIRadioVoiceResponseSetTtyModeResponse = "setTtyModeResponse" MethodIRadioVoiceResponseSetVoNrEnabledResponse = "setVoNrEnabledResponse" MethodIRadioVoiceResponseStartDtmfResponse = "startDtmfResponse" MethodIRadioVoiceResponseStopDtmfResponse = "stopDtmfResponse" MethodIRadioVoiceResponseSwitchWaitingOrHoldingAndActiveResponse = "switchWaitingOrHoldingAndActiveResponse" )
const ( StkCcUnsolSsResultRequestTypeActivation int32 = 0 StkCcUnsolSsResultRequestTypeDeactivation int32 = 1 StkCcUnsolSsResultRequestTypeInterrogation int32 = 2 StkCcUnsolSsResultRequestTypeRegistration int32 = 3 StkCcUnsolSsResultRequestTypeErasure int32 = 4 StkCcUnsolSsResultServiceTypeCfu int32 = 0 StkCcUnsolSsResultServiceTypeCfBusy int32 = 1 StkCcUnsolSsResultServiceTypeCfNoReply int32 = 2 StkCcUnsolSsResultServiceTypeCfNotReachable int32 = 3 StkCcUnsolSsResultServiceTypeCfAll int32 = 4 StkCcUnsolSsResultServiceTypeCfAllConditional int32 = 5 StkCcUnsolSsResultServiceTypeClip int32 = 6 StkCcUnsolSsResultServiceTypeClir int32 = 7 StkCcUnsolSsResultServiceTypeColp int32 = 8 StkCcUnsolSsResultServiceTypeColr int32 = 9 StkCcUnsolSsResultServiceTypeWait int32 = 10 StkCcUnsolSsResultServiceTypeBaoc int32 = 11 StkCcUnsolSsResultServiceTypeBaoic int32 = 12 StkCcUnsolSsResultServiceTypeBaoicExcHome int32 = 13 StkCcUnsolSsResultServiceTypeBaic int32 = 14 StkCcUnsolSsResultServiceTypeBaicRoaming int32 = 15 StkCcUnsolSsResultServiceTypeAllBarring int32 = 16 StkCcUnsolSsResultServiceTypeOutgoingBarring int32 = 17 StkCcUnsolSsResultServiceTypeIncomingBarring int32 = 18 StkCcUnsolSsResultTeleserviceTypeAllTeleAndBearerServices int32 = 0 StkCcUnsolSsResultTeleserviceTypeAllTelesevices int32 = 1 StkCcUnsolSsResultTeleserviceTypeTelephony int32 = 2 StkCcUnsolSsResultTeleserviceTypeAllDataTeleservices int32 = 3 StkCcUnsolSsResultTeleserviceTypeSmsServices int32 = 4 StkCcUnsolSsResultTeleserviceTypeAllTeleservicesExceptSms int32 = 5 StkCcUnsolSsResultSuppServiceClassNone int32 = 0 StkCcUnsolSsResultSuppServiceClassVoice int32 = (1 << 0) StkCcUnsolSsResultSuppServiceClassData int32 = (1 << 1) StkCcUnsolSsResultSuppServiceClassFax int32 = (1 << 2) StkCcUnsolSsResultSuppServiceClassSms int32 = (1 << 3) StkCcUnsolSsResultSuppServiceClassDataSync int32 = (1 << 4) StkCcUnsolSsResultSuppServiceClassDataAsync int32 = (1 << 5) StkCcUnsolSsResultSuppServiceClassPacket int32 = (1 << 6) StkCcUnsolSsResultSuppServiceClassPad int32 = (1 << 7) StkCcUnsolSsResultSuppServiceClassMax int32 = (1 << 7) )
const ( UusInfoUusDcsUsp int32 = 0 UusInfoUusDcsOsihlp int32 = 1 UusInfoUusDcsX244 int32 = 2 UusInfoUusDcsRmcf int32 = 3 UusInfoUusDcsIa5c int32 = 4 UusInfoUusTypeType1Implicit int32 = 0 UusInfoUusTypeType1Required int32 = 1 UusInfoUusTypeType1NotRequired int32 = 2 UusInfoUusTypeType2Required int32 = 3 UusInfoUusTypeType2NotRequired int32 = 4 UusInfoUusTypeType3Required int32 = 5 UusInfoUusTypeType3NotRequired int32 = 6 )
const (
CdmaDisplayInfoRecordCdmaAlphaInfoBufferLength int32 = 64
)
const (
CdmaNumberInfoRecordCdmaNumberInfoBufferLength int32 = 81
)
const (
CfDataNumServiceClasses int32 = 7
)
const DescriptorIRadioVoice = "android.hardware.radio.voice.IRadioVoice"
const DescriptorIRadioVoiceIndication = "android.hardware.radio.voice.IRadioVoiceIndication"
const DescriptorIRadioVoiceResponse = "android.hardware.radio.voice.IRadioVoiceResponse"
const (
SsInfoDataSsInfoMax int32 = 4
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioQuality ¶
type AudioQuality int32
const ( AudioQualityUNSPECIFIED AudioQuality = 0 AudioQualityAMR AudioQuality = 1 AudioQualityAmrWb AudioQuality = 2 AudioQualityGsmEfr AudioQuality = 3 AudioQualityGsmFr AudioQuality = 4 AudioQualityGsmHr AudioQuality = 5 AudioQualityEVRC AudioQuality = 6 AudioQualityEvrcB AudioQuality = 7 AudioQualityEvrcWb AudioQuality = 8 AudioQualityEvrcNw AudioQuality = 9 )
type Call ¶
type CallForwardInfo ¶
type CallForwardInfo struct {
Status int32
Reason int32
ServiceClass int32
Toa int32
Number string
TimeSeconds int32
}
func (*CallForwardInfo) MarshalParcel ¶
func (s *CallForwardInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*CallForwardInfo) UnmarshalParcel ¶
func (s *CallForwardInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaCallWaiting ¶
type CdmaCallWaiting struct {
Number string
NumberPresentation int32
Name string
SignalInfoRecord CdmaSignalInfoRecord
NumberType int32
NumberPlan int32
}
func (*CdmaCallWaiting) MarshalParcel ¶
func (s *CdmaCallWaiting) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaCallWaiting) UnmarshalParcel ¶
func (s *CdmaCallWaiting) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaDisplayInfoRecord ¶
type CdmaDisplayInfoRecord struct {
AlphaBuf string
}
func (*CdmaDisplayInfoRecord) MarshalParcel ¶
func (s *CdmaDisplayInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaDisplayInfoRecord) UnmarshalParcel ¶
func (s *CdmaDisplayInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaInformationRecord ¶
type CdmaInformationRecord struct {
Name int32
Display []CdmaDisplayInfoRecord
Number []CdmaNumberInfoRecord
Signal []CdmaSignalInfoRecord
Redir []CdmaRedirectingNumberInfoRecord
LineCtrl []CdmaLineControlInfoRecord
Clir []CdmaT53ClirInfoRecord
AudioCtrl []CdmaT53AudioControlInfoRecord
}
func (*CdmaInformationRecord) MarshalParcel ¶
func (s *CdmaInformationRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaInformationRecord) UnmarshalParcel ¶
func (s *CdmaInformationRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaLineControlInfoRecord ¶
type CdmaLineControlInfoRecord struct {
LineCtrlPolarityIncluded byte
LineCtrlToggle byte
LineCtrlReverse byte
LineCtrlPowerDenial byte
}
func (*CdmaLineControlInfoRecord) MarshalParcel ¶
func (s *CdmaLineControlInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaLineControlInfoRecord) UnmarshalParcel ¶
func (s *CdmaLineControlInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaNumberInfoRecord ¶
func (*CdmaNumberInfoRecord) MarshalParcel ¶
func (s *CdmaNumberInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaNumberInfoRecord) UnmarshalParcel ¶
func (s *CdmaNumberInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaOtaProvisionStatus ¶
type CdmaOtaProvisionStatus int32
const ( CdmaOtaProvisionStatusSplUnlocked CdmaOtaProvisionStatus = 0 CdmaOtaProvisionStatusSpcRetriesExceeded CdmaOtaProvisionStatus = 1 CdmaOtaProvisionStatusAKeyExchanged CdmaOtaProvisionStatus = 2 CdmaOtaProvisionStatusSsdUpdated CdmaOtaProvisionStatus = 3 CdmaOtaProvisionStatusNamDownloaded CdmaOtaProvisionStatus = 4 CdmaOtaProvisionStatusMdnDownloaded CdmaOtaProvisionStatus = 5 CdmaOtaProvisionStatusImsiDownloaded CdmaOtaProvisionStatus = 6 CdmaOtaProvisionStatusPrlDownloaded CdmaOtaProvisionStatus = 7 CdmaOtaProvisionStatusCOMMITTED CdmaOtaProvisionStatus = 8 CdmaOtaProvisionStatusOtapaStarted CdmaOtaProvisionStatus = 9 CdmaOtaProvisionStatusOtapaStopped CdmaOtaProvisionStatus = 10 CdmaOtaProvisionStatusOtapaAborted CdmaOtaProvisionStatus = 11 )
type CdmaRedirectingNumberInfoRecord ¶
type CdmaRedirectingNumberInfoRecord struct {
RedirectingNumber CdmaNumberInfoRecord
RedirectingReason int32
}
func (*CdmaRedirectingNumberInfoRecord) MarshalParcel ¶
func (s *CdmaRedirectingNumberInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaRedirectingNumberInfoRecord) UnmarshalParcel ¶
func (s *CdmaRedirectingNumberInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaSignalInfoRecord ¶
func (*CdmaSignalInfoRecord) MarshalParcel ¶
func (s *CdmaSignalInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaSignalInfoRecord) UnmarshalParcel ¶
func (s *CdmaSignalInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaT53AudioControlInfoRecord ¶
func (*CdmaT53AudioControlInfoRecord) MarshalParcel ¶
func (s *CdmaT53AudioControlInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaT53AudioControlInfoRecord) UnmarshalParcel ¶
func (s *CdmaT53AudioControlInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CdmaT53ClirInfoRecord ¶
type CdmaT53ClirInfoRecord struct {
Cause byte
}
func (*CdmaT53ClirInfoRecord) MarshalParcel ¶
func (s *CdmaT53ClirInfoRecord) MarshalParcel( p *parcel.Parcel, ) error
func (*CdmaT53ClirInfoRecord) UnmarshalParcel ¶
func (s *CdmaT53ClirInfoRecord) UnmarshalParcel( p *parcel.Parcel, ) error
type CfData ¶
type CfData struct {
CfInfo []CallForwardInfo
}
type ClipStatus ¶
type ClipStatus int32
const ( ClipStatusClipProvisioned ClipStatus = 0 ClipStatusClipUnprovisioned ClipStatus = 1 ClipStatusUNKNOWN ClipStatus = 2 )
type EmergencyCallRouting ¶
type EmergencyCallRouting int32
const ( EmergencyCallRoutingUNKNOWN EmergencyCallRouting = 0 EmergencyCallRoutingEMERGENCY EmergencyCallRouting = 1 EmergencyCallRoutingNORMAL EmergencyCallRouting = 2 )
type EmergencyNumber ¶
type EmergencyNumber struct {
Number string
Mcc string
Mnc string
Categories int32
Urns []string
Sources int32
}
func (*EmergencyNumber) MarshalParcel ¶
func (s *EmergencyNumber) MarshalParcel( p *parcel.Parcel, ) error
func (*EmergencyNumber) UnmarshalParcel ¶
func (s *EmergencyNumber) UnmarshalParcel( p *parcel.Parcel, ) error
type EmergencyServiceCategory ¶
type EmergencyServiceCategory int32
const ( EmergencyServiceCategoryUNSPECIFIED EmergencyServiceCategory = 0 EmergencyServiceCategoryPOLICE EmergencyServiceCategory = (1 << 0) EmergencyServiceCategoryAMBULANCE EmergencyServiceCategory = (1 << 1) EmergencyServiceCategoryFireBrigade EmergencyServiceCategory = (1 << 2) EmergencyServiceCategoryMarineGuard EmergencyServiceCategory = (1 << 3) EmergencyServiceCategoryMountainRescue EmergencyServiceCategory = (1 << 4) EmergencyServiceCategoryMIEC EmergencyServiceCategory = (1 << 5) EmergencyServiceCategoryAIEC EmergencyServiceCategory = (1 << 6) )
type IRadioVoice ¶
type IRadioVoice interface {
AsBinder() binder.IBinder
AcceptCall(ctx context.Context, serial int32) error
CancelPendingUssd(ctx context.Context, serial int32) error
Conference(ctx context.Context, serial int32) error
Dial(ctx context.Context, serial int32, dialInfo Dial) error
EmergencyDial(ctx context.Context, serial int32, dialInfo Dial, categories int32, urns []string, routing EmergencyCallRouting, hasKnownUserIntentEmergency bool, isTesting bool) error
ExitEmergencyCallbackMode(ctx context.Context, serial int32) error
ExplicitCallTransfer(ctx context.Context, serial int32) error
GetCallForwardStatus(ctx context.Context, serial int32, callInfo CallForwardInfo) error
GetCallWaiting(ctx context.Context, serial int32, serviceClass int32) error
GetClip(ctx context.Context, serial int32) error
GetClir(ctx context.Context, serial int32) error
GetCurrentCalls(ctx context.Context, serial int32) error
GetLastCallFailCause(ctx context.Context, serial int32) error
GetMute(ctx context.Context, serial int32) error
GetPreferredVoicePrivacy(ctx context.Context, serial int32) error
GetTtyMode(ctx context.Context, serial int32) error
HandleStkCallSetupRequestFromSim(ctx context.Context, serial int32, accept bool) error
Hangup(ctx context.Context, serial int32, gsmIndex int32) error
HangupForegroundResumeBackground(ctx context.Context, serial int32) error
HangupWaitingOrBackground(ctx context.Context, serial int32) error
IsVoNrEnabled(ctx context.Context, serial int32) error
RejectCall(ctx context.Context, serial int32) error
ResponseAcknowledgement(ctx context.Context) error
SendBurstDtmf(ctx context.Context, serial int32, dtmf string, on int32, off int32) error
SendCdmaFeatureCode(ctx context.Context, serial int32, featureCode string) error
SendDtmf(ctx context.Context, serial int32, s_ string) error
SendUssd(ctx context.Context, serial int32, ussd string) error
SeparateConnection(ctx context.Context, serial int32, gsmIndex int32) error
SetCallForward(ctx context.Context, serial int32, callInfo CallForwardInfo) error
SetCallWaiting(ctx context.Context, serial int32, enable bool, serviceClass int32) error
SetClir(ctx context.Context, serial int32, status int32) error
SetMute(ctx context.Context, serial int32, enable bool) error
SetPreferredVoicePrivacy(ctx context.Context, serial int32, enable bool) error
SetResponseFunctions(ctx context.Context, radioVoiceResponse IRadioVoiceResponse, radioVoiceIndication IRadioVoiceIndication) error
SetTtyMode(ctx context.Context, serial int32, mode TtyMode) error
SetVoNrEnabled(ctx context.Context, serial int32, enable bool) error
StartDtmf(ctx context.Context, serial int32, s_ string) error
StopDtmf(ctx context.Context, serial int32) error
SwitchWaitingOrHoldingAndActive(ctx context.Context, serial int32) error
}
func NewRadioVoiceStub ¶
func NewRadioVoiceStub( impl IRadioVoiceServer, ) IRadioVoice
NewRadioVoiceStub creates a server-side IRadioVoice wrapping the given server implementation. The returned value satisfies IRadioVoice and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRadioVoiceIndication ¶
type IRadioVoiceIndication interface {
AsBinder() binder.IBinder
CallRing(ctx context.Context, type_ radio.RadioIndicationType, isGsm bool, record CdmaSignalInfoRecord) error
CallStateChanged(ctx context.Context, type_ radio.RadioIndicationType) error
CdmaCallWaiting(ctx context.Context, type_ radio.RadioIndicationType, callWaitingRecord CdmaCallWaiting) error
CdmaInfoRec(ctx context.Context, type_ radio.RadioIndicationType, records []CdmaInformationRecord) error
CdmaOtaProvisionStatus(ctx context.Context, type_ radio.RadioIndicationType, status CdmaOtaProvisionStatus) error
CurrentEmergencyNumberList(ctx context.Context, type_ radio.RadioIndicationType, emergencyNumberList []EmergencyNumber) error
EnterEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
ExitEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
IndicateRingbackTone(ctx context.Context, type_ radio.RadioIndicationType, start bool) error
OnSupplementaryServiceIndication(ctx context.Context, type_ radio.RadioIndicationType, ss StkCcUnsolSsResult) error
OnUssd(ctx context.Context, type_ radio.RadioIndicationType, modeType UssdModeType, msg string) error
ResendIncallMute(ctx context.Context, type_ radio.RadioIndicationType) error
SrvccStateNotify(ctx context.Context, type_ radio.RadioIndicationType, state SrvccState) error
StkCallControlAlphaNotify(ctx context.Context, type_ radio.RadioIndicationType, alpha string) error
StkCallSetup(ctx context.Context, type_ radio.RadioIndicationType, timeout int64) error
}
func NewRadioVoiceIndicationStub ¶
func NewRadioVoiceIndicationStub( impl IRadioVoiceIndicationServer, ) IRadioVoiceIndication
NewRadioVoiceIndicationStub creates a server-side IRadioVoiceIndication wrapping the given server implementation. The returned value satisfies IRadioVoiceIndication and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRadioVoiceIndicationServer ¶
type IRadioVoiceIndicationServer interface {
CallRing(ctx context.Context, type_ radio.RadioIndicationType, isGsm bool, record CdmaSignalInfoRecord) error
CallStateChanged(ctx context.Context, type_ radio.RadioIndicationType) error
CdmaCallWaiting(ctx context.Context, type_ radio.RadioIndicationType, callWaitingRecord CdmaCallWaiting) error
CdmaInfoRec(ctx context.Context, type_ radio.RadioIndicationType, records []CdmaInformationRecord) error
CdmaOtaProvisionStatus(ctx context.Context, type_ radio.RadioIndicationType, status CdmaOtaProvisionStatus) error
CurrentEmergencyNumberList(ctx context.Context, type_ radio.RadioIndicationType, emergencyNumberList []EmergencyNumber) error
EnterEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
ExitEmergencyCallbackMode(ctx context.Context, type_ radio.RadioIndicationType) error
IndicateRingbackTone(ctx context.Context, type_ radio.RadioIndicationType, start bool) error
OnSupplementaryServiceIndication(ctx context.Context, type_ radio.RadioIndicationType, ss StkCcUnsolSsResult) error
OnUssd(ctx context.Context, type_ radio.RadioIndicationType, modeType UssdModeType, msg string) error
ResendIncallMute(ctx context.Context, type_ radio.RadioIndicationType) error
SrvccStateNotify(ctx context.Context, type_ radio.RadioIndicationType, state SrvccState) error
StkCallControlAlphaNotify(ctx context.Context, type_ radio.RadioIndicationType, alpha string) error
StkCallSetup(ctx context.Context, type_ radio.RadioIndicationType, timeout int64) error
}
IRadioVoiceIndicationServer is the server-side interface that user implementations provide to NewRadioVoiceIndicationStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRadioVoiceResponse ¶
type IRadioVoiceResponse interface {
AsBinder() binder.IBinder
AcceptCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
AcknowledgeRequest(ctx context.Context, serial int32) error
CancelPendingUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
ConferenceResponse(ctx context.Context, info radio.RadioResponseInfo) error
DialResponse(ctx context.Context, info radio.RadioResponseInfo) error
EmergencyDialResponse(ctx context.Context, info radio.RadioResponseInfo) error
ExitEmergencyCallbackModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
ExplicitCallTransferResponse(ctx context.Context, info radio.RadioResponseInfo) error
GetCallForwardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, callForwardInfos []CallForwardInfo) error
GetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool, serviceClass int32) error
GetClipResponse(ctx context.Context, info radio.RadioResponseInfo, status ClipStatus) error
GetClirResponse(ctx context.Context, info radio.RadioResponseInfo, n int32, m int32) error
GetCurrentCallsResponse(ctx context.Context, info radio.RadioResponseInfo, calls []Call) error
GetLastCallFailCauseResponse(ctx context.Context, info radio.RadioResponseInfo, failCauseinfo LastCallFailCauseInfo) error
GetMuteResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
GetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
GetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo, mode TtyMode) error
HandleStkCallSetupRequestFromSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupForegroundResumeBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupWaitingOrBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
IsVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
RejectCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendBurstDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendCdmaFeatureCodeResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
SeparateConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCallForwardResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetClirResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetMuteResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo) error
StartDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
StopDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SwitchWaitingOrHoldingAndActiveResponse(ctx context.Context, info radio.RadioResponseInfo) error
}
func NewRadioVoiceResponseStub ¶
func NewRadioVoiceResponseStub( impl IRadioVoiceResponseServer, ) IRadioVoiceResponse
NewRadioVoiceResponseStub creates a server-side IRadioVoiceResponse wrapping the given server implementation. The returned value satisfies IRadioVoiceResponse and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRadioVoiceResponseServer ¶
type IRadioVoiceResponseServer interface {
AcceptCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
AcknowledgeRequest(ctx context.Context, serial int32) error
CancelPendingUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
ConferenceResponse(ctx context.Context, info radio.RadioResponseInfo) error
DialResponse(ctx context.Context, info radio.RadioResponseInfo) error
EmergencyDialResponse(ctx context.Context, info radio.RadioResponseInfo) error
ExitEmergencyCallbackModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
ExplicitCallTransferResponse(ctx context.Context, info radio.RadioResponseInfo) error
GetCallForwardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, callForwardInfos []CallForwardInfo) error
GetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool, serviceClass int32) error
GetClipResponse(ctx context.Context, info radio.RadioResponseInfo, status ClipStatus) error
GetClirResponse(ctx context.Context, info radio.RadioResponseInfo, n int32, m int32) error
GetCurrentCallsResponse(ctx context.Context, info radio.RadioResponseInfo, calls []Call) error
GetLastCallFailCauseResponse(ctx context.Context, info radio.RadioResponseInfo, failCauseinfo LastCallFailCauseInfo) error
GetMuteResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
GetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
GetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo, mode TtyMode) error
HandleStkCallSetupRequestFromSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupForegroundResumeBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
HangupWaitingOrBackgroundResponse(ctx context.Context, info radio.RadioResponseInfo) error
IsVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enable bool) error
RejectCallResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendBurstDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendCdmaFeatureCodeResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SendUssdResponse(ctx context.Context, info radio.RadioResponseInfo) error
SeparateConnectionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCallForwardResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCallWaitingResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetClirResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetMuteResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetPreferredVoicePrivacyResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetTtyModeResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetVoNrEnabledResponse(ctx context.Context, info radio.RadioResponseInfo) error
StartDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
StopDtmfResponse(ctx context.Context, info radio.RadioResponseInfo) error
SwitchWaitingOrHoldingAndActiveResponse(ctx context.Context, info radio.RadioResponseInfo) error
}
IRadioVoiceResponseServer is the server-side interface that user implementations provide to NewRadioVoiceResponseStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRadioVoiceServer ¶
type IRadioVoiceServer interface {
AcceptCall(ctx context.Context, serial int32) error
CancelPendingUssd(ctx context.Context, serial int32) error
Conference(ctx context.Context, serial int32) error
Dial(ctx context.Context, serial int32, dialInfo Dial) error
EmergencyDial(ctx context.Context, serial int32, dialInfo Dial, categories int32, urns []string, routing EmergencyCallRouting, hasKnownUserIntentEmergency bool, isTesting bool) error
ExitEmergencyCallbackMode(ctx context.Context, serial int32) error
ExplicitCallTransfer(ctx context.Context, serial int32) error
GetCallForwardStatus(ctx context.Context, serial int32, callInfo CallForwardInfo) error
GetCallWaiting(ctx context.Context, serial int32, serviceClass int32) error
GetClip(ctx context.Context, serial int32) error
GetClir(ctx context.Context, serial int32) error
GetCurrentCalls(ctx context.Context, serial int32) error
GetLastCallFailCause(ctx context.Context, serial int32) error
GetMute(ctx context.Context, serial int32) error
GetPreferredVoicePrivacy(ctx context.Context, serial int32) error
GetTtyMode(ctx context.Context, serial int32) error
HandleStkCallSetupRequestFromSim(ctx context.Context, serial int32, accept bool) error
Hangup(ctx context.Context, serial int32, gsmIndex int32) error
HangupForegroundResumeBackground(ctx context.Context, serial int32) error
HangupWaitingOrBackground(ctx context.Context, serial int32) error
IsVoNrEnabled(ctx context.Context, serial int32) error
RejectCall(ctx context.Context, serial int32) error
ResponseAcknowledgement(ctx context.Context) error
SendBurstDtmf(ctx context.Context, serial int32, dtmf string, on int32, off int32) error
SendCdmaFeatureCode(ctx context.Context, serial int32, featureCode string) error
SendDtmf(ctx context.Context, serial int32, s_ string) error
SendUssd(ctx context.Context, serial int32, ussd string) error
SeparateConnection(ctx context.Context, serial int32, gsmIndex int32) error
SetCallForward(ctx context.Context, serial int32, callInfo CallForwardInfo) error
SetCallWaiting(ctx context.Context, serial int32, enable bool, serviceClass int32) error
SetClir(ctx context.Context, serial int32, status int32) error
SetMute(ctx context.Context, serial int32, enable bool) error
SetPreferredVoicePrivacy(ctx context.Context, serial int32, enable bool) error
SetResponseFunctions(ctx context.Context, radioVoiceResponse IRadioVoiceResponse, radioVoiceIndication IRadioVoiceIndication) error
SetTtyMode(ctx context.Context, serial int32, mode TtyMode) error
SetVoNrEnabled(ctx context.Context, serial int32, enable bool) error
StartDtmf(ctx context.Context, serial int32, s_ string) error
StopDtmf(ctx context.Context, serial int32) error
SwitchWaitingOrHoldingAndActive(ctx context.Context, serial int32) error
}
IRadioVoiceServer is the server-side interface that user implementations provide to NewRadioVoiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type LastCallFailCause ¶
type LastCallFailCause int32
const ( LastCallFailCauseUnobtainableNumber LastCallFailCause = 1 LastCallFailCauseNoRouteToDestination LastCallFailCause = 3 LastCallFailCauseChannelUnacceptable LastCallFailCause = 6 LastCallFailCauseOperatorDeterminedBarring LastCallFailCause = 8 LastCallFailCauseNORMAL LastCallFailCause = 16 LastCallFailCauseBUSY LastCallFailCause = 17 LastCallFailCauseNoUserResponding LastCallFailCause = 18 LastCallFailCauseNoAnswerFromUser LastCallFailCause = 19 LastCallFailCauseCallRejected LastCallFailCause = 21 LastCallFailCauseNumberChanged LastCallFailCause = 22 LastCallFailCausePREEMPTION LastCallFailCause = 25 LastCallFailCauseDestinationOutOfOrder LastCallFailCause = 27 LastCallFailCauseInvalidNumberFormat LastCallFailCause = 28 LastCallFailCauseFacilityRejected LastCallFailCause = 29 LastCallFailCauseRespToStatusEnquiry LastCallFailCause = 30 LastCallFailCauseNormalUnspecified LastCallFailCause = 31 LastCallFailCauseCONGESTION LastCallFailCause = 34 LastCallFailCauseNetworkOutOfOrder LastCallFailCause = 38 LastCallFailCauseTemporaryFailure LastCallFailCause = 41 LastCallFailCauseSwitchingEquipmentCongestion LastCallFailCause = 42 LastCallFailCauseAccessInformationDiscarded LastCallFailCause = 43 LastCallFailCauseRequestedCircuitOrChannelNotAvailable LastCallFailCause = 44 LastCallFailCauseRequestedFacilityNotSubscribed LastCallFailCause = 50 LastCallFailCauseIncomingCallsBarredWithinCug LastCallFailCause = 55 LastCallFailCauseBearerCapabilityNotAuthorized LastCallFailCause = 57 LastCallFailCauseServiceOptionNotAvailable LastCallFailCause = 63 LastCallFailCauseBearerServiceNotImplemented LastCallFailCause = 65 LastCallFailCauseAcmLimitExceeded LastCallFailCause = 68 LastCallFailCauseRequestedFacilityNotImplemented LastCallFailCause = 69 LastCallFailCauseOnlyDigitalInformationBearerAvailable LastCallFailCause = 70 LastCallFailCauseServiceOrOptionNotImplemented LastCallFailCause = 79 LastCallFailCauseInvalidTransactionIdentifier LastCallFailCause = 81 LastCallFailCauseUserNotMemberOfCug LastCallFailCause = 87 LastCallFailCauseIncompatibleDestination LastCallFailCause = 88 LastCallFailCauseInvalidTransitNwSelection LastCallFailCause = 91 LastCallFailCauseSemanticallyIncorrectMessage LastCallFailCause = 95 LastCallFailCauseInvalidMandatoryInformation LastCallFailCause = 96 LastCallFailCauseMessageTypeNonImplemented LastCallFailCause = 97 LastCallFailCauseMessageTypeNotCompatibleWithProtocolState LastCallFailCause = 98 LastCallFailCauseInformationElementNonExistent LastCallFailCause = 99 LastCallFailCauseConditionalIeError LastCallFailCause = 100 LastCallFailCauseMessageNotCompatibleWithProtocolState LastCallFailCause = 101 LastCallFailCauseRecoveryOnTimerExpired LastCallFailCause = 102 LastCallFailCauseProtocolErrorUnspecified LastCallFailCause = 111 LastCallFailCauseInterworkingUnspecified LastCallFailCause = 127 LastCallFailCauseCallBarred LastCallFailCause = 240 LastCallFailCauseFdnBlocked LastCallFailCause = 241 LastCallFailCauseImsiUnknownInVlr LastCallFailCause = 242 LastCallFailCauseImeiNotAccepted LastCallFailCause = 243 LastCallFailCauseDialModifiedToUssd LastCallFailCause = 244 LastCallFailCauseDialModifiedToSs LastCallFailCause = 245 LastCallFailCauseDialModifiedToDial LastCallFailCause = 246 LastCallFailCauseRadioOff LastCallFailCause = 247 LastCallFailCauseOutOfService LastCallFailCause = 248 LastCallFailCauseNoValidSim LastCallFailCause = 249 LastCallFailCauseRadioInternalError LastCallFailCause = 250 LastCallFailCauseNetworkRespTimeout LastCallFailCause = 251 LastCallFailCauseNetworkReject LastCallFailCause = 252 LastCallFailCauseRadioAccessFailure LastCallFailCause = 253 LastCallFailCauseRadioLinkFailure LastCallFailCause = 254 LastCallFailCauseRadioLinkLost LastCallFailCause = 255 LastCallFailCauseRadioUplinkFailure LastCallFailCause = 256 LastCallFailCauseRadioSetupFailure LastCallFailCause = 257 LastCallFailCauseRadioReleaseNormal LastCallFailCause = 258 LastCallFailCauseRadioReleaseAbnormal LastCallFailCause = 259 LastCallFailCauseAccessClassBlocked LastCallFailCause = 260 LastCallFailCauseNetworkDetach LastCallFailCause = 261 LastCallFailCauseCdmaLockedUntilPowerCycle LastCallFailCause = 1000 LastCallFailCauseCdmaDrop LastCallFailCause = 1001 LastCallFailCauseCdmaIntercept LastCallFailCause = 1002 LastCallFailCauseCdmaReorder LastCallFailCause = 1003 LastCallFailCauseCdmaSoReject LastCallFailCause = 1004 LastCallFailCauseCdmaRetryOrder LastCallFailCause = 1005 LastCallFailCauseCdmaAccessFailure LastCallFailCause = 1006 LastCallFailCauseCdmaPreempted LastCallFailCause = 1007 LastCallFailCauseCdmaNotEmergency LastCallFailCause = 1008 LastCallFailCauseCdmaAccessBlocked LastCallFailCause = 1009 LastCallFailCauseOemCause1 LastCallFailCause = 61441 LastCallFailCauseOemCause2 LastCallFailCause = 61442 LastCallFailCauseOemCause3 LastCallFailCause = 61443 LastCallFailCauseOemCause4 LastCallFailCause = 61444 LastCallFailCauseOemCause5 LastCallFailCause = 61445 LastCallFailCauseOemCause6 LastCallFailCause = 61446 LastCallFailCauseOemCause7 LastCallFailCause = 61447 LastCallFailCauseOemCause8 LastCallFailCause = 61448 LastCallFailCauseOemCause9 LastCallFailCause = 61449 LastCallFailCauseOemCause10 LastCallFailCause = 61450 LastCallFailCauseOemCause11 LastCallFailCause = 61451 LastCallFailCauseOemCause12 LastCallFailCause = 61452 LastCallFailCauseOemCause13 LastCallFailCause = 61453 LastCallFailCauseOemCause14 LastCallFailCause = 61454 LastCallFailCauseOemCause15 LastCallFailCause = 61455 LastCallFailCauseErrorUnspecified LastCallFailCause = 65535 )
type LastCallFailCauseInfo ¶
type LastCallFailCauseInfo struct {
CauseCode LastCallFailCause
VendorCause string
}
func (*LastCallFailCauseInfo) MarshalParcel ¶
func (s *LastCallFailCauseInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*LastCallFailCauseInfo) UnmarshalParcel ¶
func (s *LastCallFailCauseInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type RadioVoiceIndicationProxy ¶
func NewRadioVoiceIndicationProxy ¶
func NewRadioVoiceIndicationProxy( remote binder.IBinder, ) *RadioVoiceIndicationProxy
func (*RadioVoiceIndicationProxy) AsBinder ¶
func (p *RadioVoiceIndicationProxy) AsBinder() binder.IBinder
func (*RadioVoiceIndicationProxy) CallRing ¶
func (p *RadioVoiceIndicationProxy) CallRing( ctx context.Context, type_ radio.RadioIndicationType, isGsm bool, record CdmaSignalInfoRecord, ) error
func (*RadioVoiceIndicationProxy) CallStateChanged ¶
func (p *RadioVoiceIndicationProxy) CallStateChanged( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioVoiceIndicationProxy) CdmaCallWaiting ¶
func (p *RadioVoiceIndicationProxy) CdmaCallWaiting( ctx context.Context, type_ radio.RadioIndicationType, callWaitingRecord CdmaCallWaiting, ) error
func (*RadioVoiceIndicationProxy) CdmaInfoRec ¶
func (p *RadioVoiceIndicationProxy) CdmaInfoRec( ctx context.Context, type_ radio.RadioIndicationType, records []CdmaInformationRecord, ) error
func (*RadioVoiceIndicationProxy) CdmaOtaProvisionStatus ¶
func (p *RadioVoiceIndicationProxy) CdmaOtaProvisionStatus( ctx context.Context, type_ radio.RadioIndicationType, status CdmaOtaProvisionStatus, ) error
func (*RadioVoiceIndicationProxy) CurrentEmergencyNumberList ¶
func (p *RadioVoiceIndicationProxy) CurrentEmergencyNumberList( ctx context.Context, type_ radio.RadioIndicationType, emergencyNumberList []EmergencyNumber, ) error
func (*RadioVoiceIndicationProxy) EnterEmergencyCallbackMode ¶
func (p *RadioVoiceIndicationProxy) EnterEmergencyCallbackMode( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioVoiceIndicationProxy) ExitEmergencyCallbackMode ¶
func (p *RadioVoiceIndicationProxy) ExitEmergencyCallbackMode( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioVoiceIndicationProxy) IndicateRingbackTone ¶
func (p *RadioVoiceIndicationProxy) IndicateRingbackTone( ctx context.Context, type_ radio.RadioIndicationType, start bool, ) error
func (*RadioVoiceIndicationProxy) OnSupplementaryServiceIndication ¶
func (p *RadioVoiceIndicationProxy) OnSupplementaryServiceIndication( ctx context.Context, type_ radio.RadioIndicationType, ss StkCcUnsolSsResult, ) error
func (*RadioVoiceIndicationProxy) OnUssd ¶
func (p *RadioVoiceIndicationProxy) OnUssd( ctx context.Context, type_ radio.RadioIndicationType, modeType UssdModeType, msg string, ) error
func (*RadioVoiceIndicationProxy) ResendIncallMute ¶
func (p *RadioVoiceIndicationProxy) ResendIncallMute( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioVoiceIndicationProxy) SrvccStateNotify ¶
func (p *RadioVoiceIndicationProxy) SrvccStateNotify( ctx context.Context, type_ radio.RadioIndicationType, state SrvccState, ) error
func (*RadioVoiceIndicationProxy) StkCallControlAlphaNotify ¶
func (p *RadioVoiceIndicationProxy) StkCallControlAlphaNotify( ctx context.Context, type_ radio.RadioIndicationType, alpha string, ) error
func (*RadioVoiceIndicationProxy) StkCallSetup ¶
func (p *RadioVoiceIndicationProxy) StkCallSetup( ctx context.Context, type_ radio.RadioIndicationType, timeout int64, ) error
type RadioVoiceIndicationStub ¶
type RadioVoiceIndicationStub struct {
Impl IRadioVoiceIndication
Transport binder.VersionAwareTransport
}
RadioVoiceIndicationStub dispatches incoming binder transactions to a typed IRadioVoiceIndication implementation.
func (*RadioVoiceIndicationStub) Descriptor ¶
func (s *RadioVoiceIndicationStub) Descriptor() string
func (*RadioVoiceIndicationStub) OnTransaction ¶
func (s *RadioVoiceIndicationStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RadioVoiceProxy ¶
func NewRadioVoiceProxy ¶
func NewRadioVoiceProxy( remote binder.IBinder, ) *RadioVoiceProxy
func (*RadioVoiceProxy) AcceptCall ¶
func (p *RadioVoiceProxy) AcceptCall( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) AsBinder ¶
func (p *RadioVoiceProxy) AsBinder() binder.IBinder
func (*RadioVoiceProxy) CancelPendingUssd ¶
func (p *RadioVoiceProxy) CancelPendingUssd( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) Conference ¶
func (p *RadioVoiceProxy) Conference( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) EmergencyDial ¶
func (*RadioVoiceProxy) ExitEmergencyCallbackMode ¶
func (p *RadioVoiceProxy) ExitEmergencyCallbackMode( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) ExplicitCallTransfer ¶
func (p *RadioVoiceProxy) ExplicitCallTransfer( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetCallForwardStatus ¶
func (p *RadioVoiceProxy) GetCallForwardStatus( ctx context.Context, serial int32, callInfo CallForwardInfo, ) error
func (*RadioVoiceProxy) GetCallWaiting ¶
func (*RadioVoiceProxy) GetClip ¶
func (p *RadioVoiceProxy) GetClip( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetClir ¶
func (p *RadioVoiceProxy) GetClir( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetCurrentCalls ¶
func (p *RadioVoiceProxy) GetCurrentCalls( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetLastCallFailCause ¶
func (p *RadioVoiceProxy) GetLastCallFailCause( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetMute ¶
func (p *RadioVoiceProxy) GetMute( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetPreferredVoicePrivacy ¶
func (p *RadioVoiceProxy) GetPreferredVoicePrivacy( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) GetTtyMode ¶
func (p *RadioVoiceProxy) GetTtyMode( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) HandleStkCallSetupRequestFromSim ¶
func (*RadioVoiceProxy) HangupForegroundResumeBackground ¶
func (p *RadioVoiceProxy) HangupForegroundResumeBackground( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) HangupWaitingOrBackground ¶
func (p *RadioVoiceProxy) HangupWaitingOrBackground( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) IsVoNrEnabled ¶
func (p *RadioVoiceProxy) IsVoNrEnabled( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) RejectCall ¶
func (p *RadioVoiceProxy) RejectCall( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) ResponseAcknowledgement ¶
func (p *RadioVoiceProxy) ResponseAcknowledgement( ctx context.Context, ) error
func (*RadioVoiceProxy) SendBurstDtmf ¶
func (*RadioVoiceProxy) SendCdmaFeatureCode ¶
func (*RadioVoiceProxy) SeparateConnection ¶
func (*RadioVoiceProxy) SetCallForward ¶
func (p *RadioVoiceProxy) SetCallForward( ctx context.Context, serial int32, callInfo CallForwardInfo, ) error
func (*RadioVoiceProxy) SetCallWaiting ¶
func (*RadioVoiceProxy) SetPreferredVoicePrivacy ¶
func (*RadioVoiceProxy) SetResponseFunctions ¶
func (p *RadioVoiceProxy) SetResponseFunctions( ctx context.Context, radioVoiceResponse IRadioVoiceResponse, radioVoiceIndication IRadioVoiceIndication, ) error
func (*RadioVoiceProxy) SetTtyMode ¶
func (*RadioVoiceProxy) SetVoNrEnabled ¶
func (*RadioVoiceProxy) StopDtmf ¶
func (p *RadioVoiceProxy) StopDtmf( ctx context.Context, serial int32, ) error
func (*RadioVoiceProxy) SwitchWaitingOrHoldingAndActive ¶
func (p *RadioVoiceProxy) SwitchWaitingOrHoldingAndActive( ctx context.Context, serial int32, ) error
type RadioVoiceResponseProxy ¶
func NewRadioVoiceResponseProxy ¶
func NewRadioVoiceResponseProxy( remote binder.IBinder, ) *RadioVoiceResponseProxy
func (*RadioVoiceResponseProxy) AcceptCallResponse ¶
func (p *RadioVoiceResponseProxy) AcceptCallResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) AcknowledgeRequest ¶
func (p *RadioVoiceResponseProxy) AcknowledgeRequest( ctx context.Context, serial int32, ) error
func (*RadioVoiceResponseProxy) AsBinder ¶
func (p *RadioVoiceResponseProxy) AsBinder() binder.IBinder
func (*RadioVoiceResponseProxy) CancelPendingUssdResponse ¶
func (p *RadioVoiceResponseProxy) CancelPendingUssdResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) ConferenceResponse ¶
func (p *RadioVoiceResponseProxy) ConferenceResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) DialResponse ¶
func (p *RadioVoiceResponseProxy) DialResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) EmergencyDialResponse ¶
func (p *RadioVoiceResponseProxy) EmergencyDialResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) ExitEmergencyCallbackModeResponse ¶
func (p *RadioVoiceResponseProxy) ExitEmergencyCallbackModeResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) ExplicitCallTransferResponse ¶
func (p *RadioVoiceResponseProxy) ExplicitCallTransferResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) GetCallForwardStatusResponse ¶
func (p *RadioVoiceResponseProxy) GetCallForwardStatusResponse( ctx context.Context, info radio.RadioResponseInfo, callForwardInfos []CallForwardInfo, ) error
func (*RadioVoiceResponseProxy) GetCallWaitingResponse ¶
func (p *RadioVoiceResponseProxy) GetCallWaitingResponse( ctx context.Context, info radio.RadioResponseInfo, enable bool, serviceClass int32, ) error
func (*RadioVoiceResponseProxy) GetClipResponse ¶
func (p *RadioVoiceResponseProxy) GetClipResponse( ctx context.Context, info radio.RadioResponseInfo, status ClipStatus, ) error
func (*RadioVoiceResponseProxy) GetClirResponse ¶
func (p *RadioVoiceResponseProxy) GetClirResponse( ctx context.Context, info radio.RadioResponseInfo, n int32, m int32, ) error
func (*RadioVoiceResponseProxy) GetCurrentCallsResponse ¶
func (p *RadioVoiceResponseProxy) GetCurrentCallsResponse( ctx context.Context, info radio.RadioResponseInfo, calls []Call, ) error
func (*RadioVoiceResponseProxy) GetLastCallFailCauseResponse ¶
func (p *RadioVoiceResponseProxy) GetLastCallFailCauseResponse( ctx context.Context, info radio.RadioResponseInfo, failCauseinfo LastCallFailCauseInfo, ) error
func (*RadioVoiceResponseProxy) GetMuteResponse ¶
func (p *RadioVoiceResponseProxy) GetMuteResponse( ctx context.Context, info radio.RadioResponseInfo, enable bool, ) error
func (*RadioVoiceResponseProxy) GetPreferredVoicePrivacyResponse ¶
func (p *RadioVoiceResponseProxy) GetPreferredVoicePrivacyResponse( ctx context.Context, info radio.RadioResponseInfo, enable bool, ) error
func (*RadioVoiceResponseProxy) GetTtyModeResponse ¶
func (p *RadioVoiceResponseProxy) GetTtyModeResponse( ctx context.Context, info radio.RadioResponseInfo, mode TtyMode, ) error
func (*RadioVoiceResponseProxy) HandleStkCallSetupRequestFromSimResponse ¶
func (p *RadioVoiceResponseProxy) HandleStkCallSetupRequestFromSimResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) HangupConnectionResponse ¶
func (p *RadioVoiceResponseProxy) HangupConnectionResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) HangupForegroundResumeBackgroundResponse ¶
func (p *RadioVoiceResponseProxy) HangupForegroundResumeBackgroundResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) HangupWaitingOrBackgroundResponse ¶
func (p *RadioVoiceResponseProxy) HangupWaitingOrBackgroundResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) IsVoNrEnabledResponse ¶
func (p *RadioVoiceResponseProxy) IsVoNrEnabledResponse( ctx context.Context, info radio.RadioResponseInfo, enable bool, ) error
func (*RadioVoiceResponseProxy) RejectCallResponse ¶
func (p *RadioVoiceResponseProxy) RejectCallResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SendBurstDtmfResponse ¶
func (p *RadioVoiceResponseProxy) SendBurstDtmfResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SendCdmaFeatureCodeResponse ¶
func (p *RadioVoiceResponseProxy) SendCdmaFeatureCodeResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SendDtmfResponse ¶
func (p *RadioVoiceResponseProxy) SendDtmfResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SendUssdResponse ¶
func (p *RadioVoiceResponseProxy) SendUssdResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SeparateConnectionResponse ¶
func (p *RadioVoiceResponseProxy) SeparateConnectionResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetCallForwardResponse ¶
func (p *RadioVoiceResponseProxy) SetCallForwardResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetCallWaitingResponse ¶
func (p *RadioVoiceResponseProxy) SetCallWaitingResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetClirResponse ¶
func (p *RadioVoiceResponseProxy) SetClirResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetMuteResponse ¶
func (p *RadioVoiceResponseProxy) SetMuteResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetPreferredVoicePrivacyResponse ¶
func (p *RadioVoiceResponseProxy) SetPreferredVoicePrivacyResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetTtyModeResponse ¶
func (p *RadioVoiceResponseProxy) SetTtyModeResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SetVoNrEnabledResponse ¶
func (p *RadioVoiceResponseProxy) SetVoNrEnabledResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) StartDtmfResponse ¶
func (p *RadioVoiceResponseProxy) StartDtmfResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) StopDtmfResponse ¶
func (p *RadioVoiceResponseProxy) StopDtmfResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioVoiceResponseProxy) SwitchWaitingOrHoldingAndActiveResponse ¶
func (p *RadioVoiceResponseProxy) SwitchWaitingOrHoldingAndActiveResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
type RadioVoiceResponseStub ¶
type RadioVoiceResponseStub struct {
Impl IRadioVoiceResponse
Transport binder.VersionAwareTransport
}
RadioVoiceResponseStub dispatches incoming binder transactions to a typed IRadioVoiceResponse implementation.
func (*RadioVoiceResponseStub) Descriptor ¶
func (s *RadioVoiceResponseStub) Descriptor() string
func (*RadioVoiceResponseStub) OnTransaction ¶
func (s *RadioVoiceResponseStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RadioVoiceStub ¶
type RadioVoiceStub struct {
Impl IRadioVoice
Transport binder.VersionAwareTransport
}
RadioVoiceStub dispatches incoming binder transactions to a typed IRadioVoice implementation.
func (*RadioVoiceStub) Descriptor ¶
func (s *RadioVoiceStub) Descriptor() string
func (*RadioVoiceStub) OnTransaction ¶
func (s *RadioVoiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SrvccState ¶
type SrvccState int32
const ( SrvccStateHandoverStarted SrvccState = 0 SrvccStateHandoverCompleted SrvccState = 1 SrvccStateHandoverFailed SrvccState = 2 SrvccStateHandoverCanceled SrvccState = 3 )
type SsInfoData ¶
type SsInfoData struct {
SsInfo []int32
}
func (*SsInfoData) MarshalParcel ¶
func (s *SsInfoData) MarshalParcel( p *parcel.Parcel, ) error
func (*SsInfoData) UnmarshalParcel ¶
func (s *SsInfoData) UnmarshalParcel( p *parcel.Parcel, ) error
type StkCcUnsolSsResult ¶
type StkCcUnsolSsResult struct {
ServiceType int32
RequestType int32
TeleserviceType int32
ServiceClass int32
Result radio.RadioError
SsInfo []SsInfoData
CfData []CfData
}
func (*StkCcUnsolSsResult) MarshalParcel ¶
func (s *StkCcUnsolSsResult) MarshalParcel( p *parcel.Parcel, ) error
func (*StkCcUnsolSsResult) UnmarshalParcel ¶
func (s *StkCcUnsolSsResult) UnmarshalParcel( p *parcel.Parcel, ) error
type UssdModeType ¶
type UssdModeType int32
const ( UssdModeTypeNOTIFY UssdModeType = 0 UssdModeTypeREQUEST UssdModeType = 1 UssdModeTypeNwRelease UssdModeType = 2 UssdModeTypeLocalClient UssdModeType = 3 UssdModeTypeNotSupported UssdModeType = 4 UssdModeTypeNwTimeout UssdModeType = 5 )
Source Files
¶
- audioquality.go
- call.go
- callforwardinfo.go
- cdmacallwaiting.go
- cdmadisplayinforecord.go
- cdmainformationrecord.go
- cdmalinecontrolinforecord.go
- cdmanumberinforecord.go
- cdmaotaprovisionstatus.go
- cdmaredirectingnumberinforecord.go
- cdmasignalinforecord.go
- cdmat53audiocontrolinforecord.go
- cdmat53clirinforecord.go
- cfdata.go
- clipstatus.go
- dial.go
- emergencycallrouting.go
- emergencynumber.go
- emergencyservicecategory.go
- iradiovoice.go
- iradiovoiceindication.go
- iradiovoiceresponse.go
- lastcallfailcause.go
- lastcallfailcauseinfo.go
- srvccstate.go
- ssinfodata.go
- stkccunsolssresult.go
- ttymode.go
- ussdmodetype.go
- uusinfo.go