Home
last modified time | relevance | path

Searched refs:mActiveCall (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFocusManagerTest.java59 private CallFocus mActiveCall; field in ConnectionServiceFocusManagerTest
68 mActiveCall = createFakeCall(mActiveConnectionService, CallState.ACTIVE); in setUp()
97 requestFocus(mActiveCall, null); in testRequestFocusWithActiveFocusExisted()
130 requestFocus(mActiveCall, null); in testRequestConnectionServiceSameAsFocusConnectionService()
147 requestFocus(mActiveCall, null); in testFocusConnectionServiceDoesNotRespondToFocusLost()
174 requestFocus(mActiveCall, null); in testNonFocusConnectionServiceReleased()
182 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testNonFocusConnectionServiceReleased()
190 requestFocus(mActiveCall, null); in testFocusConnectionServiceReleased()
236 requestFocus(mActiveCall, null); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
243 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DInCallDialpadFragment.java48 private LiveData<Call> mActiveCall; field in InCallDialpadFragment
82 mActiveCall = viewModel.getPrimaryCall(); in onCreateView()
103 if (mActiveCall.getValue() != null) { in playTone()
104 mActiveCall.getValue().playDtmfTone(sDialValueMap.get(keycode)); in playTone()
110 if (mActiveCall.getValue() != null) { in stopAllTones()
112 mActiveCall.getValue().stopDtmfTone(); in stopAllTones()