/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; 70 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, in toParcelableCall() 76 public ParcelableCall toParcelableCallForScreening(Call call, in toParcelableCallForScreening() 102 Call call, in toParcelableCall() 133 Call call, in toParcelableCall() 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() [all …]
|
D | CallsManagerListenerBase.java | 30 public void onCallAdded(Call call) { in onCallAdded() 34 public void onCallRemoved(Call call) { in onCallRemoved() 38 public void onCreateConnectionFailed(Call call) { in onCreateConnectionFailed() 42 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() 47 Call call, in onConnectionServiceChanged() 53 public void onIncomingCallAnswered(Call call) { in onIncomingCallAnswered() 57 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { in onIncomingCallRejected() 78 public void onRingbackRequested(Call call, boolean ringback) { in onRingbackRequested() 82 public void onIsConferencedChanged(Call call) { in onIsConferencedChanged() 86 public void onIsVoipAudioModeChanged(Call call) { in onIsVoipAudioModeChanged() [all …]
|
D | CallAudioManager.java | 53 private final LinkedHashSet<Call> mActiveDialingOrConnectingCalls; 54 private final LinkedHashSet<Call> mRingingCalls; 55 private final LinkedHashSet<Call> mHoldingCalls; 56 private final LinkedHashSet<Call> mAudioProcessingCalls; 57 private final Set<Call> mCalls; 58 private final SparseArray<LinkedHashSet<Call>> mCallStateToCalls; 70 private Call mStreamingCall; 71 private Call mForegroundCall; 95 mCallStateToCalls = new SparseArray<LinkedHashSet<Call>>() {{ in CallAudioManager() 125 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() [all …]
|
D | CallsManager.java | 181 public class CallsManager extends Call.ListenerBase 192 default void onStartCreateConnection(Call call) {} in onStartCreateConnection() 193 void onCallAdded(Call call); in onCallAdded() 194 void onCreateConnectionFailed(Call call); in onCreateConnectionFailed() 195 void onCallRemoved(Call call); in onCallRemoved() 196 void onCallStateChanged(Call call, int oldState, int newState); in onCallStateChanged() 198 Call call, in onConnectionServiceChanged() 201 void onIncomingCallAnswered(Call call); in onIncomingCallAnswered() 202 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); in onIncomingCallRejected() 207 void onRingbackRequested(Call call, boolean ringback); in onRingbackRequested() [all …]
|
D | CallDiagnosticServiceController.java | 73 private final Call.Listener mCallListener = new Call.ListenerBase() { 75 public void onConnectionCapabilitiesChanged(Call call) { 80 public void onConnectionPropertiesChanged(Call call, boolean didRttChange) { 98 public void onExtrasChanged(Call call, int source, Bundle extras, 101 if (source == Call.SOURCE_INCALL_SERVICE) { 119 public void onExtrasRemoved(Call call, int source, List<String> keys) { 121 if (source == Call.SOURCE_INCALL_SERVICE) { 134 public void onVideoStateChanged(Call call, int previousVideoState, int newVideoState) { 145 public void onBluetoothCallQualityReport(Call call, BluetoothCallQualityReport report) { 156 public void onReceivedDeviceToDeviceMessage(Call call, int messageType, int messageValue) { [all …]
|
D | Call.java | 108 public class Call implements CreateConnectionResponse, EventManager.Loggable, class 152 default void onSuccessfulOutgoingCall(Call call, int callState) {}; in onSuccessfulOutgoingCall() 153 default void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) {}; in onFailedOutgoingCall() 154 default void onSuccessfulIncomingCall(Call call) {}; in onSuccessfulIncomingCall() 155 default void onFailedIncomingCall(Call call) {}; in onFailedIncomingCall() 156 default void onSuccessfulUnknownCall(Call call, int callState) {}; in onSuccessfulUnknownCall() 157 default void onFailedUnknownCall(Call call) {}; in onFailedUnknownCall() 158 default void onRingbackRequested(Call call, boolean ringbackRequested) {}; in onRingbackRequested() 159 default void onPostDialWait(Call call, String remaining) {}; in onPostDialWait() 160 default void onPostDialChar(Call call, char nextChar) {}; in onPostDialChar() [all …]
|
D | InCallAdapter.java | 62 Call call = mCallIdMapper.getCall(callId); in answerCall() 85 Call call = mCallIdMapper.getCall(callId); in deflectCall() 118 Call call = mCallIdMapper.getCall(callId); in rejectCall() 135 @android.telecom.Call.RejectReason int rejectReason) { in rejectCallWithReason() 144 Call call = mCallIdMapper.getCall(callId); in rejectCallWithReason() 167 Call call = mCallIdMapper.getCall(callId); in transferCall() 191 Call call = mCallIdMapper.getCall(callId); in consultativeTransfer() 192 Call otherCall = mCallIdMapper.getCall(otherCallId); in consultativeTransfer() 216 Call call = mCallIdMapper.getCall(callId); in playDtmfTone() 239 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone() [all …]
|
D | CallAnomalyWatchdog.java | 45 public class CallAnomalyWatchdog extends CallsManagerListenerBase implements Call.Listener { 118 private final Map<Call, ScheduledFuture<?>> mScheduledFutureMap = new ConcurrentHashMap<>(2); 119 private final Map<Call, WatchdogCallState> mWatchdogCallStateMap = new ConcurrentHashMap<>(2); 122 private final Set<Call> mCallsPendingDestruction = Collections.newSetFromMap( 165 public void onStartCreateConnection(Call call) { in onStartCreateConnection() 171 public void onCallAdded(Call call) { in onCallAdded() 181 public void onCreateConnectionFailed(Call call) { in onCreateConnectionFailed() 191 public void onCallRemoved(Call call) { in onCallRemoved() 204 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() 215 public void onSuccessfulOutgoingCall(Call call, int callState) { in onSuccessfulOutgoingCall() [all …]
|
D | CallIdMapper.java | 86 String getCallId(Call call); in getCallId() 89 private final BiMap<String, Call> mCalls = new BiMap<>(); 96 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() 102 void addCall(Call call, String id) { in addCall() 109 void addCall(Call call) { in addCall() 113 void removeCall(Call call) { in removeCall() 124 String getCallId(Call call) { in getCallId() 131 Call getCall(Object objId) { in getCall() 140 Collection<Call> getCalls() { in getCalls()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeCallList.java | 20 import android.telecom.Call; 36 public class CarModeCallList extends Call.Callback { 39 public void onCallAdded(Call call) {} in onCallAdded() 40 public void onCallRemoved(Call call) {} in onCallRemoved() 41 public void onRttStarted(Call call) {} in onRttStarted() 42 public void onRttStopped(Call call) {} in onRttStopped() 43 public void onRttInitiationFailed(Call call, int reason) {} in onRttInitiationFailed() 44 public void onRttRequest(Call call, int id) {} in onRttRequest() 52 private Call mCall; 54 public TestVideoCallListener(Call call) { in TestVideoCallListener() [all …]
|
D | CallListAdapter.java | 23 import android.telecom.Call; 37 public void onCallAdded(Call call) { 42 public void onCallRemoved(Call call) { 99 Call call = mCallList.getCall(position); in getView() 128 private static String getStateString(Call call) { in getStateString() 130 case Call.STATE_ACTIVE: in getStateString() 132 case Call.STATE_CONNECTING: in getStateString() 134 case Call.STATE_DIALING: in getStateString() 136 case Call.STATE_DISCONNECTED: in getStateString() 138 case Call.STATE_DISCONNECTING: in getStateString() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 20 import android.telecom.Call; 37 public class TestCallList extends Call.Callback { 40 public void onCallAdded(Call call) {} in onCallAdded() 41 public void onCallRemoved(Call call) {} in onCallRemoved() 42 public void onRttStarted(Call call) {} in onRttStarted() 43 public void onRttStopped(Call call) {} in onRttStopped() 44 public void onRttInitiationFailed(Call call, int reason) {} in onRttInitiationFailed() 45 public void onRttRequest(Call call, int id) {} in onRttRequest() 52 private Call mCall; 54 public TestVideoCallListener(Call call) { in TestVideoCallListener() [all …]
|
D | CallListAdapter.java | 23 import android.telecom.Call; 37 public void onCallAdded(Call call) { 42 public void onCallRemoved(Call call) { 104 Call call = mCallList.getCall(position); in getView() 133 private static String getStateString(Call call) { in getStateString() 135 case Call.STATE_ACTIVE: in getStateString() 137 case Call.STATE_CONNECTING: in getStateString() 139 case Call.STATE_DIALING: in getStateString() 141 case Call.STATE_DISCONNECTED: in getStateString() 143 case Call.STATE_DISCONNECTING: in getStateString() [all …]
|
D | TestInCallUI.java | 26 import android.telecom.Call; 92 public void onCallRemoved(Call call) { in onCreate() 100 public void onRttStarted(Call call) { in onCreate() 105 public void onRttStopped(Call call) { in onCreate() 110 public void onRttInitiationFailed(Call call, int reason) { in onCreate() 116 public void onRttRequest(Call call, int id) { in onCreate() 145 Call call = mCallList.getCall(0); in onCreate() 154 Call call = mCallList.getCall(0); in onCreate() 156 if (call.getState() == Call.STATE_HOLDING) { in onCreate() 167 Call call = mCallList.getCall(0); in onCreate() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallTest.java | 67 import com.android.server.telecom.Call; 147 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testSetHasGoneActive() 162 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testSetVideoStateForTransactionalCalls() 191 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testToggleTransactionalVideoState() 222 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testMultipleCachedMuteStateChanges() 252 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testMultipleCachedCurrentEndpointChanges() 285 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testMultipleCachedAvailableEndpointChanges() 319 Call call = createCall("1", Call.CALL_DIRECTION_INCOMING); in testAllCachedCallbacks() 410 Call call = new Call( in testIsCreateConnectionComplete() 421 Call.CALL_DIRECTION_INCOMING, in testIsCreateConnectionComplete() [all …]
|
D | CallsManagerTest.java | 94 import com.android.server.telecom.Call; 453 private Call constructOngoingCall(String callId, PhoneAccountHandle phoneAccountHandle) { in constructOngoingCall() 454 Call ongoingCall = new Call( in constructOngoingCall() 465 Call.CALL_DIRECTION_INCOMING, in constructOngoingCall() 486 Call ongoingCall = constructOngoingCall("1", SIM_2_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive() 507 Call ongoingCall = constructOngoingCall("1", SIM_2_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestriction() 527 Call ongoingCall = constructOngoingCall("1", SIM_2_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestrictionSubset() 548 Call ongoingCall = constructOngoingCall("1", SIM_3_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestrictionSubset2() 616 Call ongoingCall = constructOngoingCall("1", SIM_2_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive_dsdaCallingPossible() 634 Call ongoingCall = constructOngoingCall("1", SIM_2_HANDLE); in testConstructPossiblePhoneAccountsMultiSimActive_simulCalling_dsdaPossible() [all …]
|
D | CallAudioManagerTest.java | 47 import com.android.server.telecom.Call; 104 }).when(mPlayerFactory).createPlayer(any(Call.class), anyInt()); in setUp() 129 Call call = createIncomingCall(); in testUnmuteOfSecondIncomingCall() 131 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall() 160 Call call2 = mock(Call.class); in testUnmuteOfSecondIncomingCall() 162 when(call2.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall() 192 Call call = createIncomingCall(); 194 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) 228 Call call = createIncomingCall(); 230 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) [all …]
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | ExternalCallList.java | 22 import android.telecom.Call; 38 private final Set<Call> externalCalls = new ArraySet<>(); 42 private final Call.Callback telecomCallCallback = 43 new Call.Callback() { 45 public void onDetailsChanged(Call call, Call.Details details) { 51 public void onCallAdded(Call telecomCall) { in onCallAdded() 60 public void onCallRemoved(Call telecomCall) { in onCallRemoved() 86 public boolean isCallTracked(@NonNull android.telecom.Call telecomCall) { in isCallTracked() 91 private void notifyExternalCallAdded(Call call) { in notifyExternalCallAdded() 98 private void notifyExternalCallRemoved(Call call) { in notifyExternalCallRemoved() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/ndo/ |
D | InCallLiveData.java | 18 import android.telecom.Call; 38 public class InCallLiveData extends MediatorLiveData<Call> implements 50 private final Call.Callback mCallStateChangedCallback = new Call.Callback() { 52 public void onStateChanged(Call call, int state) { 58 public void onParentChanged(Call call, Call parent) { 64 public void onChildrenChanged(Call call, List<Call> children) { 88 public void onCallAdded(Call call) { in onCallAdded() 95 public void onCallRemoved(Call call) { in onCallRemoved() 106 private Call getFirstBlockedActivityCall() { in getFirstBlockedActivityCall() 114 List<Call> callList = inCallService.getCalls(); in getFirstBlockedActivityCall() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothCall.java | 22 import android.telecom.Call; 47 private Call mCall; 53 public Call getCall() { in getCall() 61 public void setCall(Call call) { in setCall() 65 public BluetoothCall(Call call) { in BluetoothCall() 70 public BluetoothCall(Call call, UUID callId) { in BluetoothCall() 187 Call parent = mCall.getParent(); in getParentId() 214 public Call.Details getDetails() { in getDetails() 218 public Call.RttCall getRttCall() { in getRttCall() 226 public void registerCallback(Call.Callback callback) { in registerCallback() [all …]
|
D | BluetoothInCallService.java | 35 import android.telecom.Call; 208 public class CallStateCallback extends Call.Callback { 226 if (state == Call.STATE_DISCONNECTING) { in onStateChanged() 241 if (getLastState() == Call.STATE_ACTIVE && state == Call.STATE_HOLDING) { in onStateChanged() 243 if (otherCall.getState() == Call.STATE_CONNECTING) { in onStateChanged() 255 && getLastState() == Call.STATE_CONNECTING in onStateChanged() 256 && (state == Call.STATE_DIALING || state == Call.STATE_PULLING_CALL)) { in onStateChanged() 265 public void onStateChanged(Call call, int state) { in onStateChanged() 270 public void onDetailsChanged(BluetoothCall call, Call.Details details) { in onDetailsChanged() 282 public void onDetailsChanged(Call call, Call.Details details) { in onDetailsChanged() [all …]
|
/packages/modules/Bluetooth/system/profile/avrcp/tests/ |
D | avrcp_device_test.cc | 88 uint8_t b, bool c, AvrcpResponse d) { a->Call(b, c, d); }, in SetUp() 130 uint8_t b, bool c, AvrcpResponse d) { a->Call(b, c, d); }, in TEST_F() 172 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F() 185 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F() 213 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F() 227 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F() 242 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(response)))) in TEST_F() 276 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F() 290 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F() 321 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 37 import com.android.server.telecom.Call; 65 Call getActiveCall(); in getActiveCall() 75 public final Call.ListenerBase mCallListener = new Call.ListenerBase() { 77 public void onCallerInfoChanged(Call call) { 87 private final Set<Call> mCalls = new ArraySet<>(); 91 private Call mIncomingCall; 103 public Call getIncomingCall() { in getIncomingCall() 108 public void onCallAdded(Call call) { in onCallAdded() 119 public void onCallRemoved(Call call) { in onCallRemoved() 129 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/voip/ |
D | VoipCallMonitor.java | 44 import com.android.server.telecom.Call; 62 private final List<Call> mNotificationPendingCalls; 65 private final Map<NotificationInfo, Call> mNotificationInfoToCallMap; 66 private final Map<PhoneAccountHandle, Set<Call>> mAccountHandleToCallMap; 98 for (Call call : mNotificationPendingCalls) { in VoipCallMonitor() 132 Call call = mNotificationInfoToCallMap.getOrDefault(info, null); in VoipCallMonitor() 163 public void onCallAdded(Call call) { in onCallAdded() 170 Set<Call> callList = mAccountHandleToCallMap.computeIfAbsent(phoneAccountHandle, in onCallAdded() 183 public void onCallRemoved(Call call) { in onCallRemoved() 191 Set<Call> callList = mAccountHandleToCallMap.computeIfAbsent(phoneAccountHandle, in onCallRemoved() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 36 import android.telecom.Call; 100 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() [all …]
|