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

Commit 50f8ae10 authored by Qingqi Lei's avatar Qingqi Lei
Browse files

Fix VoiceCallSessionStatsTest

Bug: 256234604
Test: atest VoiceCallSessionStatsTest

Change-Id: I894c90a1d4795f8ccf182672e6f074ac44295032
Merged-In: If2b03265927d57bd42213feee1c56c8c13581a40
parent 0611a83a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ import com.android.internal.telephony.uicc.UiccSlot;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.ArgumentCaptor;

@@ -909,7 +908,6 @@ public class VoiceCallSessionStatsTest extends TelephonyTest {

    @Test
    @SmallTest
    @Ignore("b/256234604")
    public void singleImsCall_ratSwitchToUnknown() {
        setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE);
        doReturn(true).when(mImsConnection0).isIncoming();
@@ -923,6 +921,7 @@ public class VoiceCallSessionStatsTest extends TelephonyTest {
                        VOICE_CALL_SESSION__DIRECTION__CALL_DIRECTION_MT,
                        TelephonyManager.NETWORK_TYPE_LTE,
                        ImsReasonInfo.CODE_USER_TERMINATED);
        expectedCall.setupDuration = 1;
        expectedCall.setupDurationMillis = 80;
        expectedCall.setupFailed = false;
        expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR;