diff --git a/ril/v1_1/IRil.idl b/ril/v1_1/IRil.idl index 81d686e4da77913ff175337046efdc3847de3106..6fb22cab081e43722a66622e4857662856530cb7 100644 --- a/ril/v1_1/IRil.idl +++ b/ril/v1_1/IRil.idl @@ -305,6 +305,20 @@ interface IRil { [oneway] SetCallTransferInfo([in] int slotId, [in] int serialId, [in] struct CallForwardSetInfo callForwardSetInfo); + /** + * @brief do the Explicit Call Transfer + * + * @param slotId Card slot ID. + * @param serialId Serial ID of a request. + * + * @return Returns 0 if the operation is successful. + * @return Returns a non-0 value if the operation fails. + * + * @since 4.0 + * @version 1.1 + */ + [oneway] ExplicitCallTransferConnection([in] int slotId, [in] int serialId); + /** * @brief Obtains the call restriction information. * @@ -593,6 +607,22 @@ interface IRil { */ [oneway] SetBarringPassword([in] int slotId, [in] int serialId, [in] struct SetBarringInfo setBarringInfo); + /** + * @brief Sets the voNR switch. + * + * @param slotId Card slot ID. + * @param serialId Serial ID of a request. + * @param status Whether to enable the VoNR switch. The value 0 means to + * disable the VoNR switch, and the value 1 means the opposite. + * + * @return Returns 0 if the operation is successful. + * @return Returns a non-0 value if the operation fails. + * + * @since 4.0 + * @version 1.1 + */ + [oneway] SetVoNRSwitch([in] int slotId, [in] int serialId, [in] int status); + /** * @brief Activates the packet data protocol (PDP) context. * diff --git a/ril/v1_1/IRilCallback.idl b/ril/v1_1/IRilCallback.idl index c45e08a7a792f652c8879e02306b0e522f8cef14..9cef3499de34c36bfd908edc2e48da7f204833bb 100644 --- a/ril/v1_1/IRilCallback.idl +++ b/ril/v1_1/IRilCallback.idl @@ -362,6 +362,17 @@ import ohos.hdi.ril.v1_1.Types; */ SetCallTransferInfoResponse([in] struct RilRadioResponseInfo responseInfo); + /** + * @brief Callback for explicit call transfer. + * + * @param responseInfo Common response information, such as the card slot ID and request sequence ID. + * For details, see {@link RilRadioResponseInfo}. + * + * @since 4.0 + * @version 1.1 + */ + ExplicitCallTransferConnectionResponse([in] struct RilRadioResponseInfo responseInfo); + /** * @brief Callback for the response of querying call restriction information. * @@ -547,6 +558,17 @@ import ohos.hdi.ril.v1_1.Types; */ SetBarringPasswordResponse([in] struct RilRadioResponseInfo responseInfo); + /** + * @brief Callback for the response of setting the VoNR switch. + * + * @param responseInfo Common response information, such as the card slot ID and request sequence ID. + * For details, see {@link RilRadioResponseInfo}. + * + * @since 4.0 + * @version 1.1 + */ + SetVoNRSwitchResponse([in] struct RilRadioResponseInfo responseInfo); + /** * @brief Callback for reporting status updates such as data service connection or disconnection. *