Home
last modified time | relevance | path

Searched refs:getCall (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java91 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
93 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
116 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsPutBooleanExtra()
119 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getBoolean(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
141 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
143 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getInt(EXTRA_KEY_INT)); in testCsPutIntExtra()
166 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
168 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsPutStringExtra()
192 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
194 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsRemoveExtra()
[all …]
DBasicCallTests.java107 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
109 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
115 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
117 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
119 mInCallServiceFixtureX.getCall(ids.mCallId).getConnectTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
121 mInCallServiceFixtureY.getCall(ids.mCallId).getConnectTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
123 mInCallServiceFixtureX.getCall(ids.mCallId).getCreationTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
125 mInCallServiceFixtureY.getCall(ids.mCallId).getCreationTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
140 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
142 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
[all …]
DTelecomSystemTest.java424 ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId); in makeConferenceCall()
425 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall()
433 ParcelableCall conferenceCall = mInCallServiceFixtureX.getCall(parentCallId); in makeConferenceCall()
646 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
647 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
652 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
653 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
693 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall( in triggerEmergencyRedial()
695 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall( in triggerEmergencyRedial()
1015 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
[all …]
DInCallServiceFixture.java163 public ParcelableCall getCall(String id) { in getCall() method in InCallServiceFixture
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java59 Call call = mCallIdMapper.getCall(callId); in answerCall()
82 Call call = mCallIdMapper.getCall(callId); in deflectCall()
115 Call call = mCallIdMapper.getCall(callId); in rejectCall()
141 Call call = mCallIdMapper.getCall(callId); in rejectCallWithReason()
164 Call call = mCallIdMapper.getCall(callId); in transferCall()
188 Call call = mCallIdMapper.getCall(callId); in consultativeTransfer()
189 Call otherCall = mCallIdMapper.getCall(otherCallId); in consultativeTransfer()
213 Call call = mCallIdMapper.getCall(callId); in playDtmfTone()
236 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone()
259 Call call = mCallIdMapper.getCall(callId); in postDialContinue()
[all …]
DConnectionServiceWrapper.java145 Call call = mCallIdMapper.getCall(callId); in setActive()
168 Call call = mCallIdMapper.getCall(callId); in setRinging()
191 Call call = mCallIdMapper.getCall(callId); in resetConnectionTime()
212 Call call = mCallIdMapper.getCall(callId); in setVideoProvider()
233 Call call = mCallIdMapper.getCall(callId); in setDialing()
256 Call call = mCallIdMapper.getCall(callId); in setPulling()
279 Call call = mCallIdMapper.getCall(callId); in setDisconnected()
303 Call call = mCallIdMapper.getCall(callId); in setOnHold()
327 Call call = mCallIdMapper.getCall(callId); in setRingbackRequested()
350 Call call = mCallIdMapper.getCall(callId); in removeCall()
[all …]
DCallIdMapper.java126 Call getCall(Object objId) { in getCall() method in CallIdMapper
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallUI.java141 Call call = mCallList.getCall(0); in onCreate()
150 Call call = mCallList.getCall(0); in onCreate()
163 Call call = mCallList.getCall(0); in onCreate()
171 Call call = mCallList.getCall(0); in onCreate()
180 Call call = mCallList.getCall(0); in onCreate()
188 Call call = mCallList.getCall(0); in onCreate()
211 Call call = mCallList.getCall(0); in onCreate()
218 Call call = mCallList.getCall(0); in onCreate()
224 Call call = mCallList.getCall(0); in onCreate()
229 Call call = mCallList.getCall(0); in onCreate()
[all …]
DTestRttActivity.java90 Call.RttCall rttCall = mCallList.getCall(0).getRttCall();
159 Call call = mCallList.getCall(0); in onCreate()
167 Call.RttCall call = mCallList.getCall(0).getRttCall(); in onCreate()
208 mCallList.getCall(0).getRttCall().write(toAppend); in onCreate()
DCallListAdapter.java104 Call call = mCallList.getCall(position); in getView()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java135 && CallCompat.canPullExternalCall(info.getCall())) { in pullExternalCall()
136 info.getCall().pullExternalCall(); in pullExternalCall()
156 info.getCall(), in showNotifcation()
170 if (notifications.containsKey(info.getCall())) { in showNotifcation()
180 if (notifications.containsKey(info.getCall())) { in showNotifcation()
203 Bitmap largeIcon = getLargeIconToDisplay(context, entry, info.getCall()); in savePhoto()
216 info.setContentTitle(getContentTitle(context, entry, info.getCall())); in saveContactInfo()
217 info.setPersonReference(getPersonReference(entry, info.getCall())); in saveContactInfo()
230 boolean isVideoCall = VideoProfile.isVideo(info.getCall().getDetails().getVideoState()); in postNotification()
248 if (CallCompat.canPullExternalCall(info.getCall())) { in postNotification()
[all …]
DReturnToCallActionReceiver.java66 DialerCall call = getCall(); in returnToCall()
89 DialerCall call = getCall(); in toggleSpeaker()
117 DialerCall call = getCall(); in toggleMute()
130 DialerCall call = getCall(); in endCall()
142 private DialerCall getCall() { in getCall() method in ReturnToCallActionReceiver
DReturnToCallController.java126 if (getCall() != null) { in onUiShowing()
209 && getCall() != null in onCallListChange()
228 if (bubble != null && bubble.isVisible() && (getCall() == null)) { in onDisconnect()
265 DialerCall dialerCall = getCall(); in startContactInfoSearch()
272 private DialerCall getCall() { in getCall() method in ReturnToCallController
DAudioRouteSelectorActivity.java65 DialerCall call = getCall(); in onAudioRouteSelected()
103 private DialerCall getCall() { in getCall() method in AudioRouteSelectorActivity
113 if (getCall() == null) { in onDisconnect()
DConferenceParticipantListAdapter.java208 DialerCall call = participantInfo.getCall(); in getView()
217 participantInfo.getCall(), in getView()
218 participantInfo.getCall().getState() == DialerCallState.INCOMING, in getView()
522 public DialerCall getCall() { in getCall() method in ConferenceParticipantListAdapter.ParticipantInfo
550 return Objects.equals(p.getCall().getId(), call.getId()); in equals()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java108 if (getCall() != null && !getCall().isMultiparty()) { in onDisconnect()
109 getCall().hangup(); in onDisconnect()
218 private Call getCall() { in getCall() method in SipConnection
220 return mOriginalConnection.getCall(); in getCall()
226 Call call = getCall(); in getPhone()
234 Call call = getCall(); in isValidRingingCall()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java142 Call call = connection.getCall(); in handleNewRingingConnection()
216 Call call = connection.getCall(); in handleNewUnknownConnection()
428 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
429 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
431 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
DTelephonyConnection.java1089 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
1126 Phone phone = mOriginalConnection.getCall().getPhone(); in performUnhold()
1149 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
1189 if (mOriginalConnection.getCall() instanceof ImsPhoneCall) { in performAddConferenceParticipants()
1190 ImsPhoneCall imsPhoneCall = (ImsPhoneCall)mOriginalConnection.getCall(); in performAddConferenceParticipants()
1858 Call call = getCall(); in hangup()
1898 Call call = getCall(); in reject()
1934 protected Call getCall() { in getCall() method in TelephonyConnection
1936 return mOriginalConnection.getCall(); in getCall()
1942 Call call = getCall(); in getPhone()
DCdmaConference.java160 Call call = radioConnection.getCall(); in getMultipartyCallForConnection()
174 return originalConnection.getCall(); in getOriginalCall()
DConferenceParticipantConnection.java71 String countryIso = getCountryIso(parentConnection.getCall().getPhone()); in ConferenceParticipantConnection()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConferenceControllerTest.java84 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testConferenceable()
86 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testConferenceable()
129 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
131 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
DTestTelephonyConnection.java77 protected Call getCall() { in getCall() method in TestTelephonyConnection
93 when(mMockRadioConnection.getCall()).thenReturn(mMockCall); in TestTelephonyConnection()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java125 Call call = mCallList.getCall(0); in onCreate()
134 Call call = mCallList.getCall(0); in onCreate()
147 Call call = mCallList.getCall(0); in onCreate()
155 Call call = mCallList.getCall(0); in onCreate()
DCallListAdapter.java99 Call call = mCallList.getCall(position); in getView()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java237 private BluetoothHeadsetClientCall getCall(int... states) { in getCall() method in HeadsetClientStateMachine
398 if (getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING) != null) { in queryCallsDone()
423 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING, in acceptCall()
426 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD, in acceptCall()
471 } else if (getCall(BluetoothHeadsetClientCall.CALL_STATE_ACTIVE) != null) { in acceptCall()
506 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING, in rejectCall()
546 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING); in holdCall()
550 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_ACTIVE); in holdCall()
570 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_DIALING, in terminateCall()
575 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_HELD); in terminateCall()

12