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

Commit 9c37ec79 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Ims: Add support to query Packet Count and Packet Error Count"

parents 28c900be b9e86257
Loading
Loading
Loading
Loading
+22 −0
Original line number Original line Diff line number Diff line
@@ -70,4 +70,26 @@ oneway interface ImsConfigListener {
     * @throws ImsException if calling the IMS service results in an error.
     * @throws ImsException if calling the IMS service results in an error.
     */
     */
     void onSetVideoQuality(int status);
     void onSetVideoQuality(int status);

    /**
     * Notifies client the value of the get operation result on get packet count item.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @param packetCount. total number of packets sent or received
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onGetPacketCount(int status, long packetCount);

    /**
     * Notifies client the value of the get operation result on get packet error count item.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @param packetErrorCount. total number of packet errors encountered
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onGetPacketErrorCount(int status, long packetErrorCount);
}
}
+20 −0
Original line number Original line Diff line number Diff line
@@ -133,6 +133,26 @@ interface IImsConfig {
     */
     */
     oneway void setVideoQuality(int quality, ImsConfigListener listener);
     oneway void setVideoQuality(int quality, ImsConfigListener listener);


    /**
     * Total number of packets sent or received
     *
     * @param listener, provided if caller needs to be notified for get result.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     oneway void getPacketCount(ImsConfigListener listener);

    /**
     * Total number of packet errors encountered
     *
     * @param listener, provided if caller needs to be notified for get result.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     oneway void getPacketErrorCount(ImsConfigListener listener);

    /**
    /**
     * Gets the value for IMS volte provisioned.
     * Gets the value for IMS volte provisioned.
     * This should be the same as the operator provisioned value if applies.
     * This should be the same as the operator provisioned value if applies.