Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigCallTest.java133 private void expectEquals(AppManifestConfigCall call1, AppManifestConfigCall call2) { in expectEquals() argument
134 expect.withMessage("equals()").that(call1).isEqualTo(call2); in expectEquals()
135 expect.withMessage("equals()").that(call2).isEqualTo(call1); in expectEquals()
136 expect.withMessage("hashcode(%s, %s)", call1, call2) in expectEquals()
138 .isEqualTo(call2.hashCode()); in expectEquals()
141 private void expectNotEquals(AppManifestConfigCall call1, AppManifestConfigCall call2) { in expectNotEquals() argument
142 expect.withMessage("equals()").that(call1).isNotEqualTo(call2); in expectNotEquals()
143 expect.withMessage("equals()").that(call2).isNotEqualTo(call1); in expectNotEquals()
144 expect.withMessage("hashcode(%s, %s)", call1, call2) in expectNotEquals()
146 .isNotEqualTo(call2.hashCode()); in expectNotEquals()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallMonitorTest.java141 Call call2 = createTestCall("testCall2", mHandle1User1); in testMonitorForTwoCallsOnSameHandle() local
155 mMonitor.onCallAdded(call2); in testMonitorForTwoCallsOnSameHandle()
165 mMonitor.onCallRemoved(call2); in testMonitorForTwoCallsOnSameHandle()
174 Call call2 = createTestCall("testCall2", mHandle2User1); in testMonitorForTwoCallsOnDifferentHandle() local
193 mMonitor.onCallAdded(call2); in testMonitorForTwoCallsOnDifferentHandle()
201 mMonitor.onCallRemoved(call2); in testMonitorForTwoCallsOnDifferentHandle()
211 Call call2 = createTestCall("testCall2", mHandle1User1); in testStopDelegation() local
225 mMonitor.onCallAdded(call2); in testStopDelegation()
DCallAudioManagerTest.java160 Call call2 = mock(Call.class); in testUnmuteOfSecondIncomingCall() local
161 when(call2.getState()).thenReturn(CallState.RINGING); in testUnmuteOfSecondIncomingCall()
162 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
164 when(call2.getId()).thenReturn("2"); in testUnmuteOfSecondIncomingCall()
165 mCallAudioManager.onCallAdded(call2); in testUnmuteOfSecondIncomingCall()
DTelecomSystemTest.java467 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall() local
470 assertNotNull(call2.getParentCallId()); in makeConferenceCall()
471 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.java6773 public static boolean areFromSameSource(@NonNull Call call1, @NonNull Call call2) {
6775 PhoneAccountHandle call2ConnectionMgr = call2.getConnectionManagerPhoneAccount();
6785 PhoneAccountHandle call2TargetAcct = call2.getTargetPhoneAccount();
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java1083 GenericDocument call2 = in testQueryInvalidPackages_withJoin() local
1100 call2, in testQueryInvalidPackages_withJoin()