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.java163 TestConnection(boolean isIncoming, ConnectionRequest request) { in TestConnection() argument
164 mIsIncoming = isIncoming; in TestConnection()
183 if (isIncoming) { in TestConnection()
DTestConnectionManager.java151 TestManagedConnection(RemoteConnection remote, boolean isIncoming) { in TestManagedConnection() argument
153 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.java219 when(mMockCall.isIncoming()).thenReturn(true); in testBindToService_NoServicesFound_IncomingCall()
251 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
289 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
343 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Emergency()
420 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Crash()
509 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
591 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NullBinding_FallBackToSystem()
686 when(mMockCall.isIncoming()).thenReturn(true); in testUnbindDueToCallDisconnect()
893 when(mMockCall.isIncoming()).thenReturn(false); in testBindingFuture()
1067 when(mMockCall.isIncoming()).thenReturn(false); in setupMocks()
DCallLogManagerTest.java974 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
978 return makeFakeCall(disconnectCauseCode, isConference, isIncoming, creationTimeMillis, in makeFakeCall()
983 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
992 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.java870 logState.isIncoming = true; in setState()
1309 if (!isIncoming()) { in isSpam()
1336 public boolean isIncoming() { in isIncoming() method in DialerCall
1337 return logState.isIncoming; in isIncoming()
1657 isIncoming() in updateEnrichedCallSession()
1809 public boolean isIncoming = false; field in DialerCall.LogState
1899 isIncoming, in toString()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java340 if (!unknown.isIncoming()) { in maybeSwapAnyWithUnknownConnection()
365 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection()
DTelephonyConnection.java1212 if (mOriginalConnection != null && mOriginalConnection.isIncoming()) { in buildConnectionCapabilities()
1345 && !originalConnection.isIncoming() in setOriginalConnection()
2797 && !mOriginalConnection.isIncoming()) { in isShowingOriginalDialString()
3219 if (mOriginalConnection.isIncoming() in isNeededToFormatIncomingNumberForJp()
/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/Mms/src/com/android/mms/service/
DMmsService.java468 private void sendSettingsIntentForFailedMms(boolean isIncoming, int subId) { in sendSettingsIntentForFailedMms() argument
470 + " cannot " + (isIncoming ? "download" : "send") in sendSettingsIntentForFailedMms()
475 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.java1274 if (call.isIncoming() && mCallsManager.getEmergencyCallHelper() in createConnection()
1286 if (call.isIncoming() && call.getHandoverSourceCall() != null) { in createConnection()
1363 call.isIncoming(), in createConnectionFailed()
1409 call.isIncoming(), in createConferenceFailed()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java141 .filter(call -> call.isSelfManaged() && call.isIncoming() && in updateIncomingCall()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java216 if (!logState.isIncoming) { in shouldShowAfterCallNotification()

12