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

Commit e0f9c868 authored by Rambo Wang's avatar Rambo Wang
Browse files

Update the SignalStrengthControllerTest UT to use valid threshold

The test cases verifies that, a NR SSRSRP value of -44 can be
a level GREAT for the default system threshold, but also can be
a level of POOR,if system threshold is overrided.

But the overrided threshold values used in this test case is
out of valid scope of SSRSRP (-140, -44) which trigger
an exception when tested with Radio HAL 2.0 UT.

To fix it, update the test SSRSRP value to be -64 and the overrided
system threshold values to be in valid scope.

All other UT cases are also checked to make sure no similar issue.

Bug: 230342465
Test: atest SignalStrengthControllerTest (with radio HAL 2.0 UT)
Merged-In: Ide60679b92c42e0225719f320544c8dd635e7bba
Change-Id: Ide60679b92c42e0225719f320544c8dd635e7bba
(cherry picked from commit 02e20131)
parent caecb9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment