Home
last modified time | relevance | path

Searched refs:isIncoming (Results 1 – 25 of 34) sorted by relevance

12

/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnectionService.java90 private Connection createSelfManagedConnection(ConnectionRequest request, boolean isIncoming, in createSelfManagedConnection() argument
93 getApplicationContext(), isIncoming); in createSelfManagedConnection()
104 if (isIncoming) { in createSelfManagedConnection()
122 if (!isIncoming && connection.isHandover()) { in createSelfManagedConnection()
DSelfManagedConnection.java66 SelfManagedConnection(SelfManagedCallList callList, Context context, boolean isIncoming) { in SelfManagedConnection() argument
69 mIsIncomingCall = isIncoming; in SelfManagedConnection()
DTestConnectionService.java164 TestConnection(boolean isIncoming, ConnectionRequest request) { in TestConnection() argument
165 mIsIncoming = isIncoming; in TestConnection()
184 if (isIncoming) { in TestConnection()
DTestConnectionManager.java152 TestManagedConnection(RemoteConnection remote, boolean isIncoming) { in TestManagedConnection() argument
154 mIsIncoming = isIncoming; in TestManagedConnection()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java312 when(confCall1.isIncoming()).thenReturn(false); in testConferenceInProgressCDMA()
313 when(confCall2.isIncoming()).thenReturn(true); in testConferenceInProgressCDMA()
361 when(foregroundCall.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaHold()
362 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()
403 when(confCall1.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaConference()
404 when(confCall2.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaConference()
440 when(waitingCall.isIncoming()).thenReturn(true); in testWaitingCallClccResponse()
478 when(ringingCall.isIncoming()).thenReturn(true); in testRingingCallClccResponse()
499 when(ringingCall.isIncoming()).thenReturn(true); in testCallClccCache()
513 when(newHoldingCall.isIncoming()).thenReturn(true); in testCallClccCache()
[all …]
DConnectionServiceFixture.java226 String id, ConnectionRequest request, boolean isIncoming, boolean isUnknown, in createConnection() argument
238 c.isIncoming = isIncoming; in createConnection()
247 id, request, isIncoming, isUnknown, null /*Session.Info*/); in createConnection()
257 String callId, ConnectionRequest request, boolean isIncoming, in createConnectionFailed() argument
273 boolean isIncoming, in createConference() argument
285 boolean isIncoming, in createConferenceFailed() argument
444 boolean isIncoming; field in ConnectionServiceFixture.ConnectionInfo
DInCallControllerTests.java208 when(mMockCall.isIncoming()).thenReturn(true); in testBindToService_NoServicesFound_IncomingCall()
240 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
278 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
331 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Emergency()
407 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Crash()
495 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
576 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NullBinding_FallBackToSystem()
670 when(mMockCall.isIncoming()).thenReturn(true); in testUnbindDueToCallDisconnect()
877 when(mMockCall.isIncoming()).thenReturn(false); in testBindingFuture()
1023 when(mMockCall.isIncoming()).thenReturn(false); in setupMocks()
DCallLogManagerTest.java976 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
980 return makeFakeCall(disconnectCauseCode, isConference, isIncoming, creationTimeMillis, in makeFakeCall()
985 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
994 when(fakeCall.isIncoming()).thenReturn(isIncoming); in makeFakeCall()
DCallTest.java331 assertFalse(call.isIncoming()); in testCallDirection()
334 assertTrue(call.isIncoming()); in testCallDirection()
DIncomingCallNotifierTest.java78 when(mRingingCall.isIncoming()).thenReturn(true); in setUp()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java347 final boolean isIncoming, in findInfo() argument
409 new FindInfoCallback(isIncoming, queryToken)); in findInfo()
508 CallerInfo callerInfo, String cnapName, boolean isIncoming) { in maybeUpdateFromCequintCallerId() argument
517 context, callerInfo.phoneNumber, cnapName, isIncoming); in maybeUpdateFromCequintCallerId()
791 private final boolean isIncoming; field in ContactInfoCache.FindInfoCallback
794 FindInfoCallback(boolean isIncoming, CallerInfoQueryToken queryToken) { in FindInfoCallback() argument
795 this.isIncoming = isIncoming; in FindInfoCallback()
807 maybeUpdateFromCequintCallerId(ci, cw.cnapName, isIncoming); in onDataLoaded()
DCallCardPresenter.java581 final DialerCall call, final boolean isPrimary, boolean isIncoming) { in startContactInfoSearch() argument
584 cache.findInfo(call, isIncoming, new ContactLookupCallback(this, isPrimary)); in startContactInfoSearch()
815 return call != null && !call.isIncoming() && call.isEmergencyCall(); in isOutgoingEmergencyCall()
819 return call != null && call.isIncoming() && call.isPotentialEmergencyCallback(); in isIncomingEmergencyCall()
DStatusBarNotifier.java249 final boolean isIncoming = in showNotification()
259 contactInfoCache.findInfo(call, isIncoming, this); in showNotification()
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java140 Context context, String number, String cnapName, boolean isIncoming) { in getCequintCallerIdContactForCall() argument
147 isIncoming); in getCequintCallerIdContactForCall()
149 if (isIncoming) { in getCequintCallerIdContactForCall()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java126 private static boolean shouldShowNumber(PrimaryInfo primaryInfo, boolean isIncoming) { in shouldShowNumber() argument
132 if (primaryInfo.location() == null && isIncoming) { in shouldShowNumber()
135 if (primaryInfo.isLocalContact() && !isIncoming) { in shouldShowNumber()
DBottomRow.java82 if (isIncoming(state) && primaryInfo.isSpam()) { in getInfo()
127 private static boolean isIncoming(PrimaryCallState state) { in isIncoming() method in BottomRow
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java869 logState.isIncoming = true; in setState()
1308 if (!isIncoming()) { in isSpam()
1335 public boolean isIncoming() { in isIncoming() method in DialerCall
1336 return logState.isIncoming; in isIncoming()
1656 isIncoming() in updateEnrichedCallSession()
1808 public boolean isIncoming = false; field in DialerCall.LogState
1898 isIncoming, in toString()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java181 isIncoming(historyResult) ? R.string.received_a_photo : R.string.sent_a_photo); in setMultimediaDetails()
212 private static boolean isIncoming(@NonNull HistoryResult historyResult) { in isIncoming() method in CallDetailsEntryViewHolder
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java380 if (!unknown.isIncoming()) { in maybeSwapAnyWithUnknownConnection()
405 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java473 private void sendSettingsIntentForFailedMms(boolean isIncoming, int subId) { in sendSettingsIntentForFailedMms() argument
475 + " cannot " + (isIncoming ? "download" : "send") in sendSettingsIntentForFailedMms()
480 isIncoming ? Settings.ENABLE_MMS_DATA_REQUEST_REASON_INCOMING_MMS in sendSettingsIntentForFailedMms()
/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java205 if (call.isIncoming()) { in toParcelableCall()
286 if (call.isIncoming()) { in toParcelableCallForScreening()
DConnectionServiceWrapper.java1282 if (call.isIncoming() && mCallsManager.getEmergencyCallHelper() in createConnection()
1294 if (call.isIncoming() && call.getHandoverSourceCall() != null) { in createConnection()
1372 call.isIncoming(), in createConnectionFailed()
1418 call.isIncoming(), in createConferenceFailed()
DCreateConnectionProcessor.java249 if (mCall.isIncoming()) { in attemptNextPhoneAccount()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java134 .filter(call -> call.isSelfManaged() && call.isIncoming() && in updateIncomingCall()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java216 if (!logState.isIncoming) { in shouldShowAfterCallNotification()

12