Home
last modified time | relevance | path

Searched refs:mCallId (Results 1 – 9 of 9) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java95 mInCallServiceFixtureX.mInCallAdapter.disconnectCall(ids.mCallId); in testSingleOutgoingCallLocalDisconnect()
96 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
97 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
101 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
103 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
114 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
116 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
131 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingCall()
132 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingCall()
140 .answer(ids.mCallId); in testTelecomManagerAcceptRingingCall()
[all …]
DCallExtrasTest.java64 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
66 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
85 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsPutBooleanExtra()
88 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getBoolean(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
107 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
109 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getInt(EXTRA_KEY_INT)); in testCsPutIntExtra()
129 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
131 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsPutStringExtra()
152 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
154 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsRemoveExtra()
[all …]
DTelecomSystemTest.java224 final String mCallId; field in TelecomSystemTest.IdPair
228 this.mCallId = callId; in IdPair()
266 inCallAdapter.conference(callId1.mCallId, callId2.mCallId); in makeConferenceCall()
269 ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId); in makeConferenceCall()
270 ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId); in makeConferenceCall()
280 assertTrue(conferenceCall.getChildCallIds().contains(callId1.mCallId)); in makeConferenceCall()
281 assertTrue(conferenceCall.getChildCallIds().contains(callId2.mCallId)); in makeConferenceCall()
429 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
430 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
435 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
[all …]
DVideoProviderTest.java109 mVideoCall = mInCallServiceFixtureX.getCall(mCallIds.mCallId).getVideoCallImpl(); in setUp()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DAnswerPresenter.java43 private String mCallId; field in AnswerPresenter
67 if (mCallId != null) { in onUiShowing()
68 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onUiShowing()
80 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onIncomingCall()
83 if (!call.getId().equals(mCallId)) { in onIncomingCall()
108 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onSessionModificationStateChange()
149 mCallId = call.getId(); in processIncomingCall()
153 CallList.getInstance().addCallUpdateListener(mCallId, this); in processIncomingCall()
155 Log.d(TAG, "Showing incoming for call id: " + mCallId + " " + this); in processIncomingCall()
177 mCallId = call.getId(); in processVideoUpgradeRequestCall()
[all …]
DPostCharDialogFragment.java37 private String mCallId; field in PostCharDialogFragment
44 mCallId = callId; in PostCharDialogFragment()
53 mCallId = savedInstanceState.getString(STATE_CALL_ID); in onCreateDialog()
67 TelecomAdapter.getInstance().postDialContinue(mCallId, true); in onCreateDialog()
85 TelecomAdapter.getInstance().postDialContinue(mCallId, false); in onCancel()
92 outState.putString(STATE_CALL_ID, mCallId); in onSaveInstanceState()
DContactInfoCache.java264 private final String mCallId; field in ContactInfoCache.PhoneNumberServiceListener
267 mCallId = callId; in PhoneNumberServiceListener()
277 clearCallbacks(mCallId); in onPhoneNumberInfoComplete()
294 final ContactCacheEntry oldEntry = mInfoMap.get(mCallId); in onPhoneNumberInfoComplete()
311 mInfoMap.put(mCallId, entry); in onPhoneNumberInfoComplete()
312 sendInfoNotifications(mCallId, entry); in onPhoneNumberInfoComplete()
327 clearCallbacks(mCallId); in onPhoneNumberInfoComplete()
333 onImageLoadComplete(TOKEN_UPDATE_PHOTO_FOR_CALL_STATE, null, bitmap, mCallId); in onImageFetchComplete()
339 final ContactCacheEntry entry = mInfoMap.get(mCallId); in onContactInteractionsFound()
342 clearCallbacks(mCallId); in onContactInteractionsFound()
[all …]
DStatusBarNotifier.java92 private String mCallId = null; field in StatusBarNotifier
149 if (!TextUtils.isEmpty(mCallId)) { in cancelNotification()
150 CallList.getInstance().removeCallUpdateListener(mCallId, this); in cancelNotification()
151 mCallId = null; in cancelNotification()
195 if (!TextUtils.isEmpty(mCallId)) { in showNotification()
196 CallList.getInstance().removeCallUpdateListener(mCallId, this); in showNotification()
198 mCallId = call.getId(); in showNotification()
750 if (mCallId != null) { in onSessionModificationStateChange()
751 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onSessionModificationStateChange()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java157 private int mCallId = 0; field in CallsManager
1990 return TELECOM_CALL_ID_PREFIX + (++mCallId); in getNextCallId()