Home
last modified time | relevance | path

Searched refs:isIncoming (Results 1 – 25 of 37) 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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java302 when(confCall1.isIncoming()).thenReturn(false); in testConferenceInProgressCDMA()
303 when(confCall2.isIncoming()).thenReturn(true); in testConferenceInProgressCDMA()
363 when(foregroundCall.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaHold()
364 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()
411 when(confCall1.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaConference()
412 when(confCall2.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaConference()
451 when(waitingCall.isIncoming()).thenReturn(true); in testWaitingCallClccResponse()
493 when(ringingCall.isIncoming()).thenReturn(true); in testRingingCallClccResponse()
516 when(ringingCall.isIncoming()).thenReturn(true); in testCallClccCache()
533 when(newHoldingCall.isIncoming()).thenReturn(true); in testCallClccCache()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java227 String id, ConnectionRequest request, boolean isIncoming, boolean isUnknown, in createConnection() argument
239 c.isIncoming = isIncoming; in createConnection()
248 id, request, isIncoming, isUnknown, null /*Session.Info*/); in createConnection()
259 String callId, ConnectionRequest request, boolean isIncoming, in createConnectionFailed() argument
275 boolean isIncoming, in createConference() argument
287 boolean isIncoming, in createConferenceFailed() argument
458 boolean isIncoming; field in ConnectionServiceFixture.ConnectionInfo
DInCallControllerTests.java338 when(mMockCall.isIncoming()).thenReturn(true); in testBindToService_NoServicesFound_IncomingCall()
370 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
408 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
462 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Emergency()
539 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Crash()
628 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
710 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NullBinding_FallBackToSystem()
807 when(mMockCall.isIncoming()).thenReturn(true); in testUnbindDueToCallDisconnect()
1118 when(mMockCall.isIncoming()).thenReturn(false); in testBindingFuture()
1292 when(mMockCall.isIncoming()).thenReturn(false); in setupMocks()
DCallLogManagerTest.java1039 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
1043 return makeFakeCall(disconnectCauseCode, isConference, isIncoming, creationTimeMillis, in makeFakeCall()
1048 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
1057 when(fakeCall.isIncoming()).thenReturn(isIncoming); in makeFakeCall()
DCallTest.java344 assertFalse(call.isIncoming()); in testCallDirection()
347 assertTrue(call.isIncoming()); in testCallDirection()
DIncomingCallNotifierTest.java78 when(mRingingCall.isIncoming()).thenReturn(true); in setUp()
DMissedInformationTest.java215 assertTrue(mIncomingCall.isIncoming()); in testCallScreeningServiceSilence()
/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()
/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/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/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/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.java417 if (!unknown.isIncoming()) { in maybeSwapAnyWithUnknownConnection()
442 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java550 private void sendSettingsIntentForFailedMms(boolean isIncoming, int subId) { in sendSettingsIntentForFailedMms() argument
552 + " cannot " + (isIncoming ? "download" : "send") in sendSettingsIntentForFailedMms()
557 isIncoming ? Settings.ENABLE_MMS_DATA_REQUEST_REASON_INCOMING_MMS in sendSettingsIntentForFailedMms()
/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java207 if (call.isIncoming()) { in toParcelableCall()
288 if (call.isIncoming()) { in toParcelableCallForScreening()
DPhoneStateBroadcaster.java64 if (call.isEmergencyCall() && !call.isIncoming()) { in onCallAdded()
DConnectionServiceWrapper.java1297 if (call.isIncoming() && mCallsManager.getEmergencyCallHelper() in createConnection()
1309 if (call.isIncoming() && call.getHandoverSourceCall() != null) { in createConnection()
1388 call.isIncoming(), in createConnectionFailed()
1434 call.isIncoming(), in createConferenceFailed()
/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothCall.java292 public boolean isIncoming() { in isIncoming() method in BluetoothCall
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java141 .filter(call -> call.isSelfManaged() && call.isIncoming() && in updateIncomingCall()

12