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

Commit 5bc59398 authored by Shuo Qian's avatar Shuo Qian
Browse files

Change the range of default value of SSRRSQ

Test: telephony unit tests
Bug: 159761054
Change-Id: I78fd2ab2688057656858b7dc98353450818c33ca
parent b711bc75
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -891,10 +891,10 @@ public class DeviceStateMonitor extends Handler {
         * List of dB thresholds for NGRAN {@link AccessNetworkType} RSRSRP
         */
        public static final int[] NGRAN_RSRSRQ = new int[] {
            -16, /* SIGNAL_STRENGTH_POOR */
            -12, /* SIGNAL_STRENGTH_MODERATE */
            -9, /* SIGNAL_STRENGTH_GOOD */
            -6  /* SIGNAL_STRENGTH_GREAT */
            -31, /* SIGNAL_STRENGTH_POOR */
            -19, /* SIGNAL_STRENGTH_MODERATE */
            -7, /* SIGNAL_STRENGTH_GOOD */
            6  /* SIGNAL_STRENGTH_GREAT */
        };

        /**
+5 −5
Original line number Diff line number Diff line
@@ -314,10 +314,10 @@ public class ServiceStateTrackerTest extends TelephonyTest {
                });
        mBundle.putIntArray(CarrierConfigManager.KEY_5G_NR_SSRSRQ_THRESHOLDS_INT_ARRAY,
                new int[] {
                    -16, /* SIGNAL_STRENGTH_POOR */
                    -12, /* SIGNAL_STRENGTH_MODERATE */
                    -9, /* SIGNAL_STRENGTH_GOOD */
                    -6  /* SIGNAL_STRENGTH_GREAT */
                    -31, /* SIGNAL_STRENGTH_POOR */
                    -19, /* SIGNAL_STRENGTH_MODERATE */
                    -7, /* SIGNAL_STRENGTH_GOOD */
                    6  /* SIGNAL_STRENGTH_GREAT */
                });
        mBundle.putIntArray(CarrierConfigManager.KEY_5G_NR_SSSINR_THRESHOLDS_INT_ARRAY,
                new int[] {
@@ -790,7 +790,7 @@ public class ServiceStateTrackerTest extends TelephonyTest {
                    -20, /** csiRsrq NONE */
                    -23, /** CsiSinr NONE */
                    -44, /** SsRsrp SIGNAL_STRENGTH_GREAT */
                    -20, /** SsRsrq NONE */
                    -32, /** SsRsrq NONE */
                    -23) /** SsSinr NONE */
        );