Home
last modified time | relevance | path

Searched refs:call1 (Results 1 – 6 of 6) 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()
137 .that(call1.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()
145 .that(call1.hashCode()) in expectNotEquals()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallMonitorTest.java140 Call call1 = createTestCall("testCall1", mHandle1User1); in testMonitorForTwoCallsOnSameHandle() local
146 mMonitor.onCallAdded(call1); in testMonitorForTwoCallsOnSameHandle()
162 mMonitor.onCallRemoved(call1); in testMonitorForTwoCallsOnSameHandle()
173 Call call1 = createTestCall("testCall1", mHandle1User1); in testMonitorForTwoCallsOnDifferentHandle() local
181 mMonitor.onCallAdded(call1); in testMonitorForTwoCallsOnDifferentHandle()
203 mMonitor.onCallRemoved(call1); in testMonitorForTwoCallsOnDifferentHandle()
210 Call call1 = createTestCall("testCall1", mHandle1User1); in testStopDelegation() local
216 mMonitor.onCallAdded(call1); in testStopDelegation()
232 mMonitor.stopFGSDelegation(call1); in testStopDelegation()
236 mMonitor.onCallRemoved(call1); in testStopDelegation()
DTelecomSystemTest.java466 ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId); in makeConferenceCall() local
469 assertNotNull(call1.getParentCallId()); in makeConferenceCall()
471 assertEquals(call1.getParentCallId(), call2.getParentCallId()); in makeConferenceCall()
474 String parentCallId = call1.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/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java1079 GenericDocument call1 = in testQueryInvalidPackages_withJoin() local
1092 call1, in testQueryInvalidPackages_withJoin()
1117 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1141 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1144 assertThat(result.getJoinedResults().get(0).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1168 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1193 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1196 assertThat(result.getJoinedResults().get(0).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1214 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
1217 assertThat(result.getJoinedResults().get(0).getGenericDocument()).isEqualTo(call1); in testQueryInvalidPackages_withJoin()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java1398 for (Call call1 : mCalls) { in markAllAnsweredCallAsRinging()
1399 if (call1 != call && call1.getState() == CallState.ANSWERED) { in markAllAnsweredCallAsRinging()
1400 setCallState(call1, CallState.RINGING, actionName + " failed on other call"); in markAllAnsweredCallAsRinging()
6773 public static boolean areFromSameSource(@NonNull Call call1, @NonNull Call call2) {
6774 PhoneAccountHandle call1ConnectionMgr = call1.getConnectionManagerPhoneAccount();
6784 PhoneAccountHandle call1TargetAcct = call1.getTargetPhoneAccount();