Home
last modified time | relevance | path

Searched refs:getCall (Results 1 – 25 of 33) 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()
113 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsPutBooleanExtra()
116 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getBoolean(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
136 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
138 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getInt(EXTRA_KEY_INT)); in testCsPutIntExtra()
159 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
161 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsPutStringExtra()
183 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
185 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsRemoveExtra()
[all …]
DBasicCallTests.java108 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
109 assertEquals(Call.STATE_ACTIVE, 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.java396 ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId); in makeConferenceCall()
397 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall()
405 ParcelableCall conferenceCall = mInCallServiceFixtureX.getCall(parentCallId); in makeConferenceCall()
586 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
587 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
592 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
593 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
633 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall( in triggerEmergencyRedial()
635 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall( in triggerEmergencyRedial()
951 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.java57 Call call = mCallIdMapper.getCall(callId); in answerCall()
80 Call call = mCallIdMapper.getCall(callId); in deflectCall()
113 Call call = mCallIdMapper.getCall(callId); in rejectCall()
136 Call call = mCallIdMapper.getCall(callId); in playDtmfTone()
159 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone()
182 Call call = mCallIdMapper.getCall(callId); in postDialContinue()
205 Call call = mCallIdMapper.getCall(callId); in disconnectCall()
227 Call call = mCallIdMapper.getCall(callId); in holdCall()
249 Call call = mCallIdMapper.getCall(callId); in unholdCall()
272 Call call = mCallIdMapper.getCall(callId); in phoneAccountSelected()
[all …]
DConnectionServiceWrapper.java108 Call call = mCallIdMapper.getCall(callId); in setActive()
131 Call call = mCallIdMapper.getCall(callId); in setRinging()
154 Call call = mCallIdMapper.getCall(callId); in resetConnectionTime()
175 Call call = mCallIdMapper.getCall(callId); in setVideoProvider()
196 Call call = mCallIdMapper.getCall(callId); in setDialing()
219 Call call = mCallIdMapper.getCall(callId); in setPulling()
241 Call call = mCallIdMapper.getCall(callId); in setDisconnected()
265 Call call = mCallIdMapper.getCall(callId); in setOnHold()
289 Call call = mCallIdMapper.getCall(callId); in setRingbackRequested()
312 Call call = mCallIdMapper.getCall(callId); in removeCall()
[all …]
DCallIdMapper.java126 Call getCall(Object objId) { in getCall() method in CallIdMapper
/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/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallUI.java136 Call call = mCallList.getCall(0); in onCreate()
145 Call call = mCallList.getCall(0); in onCreate()
158 Call call = mCallList.getCall(0); in onCreate()
166 Call call = mCallList.getCall(0); in onCreate()
175 Call call = mCallList.getCall(0); in onCreate()
182 Call call = mCallList.getCall(0); in onCreate()
205 Call call = mCallList.getCall(0); in onCreate()
212 Call call = mCallList.getCall(0); in onCreate()
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()
DTestCallList.java126 public Call getCall(int position) { in getCall() method in TestCallList
/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.java129 Call call = connection.getCall(); in handleNewRingingConnection()
199 Call call = connection.getCall(); in handleNewUnknownConnection()
364 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
365 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
367 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
DTelephonyConnection.java933 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
970 Phone phone = mOriginalConnection.getCall().getPhone(); in performUnhold()
993 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
1416 Call call = getCall(); in hangup()
1452 protected Call getCall() { in getCall() method in TelephonyConnection
1454 return mOriginalConnection.getCall(); in getCall()
1460 Call call = getCall(); in getPhone()
DCdmaConference.java144 Call call = radioConnection.getCall(); in getMultipartyCallForConnection()
158 return originalConnection.getCall(); in getOriginalCall()
DConferenceParticipantConnection.java71 String countryIso = getCountryIso(parentConnection.getCall().getPhone()); in ConferenceParticipantConnection()
DTelephonyConference.java202 Call call = radioConnection.getCall(); in getMultipartyCallForConnection()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConferenceControllerTest.java86 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testConferenceable()
88 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testConferenceable()
131 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
133 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
DTestTelephonyConnection.java78 when(mMockRadioConnection.getCall()).thenReturn(mMockCall); in TestTelephonyConnection()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java233 private BluetoothHeadsetClientCall getCall(int... states) { in getCall() method in HeadsetClientStateMachine
408 if (getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING) != null) { in queryCallsDone()
437 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING, in acceptCall()
440 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD, in acceptCall()
491 } else if (getCall(BluetoothHeadsetClientCall.CALL_STATE_ACTIVE) != null) { in acceptCall()
528 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING, in rejectCall()
574 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING); in holdCall()
578 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_ACTIVE); in holdCall()
600 BluetoothHeadsetClientCall c = getCall(BluetoothHeadsetClientCall.CALL_STATE_DIALING, in terminateCall()
605 c = getCall(BluetoothHeadsetClientCall.CALL_STATE_HELD); in terminateCall()

12