Home
last modified time | relevance | path

Searched refs:Details (Results 1 – 25 of 34) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java19 import static android.telecom.Call.Details.DIRECTION_INCOMING;
20 import static android.telecom.Call.Details.DIRECTION_OUTGOING;
21 import static android.telecom.Call.Details.DIRECTION_UNKNOWN;
148 properties |= android.telecom.Call.Details.PROPERTY_CONFERENCE; in toParcelableCall()
152 properties |= android.telecom.Call.Details.PROPERTY_ENTERPRISE_CALL; in toParcelableCall()
156 properties |= android.telecom.Call.Details.PROPERTY_VOIP_AUDIO_MODE; in toParcelableCall()
163 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall()
168 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall()
173 android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in toParcelableCall()
175 android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in toParcelableCall()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DCallCompat.java29 && ((call.getDetails().getCallCapabilities() & Details.CAPABILITY_CAN_PULL_CALL) in canPullExternalCall()
30 == Details.CAPABILITY_CAN_PULL_CALL); in canPullExternalCall()
34 public static class Details { class in CallCompat
36 public static final int PROPERTY_IS_EXTERNAL_CALL = Call.Details.PROPERTY_IS_EXTERNAL_CALL;
37 public static final int PROPERTY_ENTERPRISE_CALL = Call.Details.PROPERTY_ENTERPRISE_CALL;
38 public static final int CAPABILITY_CAN_PULL_CALL = Call.Details.CAPABILITY_CAN_PULL_CALL;
40 Call.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO;
/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java90 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulation()
96 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulation()
152 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
158 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
200 Call.Details.DIRECTION_INCOMING); in testNoSinglePartyEmulationWithSimCallManager()
206 Call.Details.DIRECTION_INCOMING); in testNoSinglePartyEmulationWithSimCallManager()
237 Call.Details.DIRECTION_INCOMING); in testNormalConference()
243 Call.Details.DIRECTION_INCOMING); in testNormalConference()
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerPresenter.java72 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged()
74 details.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in onDetailsChanged()
76 details.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in onDetailsChanged()
78 if (call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE) in onDetailsChanged()
80 || call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE) in onDetailsChanged()
85 if (!details.can(android.telecom.Call.Details.CAPABILITY_MANAGE_CONFERENCE)) { in onDetailsChanged()
DCallCardPresenter.java19 import static com.android.contacts.common.compat.CallCompat.Details.PROPERTY_ENTERPRISE_CALL;
36 import android.telecom.Call.Details;
362 public void onDetailsChanged(DialerCall call, Details details) { in onDetailsChanged()
365 if (call.can(Details.CAPABILITY_MANAGE_CONFERENCE) in onDetailsChanged()
366 != details.can(Details.CAPABILITY_MANAGE_CONFERENCE)) { in onDetailsChanged()
451 isPrimaryCallActive() && primary.hasProperty(Details.PROPERTY_HIGH_DEF_AUDIO); in updatePrimaryCallState()
481 .setIsWifi(primary.hasProperty(Details.PROPERTY_WIFI)) in updatePrimaryCallState()
484 && !primary.hasProperty(Details.PROPERTY_GENERIC_CONFERENCE)) in updatePrimaryCallState()
537 return primary.can(android.telecom.Call.Details.CAPABILITY_MANAGE_CONFERENCE) && !isFullscreen; in shouldShowManageConference()
544 return incomingCall.can(Details.CAPABILITY_HOLD); in supports2ndCallOnHold()
[all …]
DCallButtonPresenter.java149 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged()
460 final boolean showSwap = call.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in updateButtonsState()
463 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD) in updateButtonsState()
464 && call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateButtonsState()
477 && call.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in updateButtonsState()
480 final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE); in updateButtonsState()
541 return !call.can(CallCompat.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO); in isDowngradeToAudioSupported()
DInCallPresenter.java30 import android.telecom.Call.Details;
164 android.telecom.Call telecomCall, android.telecom.Call.Details details) {
173 if (details.hasProperty(Details.PROPERTY_IS_EXTERNAL_CALL)
624 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in onCallAdded()
662 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in shouldAttemptBlocking()
756 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in onCallRemoved()
1343 activeCall.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in handleCallKey()
1345 activeCall.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in handleCallKey()
1366 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD); in handleCallKey()
1959 void onDetailsChanged(DialerCall call, android.telecom.Call.Details details); in onDetailsChanged()
DStatusBarNotifier.java19 import static android.telecom.Call.Details.PROPERTY_HIGH_DEF_AUDIO;
20 import static com.android.contacts.common.compat.CallCompat.Details.PROPERTY_ENTERPRISE_CALL;
53 import android.telecom.Call.Details;
561 context, call.hasProperty(Details.PROPERTY_GENERIC_CONFERENCE)); in getContentTitle()
608 call.isConferenceCall() && !call.hasProperty(Details.PROPERTY_GENERIC_CONFERENCE)); in getLargeIconToDisplay()
663 } else if (call.hasProperty(Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)) { in getIconToDisplay()
692 if (call.hasProperty(Details.PROPERTY_WIFI)) { in getContentString()
701 } else if (call.hasProperty(Details.PROPERTY_WIFI)) { in getContentString()
DExternalCallNotifier.java304 if (call.getDetails().hasProperty(android.telecom.Call.Details.PROPERTY_CONFERENCE) in getLargeIconToDisplay()
306 .hasProperty(android.telecom.Call.Details.PROPERTY_GENERIC_CONFERENCE)) { in getLargeIconToDisplay()
349 if (call.getDetails().hasProperty(android.telecom.Call.Details.PROPERTY_CONFERENCE)) { in getContentTitle()
352 call.getDetails().hasProperty(android.telecom.Call.Details.PROPERTY_GENERIC_CONFERENCE)); in getContentTitle()
DConferenceParticipantListAdapter.java224 && call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in getView()
226 call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in getView()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DCallDetail.java47 public static CallDetail fromTelecomCallDetail(@Nullable Call.Details callDetail) { in fromTelecomCallDetail()
83 private static String getNumber(Call.Details callDetail) { in getNumber()
99 private static CharSequence getDisconnectCause(Call.Details callDetail) { in getDisconnectCause()
105 private static Uri getGatewayInfoOriginalAddress(Call.Details callDetail) { in getGatewayInfoOriginalAddress()
111 private static long getConnectTimeMillis(Call.Details callDetail) { in getConnectTimeMillis()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCallSdkCompat.java25 public static class Details { class in CallSdkCompat
29 public static final int PROPERTY_ENTERPRISE_CALL = Call.Details.PROPERTY_ENTERPRISE_CALL;
34 Call.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO;
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java38 import android.telecom.Call.Details;
255 public void onDetailsChanged(Call call, Call.Details details) {
820 if (hasProperty(Details.PROPERTY_EMERGENCY_CALLBACK_MODE)) { in isPotentialEmergencyCallback()
984 if ((capabilities & Call.Details.CAPABILITY_MERGE_CONFERENCE) != 0) { in can()
997 && ((Call.Details.CAPABILITY_MERGE_CONFERENCE & supportedCapabilities) == 0)) { in can()
1001 capabilities &= ~Call.Details.CAPABILITY_MERGE_CONFERENCE; in can()
1031 return hasProperty(Call.Details.PROPERTY_CONFERENCE); in isConferenceCall()
1197 return hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL); in isExternalCall()
1209 || !extras.containsKey(CallCompat.Details.EXTRA_ANSWERING_DROPS_FOREGROUND_CALL)) { in answeringDisconnectsForegroundVideoCall()
1212 return extras.getBoolean(CallCompat.Details.EXTRA_ANSWERING_DROPS_FOREGROUND_CALL); in answeringDisconnectsForegroundVideoCall()
[all …]
DExternalCallList.java45 public void onDetailsChanged(Call call, Call.Details details) {
53 telecomCall.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)); in onCallAdded()
106 if (!call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in notifyExternalCallUpdated()
DTelecomAdapter.java98 if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE)) { in merge()
112 if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE)) { in swap()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallScreeningService.java26 private Call.Details mDetails;
38 public void onScreenCall(Call.Details callDetails) { in onScreenCall()
43 if (callDetails.getCallDirection() == Call.Details.DIRECTION_INCOMING) { in onScreenCall()
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java24 import android.telecom.Call.Details;
81 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX)) { in isAvailable()
87 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX)) { in isAvailable()
341 return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO); in canPause()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java100 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
132 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
163 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
199 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
DBasicCallTests.java838 assertTrue(Call.Details.hasProperty( in testCdmaEnhancedPrivacyVoiceCall()
840 Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)); in testCdmaEnhancedPrivacyVoiceCall()
858 assertFalse(Call.Details.hasProperty( in testDropCdmaEnhancedPrivacyVoiceCall()
860 Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)); in testDropCdmaEnhancedPrivacyVoiceCall()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoChargesAlertDialogFragment.java29 import android.telecom.Call.Details;
60 if (call.hasProperty(Details.PROPERTY_WIFI)) { in shouldShow()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DCallDetailLiveDataTest.java107 Call.Details updatedDetails = mock(Call.Details.class); in testOnDetailsChanged()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java270 Call.Details details = mock(Call.Details.class); in createCall()
/packages/apps/Launcher3/src_plugins/
DREADME.md3 Details about how to create a new plugin interface, or to use existing interfaces to write a plugin…
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DCallStateLiveData.java68 public void onDetailsChanged(Call telecomCall, Call.Details details) {
DCallDetailLiveData.java70 public void onDetailsChanged(Call telecomCall, Call.Details details) {

12