Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b31202ca authored by Paul Hu's avatar Paul Hu Committed by Gerrit Code Review
Browse files

Merge "Expose detailed data call end reasons"

parents f771d0f1 31aed67a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ hidl_interface {
        "CellConfigLte",
        "CellInfo",
        "CellInfoLte",
        "DataCallFailCause",
        "DataConnActiveStatus",
        "DataProfileInfo",
        "DataRegStateResult",
        "EmergencyNumber",
@@ -34,12 +36,14 @@ hidl_interface {
        "FrequencyRange",
        "LteVopsInfo",
        "NetworkScanResult",
        "PdpProtocolType",
        "PhysicalChannelConfig",
        "RadioAccessFamily",
        "RadioCapability",
        "RadioFrequencyInfo",
        "RadioTechnology",
        "NrIndicators",
        "SetupDataCallResult",
    ],
    gen_java: true,
}
+15 −1
Original line number Diff line number Diff line
@@ -73,4 +73,18 @@ interface IRadioIndication extends @1.3::IRadioIndication {
     */
    oneway currentPhysicalChannelConfigs_1_4(RadioIndicationType type,
            vec<PhysicalChannelConfig> configs);

    /**
     * Indicates data call contexts have changed.
     *
     * @param type Type of radio indication
     * @param dcList Array of SetupDataCallResult identical to that returned by
     *        IRadio.getDataCallList(). It is the complete list of current data contexts including
     *        new contexts that have been activated. A data call is only removed from this list
     *        when below conditions matched.
     *        1. The framework sends a IRadio.deactivateDataCall().
     *        2. The radio is powered off/on.
     *        3. Unsolicited disconnect from either modem or network side.
     */
    oneway dataCallListChanged_1_4(RadioIndicationType type, vec<SetupDataCallResult> dcList);
};
+37 −0
Original line number Diff line number Diff line
@@ -127,4 +127,41 @@ interface IRadioResponse extends @1.3::IRadioResponse {
     *   RadioError:CANCELLED
     */
    oneway setPreferredNetworkTypeBitmapResponse(RadioResponseInfo info);

    /**
     * @param info Response info struct containing response type, serial no. and error
     * @param dcResponse List of DataCallResult as defined in types.hal
     *
     * Valid errors returned:
     *   RadioError:NONE
     *   RadioError:RADIO_NOT_AVAILABLE
     *   RadioError:INTERNAL_ERR
     *   RadioError:NO_MEMORY
     *   RadioError:NO_RESOURCES
     *   RadioError:CANCELLED
     *   RadioError:REQUEST_NOT_SUPPORTED
     *   RadioError:SIM_ABSENT
     */
    oneway getDataCallListResponse_1_4(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);

    /**
     * @param info Response info struct containing response type, serial no. and error
     * @param dcResponse SetupDataCallResult defined in types.hal
     *
     * Valid errors returned:
     *   RadioError:NONE must be returned on both success and failure of setup with the
     *              DataCallResponse.status containing the actual status
     *              For all other errors the DataCallResponse is ignored.
     *   RadioError:RADIO_NOT_AVAILABLE
     *   RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
     *   RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
     *   RadioError:REQUEST_NOT_SUPPORTED
     *   RadioError:INVALID_ARGUMENTS
     *   RadioError:INTERNAL_ERR
     *   RadioError:NO_MEMORY
     *   RadioError:NO_RESOURCES
     *   RadioError:CANCELLED
     *   RadioError:SIM_ABSENT
     */
    oneway setupDataCallResponse_1_4(RadioResponseInfo info, SetupDataCallResult dcResponse);
};
+1258 −11

File changed.

Preview size limit exceeded, changes collapsed.