Home
last modified time | relevance | path

Searched refs:call2 (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java146 Call call2 = mock(Call.class); in testUnmuteOfSecondIncomingCall() local
147 when(call2.getState()).thenReturn(CallState.RINGING); in testUnmuteOfSecondIncomingCall()
148 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
150 when(call2.getId()).thenReturn("2"); in testUnmuteOfSecondIncomingCall()
151 mCallAudioManager.onCallAdded(call2); in testUnmuteOfSecondIncomingCall()
DTelecomSystemTest.java425 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall() local
428 assertNotNull(call2.getParentCallId()); in makeConferenceCall()
429 assertEquals(call1.getParentCallId(), call2.getParentCallId()); in makeConferenceCall()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java454 public static boolean areSame(DialerCall call1, DialerCall call2) { in areSame() argument
455 if (call1 == null && call2 == null) { in areSame()
457 } else if (call1 == null || call2 == null) { in areSame()
462 return call1.getId().equals(call2.getId()); in areSame()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java5239 public static boolean areFromSameSource(@NonNull Call call1, @NonNull Call call2) {
5241 PhoneAccountHandle call2ConnectionMgr = call2.getConnectionManagerPhoneAccount();
5251 PhoneAccountHandle call2TargetAcct = call2.getTargetPhoneAccount();