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

Commit 11a9eebb authored by Virkumar Karavate's avatar Virkumar Karavate Committed by Automerger Merge Worker
Browse files

Merge "(ImsService API changes for Better IMS Threading) Fix Unit Test cases...

Merge "(ImsService API changes for Better IMS Threading) Fix Unit Test cases for opt/telephony" am: a9919c66 am: 7efe1ad5

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1958664

Change-Id: I5ad79c4f0f0055d5fa2e349d33b5cda618fa14c2
parents 0f66398f 7efe1ad5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@ public class ImsConfigImplTest {
        // for testing caching
        private boolean mIsGetConfigCalled = false;

        ImsConfigImpl() {
            super(Runnable::run);
        }

        @Override
        public int setConfig(int item, int value) {
            latestIntConfig = new Pair<>(item, value);
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class ImsRegistrationTests {
    @Before
    public void setup() throws RemoteException {
        MockitoAnnotations.initMocks(this);
        mRegistration = new ImsRegistrationImplBase();
        mRegistration = new ImsRegistrationImplBase(Runnable::run);
        mRegBinder = mRegistration.getBinder();
        mRegBinder.addRegistrationCallback(mCallback);
    }
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ public class TestMmTelFeature extends MmTelFeature {
    public CountDownLatch configuredRtpHeaderExtensions = new CountDownLatch(1);
    Set<RtpHeaderExtensionType> receivedExtensions = null;

    public TestMmTelFeature() {
        super(Runnable::run);
    }

    private final TestImsCallSession mCallSession = new TestImsCallSession();
    private class TestImsCallSession extends ImsCallSessionImplBase {