Home
last modified time | relevance | path

Searched refs:getCall (Results 1 – 25 of 47) 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.java129 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
131 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
137 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
139 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
141 mInCallServiceFixtureX.getCall(ids.mCallId).getConnectTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
143 mInCallServiceFixtureY.getCall(ids.mCallId).getConnectTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
145 mInCallServiceFixtureX.getCall(ids.mCallId).getCreationTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
147 mInCallServiceFixtureY.getCall(ids.mCallId).getCreationTimeMillis()); in testSingleOutgoingCallLocalDisconnect()
162 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
164 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
[all …]
DTelecomSystemTest.java466 ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId); in makeConferenceCall()
467 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall()
475 ParcelableCall conferenceCall = mInCallServiceFixtureX.getCall(parentCallId); in makeConferenceCall()
694 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
695 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
700 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
701 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
741 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall( in triggerEmergencyRedial()
743 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall( in triggerEmergencyRedial()
1093 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
[all …]
DCallAnomalyWatchdogTest.java141 Call call = getCall(); in setupCallHelper()
772 Call call = getCall(); in testIncomingCallCreatedButNotAddedNoAnomalyReport()
799 Call call = getCall(); in testOutgoingCallCreatedButNotAddedNoAnomalyReport()
828 Call call = getCall(); in testCallCreatedButNotAddedPreventsAnomalyReport()
851 private Call getCall() { in getCall() method in CallAnomalyWatchdogTest
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java62 Call call = mCallIdMapper.getCall(callId); in answerCall()
85 Call call = mCallIdMapper.getCall(callId); in deflectCall()
118 Call call = mCallIdMapper.getCall(callId); in rejectCall()
144 Call call = mCallIdMapper.getCall(callId); in rejectCallWithReason()
167 Call call = mCallIdMapper.getCall(callId); in transferCall()
191 Call call = mCallIdMapper.getCall(callId); in consultativeTransfer()
192 Call otherCall = mCallIdMapper.getCall(otherCallId); in consultativeTransfer()
216 Call call = mCallIdMapper.getCall(callId); in playDtmfTone()
239 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone()
262 Call call = mCallIdMapper.getCall(callId); in postDialContinue()
[all …]
DConnectionServiceWrapper.java131 Call call = mCallIdMapper.getCall(callId); in handleCreateConnectionComplete()
181 Call call = mCallIdMapper.getCall(callId); in handleCreateConferenceComplete()
217 Call call = mCallIdMapper.getCall(callId); in setActive()
240 Call call = mCallIdMapper.getCall(callId); in setRinging()
263 Call call = mCallIdMapper.getCall(callId); in resetConnectionTime()
284 Call call = mCallIdMapper.getCall(callId); in setVideoProvider()
305 Call call = mCallIdMapper.getCall(callId); in setDialing()
328 Call call = mCallIdMapper.getCall(callId); in setPulling()
351 Call call = mCallIdMapper.getCall(callId); in setDisconnected()
375 Call call = mCallIdMapper.getCall(callId); in setOnHold()
[all …]
DCallDiagnosticServiceController.java515 Call call = mCallIdMapper.getCall(callId); in handleDisplayDiagnosticMessage()
538 Call call = mCallIdMapper.getCall(callId); in handleClearDiagnosticMessage()
557 Call call = mCallIdMapper.getCall(callId); in handleSendD2DMessage()
576 Call call = mCallIdMapper.getCall(callId); in handleOverrideDisconnectMessage()
DTelecomBroadcastIntentProcessor.java252 Call call = mCallsManager.getCall(intent.getData().getSchemeSpecificPart()); in processIntent()
262 Call call = mCallsManager.getCall(intent.getData().getSchemeSpecificPart()); in processIntent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionTest.java88 assertThat(mHfpClientConnection.getCall()).isEqualTo(mCall); in constructorWithCall()
113 assertThat(mHfpClientConnection.getCall()).isEqualTo(mCall); in constructorWithNumber()
141 assertThat(mHfpClientConnection.getCall()).isNull(); in onHfpDisconnected()
221 assertThat(mHfpClientConnection.getCall()).isEqualTo(mCall); in updateCall()
234 assertThat(mHfpClientConnection.getCall()).isEqualTo(newCall); in updateCall()
240 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_ACTIVE); in handleCallChanged_active()
252 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_ACTIVE); in handleCallChanged_activeConference()
261 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD); in handleCallChanged_heldByResponseAndHold()
273 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD); in handleCallChanged_heldByResponseAndHoldConference()
282 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD); in handleCallChanged_held()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallUI.java145 Call call = mCallList.getCall(0); in onCreate()
154 Call call = mCallList.getCall(0); in onCreate()
167 Call call = mCallList.getCall(0); in onCreate()
175 Call call = mCallList.getCall(0); in onCreate()
184 Call call = mCallList.getCall(0); in onCreate()
192 Call call = mCallList.getCall(0); in onCreate()
215 Call call = mCallList.getCall(0); in onCreate()
222 Call call = mCallList.getCall(0); in onCreate()
228 Call call = mCallList.getCall(0); in onCreate()
233 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()
/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
DAudioRouteSelectorActivity.java65 DialerCall call = getCall(); in onAudioRouteSelected()
103 private DialerCall getCall() { in getCall() method in AudioRouteSelectorActivity
113 if (getCall() == null) { in onDisconnect()
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
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/tests/src/com/android/services/telephony/
DTelephonyConferenceControllerTest.java89 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testConferenceable()
91 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testConferenceable()
125 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testSrvccConferenceConnection()
127 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testSrvccConferenceConnection()
174 when(mTestTelephonyConnectionA.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
176 when(mTestTelephonyConnectionB.mMockRadioConnection.getCall() in testMergeMultiPartyCalls()
DTestTelephonyConnection.java122 protected Call getCall() { in getCall() method in TestTelephonyConnection
146 when(mMockRadioConnection.getCall()).thenReturn(mMockCall); in TestTelephonyConnection()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java159 Call call = connection.getCall(); in handleNewRingingConnection()
233 Call call = connection.getCall(); in handleNewUnknownConnection()
476 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
477 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
479 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
483 } else if (original.getCall() != null && original.getCall().getPhone() != null in maybeSwapWithUnknownConnection()
484 && original.getCall().getPhone() instanceof ImsPhone in maybeSwapWithUnknownConnection()
488 ImsPhone phone = (ImsPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
DCdmaConference.java160 Call call = radioConnection.getCall(); in getMultipartyCallForConnection()
174 return originalConnection.getCall(); in getOriginalCall()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothCall.java53 public Call getCall() { in getCall() method in BluetoothCall
137 mCall.conference(callToConferenceWith.getCall()); in conference()
274 return getCall() == null; in equals()
276 return o instanceof BluetoothCall && getCall() == ((BluetoothCall) o).getCall(); in equals()
/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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java343 HfpClientCall getCall(int... states) { in getCall() method in HeadsetClientStateMachine
565 if (getCall(HfpClientCall.CALL_STATE_INCOMING) != null) { in queryCallsDone()
592 getCall(HfpClientCall.CALL_STATE_INCOMING, HfpClientCall.CALL_STATE_WAITING); in acceptCall()
595 getCall( in acceptCall()
641 } else if (getCall(HfpClientCall.CALL_STATE_ACTIVE) != null) { in acceptCall()
677 getCall( in rejectCall()
718 HfpClientCall c = getCall(HfpClientCall.CALL_STATE_INCOMING); in holdCall()
722 c = getCall(HfpClientCall.CALL_STATE_ACTIVE); in holdCall()
743 getCall( in terminateCall()
749 c = getCall(HfpClientCall.CALL_STATE_HELD); in terminateCall()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothCallTest.java47 public void getCall() { in getCall() method in BluetoothCallTest
48 assertThat(mBluetoothCall.getCall()).isNull(); in getCall()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DVoipCallTransactionResult.java54 public Call getCall(){ in getCall() method in VoipCallTransactionResult

12