Searched refs:call2 (Results 1 – 4 of 4) sorted by relevance
146 Call call2 = mock(Call.class); in testUnmuteOfSecondIncomingCall() local147 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()
425 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall() local428 assertNotNull(call2.getParentCallId()); in makeConferenceCall()429 assertEquals(call1.getParentCallId(), call2.getParentCallId()); in makeConferenceCall()
454 public static boolean areSame(DialerCall call1, DialerCall call2) { in areSame() argument455 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()
5239 public static boolean areFromSameSource(@NonNull Call call1, @NonNull Call call2) {5241 PhoneAccountHandle call2ConnectionMgr = call2.getConnectionManagerPhoneAccount();5251 PhoneAccountHandle call2TargetAcct = call2.getTargetPhoneAccount();