Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java270 when(confCall1.isIncoming()).thenReturn(false); in testConferenceInProgressCDMA()
271 when(confCall2.isIncoming()).thenReturn(true); in testConferenceInProgressCDMA()
317 when(foregroundCall.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaHold()
318 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()
358 when(confCall1.isIncoming()).thenReturn(false); in testListCurrentCallsCdmaConference()
359 when(confCall2.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaConference()
394 when(waitingCall.isIncoming()).thenReturn(true); in testWaitingCallClccResponse()
430 when(ringingCall.isIncoming()).thenReturn(true); in testRingingCallClccResponse()
450 when(ringingCall.isIncoming()).thenReturn(true); in testCallClccCache()
464 when(newHoldingCall.isIncoming()).thenReturn(true); in testCallClccCache()
[all …]
DInCallControllerTests.java130 when(mMockCall.isIncoming()).thenReturn(true); in testBindToService_NoServicesFound_IncomingCall()
160 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
196 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
247 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_SystemDialer_Emergency()
316 when(mMockCall.isIncoming()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
434 when(mMockCall.isIncoming()).thenReturn(true); in testUnbindDueToCallDisconnect()
483 when(mMockCall.isIncoming()).thenReturn(false); in setupMocks()
DConnectionServiceFixture.java221 String id, ConnectionRequest request, boolean isIncoming, boolean isUnknown, in createConnection() argument
233 c.isIncoming = isIncoming; in createConnection()
242 id, request, isIncoming, isUnknown, null /*Session.Info*/); in createConnection()
252 String callId, ConnectionRequest request, boolean isIncoming, in createConnectionFailed() argument
381 boolean isIncoming; field in ConnectionServiceFixture.ConnectionInfo
DCallLogManagerTest.java713 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
717 return makeFakeCall(disconnectCauseCode, isConference, isIncoming, creationTimeMillis, in makeFakeCall()
722 private Call makeFakeCall(int disconnectCauseCode, boolean isConference, boolean isIncoming, in makeFakeCall() argument
731 when(fakeCall.isIncoming()).thenReturn(isIncoming); in makeFakeCall()
DIncomingCallNotifierTest.java70 when(mRingingCall.isIncoming()).thenReturn(true); in setUp()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnectionService.java68 private Connection createSelfManagedConnection(ConnectionRequest request, boolean isIncoming) { in createSelfManagedConnection() argument
70 getApplicationContext(), isIncoming); in createSelfManagedConnection()
80 if (isIncoming) { in createSelfManagedConnection()
90 if (!isIncoming && connection.isHandover()) { in createSelfManagedConnection()
DTestConnectionService.java163 TestConnection(boolean isIncoming, ConnectionRequest request) { in TestConnection() argument
164 mIsIncoming = isIncoming; in TestConnection()
183 if (isIncoming) { in TestConnection()
DSelfManagedConnection.java62 SelfManagedConnection(SelfManagedCallList callList, Context context, boolean isIncoming) { in SelfManagedConnection() argument
65 mIsIncomingCall = isIncoming; in SelfManagedConnection()
DTestConnectionManager.java152 TestManagedConnection(RemoteConnection remote, boolean isIncoming) { in TestManagedConnection() argument
154 mIsIncoming = isIncoming; in TestManagedConnection()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java138 Context context, DialerCall call, boolean isIncoming) { in buildCacheEntryFromCall() argument
344 final boolean isIncoming, in findInfo() argument
400 new FindInfoCallback(isIncoming, queryToken)); in findInfo()
495 CallerInfo callerInfo, String cnapName, boolean isIncoming) { in maybeUpdateFromCequintCallerId() argument
504 mContext, callerInfo.phoneNumber, cnapName, isIncoming); in maybeUpdateFromCequintCallerId()
785 FindInfoCallback(boolean isIncoming, CallerInfoQueryToken queryToken) { in FindInfoCallback() argument
786 mIsIncoming = isIncoming; in FindInfoCallback()
DCallCardPresenter.java551 final DialerCall call, final boolean isPrimary, boolean isIncoming) { in startContactInfoSearch() argument
554 cache.findInfo(call, isIncoming, new ContactLookupCallback(this, isPrimary)); in startContactInfoSearch()
822 return call != null && !call.isIncoming() && call.isEmergencyCall(); in isOutgoingEmergencyCall()
826 return call != null && call.isIncoming() && call.isPotentialEmergencyCallback(); in isIncomingEmergencyCall()
DStatusBarNotifier.java250 final boolean isIncoming = in showNotification()
262 isIncoming, in showNotification()
DInCallPresenter.java821 && !call.getLogState().isIncoming in onDisconnect()
1707 public boolean isIncoming() { in isIncoming() method in InCallPresenter.InCallState
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java120 Context context, String number, String cnapName, boolean isIncoming) { in getCequintCallerIdContactForInCall() argument
127 isIncoming); in getCequintCallerIdContactForInCall()
129 if (isIncoming) { in getCequintCallerIdContactForInCall()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java681 mLogState.isIncoming = true; in setState()
988 public boolean isIncoming() { in isIncoming() method in DialerCall
989 return mLogState.isIncoming; in isIncoming()
1265 isIncoming() in updateEnrichedCallSession()
1405 public boolean isIncoming = false; field in DialerCall.LogState
1479 isIncoming, in toString()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DBottomRow.java85 if (isIncoming(state) && primaryInfo.isSpam) { in getInfo()
143 private static boolean isIncoming(PrimaryCallState state) { in isIncoming() method in BottomRow
/packages/services/Telephony/src/com/android/phone/
DCallLogger.java96 if (c.isIncoming()) { in logCall()
152 if (conn.isIncoming()) { in getLogNumber()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java136 isIncoming(historyResult) ? R.string.received_a_photo : R.string.sent_a_photo); in setMultimediaDetails()
167 private static boolean isIncoming(@NonNull HistoryResult historyResult) { in isIncoming() method in CallDetailsEntryViewHolder
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java296 if (!unknown.isIncoming()) { in maybeSwapAnyWithUnknownConnection()
321 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection()
DTelephonyConnection.java751 if (mOriginalConnection != null && mOriginalConnection.isIncoming()) { in buildConnectionCapabilities()
1670 boolean isIncoming = isValidRingingCall(); in updateStatusHints()
1671 if (mIsWifi && (isIncoming || getState() == STATE_ACTIVE)) { in updateStatusHints()
1672 int labelId = isIncoming in updateStatusHints()
/packages/apps/Dialer/java/com/android/incallui/bindings/
DPhoneNumberService.java36 boolean isIncoming); in getPhoneNumberInfo() argument
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java921 if (call.isIncoming() && mCallsManager.getEmergencyCallHelper() in createConnection()
933 if (call.isIncoming() && call.getHandoverSourceCall() != null) { in createConnection()
1010 call.isIncoming(), in createConnectionFailed()
DInCallController.java225 if (call != null && !call.isIncoming() && !call.isExternalCall()){ in connect()
351 if (call != null && call.isIncoming() in connect()
/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.java141 if (!logState.isIncoming) { in shouldShowAfterCallNotification()

12