Documentation
¶
Index ¶
- Constants
- type AppStatus
- type CardPowerState
- type CardStatus
- type Carrier
- type CarrierInfo
- type CarrierRestrictions
- type CarrierRestrictionsCarrierRestrictionStatus
- type CdmaSubscriptionSource
- type IRadioSim
- type IRadioSimIndication
- type IRadioSimIndicationServer
- type IRadioSimResponse
- type IRadioSimResponseServer
- type IRadioSimServer
- type IccIo
- type IccIoResult
- type ImsiEncryptionInfo
- type PbReceivedStatus
- type PersoSubstate
- type PhonebookCapacity
- type PhonebookRecordInfo
- type PinState
- type Plmn
- type RadioSimIndicationProxy
- func (p *RadioSimIndicationProxy) AsBinder() binder.IBinder
- func (p *RadioSimIndicationProxy) CarrierInfoForImsiEncryption(ctx context.Context, info radio.RadioIndicationType) error
- func (p *RadioSimIndicationProxy) CdmaSubscriptionSourceChanged(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioSimIndicationProxy) SimPhonebookChanged(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioSimIndicationProxy) SimPhonebookRecordsReceived(ctx context.Context, type_ radio.RadioIndicationType, status PbReceivedStatus, ...) error
- func (p *RadioSimIndicationProxy) SimRefresh(ctx context.Context, type_ radio.RadioIndicationType, ...) error
- func (p *RadioSimIndicationProxy) SimStatusChanged(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioSimIndicationProxy) StkEventNotify(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
- func (p *RadioSimIndicationProxy) StkProactiveCommand(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
- func (p *RadioSimIndicationProxy) StkSessionEnd(ctx context.Context, type_ radio.RadioIndicationType) error
- func (p *RadioSimIndicationProxy) SubscriptionStatusChanged(ctx context.Context, type_ radio.RadioIndicationType, activate bool) error
- func (p *RadioSimIndicationProxy) UiccApplicationsEnablementChanged(ctx context.Context, type_ radio.RadioIndicationType, enabled bool) error
- type RadioSimIndicationStub
- type RadioSimProxy
- func (p *RadioSimProxy) AreUiccApplicationsEnabled(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) AsBinder() binder.IBinder
- func (p *RadioSimProxy) ChangeIccPin2ForApp(ctx context.Context, serial int32, oldPin2 string, newPin2 string, aid string) error
- func (p *RadioSimProxy) ChangeIccPinForApp(ctx context.Context, serial int32, oldPin string, newPin string, aid string) error
- func (p *RadioSimProxy) EnableUiccApplications(ctx context.Context, serial int32, enable bool) error
- func (p *RadioSimProxy) GetAllowedCarriers(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) GetCdmaSubscription(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) GetCdmaSubscriptionSource(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) GetFacilityLockForApp(ctx context.Context, serial int32, facility string, password string, ...) error
- func (p *RadioSimProxy) GetIccCardStatus(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) GetImsiForApp(ctx context.Context, serial int32, aid string) error
- func (p *RadioSimProxy) GetSimPhonebookCapacity(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) GetSimPhonebookRecords(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) IccCloseLogicalChannel(ctx context.Context, serial int32, channelId int32) error
- func (p *RadioSimProxy) IccCloseLogicalChannelWithSessionInfo(ctx context.Context, serial int32, sessionInfo SessionInfo) error
- func (p *RadioSimProxy) IccIoForApp(ctx context.Context, serial int32, iccIo IccIo) error
- func (p *RadioSimProxy) IccOpenLogicalChannel(ctx context.Context, serial int32, aid string, p2 int32) error
- func (p *RadioSimProxy) IccTransmitApduBasicChannel(ctx context.Context, serial int32, message SimApdu) error
- func (p *RadioSimProxy) IccTransmitApduLogicalChannel(ctx context.Context, serial int32, message SimApdu) error
- func (p *RadioSimProxy) ReportStkServiceIsRunning(ctx context.Context, serial int32) error
- func (p *RadioSimProxy) RequestIccSimAuthentication(ctx context.Context, serial int32, authContext int32, authData string, ...) error
- func (p *RadioSimProxy) ResponseAcknowledgement(ctx context.Context) error
- func (p *RadioSimProxy) SendEnvelope(ctx context.Context, serial int32, contents string) error
- func (p *RadioSimProxy) SendEnvelopeWithStatus(ctx context.Context, serial int32, contents string) error
- func (p *RadioSimProxy) SendTerminalResponseToSim(ctx context.Context, serial int32, contents string) error
- func (p *RadioSimProxy) SetAllowedCarriers(ctx context.Context, serial int32, carriers CarrierRestrictions, ...) error
- func (p *RadioSimProxy) SetCarrierInfoForImsiEncryption(ctx context.Context, serial int32, imsiEncryptionInfo ImsiEncryptionInfo) error
- func (p *RadioSimProxy) SetCdmaSubscriptionSource(ctx context.Context, serial int32, cdmaSub CdmaSubscriptionSource) error
- func (p *RadioSimProxy) SetFacilityLockForApp(ctx context.Context, serial int32, facility string, lockState bool, ...) error
- func (p *RadioSimProxy) SetResponseFunctions(ctx context.Context, radioSimResponse IRadioSimResponse, ...) error
- func (p *RadioSimProxy) SetSimCardPower(ctx context.Context, serial int32, powerUp CardPowerState) error
- func (p *RadioSimProxy) SetUiccSubscription(ctx context.Context, serial int32, uiccSub SelectUiccSub) error
- func (p *RadioSimProxy) SupplyIccPin2ForApp(ctx context.Context, serial int32, pin2 string, aid string) error
- func (p *RadioSimProxy) SupplyIccPinForApp(ctx context.Context, serial int32, pin string, aid string) error
- func (p *RadioSimProxy) SupplyIccPuk2ForApp(ctx context.Context, serial int32, puk2 string, pin2 string, aid string) error
- func (p *RadioSimProxy) SupplyIccPukForApp(ctx context.Context, serial int32, puk string, pin string, aid string) error
- func (p *RadioSimProxy) SupplySimDepersonalization(ctx context.Context, serial int32, persoType PersoSubstate, controlKey string) error
- func (p *RadioSimProxy) UpdateSimPhonebookRecords(ctx context.Context, serial int32, recordInfo PhonebookRecordInfo) error
- type RadioSimResponseProxy
- func (p *RadioSimResponseProxy) AcknowledgeRequest(ctx context.Context, serial int32) error
- func (p *RadioSimResponseProxy) AreUiccApplicationsEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enabled bool) error
- func (p *RadioSimResponseProxy) AsBinder() binder.IBinder
- func (p *RadioSimResponseProxy) ChangeIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) ChangeIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) EnableUiccApplicationsResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) GetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo, ...) error
- func (p *RadioSimResponseProxy) GetCdmaSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo, mdn string, hSid string, ...) error
- func (p *RadioSimResponseProxy) GetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo, ...) error
- func (p *RadioSimResponseProxy) GetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, response int32) error
- func (p *RadioSimResponseProxy) GetIccCardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, cardStatus CardStatus) error
- func (p *RadioSimResponseProxy) GetImsiForAppResponse(ctx context.Context, info radio.RadioResponseInfo, imsi string) error
- func (p *RadioSimResponseProxy) GetSimPhonebookCapacityResponse(ctx context.Context, info radio.RadioResponseInfo, capacity PhonebookCapacity) error
- func (p *RadioSimResponseProxy) GetSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) IccCloseLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) IccCloseLogicalChannelWithSessionInfoResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) IccIoForAppResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
- func (p *RadioSimResponseProxy) IccOpenLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, channelId int32, ...) error
- func (p *RadioSimResponseProxy) IccTransmitApduBasicChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
- func (p *RadioSimResponseProxy) IccTransmitApduLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
- func (p *RadioSimResponseProxy) ReportStkServiceIsRunningResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) RequestIccSimAuthenticationResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
- func (p *RadioSimResponseProxy) SendEnvelopeResponse(ctx context.Context, info radio.RadioResponseInfo, commandResponse string) error
- func (p *RadioSimResponseProxy) SendEnvelopeWithStatusResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
- func (p *RadioSimResponseProxy) SendTerminalResponseToSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SetCarrierInfoForImsiEncryptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, retry int32) error
- func (p *RadioSimResponseProxy) SetSimCardPowerResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SetUiccSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
- func (p *RadioSimResponseProxy) SupplyIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) SupplyIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) SupplyIccPuk2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) SupplyIccPukForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
- func (p *RadioSimResponseProxy) SupplySimDepersonalizationResponse(ctx context.Context, info radio.RadioResponseInfo, persoType PersoSubstate, ...) error
- func (p *RadioSimResponseProxy) UpdateSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo, updatedRecordIndex int32) error
- type RadioSimResponseStub
- type RadioSimStub
- type SelectUiccSub
- type SessionInfo
- type SimApdu
- type SimLockMultiSimPolicy
- type SimRefreshResult
Constants ¶
const ( AppStatusAppStateUnknown int32 = 0 AppStatusAppStateDetected int32 = 1 AppStatusAppStatePin int32 = 2 AppStatusAppStatePuk int32 = 3 AppStatusAppStateSubscriptionPerso int32 = 4 AppStatusAppStateReady int32 = 5 AppStatusAppTypeUnknown int32 = 0 AppStatusAppTypeSim int32 = 1 AppStatusAppTypeUsim int32 = 2 AppStatusAppTypeRuim int32 = 3 AppStatusAppTypeCsim int32 = 4 AppStatusAppTypeIsim int32 = 5 )
const ( CardStatusStateAbsent int32 = 0 CardStatusStatePresent int32 = 1 CardStatusStateError int32 = 2 CardStatusStateRestricted int32 = 3 )
const ( CarrierMatchTypeAll int32 = 0 CarrierMatchTypeSpn int32 = 1 CarrierMatchTypeImsiPrefix int32 = 2 CarrierMatchTypeGid1 int32 = 3 CarrierMatchTypeGid2 int32 = 4 )
const ( ImsiEncryptionInfoPublicKeyTypeEpdg byte = 1 ImsiEncryptionInfoPublicKeyTypeWlan byte = 2 )
const ( TransactionIRadioSimAreUiccApplicationsEnabled = binder.FirstCallTransaction + 0 TransactionIRadioSimChangeIccPin2ForApp = binder.FirstCallTransaction + 1 TransactionIRadioSimChangeIccPinForApp = binder.FirstCallTransaction + 2 TransactionIRadioSimEnableUiccApplications = binder.FirstCallTransaction + 3 TransactionIRadioSimGetAllowedCarriers = binder.FirstCallTransaction + 4 TransactionIRadioSimGetCdmaSubscription = binder.FirstCallTransaction + 5 TransactionIRadioSimGetCdmaSubscriptionSource = binder.FirstCallTransaction + 6 TransactionIRadioSimGetFacilityLockForApp = binder.FirstCallTransaction + 7 TransactionIRadioSimGetIccCardStatus = binder.FirstCallTransaction + 8 TransactionIRadioSimGetImsiForApp = binder.FirstCallTransaction + 9 TransactionIRadioSimGetSimPhonebookCapacity = binder.FirstCallTransaction + 10 TransactionIRadioSimGetSimPhonebookRecords = binder.FirstCallTransaction + 11 TransactionIRadioSimIccCloseLogicalChannel = binder.FirstCallTransaction + 12 TransactionIRadioSimIccIoForApp = binder.FirstCallTransaction + 13 TransactionIRadioSimIccOpenLogicalChannel = binder.FirstCallTransaction + 14 TransactionIRadioSimIccTransmitApduBasicChannel = binder.FirstCallTransaction + 15 TransactionIRadioSimIccTransmitApduLogicalChannel = binder.FirstCallTransaction + 16 TransactionIRadioSimReportStkServiceIsRunning = binder.FirstCallTransaction + 17 TransactionIRadioSimRequestIccSimAuthentication = binder.FirstCallTransaction + 18 TransactionIRadioSimResponseAcknowledgement = binder.FirstCallTransaction + 19 TransactionIRadioSimSendEnvelope = binder.FirstCallTransaction + 20 TransactionIRadioSimSendEnvelopeWithStatus = binder.FirstCallTransaction + 21 TransactionIRadioSimSendTerminalResponseToSim = binder.FirstCallTransaction + 22 TransactionIRadioSimSetAllowedCarriers = binder.FirstCallTransaction + 23 TransactionIRadioSimSetCarrierInfoForImsiEncryption = binder.FirstCallTransaction + 24 TransactionIRadioSimSetCdmaSubscriptionSource = binder.FirstCallTransaction + 25 TransactionIRadioSimSetFacilityLockForApp = binder.FirstCallTransaction + 26 TransactionIRadioSimSetResponseFunctions = binder.FirstCallTransaction + 27 TransactionIRadioSimSetSimCardPower = binder.FirstCallTransaction + 28 TransactionIRadioSimSetUiccSubscription = binder.FirstCallTransaction + 29 TransactionIRadioSimSupplyIccPin2ForApp = binder.FirstCallTransaction + 30 TransactionIRadioSimSupplyIccPinForApp = binder.FirstCallTransaction + 31 TransactionIRadioSimSupplyIccPuk2ForApp = binder.FirstCallTransaction + 32 TransactionIRadioSimSupplyIccPukForApp = binder.FirstCallTransaction + 33 TransactionIRadioSimSupplySimDepersonalization = binder.FirstCallTransaction + 34 TransactionIRadioSimUpdateSimPhonebookRecords = binder.FirstCallTransaction + 35 TransactionIRadioSimIccCloseLogicalChannelWithSessionInfo = binder.FirstCallTransaction + 36 )
const ( MethodIRadioSimAreUiccApplicationsEnabled = "areUiccApplicationsEnabled" MethodIRadioSimChangeIccPin2ForApp = "changeIccPin2ForApp" MethodIRadioSimChangeIccPinForApp = "changeIccPinForApp" MethodIRadioSimEnableUiccApplications = "enableUiccApplications" MethodIRadioSimGetAllowedCarriers = "getAllowedCarriers" MethodIRadioSimGetCdmaSubscription = "getCdmaSubscription" MethodIRadioSimGetCdmaSubscriptionSource = "getCdmaSubscriptionSource" MethodIRadioSimGetFacilityLockForApp = "getFacilityLockForApp" MethodIRadioSimGetIccCardStatus = "getIccCardStatus" MethodIRadioSimGetImsiForApp = "getImsiForApp" MethodIRadioSimGetSimPhonebookCapacity = "getSimPhonebookCapacity" MethodIRadioSimGetSimPhonebookRecords = "getSimPhonebookRecords" MethodIRadioSimIccCloseLogicalChannel = "iccCloseLogicalChannel" MethodIRadioSimIccIoForApp = "iccIoForApp" MethodIRadioSimIccOpenLogicalChannel = "iccOpenLogicalChannel" MethodIRadioSimIccTransmitApduBasicChannel = "iccTransmitApduBasicChannel" MethodIRadioSimIccTransmitApduLogicalChannel = "iccTransmitApduLogicalChannel" MethodIRadioSimReportStkServiceIsRunning = "reportStkServiceIsRunning" MethodIRadioSimRequestIccSimAuthentication = "requestIccSimAuthentication" MethodIRadioSimResponseAcknowledgement = "responseAcknowledgement" MethodIRadioSimSendEnvelope = "sendEnvelope" MethodIRadioSimSendEnvelopeWithStatus = "sendEnvelopeWithStatus" MethodIRadioSimSendTerminalResponseToSim = "sendTerminalResponseToSim" MethodIRadioSimSetAllowedCarriers = "setAllowedCarriers" MethodIRadioSimSetCarrierInfoForImsiEncryption = "setCarrierInfoForImsiEncryption" MethodIRadioSimSetCdmaSubscriptionSource = "setCdmaSubscriptionSource" MethodIRadioSimSetFacilityLockForApp = "setFacilityLockForApp" MethodIRadioSimSetResponseFunctions = "setResponseFunctions" MethodIRadioSimSetSimCardPower = "setSimCardPower" MethodIRadioSimSetUiccSubscription = "setUiccSubscription" MethodIRadioSimSupplyIccPin2ForApp = "supplyIccPin2ForApp" MethodIRadioSimSupplyIccPinForApp = "supplyIccPinForApp" MethodIRadioSimSupplyIccPuk2ForApp = "supplyIccPuk2ForApp" MethodIRadioSimSupplyIccPukForApp = "supplyIccPukForApp" MethodIRadioSimSupplySimDepersonalization = "supplySimDepersonalization" MethodIRadioSimUpdateSimPhonebookRecords = "updateSimPhonebookRecords" MethodIRadioSimIccCloseLogicalChannelWithSessionInfo = "iccCloseLogicalChannelWithSessionInfo" )
const ( TransactionIRadioSimIndicationCarrierInfoForImsiEncryption = binder.FirstCallTransaction + 0 TransactionIRadioSimIndicationCdmaSubscriptionSourceChanged = binder.FirstCallTransaction + 1 TransactionIRadioSimIndicationSimPhonebookChanged = binder.FirstCallTransaction + 2 TransactionIRadioSimIndicationSimPhonebookRecordsReceived = binder.FirstCallTransaction + 3 TransactionIRadioSimIndicationSimRefresh = binder.FirstCallTransaction + 4 TransactionIRadioSimIndicationSimStatusChanged = binder.FirstCallTransaction + 5 TransactionIRadioSimIndicationStkEventNotify = binder.FirstCallTransaction + 6 TransactionIRadioSimIndicationStkProactiveCommand = binder.FirstCallTransaction + 7 TransactionIRadioSimIndicationStkSessionEnd = binder.FirstCallTransaction + 8 TransactionIRadioSimIndicationSubscriptionStatusChanged = binder.FirstCallTransaction + 9 TransactionIRadioSimIndicationUiccApplicationsEnablementChanged = binder.FirstCallTransaction + 10 )
const ( MethodIRadioSimIndicationCarrierInfoForImsiEncryption = "carrierInfoForImsiEncryption" MethodIRadioSimIndicationCdmaSubscriptionSourceChanged = "cdmaSubscriptionSourceChanged" MethodIRadioSimIndicationSimPhonebookChanged = "simPhonebookChanged" MethodIRadioSimIndicationSimPhonebookRecordsReceived = "simPhonebookRecordsReceived" MethodIRadioSimIndicationSimRefresh = "simRefresh" MethodIRadioSimIndicationSimStatusChanged = "simStatusChanged" MethodIRadioSimIndicationStkEventNotify = "stkEventNotify" MethodIRadioSimIndicationStkProactiveCommand = "stkProactiveCommand" MethodIRadioSimIndicationStkSessionEnd = "stkSessionEnd" MethodIRadioSimIndicationSubscriptionStatusChanged = "subscriptionStatusChanged" MethodIRadioSimIndicationUiccApplicationsEnablementChanged = "uiccApplicationsEnablementChanged" )
const ( TransactionIRadioSimResponseAcknowledgeRequest = binder.FirstCallTransaction + 0 TransactionIRadioSimResponseAreUiccApplicationsEnabledResponse = binder.FirstCallTransaction + 1 TransactionIRadioSimResponseChangeIccPin2ForAppResponse = binder.FirstCallTransaction + 2 TransactionIRadioSimResponseChangeIccPinForAppResponse = binder.FirstCallTransaction + 3 TransactionIRadioSimResponseEnableUiccApplicationsResponse = binder.FirstCallTransaction + 4 TransactionIRadioSimResponseGetAllowedCarriersResponse = binder.FirstCallTransaction + 5 TransactionIRadioSimResponseGetCdmaSubscriptionResponse = binder.FirstCallTransaction + 6 TransactionIRadioSimResponseGetCdmaSubscriptionSourceResponse = binder.FirstCallTransaction + 7 TransactionIRadioSimResponseGetFacilityLockForAppResponse = binder.FirstCallTransaction + 8 TransactionIRadioSimResponseGetIccCardStatusResponse = binder.FirstCallTransaction + 9 TransactionIRadioSimResponseGetImsiForAppResponse = binder.FirstCallTransaction + 10 TransactionIRadioSimResponseGetSimPhonebookCapacityResponse = binder.FirstCallTransaction + 11 TransactionIRadioSimResponseGetSimPhonebookRecordsResponse = binder.FirstCallTransaction + 12 TransactionIRadioSimResponseIccCloseLogicalChannelResponse = binder.FirstCallTransaction + 13 TransactionIRadioSimResponseIccIoForAppResponse = binder.FirstCallTransaction + 14 TransactionIRadioSimResponseIccOpenLogicalChannelResponse = binder.FirstCallTransaction + 15 TransactionIRadioSimResponseIccTransmitApduBasicChannelResponse = binder.FirstCallTransaction + 16 TransactionIRadioSimResponseIccTransmitApduLogicalChannelResponse = binder.FirstCallTransaction + 17 TransactionIRadioSimResponseReportStkServiceIsRunningResponse = binder.FirstCallTransaction + 18 TransactionIRadioSimResponseRequestIccSimAuthenticationResponse = binder.FirstCallTransaction + 19 TransactionIRadioSimResponseSendEnvelopeResponse = binder.FirstCallTransaction + 20 TransactionIRadioSimResponseSendEnvelopeWithStatusResponse = binder.FirstCallTransaction + 21 TransactionIRadioSimResponseSendTerminalResponseToSimResponse = binder.FirstCallTransaction + 22 TransactionIRadioSimResponseSetAllowedCarriersResponse = binder.FirstCallTransaction + 23 TransactionIRadioSimResponseSetCarrierInfoForImsiEncryptionResponse = binder.FirstCallTransaction + 24 TransactionIRadioSimResponseSetCdmaSubscriptionSourceResponse = binder.FirstCallTransaction + 25 TransactionIRadioSimResponseSetFacilityLockForAppResponse = binder.FirstCallTransaction + 26 TransactionIRadioSimResponseSetSimCardPowerResponse = binder.FirstCallTransaction + 27 TransactionIRadioSimResponseSetUiccSubscriptionResponse = binder.FirstCallTransaction + 28 TransactionIRadioSimResponseSupplyIccPin2ForAppResponse = binder.FirstCallTransaction + 29 TransactionIRadioSimResponseSupplyIccPinForAppResponse = binder.FirstCallTransaction + 30 TransactionIRadioSimResponseSupplyIccPuk2ForAppResponse = binder.FirstCallTransaction + 31 TransactionIRadioSimResponseSupplyIccPukForAppResponse = binder.FirstCallTransaction + 32 TransactionIRadioSimResponseSupplySimDepersonalizationResponse = binder.FirstCallTransaction + 33 TransactionIRadioSimResponseUpdateSimPhonebookRecordsResponse = binder.FirstCallTransaction + 34 TransactionIRadioSimResponseIccCloseLogicalChannelWithSessionInfoResponse = binder.FirstCallTransaction + 35 )
const ( MethodIRadioSimResponseAcknowledgeRequest = "acknowledgeRequest" MethodIRadioSimResponseAreUiccApplicationsEnabledResponse = "areUiccApplicationsEnabledResponse" MethodIRadioSimResponseChangeIccPin2ForAppResponse = "changeIccPin2ForAppResponse" MethodIRadioSimResponseChangeIccPinForAppResponse = "changeIccPinForAppResponse" MethodIRadioSimResponseEnableUiccApplicationsResponse = "enableUiccApplicationsResponse" MethodIRadioSimResponseGetAllowedCarriersResponse = "getAllowedCarriersResponse" MethodIRadioSimResponseGetCdmaSubscriptionResponse = "getCdmaSubscriptionResponse" MethodIRadioSimResponseGetCdmaSubscriptionSourceResponse = "getCdmaSubscriptionSourceResponse" MethodIRadioSimResponseGetFacilityLockForAppResponse = "getFacilityLockForAppResponse" MethodIRadioSimResponseGetIccCardStatusResponse = "getIccCardStatusResponse" MethodIRadioSimResponseGetImsiForAppResponse = "getImsiForAppResponse" MethodIRadioSimResponseGetSimPhonebookCapacityResponse = "getSimPhonebookCapacityResponse" MethodIRadioSimResponseGetSimPhonebookRecordsResponse = "getSimPhonebookRecordsResponse" MethodIRadioSimResponseIccCloseLogicalChannelResponse = "iccCloseLogicalChannelResponse" MethodIRadioSimResponseIccIoForAppResponse = "iccIoForAppResponse" MethodIRadioSimResponseIccOpenLogicalChannelResponse = "iccOpenLogicalChannelResponse" MethodIRadioSimResponseIccTransmitApduBasicChannelResponse = "iccTransmitApduBasicChannelResponse" MethodIRadioSimResponseIccTransmitApduLogicalChannelResponse = "iccTransmitApduLogicalChannelResponse" MethodIRadioSimResponseReportStkServiceIsRunningResponse = "reportStkServiceIsRunningResponse" MethodIRadioSimResponseRequestIccSimAuthenticationResponse = "requestIccSimAuthenticationResponse" MethodIRadioSimResponseSendEnvelopeResponse = "sendEnvelopeResponse" MethodIRadioSimResponseSendEnvelopeWithStatusResponse = "sendEnvelopeWithStatusResponse" MethodIRadioSimResponseSendTerminalResponseToSimResponse = "sendTerminalResponseToSimResponse" MethodIRadioSimResponseSetAllowedCarriersResponse = "setAllowedCarriersResponse" MethodIRadioSimResponseSetCarrierInfoForImsiEncryptionResponse = "setCarrierInfoForImsiEncryptionResponse" MethodIRadioSimResponseSetCdmaSubscriptionSourceResponse = "setCdmaSubscriptionSourceResponse" MethodIRadioSimResponseSetFacilityLockForAppResponse = "setFacilityLockForAppResponse" MethodIRadioSimResponseSetSimCardPowerResponse = "setSimCardPowerResponse" MethodIRadioSimResponseSetUiccSubscriptionResponse = "setUiccSubscriptionResponse" MethodIRadioSimResponseSupplyIccPin2ForAppResponse = "supplyIccPin2ForAppResponse" MethodIRadioSimResponseSupplyIccPinForAppResponse = "supplyIccPinForAppResponse" MethodIRadioSimResponseSupplyIccPuk2ForAppResponse = "supplyIccPuk2ForAppResponse" MethodIRadioSimResponseSupplyIccPukForAppResponse = "supplyIccPukForAppResponse" MethodIRadioSimResponseSupplySimDepersonalizationResponse = "supplySimDepersonalizationResponse" MethodIRadioSimResponseUpdateSimPhonebookRecordsResponse = "updateSimPhonebookRecordsResponse" MethodIRadioSimResponseIccCloseLogicalChannelWithSessionInfoResponse = "iccCloseLogicalChannelWithSessionInfoResponse" )
const ( SelectUiccSubSubscriptionType1 int32 = 0 SelectUiccSubSubscriptionType2 int32 = 1 SelectUiccSubSubscriptionType3 int32 = 2 SelectUiccSubActStatusDeactivate int32 = 0 SelectUiccSubActStatusActivate int32 = 1 )
const ( SimRefreshResultTypeSimFileUpdate int32 = 0 SimRefreshResultTypeSimInit int32 = 1 SimRefreshResultTypeSimReset int32 = 2 )
const DescriptorIRadioSim = "android.hardware.radio.sim.IRadioSim"
const DescriptorIRadioSimIndication = "android.hardware.radio.sim.IRadioSimIndication"
const DescriptorIRadioSimResponse = "android.hardware.radio.sim.IRadioSimResponse"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatus ¶
type CardPowerState ¶
type CardPowerState int32
const ( CardPowerStatePowerDown CardPowerState = 0 CardPowerStatePowerUp CardPowerState = 1 CardPowerStatePowerUpPassThrough CardPowerState = 2 )
type CardStatus ¶
type CardStatus struct {
CardState int32
UniversalPinState PinState
GsmUmtsSubscriptionAppIndex int32
CdmaSubscriptionAppIndex int32
ImsSubscriptionAppIndex int32
Applications []AppStatus
Atr string
Iccid string
Eid string
SlotMap config.SlotPortMapping
SupportedMepMode config.MultipleEnabledProfilesMode
}
func (*CardStatus) MarshalParcel ¶
func (s *CardStatus) MarshalParcel( p *parcel.Parcel, ) error
func (*CardStatus) UnmarshalParcel ¶
func (s *CardStatus) UnmarshalParcel( p *parcel.Parcel, ) error
type CarrierInfo ¶
type CarrierInfo struct {
Mcc string
Mnc string
Spn string
Gid1 string
Gid2 string
ImsiPrefix string
Ehplmn []Plmn
Iccid string
Impi string
}
func (*CarrierInfo) MarshalParcel ¶
func (s *CarrierInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*CarrierInfo) UnmarshalParcel ¶
func (s *CarrierInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type CarrierRestrictions ¶
type CarrierRestrictions struct {
AllowedCarriers []Carrier
ExcludedCarriers []Carrier
AllowedCarriersPrioritized bool
Status CarrierRestrictionsCarrierRestrictionStatus
AllowedCarrierInfoList []CarrierInfo
ExcludedCarrierInfoList []CarrierInfo
}
func (*CarrierRestrictions) MarshalParcel ¶
func (s *CarrierRestrictions) MarshalParcel( p *parcel.Parcel, ) error
func (*CarrierRestrictions) UnmarshalParcel ¶
func (s *CarrierRestrictions) UnmarshalParcel( p *parcel.Parcel, ) error
type CarrierRestrictionsCarrierRestrictionStatus ¶
type CarrierRestrictionsCarrierRestrictionStatus int32
const ( CarrierRestrictionsCarrierRestrictionStatusUNKNOWN CarrierRestrictionsCarrierRestrictionStatus = 0 CarrierRestrictionsCarrierRestrictionStatusNotRestricted CarrierRestrictionsCarrierRestrictionStatus = 1 CarrierRestrictionsCarrierRestrictionStatusRESTRICTED CarrierRestrictionsCarrierRestrictionStatus = 2 )
type CdmaSubscriptionSource ¶
type CdmaSubscriptionSource int32
const ( CdmaSubscriptionSourceRuimSim CdmaSubscriptionSource = 0 CdmaSubscriptionSourceNV CdmaSubscriptionSource = 1 )
type IRadioSim ¶
type IRadioSim interface {
AsBinder() binder.IBinder
AreUiccApplicationsEnabled(ctx context.Context, serial int32) error
ChangeIccPin2ForApp(ctx context.Context, serial int32, oldPin2 string, newPin2 string, aid string) error
ChangeIccPinForApp(ctx context.Context, serial int32, oldPin string, newPin string, aid string) error
EnableUiccApplications(ctx context.Context, serial int32, enable bool) error
GetAllowedCarriers(ctx context.Context, serial int32) error
GetCdmaSubscription(ctx context.Context, serial int32) error
GetCdmaSubscriptionSource(ctx context.Context, serial int32) error
GetFacilityLockForApp(ctx context.Context, serial int32, facility string, password string, serviceClass int32, appId string) error
GetIccCardStatus(ctx context.Context, serial int32) error
GetImsiForApp(ctx context.Context, serial int32, aid string) error
GetSimPhonebookCapacity(ctx context.Context, serial int32) error
GetSimPhonebookRecords(ctx context.Context, serial int32) error
IccCloseLogicalChannel(ctx context.Context, serial int32, channelId int32) error
IccIoForApp(ctx context.Context, serial int32, iccIo IccIo) error
IccOpenLogicalChannel(ctx context.Context, serial int32, aid string, p2 int32) error
IccTransmitApduBasicChannel(ctx context.Context, serial int32, message SimApdu) error
IccTransmitApduLogicalChannel(ctx context.Context, serial int32, message SimApdu) error
ReportStkServiceIsRunning(ctx context.Context, serial int32) error
RequestIccSimAuthentication(ctx context.Context, serial int32, authContext int32, authData string, aid string) error
ResponseAcknowledgement(ctx context.Context) error
SendEnvelope(ctx context.Context, serial int32, contents string) error
SendEnvelopeWithStatus(ctx context.Context, serial int32, contents string) error
SendTerminalResponseToSim(ctx context.Context, serial int32, contents string) error
SetAllowedCarriers(ctx context.Context, serial int32, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy) error
SetCarrierInfoForImsiEncryption(ctx context.Context, serial int32, imsiEncryptionInfo ImsiEncryptionInfo) error
SetCdmaSubscriptionSource(ctx context.Context, serial int32, cdmaSub CdmaSubscriptionSource) error
SetFacilityLockForApp(ctx context.Context, serial int32, facility string, lockState bool, password string, serviceClass int32, appId string) error
SetResponseFunctions(ctx context.Context, radioSimResponse IRadioSimResponse, radioSimIndication IRadioSimIndication) error
SetSimCardPower(ctx context.Context, serial int32, powerUp CardPowerState) error
SetUiccSubscription(ctx context.Context, serial int32, uiccSub SelectUiccSub) error
SupplyIccPin2ForApp(ctx context.Context, serial int32, pin2 string, aid string) error
SupplyIccPinForApp(ctx context.Context, serial int32, pin string, aid string) error
SupplyIccPuk2ForApp(ctx context.Context, serial int32, puk2 string, pin2 string, aid string) error
SupplyIccPukForApp(ctx context.Context, serial int32, puk string, pin string, aid string) error
SupplySimDepersonalization(ctx context.Context, serial int32, persoType PersoSubstate, controlKey string) error
UpdateSimPhonebookRecords(ctx context.Context, serial int32, recordInfo PhonebookRecordInfo) error
IccCloseLogicalChannelWithSessionInfo(ctx context.Context, serial int32, sessionInfo SessionInfo) error
}
func NewRadioSimStub ¶
func NewRadioSimStub( impl IRadioSimServer, ) IRadioSim
NewRadioSimStub creates a server-side IRadioSim wrapping the given server implementation. The returned value satisfies IRadioSim 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 IRadioSimIndication ¶
type IRadioSimIndication interface {
AsBinder() binder.IBinder
CarrierInfoForImsiEncryption(ctx context.Context, info radio.RadioIndicationType) error
CdmaSubscriptionSourceChanged(ctx context.Context, type_ radio.RadioIndicationType, cdmaSource CdmaSubscriptionSource) error
SimPhonebookChanged(ctx context.Context, type_ radio.RadioIndicationType) error
SimPhonebookRecordsReceived(ctx context.Context, type_ radio.RadioIndicationType, status PbReceivedStatus, records []PhonebookRecordInfo) error
SimRefresh(ctx context.Context, type_ radio.RadioIndicationType, refreshResult SimRefreshResult) error
SimStatusChanged(ctx context.Context, type_ radio.RadioIndicationType) error
StkEventNotify(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
StkProactiveCommand(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
StkSessionEnd(ctx context.Context, type_ radio.RadioIndicationType) error
SubscriptionStatusChanged(ctx context.Context, type_ radio.RadioIndicationType, activate bool) error
UiccApplicationsEnablementChanged(ctx context.Context, type_ radio.RadioIndicationType, enabled bool) error
}
func NewRadioSimIndicationStub ¶
func NewRadioSimIndicationStub( impl IRadioSimIndicationServer, ) IRadioSimIndication
NewRadioSimIndicationStub creates a server-side IRadioSimIndication wrapping the given server implementation. The returned value satisfies IRadioSimIndication 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 IRadioSimIndicationServer ¶
type IRadioSimIndicationServer interface {
CarrierInfoForImsiEncryption(ctx context.Context, info radio.RadioIndicationType) error
CdmaSubscriptionSourceChanged(ctx context.Context, type_ radio.RadioIndicationType, cdmaSource CdmaSubscriptionSource) error
SimPhonebookChanged(ctx context.Context, type_ radio.RadioIndicationType) error
SimPhonebookRecordsReceived(ctx context.Context, type_ radio.RadioIndicationType, status PbReceivedStatus, records []PhonebookRecordInfo) error
SimRefresh(ctx context.Context, type_ radio.RadioIndicationType, refreshResult SimRefreshResult) error
SimStatusChanged(ctx context.Context, type_ radio.RadioIndicationType) error
StkEventNotify(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
StkProactiveCommand(ctx context.Context, type_ radio.RadioIndicationType, cmd string) error
StkSessionEnd(ctx context.Context, type_ radio.RadioIndicationType) error
SubscriptionStatusChanged(ctx context.Context, type_ radio.RadioIndicationType, activate bool) error
UiccApplicationsEnablementChanged(ctx context.Context, type_ radio.RadioIndicationType, enabled bool) error
}
IRadioSimIndicationServer is the server-side interface that user implementations provide to NewRadioSimIndicationStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRadioSimResponse ¶
type IRadioSimResponse interface {
AsBinder() binder.IBinder
AcknowledgeRequest(ctx context.Context, serial int32) error
AreUiccApplicationsEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enabled bool) error
ChangeIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
ChangeIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
EnableUiccApplicationsResponse(ctx context.Context, info radio.RadioResponseInfo) error
GetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy) error
GetCdmaSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo, mdn string, hSid string, hNid string, min_ string, prl string) error
GetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo, source CdmaSubscriptionSource) error
GetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, response int32) error
GetIccCardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, cardStatus CardStatus) error
GetImsiForAppResponse(ctx context.Context, info radio.RadioResponseInfo, imsi string) error
GetSimPhonebookCapacityResponse(ctx context.Context, info radio.RadioResponseInfo, capacity PhonebookCapacity) error
GetSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo) error
IccCloseLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo) error
IccIoForAppResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
IccOpenLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, channelId int32, selectResponse []byte) error
IccTransmitApduBasicChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
IccTransmitApduLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
ReportStkServiceIsRunningResponse(ctx context.Context, info radio.RadioResponseInfo) error
RequestIccSimAuthenticationResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
SendEnvelopeResponse(ctx context.Context, info radio.RadioResponseInfo, commandResponse string) error
SendEnvelopeWithStatusResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
SendTerminalResponseToSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCarrierInfoForImsiEncryptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, retry int32) error
SetSimCardPowerResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetUiccSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SupplyIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPuk2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPukForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplySimDepersonalizationResponse(ctx context.Context, info radio.RadioResponseInfo, persoType PersoSubstate, remainingRetries int32) error
UpdateSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo, updatedRecordIndex int32) error
IccCloseLogicalChannelWithSessionInfoResponse(ctx context.Context, info radio.RadioResponseInfo) error
}
func NewRadioSimResponseStub ¶
func NewRadioSimResponseStub( impl IRadioSimResponseServer, ) IRadioSimResponse
NewRadioSimResponseStub creates a server-side IRadioSimResponse wrapping the given server implementation. The returned value satisfies IRadioSimResponse 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 IRadioSimResponseServer ¶
type IRadioSimResponseServer interface {
AcknowledgeRequest(ctx context.Context, serial int32) error
AreUiccApplicationsEnabledResponse(ctx context.Context, info radio.RadioResponseInfo, enabled bool) error
ChangeIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
ChangeIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
EnableUiccApplicationsResponse(ctx context.Context, info radio.RadioResponseInfo) error
GetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy) error
GetCdmaSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo, mdn string, hSid string, hNid string, min_ string, prl string) error
GetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo, source CdmaSubscriptionSource) error
GetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, response int32) error
GetIccCardStatusResponse(ctx context.Context, info radio.RadioResponseInfo, cardStatus CardStatus) error
GetImsiForAppResponse(ctx context.Context, info radio.RadioResponseInfo, imsi string) error
GetSimPhonebookCapacityResponse(ctx context.Context, info radio.RadioResponseInfo, capacity PhonebookCapacity) error
GetSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo) error
IccCloseLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo) error
IccIoForAppResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
IccOpenLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, channelId int32, selectResponse []byte) error
IccTransmitApduBasicChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
IccTransmitApduLogicalChannelResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
ReportStkServiceIsRunningResponse(ctx context.Context, info radio.RadioResponseInfo) error
RequestIccSimAuthenticationResponse(ctx context.Context, info radio.RadioResponseInfo, result IccIoResult) error
SendEnvelopeResponse(ctx context.Context, info radio.RadioResponseInfo, commandResponse string) error
SendEnvelopeWithStatusResponse(ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult) error
SendTerminalResponseToSimResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetAllowedCarriersResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCarrierInfoForImsiEncryptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetCdmaSubscriptionSourceResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetFacilityLockForAppResponse(ctx context.Context, info radio.RadioResponseInfo, retry int32) error
SetSimCardPowerResponse(ctx context.Context, info radio.RadioResponseInfo) error
SetUiccSubscriptionResponse(ctx context.Context, info radio.RadioResponseInfo) error
SupplyIccPin2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPinForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPuk2ForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplyIccPukForAppResponse(ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32) error
SupplySimDepersonalizationResponse(ctx context.Context, info radio.RadioResponseInfo, persoType PersoSubstate, remainingRetries int32) error
UpdateSimPhonebookRecordsResponse(ctx context.Context, info radio.RadioResponseInfo, updatedRecordIndex int32) error
IccCloseLogicalChannelWithSessionInfoResponse(ctx context.Context, info radio.RadioResponseInfo) error
}
IRadioSimResponseServer is the server-side interface that user implementations provide to NewRadioSimResponseStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRadioSimServer ¶
type IRadioSimServer interface {
AreUiccApplicationsEnabled(ctx context.Context, serial int32) error
ChangeIccPin2ForApp(ctx context.Context, serial int32, oldPin2 string, newPin2 string, aid string) error
ChangeIccPinForApp(ctx context.Context, serial int32, oldPin string, newPin string, aid string) error
EnableUiccApplications(ctx context.Context, serial int32, enable bool) error
GetAllowedCarriers(ctx context.Context, serial int32) error
GetCdmaSubscription(ctx context.Context, serial int32) error
GetCdmaSubscriptionSource(ctx context.Context, serial int32) error
GetFacilityLockForApp(ctx context.Context, serial int32, facility string, password string, serviceClass int32, appId string) error
GetIccCardStatus(ctx context.Context, serial int32) error
GetImsiForApp(ctx context.Context, serial int32, aid string) error
GetSimPhonebookCapacity(ctx context.Context, serial int32) error
GetSimPhonebookRecords(ctx context.Context, serial int32) error
IccCloseLogicalChannel(ctx context.Context, serial int32, channelId int32) error
IccIoForApp(ctx context.Context, serial int32, iccIo IccIo) error
IccOpenLogicalChannel(ctx context.Context, serial int32, aid string, p2 int32) error
IccTransmitApduBasicChannel(ctx context.Context, serial int32, message SimApdu) error
IccTransmitApduLogicalChannel(ctx context.Context, serial int32, message SimApdu) error
ReportStkServiceIsRunning(ctx context.Context, serial int32) error
RequestIccSimAuthentication(ctx context.Context, serial int32, authContext int32, authData string, aid string) error
ResponseAcknowledgement(ctx context.Context) error
SendEnvelope(ctx context.Context, serial int32, contents string) error
SendEnvelopeWithStatus(ctx context.Context, serial int32, contents string) error
SendTerminalResponseToSim(ctx context.Context, serial int32, contents string) error
SetAllowedCarriers(ctx context.Context, serial int32, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy) error
SetCarrierInfoForImsiEncryption(ctx context.Context, serial int32, imsiEncryptionInfo ImsiEncryptionInfo) error
SetCdmaSubscriptionSource(ctx context.Context, serial int32, cdmaSub CdmaSubscriptionSource) error
SetFacilityLockForApp(ctx context.Context, serial int32, facility string, lockState bool, password string, serviceClass int32, appId string) error
SetResponseFunctions(ctx context.Context, radioSimResponse IRadioSimResponse, radioSimIndication IRadioSimIndication) error
SetSimCardPower(ctx context.Context, serial int32, powerUp CardPowerState) error
SetUiccSubscription(ctx context.Context, serial int32, uiccSub SelectUiccSub) error
SupplyIccPin2ForApp(ctx context.Context, serial int32, pin2 string, aid string) error
SupplyIccPinForApp(ctx context.Context, serial int32, pin string, aid string) error
SupplyIccPuk2ForApp(ctx context.Context, serial int32, puk2 string, pin2 string, aid string) error
SupplyIccPukForApp(ctx context.Context, serial int32, puk string, pin string, aid string) error
SupplySimDepersonalization(ctx context.Context, serial int32, persoType PersoSubstate, controlKey string) error
UpdateSimPhonebookRecords(ctx context.Context, serial int32, recordInfo PhonebookRecordInfo) error
IccCloseLogicalChannelWithSessionInfo(ctx context.Context, serial int32, sessionInfo SessionInfo) error
}
IRadioSimServer is the server-side interface that user implementations provide to NewRadioSimStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IccIo ¶
type IccIoResult ¶
func (*IccIoResult) MarshalParcel ¶
func (s *IccIoResult) MarshalParcel( p *parcel.Parcel, ) error
func (*IccIoResult) UnmarshalParcel ¶
func (s *IccIoResult) UnmarshalParcel( p *parcel.Parcel, ) error
type ImsiEncryptionInfo ¶
type ImsiEncryptionInfo struct {
Mcc string
Mnc string
CarrierKey []byte
KeyIdentifier string
ExpirationTime int64
KeyType byte
}
func (*ImsiEncryptionInfo) MarshalParcel ¶
func (s *ImsiEncryptionInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*ImsiEncryptionInfo) UnmarshalParcel ¶
func (s *ImsiEncryptionInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type PbReceivedStatus ¶
type PbReceivedStatus byte
const ( PbReceivedStatusPbReceivedOk PbReceivedStatus = 1 PbReceivedStatusPbReceivedError PbReceivedStatus = 2 PbReceivedStatusPbReceivedAbort PbReceivedStatus = 3 PbReceivedStatusPbReceivedFinal PbReceivedStatus = 4 )
type PersoSubstate ¶
type PersoSubstate int32
const ( PersoSubstateUNKNOWN PersoSubstate = 0 PersoSubstateInProgress PersoSubstate = 1 PersoSubstateREADY PersoSubstate = 2 PersoSubstateSimNetwork PersoSubstate = 3 PersoSubstateSimNetworkSubset PersoSubstate = 4 PersoSubstateSimCorporate PersoSubstate = 5 PersoSubstateSimServiceProvider PersoSubstate = 6 PersoSubstateSimSim PersoSubstate = 7 PersoSubstateSimNetworkPuk PersoSubstate = 8 PersoSubstateSimNetworkSubsetPuk PersoSubstate = 9 PersoSubstateSimCorporatePuk PersoSubstate = 10 PersoSubstateSimServiceProviderPuk PersoSubstate = 11 PersoSubstateSimSimPuk PersoSubstate = 12 PersoSubstateRuimNetwork1 PersoSubstate = 13 PersoSubstateRuimNetwork2 PersoSubstate = 14 PersoSubstateRuimHrpd PersoSubstate = 15 PersoSubstateRuimCorporate PersoSubstate = 16 PersoSubstateRuimServiceProvider PersoSubstate = 17 PersoSubstateRuimRuim PersoSubstate = 18 PersoSubstateRuimNetwork1Puk PersoSubstate = 19 PersoSubstateRuimNetwork2Puk PersoSubstate = 20 PersoSubstateRuimHrpdPuk PersoSubstate = 21 PersoSubstateRuimCorporatePuk PersoSubstate = 22 PersoSubstateRuimServiceProviderPuk PersoSubstate = 23 PersoSubstateRuimRuimPuk PersoSubstate = 24 PersoSubstateSimSpn PersoSubstate = 25 PersoSubstateSimSpnPuk PersoSubstate = 26 PersoSubstateSimSpEhplmn PersoSubstate = 27 PersoSubstateSimSpEhplmnPuk PersoSubstate = 28 PersoSubstateSimIccid PersoSubstate = 29 PersoSubstateSimIccidPuk PersoSubstate = 30 PersoSubstateSimImpi PersoSubstate = 31 PersoSubstateSimImpiPuk PersoSubstate = 32 PersoSubstateSimNsSp PersoSubstate = 33 PersoSubstateSimNsSpPuk PersoSubstate = 34 )
type PhonebookCapacity ¶
type PhonebookCapacity struct {
MaxAdnRecords int32
UsedAdnRecords int32
MaxEmailRecords int32
UsedEmailRecords int32
MaxAdditionalNumberRecords int32
UsedAdditionalNumberRecords int32
MaxNameLen int32
MaxNumberLen int32
MaxEmailLen int32
MaxAdditionalNumberLen int32
}
func (*PhonebookCapacity) MarshalParcel ¶
func (s *PhonebookCapacity) MarshalParcel( p *parcel.Parcel, ) error
func (*PhonebookCapacity) UnmarshalParcel ¶
func (s *PhonebookCapacity) UnmarshalParcel( p *parcel.Parcel, ) error
type PhonebookRecordInfo ¶
type PhonebookRecordInfo struct {
RecordId int32
Name string
Number string
Emails []string
AdditionalNumbers []string
}
func (*PhonebookRecordInfo) MarshalParcel ¶
func (s *PhonebookRecordInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*PhonebookRecordInfo) UnmarshalParcel ¶
func (s *PhonebookRecordInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type RadioSimIndicationProxy ¶
func NewRadioSimIndicationProxy ¶
func NewRadioSimIndicationProxy( remote binder.IBinder, ) *RadioSimIndicationProxy
func (*RadioSimIndicationProxy) AsBinder ¶
func (p *RadioSimIndicationProxy) AsBinder() binder.IBinder
func (*RadioSimIndicationProxy) CarrierInfoForImsiEncryption ¶
func (p *RadioSimIndicationProxy) CarrierInfoForImsiEncryption( ctx context.Context, info radio.RadioIndicationType, ) error
func (*RadioSimIndicationProxy) CdmaSubscriptionSourceChanged ¶
func (p *RadioSimIndicationProxy) CdmaSubscriptionSourceChanged( ctx context.Context, type_ radio.RadioIndicationType, cdmaSource CdmaSubscriptionSource, ) error
func (*RadioSimIndicationProxy) SimPhonebookChanged ¶
func (p *RadioSimIndicationProxy) SimPhonebookChanged( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioSimIndicationProxy) SimPhonebookRecordsReceived ¶
func (p *RadioSimIndicationProxy) SimPhonebookRecordsReceived( ctx context.Context, type_ radio.RadioIndicationType, status PbReceivedStatus, records []PhonebookRecordInfo, ) error
func (*RadioSimIndicationProxy) SimRefresh ¶
func (p *RadioSimIndicationProxy) SimRefresh( ctx context.Context, type_ radio.RadioIndicationType, refreshResult SimRefreshResult, ) error
func (*RadioSimIndicationProxy) SimStatusChanged ¶
func (p *RadioSimIndicationProxy) SimStatusChanged( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioSimIndicationProxy) StkEventNotify ¶
func (p *RadioSimIndicationProxy) StkEventNotify( ctx context.Context, type_ radio.RadioIndicationType, cmd string, ) error
func (*RadioSimIndicationProxy) StkProactiveCommand ¶
func (p *RadioSimIndicationProxy) StkProactiveCommand( ctx context.Context, type_ radio.RadioIndicationType, cmd string, ) error
func (*RadioSimIndicationProxy) StkSessionEnd ¶
func (p *RadioSimIndicationProxy) StkSessionEnd( ctx context.Context, type_ radio.RadioIndicationType, ) error
func (*RadioSimIndicationProxy) SubscriptionStatusChanged ¶
func (p *RadioSimIndicationProxy) SubscriptionStatusChanged( ctx context.Context, type_ radio.RadioIndicationType, activate bool, ) error
func (*RadioSimIndicationProxy) UiccApplicationsEnablementChanged ¶
func (p *RadioSimIndicationProxy) UiccApplicationsEnablementChanged( ctx context.Context, type_ radio.RadioIndicationType, enabled bool, ) error
type RadioSimIndicationStub ¶
type RadioSimIndicationStub struct {
Impl IRadioSimIndication
Transport binder.VersionAwareTransport
}
RadioSimIndicationStub dispatches incoming binder transactions to a typed IRadioSimIndication implementation.
func (*RadioSimIndicationStub) Descriptor ¶
func (s *RadioSimIndicationStub) Descriptor() string
func (*RadioSimIndicationStub) OnTransaction ¶
func (s *RadioSimIndicationStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RadioSimProxy ¶
func NewRadioSimProxy ¶
func NewRadioSimProxy( remote binder.IBinder, ) *RadioSimProxy
func (*RadioSimProxy) AreUiccApplicationsEnabled ¶
func (p *RadioSimProxy) AreUiccApplicationsEnabled( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) AsBinder ¶
func (p *RadioSimProxy) AsBinder() binder.IBinder
func (*RadioSimProxy) ChangeIccPin2ForApp ¶
func (*RadioSimProxy) ChangeIccPinForApp ¶
func (*RadioSimProxy) EnableUiccApplications ¶
func (*RadioSimProxy) GetAllowedCarriers ¶
func (p *RadioSimProxy) GetAllowedCarriers( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) GetCdmaSubscription ¶
func (p *RadioSimProxy) GetCdmaSubscription( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) GetCdmaSubscriptionSource ¶
func (p *RadioSimProxy) GetCdmaSubscriptionSource( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) GetFacilityLockForApp ¶
func (*RadioSimProxy) GetIccCardStatus ¶
func (p *RadioSimProxy) GetIccCardStatus( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) GetImsiForApp ¶
func (*RadioSimProxy) GetSimPhonebookCapacity ¶
func (p *RadioSimProxy) GetSimPhonebookCapacity( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) GetSimPhonebookRecords ¶
func (p *RadioSimProxy) GetSimPhonebookRecords( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) IccCloseLogicalChannel ¶
func (*RadioSimProxy) IccCloseLogicalChannelWithSessionInfo ¶
func (p *RadioSimProxy) IccCloseLogicalChannelWithSessionInfo( ctx context.Context, serial int32, sessionInfo SessionInfo, ) error
func (*RadioSimProxy) IccIoForApp ¶
func (*RadioSimProxy) IccOpenLogicalChannel ¶
func (*RadioSimProxy) IccTransmitApduBasicChannel ¶
func (*RadioSimProxy) IccTransmitApduLogicalChannel ¶
func (*RadioSimProxy) ReportStkServiceIsRunning ¶
func (p *RadioSimProxy) ReportStkServiceIsRunning( ctx context.Context, serial int32, ) error
func (*RadioSimProxy) RequestIccSimAuthentication ¶
func (*RadioSimProxy) ResponseAcknowledgement ¶
func (p *RadioSimProxy) ResponseAcknowledgement( ctx context.Context, ) error
func (*RadioSimProxy) SendEnvelope ¶
func (*RadioSimProxy) SendEnvelopeWithStatus ¶
func (*RadioSimProxy) SendTerminalResponseToSim ¶
func (*RadioSimProxy) SetAllowedCarriers ¶
func (p *RadioSimProxy) SetAllowedCarriers( ctx context.Context, serial int32, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy, ) error
func (*RadioSimProxy) SetCarrierInfoForImsiEncryption ¶
func (p *RadioSimProxy) SetCarrierInfoForImsiEncryption( ctx context.Context, serial int32, imsiEncryptionInfo ImsiEncryptionInfo, ) error
func (*RadioSimProxy) SetCdmaSubscriptionSource ¶
func (p *RadioSimProxy) SetCdmaSubscriptionSource( ctx context.Context, serial int32, cdmaSub CdmaSubscriptionSource, ) error
func (*RadioSimProxy) SetFacilityLockForApp ¶
func (*RadioSimProxy) SetResponseFunctions ¶
func (p *RadioSimProxy) SetResponseFunctions( ctx context.Context, radioSimResponse IRadioSimResponse, radioSimIndication IRadioSimIndication, ) error
func (*RadioSimProxy) SetSimCardPower ¶
func (p *RadioSimProxy) SetSimCardPower( ctx context.Context, serial int32, powerUp CardPowerState, ) error
func (*RadioSimProxy) SetUiccSubscription ¶
func (p *RadioSimProxy) SetUiccSubscription( ctx context.Context, serial int32, uiccSub SelectUiccSub, ) error
func (*RadioSimProxy) SupplyIccPin2ForApp ¶
func (*RadioSimProxy) SupplyIccPinForApp ¶
func (*RadioSimProxy) SupplyIccPuk2ForApp ¶
func (*RadioSimProxy) SupplyIccPukForApp ¶
func (*RadioSimProxy) SupplySimDepersonalization ¶
func (p *RadioSimProxy) SupplySimDepersonalization( ctx context.Context, serial int32, persoType PersoSubstate, controlKey string, ) error
func (*RadioSimProxy) UpdateSimPhonebookRecords ¶
func (p *RadioSimProxy) UpdateSimPhonebookRecords( ctx context.Context, serial int32, recordInfo PhonebookRecordInfo, ) error
type RadioSimResponseProxy ¶
func NewRadioSimResponseProxy ¶
func NewRadioSimResponseProxy( remote binder.IBinder, ) *RadioSimResponseProxy
func (*RadioSimResponseProxy) AcknowledgeRequest ¶
func (p *RadioSimResponseProxy) AcknowledgeRequest( ctx context.Context, serial int32, ) error
func (*RadioSimResponseProxy) AreUiccApplicationsEnabledResponse ¶
func (p *RadioSimResponseProxy) AreUiccApplicationsEnabledResponse( ctx context.Context, info radio.RadioResponseInfo, enabled bool, ) error
func (*RadioSimResponseProxy) AsBinder ¶
func (p *RadioSimResponseProxy) AsBinder() binder.IBinder
func (*RadioSimResponseProxy) ChangeIccPin2ForAppResponse ¶
func (p *RadioSimResponseProxy) ChangeIccPin2ForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) ChangeIccPinForAppResponse ¶
func (p *RadioSimResponseProxy) ChangeIccPinForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) EnableUiccApplicationsResponse ¶
func (p *RadioSimResponseProxy) EnableUiccApplicationsResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) GetAllowedCarriersResponse ¶
func (p *RadioSimResponseProxy) GetAllowedCarriersResponse( ctx context.Context, info radio.RadioResponseInfo, carriers CarrierRestrictions, multiSimPolicy SimLockMultiSimPolicy, ) error
func (*RadioSimResponseProxy) GetCdmaSubscriptionResponse ¶
func (*RadioSimResponseProxy) GetCdmaSubscriptionSourceResponse ¶
func (p *RadioSimResponseProxy) GetCdmaSubscriptionSourceResponse( ctx context.Context, info radio.RadioResponseInfo, source CdmaSubscriptionSource, ) error
func (*RadioSimResponseProxy) GetFacilityLockForAppResponse ¶
func (p *RadioSimResponseProxy) GetFacilityLockForAppResponse( ctx context.Context, info radio.RadioResponseInfo, response int32, ) error
func (*RadioSimResponseProxy) GetIccCardStatusResponse ¶
func (p *RadioSimResponseProxy) GetIccCardStatusResponse( ctx context.Context, info radio.RadioResponseInfo, cardStatus CardStatus, ) error
func (*RadioSimResponseProxy) GetImsiForAppResponse ¶
func (p *RadioSimResponseProxy) GetImsiForAppResponse( ctx context.Context, info radio.RadioResponseInfo, imsi string, ) error
func (*RadioSimResponseProxy) GetSimPhonebookCapacityResponse ¶
func (p *RadioSimResponseProxy) GetSimPhonebookCapacityResponse( ctx context.Context, info radio.RadioResponseInfo, capacity PhonebookCapacity, ) error
func (*RadioSimResponseProxy) GetSimPhonebookRecordsResponse ¶
func (p *RadioSimResponseProxy) GetSimPhonebookRecordsResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) IccCloseLogicalChannelResponse ¶
func (p *RadioSimResponseProxy) IccCloseLogicalChannelResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) IccCloseLogicalChannelWithSessionInfoResponse ¶
func (p *RadioSimResponseProxy) IccCloseLogicalChannelWithSessionInfoResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) IccIoForAppResponse ¶
func (p *RadioSimResponseProxy) IccIoForAppResponse( ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult, ) error
func (*RadioSimResponseProxy) IccOpenLogicalChannelResponse ¶
func (p *RadioSimResponseProxy) IccOpenLogicalChannelResponse( ctx context.Context, info radio.RadioResponseInfo, channelId int32, selectResponse []byte, ) error
func (*RadioSimResponseProxy) IccTransmitApduBasicChannelResponse ¶
func (p *RadioSimResponseProxy) IccTransmitApduBasicChannelResponse( ctx context.Context, info radio.RadioResponseInfo, result IccIoResult, ) error
func (*RadioSimResponseProxy) IccTransmitApduLogicalChannelResponse ¶
func (p *RadioSimResponseProxy) IccTransmitApduLogicalChannelResponse( ctx context.Context, info radio.RadioResponseInfo, result IccIoResult, ) error
func (*RadioSimResponseProxy) ReportStkServiceIsRunningResponse ¶
func (p *RadioSimResponseProxy) ReportStkServiceIsRunningResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) RequestIccSimAuthenticationResponse ¶
func (p *RadioSimResponseProxy) RequestIccSimAuthenticationResponse( ctx context.Context, info radio.RadioResponseInfo, result IccIoResult, ) error
func (*RadioSimResponseProxy) SendEnvelopeResponse ¶
func (p *RadioSimResponseProxy) SendEnvelopeResponse( ctx context.Context, info radio.RadioResponseInfo, commandResponse string, ) error
func (*RadioSimResponseProxy) SendEnvelopeWithStatusResponse ¶
func (p *RadioSimResponseProxy) SendEnvelopeWithStatusResponse( ctx context.Context, info radio.RadioResponseInfo, iccIo IccIoResult, ) error
func (*RadioSimResponseProxy) SendTerminalResponseToSimResponse ¶
func (p *RadioSimResponseProxy) SendTerminalResponseToSimResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SetAllowedCarriersResponse ¶
func (p *RadioSimResponseProxy) SetAllowedCarriersResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SetCarrierInfoForImsiEncryptionResponse ¶
func (p *RadioSimResponseProxy) SetCarrierInfoForImsiEncryptionResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SetCdmaSubscriptionSourceResponse ¶
func (p *RadioSimResponseProxy) SetCdmaSubscriptionSourceResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SetFacilityLockForAppResponse ¶
func (p *RadioSimResponseProxy) SetFacilityLockForAppResponse( ctx context.Context, info radio.RadioResponseInfo, retry int32, ) error
func (*RadioSimResponseProxy) SetSimCardPowerResponse ¶
func (p *RadioSimResponseProxy) SetSimCardPowerResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SetUiccSubscriptionResponse ¶
func (p *RadioSimResponseProxy) SetUiccSubscriptionResponse( ctx context.Context, info radio.RadioResponseInfo, ) error
func (*RadioSimResponseProxy) SupplyIccPin2ForAppResponse ¶
func (p *RadioSimResponseProxy) SupplyIccPin2ForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) SupplyIccPinForAppResponse ¶
func (p *RadioSimResponseProxy) SupplyIccPinForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) SupplyIccPuk2ForAppResponse ¶
func (p *RadioSimResponseProxy) SupplyIccPuk2ForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) SupplyIccPukForAppResponse ¶
func (p *RadioSimResponseProxy) SupplyIccPukForAppResponse( ctx context.Context, info radio.RadioResponseInfo, remainingRetries int32, ) error
func (*RadioSimResponseProxy) SupplySimDepersonalizationResponse ¶
func (p *RadioSimResponseProxy) SupplySimDepersonalizationResponse( ctx context.Context, info radio.RadioResponseInfo, persoType PersoSubstate, remainingRetries int32, ) error
func (*RadioSimResponseProxy) UpdateSimPhonebookRecordsResponse ¶
func (p *RadioSimResponseProxy) UpdateSimPhonebookRecordsResponse( ctx context.Context, info radio.RadioResponseInfo, updatedRecordIndex int32, ) error
type RadioSimResponseStub ¶
type RadioSimResponseStub struct {
Impl IRadioSimResponse
Transport binder.VersionAwareTransport
}
RadioSimResponseStub dispatches incoming binder transactions to a typed IRadioSimResponse implementation.
func (*RadioSimResponseStub) Descriptor ¶
func (s *RadioSimResponseStub) Descriptor() string
func (*RadioSimResponseStub) OnTransaction ¶
func (s *RadioSimResponseStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RadioSimStub ¶
type RadioSimStub struct {
Impl IRadioSim
Transport binder.VersionAwareTransport
}
RadioSimStub dispatches incoming binder transactions to a typed IRadioSim implementation.
func (*RadioSimStub) Descriptor ¶
func (s *RadioSimStub) Descriptor() string
func (*RadioSimStub) OnTransaction ¶
func (s *RadioSimStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SelectUiccSub ¶
func (*SelectUiccSub) MarshalParcel ¶
func (s *SelectUiccSub) MarshalParcel( p *parcel.Parcel, ) error
func (*SelectUiccSub) UnmarshalParcel ¶
func (s *SelectUiccSub) UnmarshalParcel( p *parcel.Parcel, ) error
type SessionInfo ¶
func (*SessionInfo) MarshalParcel ¶
func (s *SessionInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*SessionInfo) UnmarshalParcel ¶
func (s *SessionInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type SimApdu ¶
type SimLockMultiSimPolicy ¶
type SimLockMultiSimPolicy int32
const ( SimLockMultiSimPolicyNoMultisimPolicy SimLockMultiSimPolicy = 0 SimLockMultiSimPolicyOneValidSimMustBePresent SimLockMultiSimPolicy = 1 SimLockMultiSimPolicyApplyToAllSlots SimLockMultiSimPolicy = 2 SimLockMultiSimPolicyApplyToOnlySlot1 SimLockMultiSimPolicy = 3 SimLockMultiSimPolicyValidSimMustPresentOnSlot1 SimLockMultiSimPolicy = 4 SimLockMultiSimPolicyActiveServiceOnSlot1ToUnblockOtherSlots SimLockMultiSimPolicy = 5 SimLockMultiSimPolicyActiveServiceOnAnySlotToUnblockOtherSlots SimLockMultiSimPolicy = 6 SimLockMultiSimPolicyAllSimsMustBeValid SimLockMultiSimPolicy = 7 SimLockMultiSimPolicySlotPolicyOther SimLockMultiSimPolicy = 8 )
type SimRefreshResult ¶
func (*SimRefreshResult) MarshalParcel ¶
func (s *SimRefreshResult) MarshalParcel( p *parcel.Parcel, ) error
func (*SimRefreshResult) UnmarshalParcel ¶
func (s *SimRefreshResult) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- appstatus.go
- cardpowerstate.go
- cardstatus.go
- carrier.go
- carrierinfo.go
- carrierrestrictions.carrierrestrictionstatus.go
- carrierrestrictions.go
- cdmasubscriptionsource.go
- iccio.go
- iccioresult.go
- imsiencryptioninfo.go
- iradiosim.go
- iradiosimindication.go
- iradiosimresponse.go
- pbreceivedstatus.go
- persosubstate.go
- phonebookcapacity.go
- phonebookrecordinfo.go
- pinstate.go
- plmn.go
- selectuiccsub.go
- sessioninfo.go
- simapdu.go
- simlockmultisimpolicy.go
- simrefreshresult.go