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()
424 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall() local427 assertNotNull(call2.getParentCallId()); in makeConferenceCall()428 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()
5515 public static boolean areFromSameSource(@NonNull Call call1, @NonNull Call call2) {5517 PhoneAccountHandle call2ConnectionMgr = call2.getConnectionManagerPhoneAccount();5527 PhoneAccountHandle call2TargetAcct = call2.getTargetPhoneAccount();