/packages/apps/Dialer/java/com/android/incallui/call/ |
H A D | DialerCallDelegate.java | 19 import android.telecom.Call; 24 DialerCall getDialerCallFromTelecomCall(Call telecomCall);
|
H A D | ExternalCallList.java | 22 import android.telecom.Call; 33 * <p>External calls are those with {@code android.telecom.Call.Details#PROPERTY_IS_EXTERNAL_CALL}. 37 private final Set<Call> mExternalCalls = new ArraySet<>(); 40 /** Handles {@link android.telecom.Call.Callback} callbacks. */ 41 private final Call.Callback mTelecomCallCallback = 42 new Call.Callback() { 44 public void onDetailsChanged(Call call, Call.Details details) { 50 public void onCallAdded(Call telecomCall) { 60 public void onCallRemoved(Call telecomCal [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallsManagerListenerBase.java | 28 public void onCallAdded(Call call) { 32 public void onCallRemoved(Call call) { 36 public void onCallStateChanged(Call call, int oldState, int newState) { 41 Call call, 47 public void onIncomingCallAnswered(Call call) { 51 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { 60 public void onRingbackRequested(Call call, boolean ringback) { 64 public void onIsConferencedChanged(Call call) { 68 public void onIsVoipAudioModeChanged(Call call) { 72 public void onVideoStateChanged(Call cal [all...] |
H A D | ParcelableCallUtils.java | 35 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, 43 * Parcels all information for a {@link Call} into a new {@link ParcelableCall} instance. 45 * @param call The {@link Call} to parcel. 47 * {@link Call}, {@code false} otherwise. Since the {@link ParcelableCall#getVideoCall()} 55 Call call, 66 * Parcels all information for a {@link Call} into a new {@link ParcelableCall} instance. 68 * @param call The {@link Call} to parcel. 70 * {@link Call}, {@code false} otherwise. Since the {@link ParcelableCall#getVideoCall()} 78 * @return The {@link ParcelableCall} containing all call information from the {@link Call}. 81 Call cal [all...] |
H A D | InCallWakeLockController.java | 40 public void onCallAdded(Call call) { 48 public void onCallRemoved(Call call) { 56 public void onCallStateChanged(Call call, int oldState, int newState) { 65 Call ringingCall = mCallsManager.getRingingCall();
|
H A D | CallIdMapper.java | 25 /** Utility to map {@link Call} objects to unique IDs. IDs are generated when a call is added. */ 81 String getCallId(Call call); 84 private final BiMap<String, Call> mCalls = new BiMap<>(); 91 void replaceCall(Call newCall, Call callToReplace) { 97 void addCall(Call call, String id) { 104 void addCall(Call call) { 108 void removeCall(Call call) { 119 String getCallId(Call call) { 126 Call getCal [all...] |
H A D | RingbackPlayer.java | 35 private Call mCall; 51 public void startRingbackForCall(Call call) { 78 public void stopRingbackForCall(Call call) {
|
H A D | PhoneStateBroadcaster.java | 46 public void onCallStateChanged(Call call, int oldState, int newState) { 54 public void onCallAdded(Call call) { 62 public void onCallRemoved(Call call) { 78 public void onExternalCallChanged(Call call, boolean isExternalCall) { 82 private void updateStates(Call call) { 101 private void sendPhoneStateChangedBroadcast(Call call, int phoneState) {
|
H A D | CallAudioManager.java | 43 private final LinkedHashSet<Call> mActiveDialingOrConnectingCalls; 44 private final LinkedHashSet<Call> mRingingCalls; 45 private final LinkedHashSet<Call> mHoldingCalls; 46 private final Set<Call> mCalls; 47 private final SparseArray<LinkedHashSet<Call>> mCallStateToCalls; 57 private Call mForegroundCall; 72 mCallStateToCalls = new SparseArray<LinkedHashSet<Call>>() {{ 94 public void onCallStateChanged(Call call, int oldState, int newState) { 99 Log.d(LOG_TAG, "Call state changed for TC@%s: %s -> %s", call.getId(), 119 public void onCallAdded(Call cal [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
H A D | CallFilterResultCallback.java | 18 import com.android.server.telecom.Call; 21 void onCallFilteringComplete(Call call, CallFilteringResult result);
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | CallSdkCompat.java | 19 import android.telecom.Call; 29 public static final int PROPERTY_ENTERPRISE_CALL = Call.Details.PROPERTY_ENTERPRISE_CALL; 34 Call.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO; 41 public static void pullExternalCall(Call call) { 45 Class<?> callClass = Call.class;
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
H A D | CallCompat.java | 22 import android.telecom.Call; 24 /** Compatibility utilities for android.telecom.Call */ 27 public static boolean canPullExternalCall(@NonNull android.telecom.Call call) { 33 /** android.telecom.Call.Details */ 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/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | CallListAdapter.java | 22 import android.telecom.Call; 35 public void onCallAdded(Call call) { 40 public void onCallRemoved(Call call) { 97 Call call = mCallList.getCall(position); 106 Log.i(TAG, "Call found: " + ((handle == null) ? "null" : handle.getSchemeSpecificPart()) 112 private static String getStateString(Call call) { 114 case Call.STATE_ACTIVE: 116 case Call.STATE_CONNECTING: 118 case Call.STATE_DIALING: 120 case Call [all...] |
H A D | TestCallList.java | 20 import android.telecom.Call; 37 public class TestCallList extends Call.Callback { 40 public void onCallAdded(Call call) {} 41 public void onCallRemoved(Call call) {} 42 public void onRttStarted(Call call) {} 43 public void onRttStopped(Call call) {} 44 public void onRttInitiationFailed(Call call, int reason) {} 45 public void onRttRequest(Call call, int id) {} 52 private Call mCall; 54 public TestVideoCallListener(Call cal [all...] |
H A D | TestInCallUI.java | 22 import android.telecom.Call; 49 public void onCallRemoved(Call call) { 57 public void onRttStarted(Call call) { 62 public void onRttStopped(Call call) { 67 public void onRttInitiationFailed(Call call, int reason) { 73 public void onRttRequest(Call call, int id) { 90 Call call = mCallList.getCall(0); 99 Call call = mCallList.getCall(0); 101 if (call.getState() == Call.STATE_HOLDING) { 112 Call cal [all...] |
/packages/apps/Dialer/java/com/android/incallui/util/ |
H A D | TelecomCallUtil.java | 20 import android.telecom.Call; 25 * android.telecom.Call. Much of this should be obtained through the incall.Call, but on occasion we 26 * need to interact with the telecom.Call directly (eg. call blocking, before the incall.Call has 32 public static boolean isEmergencyCall(Call call) { 37 public static String getNumber(Call call) { 48 public static Uri getHandle(Call call) {
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/embedded/ |
H A D | InCallServiceImpl.java | 21 import android.telecom.Call; 49 public void onCallAdded(Call telecomCall) { 64 public void onCallRemoved(Call telecomCall) { 86 private final Call.Callback mCallListener = new Call.Callback() { 88 public void onStateChanged(Call call, int state) { 93 if (state == Call.STATE_RINGING || state == Call.STATE_DIALING) { 132 void onTelecomCallAdded(Call telecomCall); 133 void onTelecomCallRemoved(Call telecomCal [all...] |
H A D | TelecomUiCallList.java | 21 import android.telecom.Call; 27 * Represents a list of {@link UiCall} for underlying {@link android.telecom.Call}. 29 public class TelecomUiCallList extends UiCallList<Call> { 39 protected UiCall createUiCall(Call telecomCall) { 47 static void updateCallContainerFromTelecom(UiCall uiCall, Call telecomCall) { 57 Call.Details details = telecomCall.getDetails(); 79 public Call getTelecomCall(UiCall uiCall) {
|
H A D | TelecomUiCallManager.java | 27 import android.telecom.Call; 28 import android.telecom.Call.Details; 100 Call telecomCall = mCallList.getTelecomCall(uiCall); 113 Call telecomCall = mCallList.getTelecomCall(uiCall); 125 Call telecomCall = mCallList.getTelecomCall(uiCall); 192 Call telecomCall = mCallList.getTelecomCall(uiCall); 204 Call telecomCall = mCallList.getTelecomCall(uiCall); 216 Call telecomCall = mCallList.getTelecomCall(uiCall); 228 Call telecomCall = mCallList.getTelecomCall(uiCall); 240 Call telecomCal [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BluetoothPhoneServiceTest.java | 39 import com.android.server.telecom.Call; 129 Call mockCall = createRingingCall(); 143 verify(mMockCallsManager,never()).answerCall(any(Call.class), any(int.class)); 149 Call mockCall = createForegroundCall(); 163 verify(mMockCallsManager,never()).disconnectCall(any(Call.class)); 169 Call mockCall = createForegroundCall(); 184 verify(mMockCallsManager,never()).playDtmfTone(any(Call.class), anyChar()); 185 verify(mMockCallsManager,never()).stopDtmfTone(any(Call.class)); 191 Call mockCall = createForegroundCall(); 212 Call mockCal [all...] |
H A D | ProximitySensorManagerTest.java | 22 import com.android.server.telecom.Call; 39 @Mock Call mCall; 61 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ 73 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); 93 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ 98 mProximitySensorManager.onCallRemoved(mock(Call.class)); 105 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); 108 mProximitySensorManager.onCallRemoved(mock(Call.class));
|
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/ |
H A D | StreamInCallService.java | 21 import android.telecom.Call; 40 void onCallAdded(Call call); 42 void onCallRemoved(Call call); 75 public void onCallAdded(Call call) { 82 public void onCallRemoved(Call call) {
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | ClusterInCallService.java | 24 import android.telecom.Call; 25 import android.telecom.Call.Callback; 45 public void onCallAdded(Call call) { 54 public void onCallRemoved(Call call) { 61 private void doStateChanged(Call call, int state) { 96 public void onStateChanged(Call call, int state) {
|
/packages/apps/Test/connectivity/sl4n/utils/ |
H A D | command_receiver.h | 39 void Call(rapidjson::Document& doc);
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
H A D | MockTelephonyConnection.java | 21 import com.android.internal.telephony.Call; 37 Call mMockCall; 52 when(mMockRadioConnection.getState()).thenReturn(Call.State.ACTIVE); 55 when(mMockCall.getState()).thenReturn(Call.State.ACTIVE);
|