Searched refs:mTestCallStateListener (Results 1 – 1 of 1) sorted by relevance
155 TestCallStateListener mTestCallStateListener; field in BaseTelecomTestWithMockServices325 mTestCallStateListener = new TestCallStateListener(); in setUp()326 CountDownLatch latch = mTestCallStateListener.getCountDownLatch(); in setUp()327 mTelephonyManager.registerTelephonyCallback(r -> r.run(), mTestCallStateListener); in setUp()377 if (mTestCallStateListener != null) { in unregisterTelephonyCallbacks()378 mTelephonyManager.unregisterTelephonyCallback(mTestCallStateListener); in unregisterTelephonyCallbacks()1174 mTestCallStateListener.getCountDownLatch().await( in verifyCallStateListener()1176 assertEquals(expectedCallState, mTestCallStateListener.getLastState()); in verifyCallStateListener()