/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/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/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 90 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/ |
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 | 149 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()
|
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) 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()
|
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; 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 …]
|
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 | 26 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/ |
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() 341 return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO); in canPause()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioManagerTest.java | 100 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))
|
D | BasicCallTests.java | 838 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/ |
D | VideoChargesAlertDialogFragment.java | 29 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/ |
D | CallDetailLiveDataTest.java | 107 Call.Details updatedDetails = mock(Call.Details.class); in testOnDetailsChanged()
|
/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) {
|
D | CallDetailLiveData.java | 70 public void onDetailsChanged(Call telecomCall, Call.Details details) {
|