/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ParcelableCallUtils.java | 19 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/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 85 Call.Details.DIRECTION_OUTGOING); in testSinglePartyEmulation() 91 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulation() 104 assertEquals(Call.Details.DIRECTION_OUTGOING, imsConference.getCallDirection()); in testSinglePartyEmulation() 136 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState() 142 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState() 149 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState() 164 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState() 200 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaRemoval() 206 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaRemoval() 213 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaRemoval() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
D | CallCompat.java | 29 && ((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/apps/Dialer/java/com/android/incallui/ |
D | ConferenceManagerPresenter.java | 72 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()
|
D | CallCardPresenter.java | 19 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 …]
|
D | CallButtonPresenter.java | 156 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged() 455 final boolean showSwap = call.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in updateButtonsState() 458 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD) in updateButtonsState() 459 && call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateButtonsState() 472 && call.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in updateButtonsState() 475 final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE); in updateButtonsState() 536 return !call.can(CallCompat.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO); in isDowngradeToAudioSupported()
|
D | InCallPresenter.java | 30 import android.telecom.Call.Details; 164 android.telecom.Call telecomCall, android.telecom.Call.Details details) { 173 if (details.hasProperty(Details.PROPERTY_IS_EXTERNAL_CALL) 627 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in onCallAdded() 665 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in shouldAttemptBlocking() 759 if (call.getDetails().hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { in onCallRemoved() 1348 activeCall.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in handleCallKey() 1350 activeCall.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in handleCallKey() 1371 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD); in handleCallKey() 1964 void onDetailsChanged(DialerCall call, android.telecom.Call.Details details); in onDetailsChanged()
|
D | StatusBarNotifier.java | 19 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()
|
D | ExternalCallNotifier.java | 304 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()
|
D | ConferenceParticipantListAdapter.java | 224 && 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/ |
D | CallDetail.java | 47 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/ |
D | CallSdkCompat.java | 25 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/ |
D | DialerCall.java | 38 import android.telecom.Call.Details; 257 public void onDetailsChanged(Call call, Call.Details details) { 825 if (hasProperty(Details.PROPERTY_EMERGENCY_CALLBACK_MODE)) { in isPotentialEmergencyCallback() 989 if ((capabilities & Call.Details.CAPABILITY_MERGE_CONFERENCE) != 0) { in can() 1002 && ((Call.Details.CAPABILITY_MERGE_CONFERENCE & supportedCapabilities) == 0)) { in can() 1006 capabilities &= ~Call.Details.CAPABILITY_MERGE_CONFERENCE; in can() 1036 return hasProperty(Call.Details.PROPERTY_CONFERENCE); in isConferenceCall() 1202 return hasProperty(CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL); in isExternalCall() 1214 || !extras.containsKey(CallCompat.Details.EXTRA_ANSWERING_DROPS_FOREGROUND_CALL)) { in answeringDisconnectsForegroundVideoCall() 1217 return extras.getBoolean(CallCompat.Details.EXTRA_ANSWERING_DROPS_FOREGROUND_CALL); in answeringDisconnectsForegroundVideoCall() [all …]
|
D | ExternalCallList.java | 45 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()
|
D | TelecomAdapter.java | 98 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/ |
D | TestCallScreeningService.java | 30 private Call.Details mDetails; 49 public void onScreenCall(Call.Details callDetails) { in onScreenCall() 55 if (callDetails.getCallDirection() == Call.Details.DIRECTION_INCOMING) { in onScreenCall()
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
D | ImsVideoTech.java | 24 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() 342 return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO); in canPause()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoChargesAlertDialogFragment.java | 29 import android.telecom.Call.Details; 60 if (call.hasProperty(Details.PROPERTY_WIFI)) { in shouldShow()
|
/packages/apps/Car/libs/car-messenger-common/proto/ |
D | notification_msg.proto | 46 // Details about the connected phone. 136 // Details of the sender who sent the message. 169 // Details of the phone that is connected to the IHU.
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/ |
D | CallDetailLiveDataTest.java | 107 Call.Details updatedDetails = mock(Call.Details.class); in testOnDetailsChanged()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioManagerTest.java | 117 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall() 148 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall() 180 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) 216 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
|
D | BasicCallTests.java | 854 assertTrue(Call.Details.hasProperty( in testCdmaEnhancedPrivacyVoiceCall() 856 Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)); in testCdmaEnhancedPrivacyVoiceCall() 874 assertFalse(Call.Details.hasProperty( in testDropCdmaEnhancedPrivacyVoiceCall() 876 Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)); in testDropCdmaEnhancedPrivacyVoiceCall()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | ProjectionCallHandlerTest.java | 270 Call.Details details = mock(Call.Details.class); in createCall()
|
/packages/apps/Launcher3/src_plugins/ |
D | README.md | 3 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/ |
D | CallStateLiveData.java | 68 public void onDetailsChanged(Call telecomCall, Call.Details details) {
|