Home
last modified time | relevance | path

Searched refs:Details (Results 1 – 25 of 43) 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;
151 properties |= android.telecom.Call.Details.PROPERTY_CONFERENCE; in toParcelableCall()
155 properties |= android.telecom.Call.Details.PROPERTY_ENTERPRISE_CALL; in toParcelableCall()
159 properties |= android.telecom.Call.Details.PROPERTY_VOIP_AUDIO_MODE; in toParcelableCall()
163 properties |= android.telecom.Call.Details.PROPERTY_IS_TRANSACTIONAL; in toParcelableCall()
170 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall()
175 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall()
180 android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in toParcelableCall()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java100 Call.Details.DIRECTION_OUTGOING); in testPropertyPropagation()
106 Call.Details.DIRECTION_INCOMING); in testPropertyPropagation()
149 Call.Details.DIRECTION_OUTGOING); in testNotifyOnConferenceCapacityChanged()
155 Call.Details.DIRECTION_INCOMING); in testNotifyOnConferenceCapacityChanged()
194 Call.Details.DIRECTION_OUTGOING); in testSinglePartyEmulation()
200 Call.Details.DIRECTION_INCOMING); in testSinglePartyEmulation()
213 assertEquals(Call.Details.DIRECTION_OUTGOING, imsConference.getCallDirection()); in testSinglePartyEmulation()
245 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState()
251 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState()
258 Call.Details.DIRECTION_INCOMING); in testDisconnectParticipantViaDisconnectState()
[all …]
DTestTelephonyConnectionSimple.java50 super(null, null, android.telecom.Call.Details.DIRECTION_INCOMING); in TestTelephonyConnectionSimple()
/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/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.java156 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged()
459 final boolean showSwap = call.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in updateButtonsState()
462 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD) in updateButtonsState()
463 && call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateButtonsState()
476 && call.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in updateButtonsState()
479 final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE); in updateButtonsState()
540 return !call.can(CallCompat.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO); in isDowngradeToAudioSupported()
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()
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)
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()
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;
57 import android.telecom.Call.Details;
565 context, call.hasProperty(Details.PROPERTY_GENERIC_CONFERENCE)); in getContentTitle()
612 call.isConferenceCall() && !call.hasProperty(Details.PROPERTY_GENERIC_CONFERENCE)); in getLargeIconToDisplay()
667 } else if (call.hasProperty(Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)) { in getIconToDisplay()
703 if (call.hasProperty(Details.PROPERTY_WIFI)) { in getContentString()
712 } else if (call.hasProperty(Details.PROPERTY_WIFI)) { in getContentString()
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/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothCall.java214 public Call.Details getDetails() { in getDetails()
286 return getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE); in isConference()
302 return getDetails().getCallDirection() == Call.Details.DIRECTION_INCOMING; in isIncoming()
306 return getDetails().hasProperty(Call.Details.PROPERTY_IS_EXTERNAL_CALL); in isExternalCall()
310 return getDetails().hasProperty(Call.Details.PROPERTY_HIGH_DEF_AUDIO); in isHighDefAudio()
318 return can(Call.Details.CAPABILITY_SWAP_CONFERENCE) in wasConferencePreviouslyMerged()
319 && !can(Call.Details.CAPABILITY_MERGE_CONFERENCE); in wasConferencePreviouslyMerged()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallDiagnosticService.java34 public Call.Details details;
36 TestCallDiagnostics(Call.Details details) { in TestCallDiagnostics()
41 public void onCallDetailsChanged(@NonNull Call.Details details) { in onCallDetailsChanged()
72 public CallDiagnostics onInitializeCallDiagnostics(@NonNull Call.Details call) { in onInitializeCallDiagnostics()
DTestCallScreeningService.java30 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/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/Car/SystemUI/tests/src/com/android/systemui/car/ndo/
DInCallLiveDataTest.java73 private Call.Details mMockDetails;
121 private static Call.Details createMockCallDetails(String number, int state) { in createMockCallDetails()
122 Call.Details callDetails = mock(Call.Details.class); in createMockCallDetails()
131 when(callDetails.hasProperty(Call.Details.PROPERTY_SELF_MANAGED)).thenReturn(true); in createMockCallDetails()
/packages/apps/Dialer/java/com/android/incallui/call/
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()
DDialerCall.java38 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 …]
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/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()
342 return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO); in canPause()
/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/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDummyCallscreeningService.java25 public void onScreenCall(@NonNull Call.Details callDetails) { in onScreenCall()
/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/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/
DInCallModel.java434 Call.Details callDetails = mCurrentCall == null ? null : mCurrentCall.getDetails(); in getCallingAppPackageName()
443 && mCurrentCall.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED); in isSelfManagedCall()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java131 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
162 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
194 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
230 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))

12